Not the answer you need?
Register and ask your own question!

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

djstev1edjstev1e EntrantCurrent User Role Beginner
Hello,

My first post. Downloaded and extracted percona-xtrabackup-2.1.8-733-Linux-x86_64.tar.gz to my local dir. I tried to execute innobackupex and encountered the following error:


[[email protected] bin]$./innobackupex
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 ./innobackupex line 23.
BEGIN failed--compilation aborted at ./innobackupex line 23.

[[email protected] bin]$uname -a
Linux dgphxsbxdb001.phx.gapinc.dev 2.6.32-220.23.1.el6.x86_64 #1 SMP Tue Jun 12 11:20:15 EDT 2012 x86_64 x86_64 x86_64 GNU/Linux
[[email protected] bin]$cat /etc/redhat-release
Red Hat Enterprise Linux Server release 6.2 (Santiago)

Are there other requirement(s) I am missing? Looking forward to your replies.

THanks,
Stevie

Comments

  • mirfanmirfan Database Administrator Inactive User Role Beginner
    Please install Time-HiRes module as below.
    $ yum install perl-Time-HiRes
  • mirfanmirfan Database Administrator Inactive User Role Beginner
    Please install Time-HiRes module as below. This will resolve the problem
    $ yum install perl-Time-HiRes
Sign In or Register to comment.

MySQL, InnoDB, MariaDB and MongoDB are trademarks of their respective owners.
Copyright ©2005 - 2020 Percona LLC. All rights reserved.