Comment 8 for bug 359341

Revision history for this message
freesk8ing (freesk8ing) wrote :

Yet , I have this problem too in 1.4
OS: redhat 5.3
mysql: 4.1.22

shell> innobackupex-1.5.1 --tmpdir=/data/mysql_backup/temp --user=root --password=test --socket=/tmp/mysql.sock --defaults-file=/etc/my.cnf --slave-info --stream=tar /data/mysql_backup | gzip - > /data/mysql_backup/test.tar.gz

InnoDB Backup Utility v1.5.1-xtrabackup; Copyright 2003, 2009 Innobase Oy.
All Rights Reserved.

This software is published under
the GNU GENERAL PUBLIC LICENSE Version 2, June 1991.

101221 10:13:09 innobackupex-1.5.1: Starting mysql with options: --defaults-file="/etc/my.cnf" --password=test --user=root --socket=/tmp/mysql.sock --unbuffered --
101221 10:13:09 innobackupex-1.5.1: Connected to database with mysql child process (pid=8868)
101221 10:13:15 innobackupex-1.5.1: Connection to database server closed
IMPORTANT: Please check that the backup run completes successfully.
           At the end of a successful backup run innobackupex-1.5.1
           prints "completed OK!".

innobackupex-1.5.1: Using mysql Ver 14.7 Distrib 4.1.22, for pc-linux-gnu (i686) using readline 4.3
innobackupex-1.5.1: Using mysql server version Copyright (C) 2002 MySQL AB

Use of uninitialized value in concatenation (.) or string at /usr/local/xtrabackup/bin/innobackupex-1.5.1 line 2128.
sh: --: invalid option
Usage: sh [GNU long option] [option] ...
        sh [GNU long option] [option] script-file ...
GNU long options:
        --debug
        --debugger
        --dump-po-strings
        --dump-strings
        --help
        --init-file
        --login
        --noediting
        --noprofile
        --norc
        --posix
        --protected
        --rcfile
        --rpm-requires
        --restricted
        --verbose
        --version
        --wordexp
Shell options:
        -irsD or -c command or -O shopt_option (invocation only)
        -abefhkmnptuvxBCHP or -o option
innobackupex-1.5.1: fatal error: no 'mysqld' group in MySQL options
innobackupex-1.5.1: fatal error: OR no 'datadir' option in group 'mysqld' in MySQL options