installation problems on proxmox

nicolasdiogo

Member
Mar 16, 2010
92
0
6
hi folks,

this is just a note on something odd that i came across - in case someone else or myself in the future, has something similar.

i have create a backup job/schedule on my Proxmox installation and i have also used this back ups as a way to create new machines from them (as a template)

they worked fine.

but since i had to reinstall this machine due to disk failure. i am not able to restore the backups anymore.

Code:
# qmrestore vzdump-qemu-1000-2011_07_04-01_45_02.tgz 1000
Can't locate PVE/VZDump.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/sbin/qmrestore line 28.
BEGIN failed--compilation aborted at /usr/sbin/qmrestore line 28.


this installation was done using debian lenny netinstall disk x64
and information on proxmox installation here:
http://pve.proxmox.com/wiki/Install_Proxmox_VE_on_Debian_Lenny

when checking the proxmox installation this is what i got:

Code:
# pveversion -v
pve-manager: 1.8-18 (pve-manager/1.8/6070)
running kernel: 2.6.35-1-pve
pve-kernel-2.6.35-1-pve: 2.6.35-11
qemu-server: 1.1-30
pve-firmware: not correctly installed
libpve-storage-perl: 1.0-17
vncterm: 0.9-2
vzctl: 3.0.28-1pve1
vzdump: not correctly installed
vzprocps: not correctly installed
vzquota: 3.0.11-1

note the packages that were not installed correctly.

this was corrected with:

Code:
# apt-get --reinstall install  vzdump vzprocps  pve-firmware

after this i got:

Code:
# pveversion  -v
pve-manager: 1.8-18 (pve-manager/1.8/6070)
running kernel: 2.6.35-1-pve
pve-kernel-2.6.35-1-pve: 2.6.35-11
qemu-server: 1.1-30
pve-firmware: 1.0-11
libpve-storage-perl: 1.0-17
vncterm: 0.9-2
vzctl: 3.0.28-1pve1
vzdump: 1.2-14
vzprocps: 2.0.11-2
vzquota: 3.0.11-1

*BUT* there is one thing missing there:

ksm-control-daemonas per documentation here:
http://pve.proxmox.com/wiki/KSM

it should be supported (and installed?) on this system; i manually corrected with:
Code:
# apt-get install ksm-control-daemon

and

Code:
# /etc/init.d/ksmtuned start
Starting KSM control daemon: ksmtunedAlready running..

and then after running pveversion -v again, i notice that i did not have pve-qemu-kvm showing on the list - *BUT* - the web interface had KVM as an option for new VMS, and it was really installed on the system.

i am a bit concerned with the state of this installation.

how can i make sure that all dependencies are installed correctly - without reinstalling the system?

thanks,
 
thanks,

i have installed as suggested and it seems to have fixed everything

although the kernel seemed to be already correct:
Code:
# pveversion -v
pve-manager: 1.8-18 (pve-manager/1.8/6070)
running kernel: 2.6.35-1-pve
proxmox-ve-2.6.35: 1.8-11
pve-kernel-2.6.35-1-pve: 2.6.35-11
qemu-server: 1.1-30
pve-firmware: 1.0-11
libpve-storage-perl: 1.0-17
vncterm: 0.9-2
vzctl: 3.0.28-1pve1
vzdump: 1.2-14
vzprocps: 2.0.11-2
vzquota: 3.0.11-1
pve-qemu-kvm: 0.14.1-1
ksm-control-daemon: 1.0-6