bash: xtrabackup: command not found

1,199 views
Skip to first unread message

Nando

unread,
Nov 5, 2011, 4:14:28 PM11/5/11
to Percona Discussion
I've installed, or at least tried to install, XtraBackup 1.6.3 on
CentOS 5.4 using the yum repository following the instructions here:

http://www.percona.com/doc/percona-xtrabackup/installation/yum_repo.html

It seemed to work fine.

yum list | grep percona

returns:
percona-release.x86_64 0.0-1
installed
Percona-SQL-50-debuginfo.x86_64 5.0.92-b23.85.rhel5
percona
Percona-SQL-client-50.x86_64 5.0.92-b23.85.rhel5
percona
Percona-SQL-devel-50.x86_64 5.0.92-b23.85.rhel5
percona
Percona-SQL-server-50.x86_64 5.0.92-b23.85.rhel5
percona
Percona-SQL-shared-50.x86_64 5.0.92-b23.85.rhel5
percona
Percona-SQL-shared-compat.x86_64 5.0.92-b23.85.rhel5
percona
Percona-SQL-test-50.x86_64 5.0.92-b23.85.rhel5
percona
Percona-Server-51-debuginfo.x86_64 5.1.59-rel13.0.325.rhel5
percona
Percona-Server-55-debuginfo.x86_64 5.5.16-rel22.0.189.rhel5
percona
Percona-Server-client-51.x86_64 5.1.59-rel13.0.325.rhel5
percona
Percona-Server-client-55.x86_64 5.5.16-rel22.0.189.rhel5
percona
Percona-Server-devel-51.x86_64 5.1.59-rel13.0.325.rhel5
percona
Percona-Server-devel-55.x86_64 5.5.16-rel22.0.189.rhel5
percona
Percona-Server-server-51.x86_64 5.1.59-rel13.0.325.rhel5
percona
Percona-Server-server-55.x86_64 5.5.16-rel22.0.189.rhel5
percona
Percona-Server-shared-51.x86_64 5.1.59-rel13.0.325.rhel5
percona
Percona-Server-shared-55.x86_64 5.5.16-rel22.0.189.rhel5
percona
Percona-Server-shared-compat.x86_64 5.5.16-rel22.0.189.rhel5
percona
Percona-Server-test-51.x86_64 5.1.59-rel13.0.325.rhel5
percona
Percona-Server-test-55.x86_64 5.5.16-rel22.0.189.rhel5
percona
xtrabackup.x86_64 1.6.3-292.rhel5
percona
xtrabackup-debuginfo.x86_64 1.6.3-292.rhel5
percona

However, trying to run either xtrabackup or innobackupex as per the
instructions found here:

http://www.percona.com/doc/percona-xtrabackup/manual.html

Returns "command not found"

What am I missing?

Thanks,
Nando

Bill Adams

unread,
Nov 7, 2011, 1:34:32 PM11/7/11
to percona-d...@googlegroups.com
On 11/05/2011 01:14 PM, Nando wrote:
> I've installed, or at least tried to install, XtraBackup 1.6.3 on
> CentOS 5.4 using the yum repository following the instructions here:
>
> http://www.percona.com/doc/percona-xtrabackup/installation/yum_repo.html
>
> It seemed to work fine.
>
> yum list | grep percona


"yum list" returns every *available* package (including the ones you
have installed). "rpm -qi xtrabackup" will do a better job of telling
you if xtrabackup is installed.

Did you already run "sudo yum install xtrabackup" ? You can also run
"rpm -ql xtrabackup" to see where the files got installed.


--Bill

Nando

unread,
Nov 9, 2011, 2:12:58 AM11/9/11
to Percona Discussion
Thanks Bill. Not knowing the command line very well, I followed the
instructions on installation to the letter on the Percona website.
Unfortunately, they seem to be incomplete. I had a suspicion that it
may not be installed correctly, and indeed "rpm -qi xtrabackup"
indicated it wasn't.

Walter Heck

unread,
Nov 10, 2011, 4:00:22 AM11/10/11
to percona-d...@googlegroups.com
FYI: "yum list installed" and "yum list available" deliver the obvious
results as well. Much easier to remember then their rpm-q* counter
parts :)

Walter

> --
> You received this message because you are subscribed to the Google Groups
> "Percona Discussion" group.
> To post to this group, send email to percona-d...@googlegroups.com.
> To unsubscribe from this group, send email to
> percona-discuss...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/percona-discussion?hl=en.
>
>

--
Walter Heck

--
follow @walterheck on twitter to see what I'm up to!
--
Check out my new startup: Server Monitoring as a Service @ http://tribily.com
Follow @tribily on Twitter and/or 'Like' our Facebook page at
http://www.facebook.com/tribily

Reply all
Reply to author
Forward
0 new messages