pveproxy failed to start

Aug 13, 2014
116
9
83
Johannesburg, South Africa
Hi All,

I rebooted our server and then i noticed /usr/bin/pveproxy was missing this was causing it to not start at all.

i copied the file from pve01 and now when i start pve proxy with /etc/init.d/pveproxy start

i get the following error

Starting PVE API Proxy Server: pveproxyCan't locate PVE/API2Tools.pm 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/bin/pveproxy line 18.
BEGIN failed--compilation aborted at /usr/bin/pveproxy line 18.
failed!


Any ideas?
 
do you have all packages installed? post the output of:

> pveversion -v
 
"apt-get update; apt-get install proxmox-ve" might be a good start..
 
you can check "/var/log/apt/history.log" for installed/upgraded/removed packages. my guess is that you did not look carefully when upgrading and accidentally removed some or all of the proxmox packages (e.g., by installing a conflicting package)