Can't locate Time/HiRes.pm in @INC

Oracle Linux Server release 6.3 安装percona-xtrabackup-2.2.5-5027-Linux-x86_64,遇到如下错误:

percona-xtrabackup:#innobackupex --help
Can't locate Time/HiRes.pm in @INC (@INC contains: /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .) at /usr/bin/innobackupex line 24.
BEGIN failed--compilation aborted at /usr/bin/innobackupex line 24.

 

Google后,安装perl-Time-HiRes后解决。


#rpm -ivh perl-Time-HiRes-1.9721-127.el6.x86_64.rpm

 

innobackupex --version
InnoDB Backup Utility v1.5.1-xtrabackup; Copyright 2003, 2009 Innobase Oy
and Percona LLC and/or its affiliates 2009-2013.  All Rights Reserved.

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

Get the latest version of Percona XtraBackup, documentation, and help resources:
http://www.percona.com/xb/p

 

你可能感兴趣的:(Can't locate Time/HiRes.pm in @INC)