Openvz - vzdump - Can't locate LockFile/Simple.pm in @INC


Материал из Wiki - Iphoster - 'the best ever hosting and support

Перейти к: навигация, поиск

Openvz - vzdump - Can't locate LockFile/Simple.pm in @INC

Ошибка вида:

# vzdump --restore /root/1066-vz-8290-1.tgz
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.

Решение:

# ln -s /usr/lib/perl5/vendor_perl/5.8.8 /usr/local/lib64/perl5
Индекс цитирования