Innobackupex-1.5.1 Can't locate xtrabackup_51

Bug #806531 reported by James Yagielo
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Percona XtraBackup moved to https://jira.percona.com/projects/PXB
Expired
Undecided
Unassigned

Bug Description

When executing innobackupex-1.5.1 /data/backups. I get the error:

Can't exec "xtrabackup_51": No such file or directory at /usr/local/bin/innobackupex-1.5.1 line 1972.
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

I have tried to use -ibbackup=/path/to/xtrabackup - but this did not work.

I am running this in the folder where the my.cnf file is located (/etc). We are using MySql 5.0

Revision history for this message
James Yagielo (jyagielo) wrote :

If I add --defaults-file=/etc/my.cnf

The error then changes to:

sh: xtrabackup_51: command not found
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

Revision history for this message
Stewart Smith (stewart) wrote :

What version of xtrabackup?

I suspect this has been fixed in either 1.6, or the upcoming 1.6.2 release.

Changed in percona-xtrabackup:
status: New → Incomplete
Revision history for this message
James Yagielo (jyagielo) wrote :

I am currently using 1.6 ... when is the new release expected?

Revision history for this message
Valentine Gostev (longbow) wrote :

Hi James

What OS you are running?
on Linux systems XtraBackup script and binaries are installed to /usr/bin directory. Is it in your $PATH?
Can you locate xtrabackup_51 binary on your filesystem?

Revision history for this message
James Yagielo (jyagielo) wrote :

I am using Linux ... the xtrabackup files, including xtrabackup_51 are in /usr/local/bin

If I move these files to just /usr/bin/ you think this will fix the issue?

Revision history for this message
Vadim Tkachenko (vadim-tk) wrote :

xtrabackup_51 should be in $PATH.

and you may try option
--ibbackup=/usr/local/bin/xtrabackup_51

Revision history for this message
Alexey Kopytov (akopytov) wrote :

James,

you mentioned that using --ibbackup=/usr/local/bin/xtrabackup_51 did not work for you. Did it fail with the same symptoms, or in a different way?

Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for Percona XtraBackup because there has been no activity for 60 days.]

Changed in percona-xtrabackup:
status: Incomplete → Expired
Revision history for this message
Shahriyar Rzayev (rzayev-sehriyar) wrote :

Percona now uses JIRA for bug reports so this bug report is migrated to: https://jira.percona.com/browse/PXB-1124

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.