Hello,
on a clean fresh install of CentOS 6.5 x86_64 I have problems with the path of the perl module:
[root@vhost1 ~]# vzdump
Can't locate LockFile/Simple.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/share/perl5/PVE/VZDump/OpenVZ.pm line 29.
BEGIN failed--compilation aborted at /usr/share/perl5/PVE/VZDump/OpenVZ.pm line 29.
Compilation failed in require at /usr/share/perl5/PVE/VZDump.pm line 33.
BEGIN failed--compilation aborted at /usr/share/perl5/PVE/VZDump.pm line 33.
Compilation failed in require at /usr/sbin/vzdump line 27.
BEGIN failed--compilation aborted at /usr/sbin/vzdump line 27.
Location of Simple.pm:
[root@vhost1 ~]# find /usr -name Simple.pm
/usr/share/perl5/Pod/Simple.pm
/usr/share/perl5/Filter/Simple.pm
/usr/lib/perl5/vendor_perl/5.8.8/LockFile/Lock/Simple.pm
/usr/lib/perl5/vendor_perl/5.8.8/LockFile/Simple.pm
So I have tried to set a symlink:
ln -s /usr/share/perl5/PVE/ /usr/lib/perl5/vendor_perl/5.8.8/PVE
But the problem was not solved with this:
[root@vhost1 ~]# vzdump
Can't locate LockFile/Simple.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/share/perl5/PVE/VZDump/OpenVZ.pm line 29.
BEGIN failed--compilation aborted at /usr/share/perl5/PVE/VZDump/OpenVZ.pm line 29.
Compilation failed in require at /usr/share/perl5/PVE/VZDump.pm line 33.
BEGIN failed--compilation aborted at /usr/share/perl5/PVE/VZDump.pm line 33.
Compilation failed in require at /usr/sbin/vzdump line 27.
BEGIN failed--compilation aborted at /usr/sbin/vzdump line 27.
Does anybody has some hints for me?
best regards
Frank
[Updated on: Tue, 08 July 2014 05:11]
Report message to a moderator