Problems with vzdump since upgrade to 1.4

sven

New Member
Oct 22, 2009
8
0
1
www.nixhelp.de
Since I upgradet to Proxmox 1.4 i cant use vzdump.
When ich want to restore backups or create backups i get the following error->
Code:
Can't locate LockFile/Simple.pm in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.10.0 /usr/local/share/perl/5.10.0 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.10 /usr/share/perl/5.10 /usr/local/lib/site_perl .) 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.
bevor the upgrade everything worked fine.
I m thankful for any help
regards Sven
 
Since I upgradet to Proxmox 1.4 i cant use vzdump.
When ich want to restore backups or create backups i get the following error->
Code:
Can't locate LockFile/Simple.pm in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.10.0 /usr/local/share/perl/5.10.0 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.10 /usr/share/perl/5.10 /usr/local/lib/site_perl .) 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.
bevor the upgrade everything worked fine.
I m thankful for any help
regards Sven

just two things to check:

did you follow the new guide?
http://pve.proxmox.com/wiki/Backup_-_Restore_-_Live_Migration

and did you use the latest version? run apt-get update and apt-get dist-upgrade!
 
Try:

# apt-get install liblockfile-simple-perl

ive got the package inside

just two things to check:

did you follow the new guide?
http://pve.proxmox.com/wiki/Backup_-_Restore_-_Live_Migration

and did you use the latest version? run apt-get update and apt-get dist-upgrade!

yes its the latest version. bevor i had 1.3 than i did update && dist-upgrade to change to 1.4. i buildet my own initrid to the new kernel. I rebooted that was it.
I dont know what happend. Now, i just reinstall the server und try to restore the old backups after a blank proxmox installation.
 
Now I reinstalled the Server, its a complete new Proxmox 1.4 .
I wanted to restore the old vms:
same error , i don`t know what else to do.
Code:
/var/lib/vz/BACKUP# vzdump --restore  vzdump-101.tgz 101
Can't locate LockFile/Simple.pm in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.10.0 /usr/local/share/perl/5.10.0 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.10 /usr/share/perl/5.10 /usr/local/lib/site_perl .) 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.


Problem Fixed.... on the new installation there was liblockfile-simple-perl missing.
Dont know why i didn`t worked in the upgradet setup.

regards and many thx sven
 
Last edited:
Besides, new vzdump has no '--restore' option. Instead use 'vzrestore' and 'qmrestore' commands.
 
Besides, new vzdump has no '--restore' option. Instead use 'vzrestore' and 'qmrestore' commands.

Jop ive seen it. I just used the old wellknown lines ;)

But its fixxed. in the new installation there was just missing the liblockfile-simple-perl. Dont know why it didnt worked with the old installation.

The new installation ist a debootstrap linux lenny without installing the lenny kernel an installing proxmox on it in rescue.
1und1 has no lenny and no proxmox ... and its not possible to install from disk there ;) So its little tricky to get proxmox working on it .

regards sven
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!