Problem starting all VM openvz

yena

Renowned Member
Nov 18, 2011
379
5
83
Hello,
i have upgarded my proxmox to the last proxmox-ve-2.6.32 version.
after some hours i have a I/O error ( but the raid is ok ) and now i have:

vzctl start 1000
Starting container ...
vzquota : (warning) Incorrect quota shutdown for id 1000, recalculating disk usage
1Container is mounted
Adding IP address(es): 185.36.72.34
Setting CPU units: 1000
Setting CPUs: 4
Configure veth devices: veth1000.0
Can't locate loadable object for module Encode in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.14.2 /usr/local/share/perl/5.14.2 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.14 /usr/share/perl/5.14 /usr/local/lib/site_perl .) at /usr/share/perl5/PVE/Tools.pm line 16
Compilation failed in require at /usr/share/perl5/PVE/Tools.pm line 16.
BEGIN failed--compilation aborted at /usr/share/perl5/PVE/Tools.pm line 16.
Compilation failed in require at /usr/share/perl5/PVE/OpenVZ.pm line 9.
BEGIN failed--compilation aborted at /usr/share/perl5/PVE/OpenVZ.pm line 9.
Compilation failed in require at /usr/sbin/vznetaddbr line 4.
BEGIN failed--compilation aborted at /usr/sbin/vznetaddbr line 4.
/usr/sbin/vznetcfg exited with error
Container start failed (try to check kernel messages, e.g. "dmesg | tail")
Killing container ...
Container was stopped
Can't locate loadable object for module Encode in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.14.2 /usr/local/share/perl/5.14.2 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.14 /usr/share/perl/5.14 /usr/local/lib/site_perl .) at /usr/share/perl5/PVE/Tools.pm line 16
Compilation failed in require at /usr/share/perl5/PVE/Tools.pm line 16.
BEGIN failed--compilation aborted at /usr/share/perl5/PVE/Tools.pm line 16.
Compilation failed in require at /usr/share/perl5/PVE/OpenVZ.pm line 9.
BEGIN failed--compilation aborted at /usr/share/perl5/PVE/OpenVZ.pm line 9.
Compilation failed in require at /usr/lib/vzctl/scripts/proxmox.umount line 4.
BEGIN failed--compilation aborted at /usr/lib/vzctl/scripts/proxmox.umount line 4.
Error executing umount script /usr/lib/vzctl/scripts/proxmox.umount
root@prxorigam:~#
root@prxorigam:~# pveversion -v
Can't locate loadable object for module Encode in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.14.2 /usr/local/share/perl/5.14.2 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.14 /usr/share/perl/5.14 /usr/local/lib/site_perl .) at /usr/share/perl5/PVE/Tools.pm line 16
Compilation failed in require at /usr/share/perl5/PVE/Tools.pm line 16.
BEGIN failed--compilation aborted at /usr/share/perl5/PVE/Tools.pm line 16.
Compilation failed in require at /usr/share/perl5/PVE/API2/APT.pm line 14.
BEGIN failed--compilation aborted at /usr/share/perl5/PVE/API2/APT.pm line 14.
Compilation failed in require at /usr/bin/pveversion line 7.
BEGIN failed--compilation aborted at /usr/bin/pveversion line 7.
---------------------------------------------------------------------------------

/etc/init.d/pvedaemon restart
Restarting PVE Daemon: pvedaemonCan't locate loadable object for module Encode in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.14.2 /usr/local/share/perl/5.14.2 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.14 /usr/share/perl/5.14 /usr/local/lib/site_perl) at /usr/share/perl5/PVE/SafeSyslog.pm line 7
Compilation failed in require at /usr/share/perl5/PVE/SafeSyslog.pm line 7.
BEGIN failed--compilation aborted at /usr/share/perl5/PVE/SafeSyslog.pm line 7.
Compilation failed in require at /usr/bin/pvedaemon line 10.
BEGIN failed--compilation aborted at /usr/bin/pvedaemon line 10.
failed!
root@prxorigam:~# apt-get reinstall proxmox-ve-2.6.32
E: Invalid operation reinstall
root@prxorigam:~#
root@prxorigam:~#
root@prxorigam:~# aptitude reinstall proxmox-ve-2.6.32
The following packages will be REINSTALLED:
proxmox-ve-2.6.32
0 packages upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 0 not upgraded.
Need to get 0 B/4,734 B of archives. After unpacking 0 B will be used.
dpkg: error: parsing file '/var/lib/dpkg/available' near line 11259 package 'bash':
field name `
E: Sub-process /usr/bin/dpkg returned an error code (2)
A package failed to install. Trying to recover:


Seem pve cluster corruption:

I have tryed to reinstall it:

aptitude reinstall pve-cluster
The following packages will be REINSTALLED:
pve-cluster
0 packages upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 0 not upgraded.
Need to get 147 kB of archives. After unpacking 0 B will be used.
Get: 1 http://download.proxmox.com/debian/ wheezy/pve-no-subscription pve-cluster amd64 3.0-20 [147 kB]
Fetched 147 kB in 0s (1,505 kB/s)
(Reading database ... 35617 files and directories currently installed.)
Preparing to replace pve-cluster 3.0-20 (using .../pve-cluster_3.0-20_amd64.deb) ...
Unpacking replacement pve-cluster ...
Processing triggers for pve-manager ...
Restarting PVE Daemon: pvedaemonCan't locate loadable object for module Encode in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.14.2 /usr/local/share/perl/5.14.2 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.14 /usr/share/perl/5.14 /usr/local/lib/site_perl) at /usr/share/perl5/PVE/SafeSyslog.pm line 7
Compilation failed in require at /usr/share/perl5/PVE/SafeSyslog.pm line 7.
BEGIN failed--compilation aborted at /usr/share/perl5/PVE/SafeSyslog.pm line 7.
Compilation failed in require at /usr/bin/pvedaemon line 10.
BEGIN failed--compilation aborted at /usr/bin/pvedaemon line 10.
failed!
Restarting PVE Status Daemon: pvestatdCan't locate loadable object for module Encode in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.14.2 /usr/local/share/perl/5.14.2 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.14 /usr/share/perl/5.14 /usr/local/lib/site_perl .) at /usr/share/perl5/PVE/SafeSyslog.pm line 7
Compilation failed in require at /usr/share/perl5/PVE/SafeSyslog.pm line 7.
BEGIN failed--compilation aborted at /usr/share/perl5/PVE/SafeSyslog.pm line 7.
Compilation failed in require at /usr/bin/pvestatd line 5.
BEGIN failed--compilation aborted at /usr/bin/pvestatd line 5.
failed!
Restarting PVE API Proxy Server: pveproxyCan't locate loadable object for module Encode in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.14.2 /usr/local/share/perl/5.14.2 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.14 /usr/share/perl/5.14 /usr/local/lib/site_perl) at /usr/share/perl5/PVE/SafeSyslog.pm line 7
Compilation failed in require at /usr/share/perl5/PVE/SafeSyslog.pm line 7.
BEGIN failed--compilation aborted at /usr/share/perl5/PVE/SafeSyslog.pm line 7.
Compilation failed in require at /usr/bin/pveproxy line 10.
BEGIN failed--compilation aborted at /usr/bin/pveproxy line 10.
failed!
Restarting PVE SPICE Proxy Server: spiceproxyCan't locate loadable object for module Encode in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.14.2 /usr/local/share/perl/5.14.2 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.14 /usr/share/perl/5.14 /usr/local/lib/site_perl) at /usr/share/perl5/PVE/SafeSyslog.pm line 7
Compilation failed in require at /usr/share/perl5/PVE/SafeSyslog.pm line 7.
BEGIN failed--compilation aborted at /usr/share/perl5/PVE/SafeSyslog.pm line 7.
Compilation failed in require at /usr/bin/spiceproxy line 14.
BEGIN failed--compilation aborted at /usr/bin/spiceproxy line 14.
failed!
Processing triggers for pve-firewall ...
Restarting Proxmox VE firewall: pve-firewallCan't locate loadable object for module Encode in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.14.2 /usr/local/share/perl/5.14.2 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.14 /usr/share/perl/5.14 /usr/local/lib/site_perl .) at /usr/share/perl5/PVE/SafeSyslog.pm line 7
Compilation failed in require at /usr/share/perl5/PVE/SafeSyslog.pm line 7.
BEGIN failed--compilation aborted at /usr/share/perl5/PVE/SafeSyslog.pm line 7.
Compilation failed in require at /usr/sbin/pve-firewall line 5.
BEGIN failed--compilation aborted at /usr/sbin/pve-firewall line 5.
failed!
Processing triggers for man-db ...
Setting up pve-cluster (3.0-20) ...
Restarting pve cluster filesystem: pve-cluster.
Can't locate loadable object for module Encode in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.14.2 /usr/local/share/perl/5.14.2 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.14 /usr/share/perl/5.14 /usr/local/lib/site_perl .) at /usr/share/perl5/PVE/Tools.pm line 16
Compilation failed in require at /usr/share/perl5/PVE/Tools.pm line 16.
BEGIN failed--compilation aborted at /usr/share/perl5/PVE/Tools.pm line 16.
Compilation failed in require at /usr/bin/pvecm line 11.
BEGIN failed--compilation aborted at /usr/bin/pvecm line 11.
dpkg: error processing pve-cluster (--configure):
subprocess installed post-installation script returned error exit status 2
Errors were encountered while processing:
pve-cluster
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install. Trying to recover:
Setting up pve-cluster (3.0-20) ...
Restarting pve cluster filesystem: pve-cluster.
Can't locate loadable object for module Encode in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.14.2 /usr/local/share/perl/5.14.2 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.14 /usr/share/perl/5.14 /usr/local/lib/site_perl .) at /usr/share/perl5/PVE/Tools.pm line 16
Compilation failed in require at /usr/share/perl5/PVE/Tools.pm line 16.
BEGIN failed--compilation aborted at /usr/share/perl5/PVE/Tools.pm line 16.
Compilation failed in require at /usr/bin/pvecm line 11.
BEGIN failed--compilation aborted at /usr/bin/pvecm line 11.
dpkg: error processing pve-cluster (--configure):
subprocess installed post-installation script returned error exit status 2
Errors were encountered while processing:
pve-cluster
--------------------------------------------------------------------------------------

Some way to fix this problem ?
Thanks
 
Last edited:

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!