[SOLVED] Proxmox Error (Can't locate sys/syscall.ph)

Didstopia

New Member
May 13, 2014
2
0
1
I've been using Proxmox for a while now on the latest stable Debian. Just got a new server and wanted to install Proxmox on it as well.
I've tried several fresh installs of Debian Wheezy with the latest Proxmox (on Hetzner, if it matters), but for some reason when apt-get installs pvedaemon, things go sour very fast.

If I try to restart the pvedaemon, it displays the same error that it does during the apt-get install:
Code:
root@cloud ~ # service pvedaemon restart
Restarting PVE Daemon: pvedaemonCan't locate sys/syscall.ph in @INC (did you run h2ph?) (@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/QemuServer.pm line 70.
Compilation failed in require at /usr/share/perl5/PVE/VZDump/QemuServer.pm line 14.
BEGIN failed--compilation aborted at /usr/share/perl5/PVE/VZDump/QemuServer.pm line 14.
Compilation failed in require at /usr/share/perl5/PVE/VZDump.pm line 32.
Attempt to reload PVE/QemuServer.pm aborted.
Compilation failed in require at /usr/share/perl5/PVE/API2/Nodes.pm line 24.
BEGIN failed--compilation aborted at /usr/share/perl5/PVE/API2/Nodes.pm line 24.
Compilation failed in require at /usr/share/perl5/PVE/API2.pm line 13.
BEGIN failed--compilation aborted at /usr/share/perl5/PVE/API2.pm line 13.
Compilation failed in require at /usr/share/perl5/PVE/REST.pm line 9.
BEGIN failed--compilation aborted at /usr/share/perl5/PVE/REST.pm line 9.
Compilation failed in require at /usr/share/perl5/PVE/HTTPServer.pm line 25.
BEGIN failed--compilation aborted at /usr/share/perl5/PVE/HTTPServer.pm line 25.
Compilation failed in require at /usr/share/perl5/PVE/APIDaemon.pm line 11.
BEGIN failed--compilation aborted at /usr/share/perl5/PVE/APIDaemon.pm line 11.
Compilation failed in require at /usr/bin/pvedaemon line 13.
BEGIN failed--compilation aborted at /usr/bin/pvedaemon line 13.
 (warning).

Here's what happens if I try to reinstall pve-manager:
Code:
The following NEW packages will be installed:
  pve-manager
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/1,335 kB of archives.
After this operation, 0 B of additional disk space will be used.
Preconfiguring packages ...
Selecting previously unselected package pve-manager.
(Reading database ... 32199 files and directories currently installed.)
Unpacking pve-manager (from .../pve-manager_3.2-4_amd64.deb) ...
Processing triggers for man-db ...
Setting up pve-manager (3.2-4) ...
Restarting PVE Daemon: pvedaemonCan't locate sys/syscall.ph in @INC (did you run h2ph?) (@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/QemuServer.pm line 70.
Compilation failed in require at /usr/share/perl5/PVE/VZDump/QemuServer.pm line 14.
BEGIN failed--compilation aborted at /usr/share/perl5/PVE/VZDump/QemuServer.pm line 14.
Compilation failed in require at /usr/share/perl5/PVE/VZDump.pm line 32.
Attempt to reload PVE/QemuServer.pm aborted.
Compilation failed in require at /usr/share/perl5/PVE/API2/Nodes.pm line 24.
BEGIN failed--compilation aborted at /usr/share/perl5/PVE/API2/Nodes.pm line 24.
Compilation failed in require at /usr/share/perl5/PVE/API2.pm line 13.
BEGIN failed--compilation aborted at /usr/share/perl5/PVE/API2.pm line 13.
Compilation failed in require at /usr/share/perl5/PVE/REST.pm line 9.
BEGIN failed--compilation aborted at /usr/share/perl5/PVE/REST.pm line 9.
Compilation failed in require at /usr/share/perl5/PVE/HTTPServer.pm line 25.
BEGIN failed--compilation aborted at /usr/share/perl5/PVE/HTTPServer.pm line 25.
Compilation failed in require at /usr/share/perl5/PVE/APIDaemon.pm line 11.
BEGIN failed--compilation aborted at /usr/share/perl5/PVE/APIDaemon.pm line 11.
Compilation failed in require at /usr/bin/pvedaemon line 13.
BEGIN failed--compilation aborted at /usr/bin/pvedaemon line 13.
 (warning).
Restarting PVE API Proxy Server: pveproxyCan't locate sys/syscall.ph in @INC (did you run h2ph?) (@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/QemuServer.pm line 70.
Compilation failed in require at /usr/share/perl5/PVE/VZDump/QemuServer.pm line 14.
BEGIN failed--compilation aborted at /usr/share/perl5/PVE/VZDump/QemuServer.pm line 14.
Compilation failed in require at /usr/share/perl5/PVE/VZDump.pm line 32.
Attempt to reload PVE/QemuServer.pm aborted.
Compilation failed in require at /usr/share/perl5/PVE/API2/Nodes.pm line 24.
BEGIN failed--compilation aborted at /usr/share/perl5/PVE/API2/Nodes.pm line 24.
Compilation failed in require at /usr/share/perl5/PVE/API2.pm line 13.
BEGIN failed--compilation aborted at /usr/share/perl5/PVE/API2.pm line 13.
Compilation failed in require at /usr/share/perl5/PVE/REST.pm line 9.
BEGIN failed--compilation aborted at /usr/share/perl5/PVE/REST.pm line 9.
Compilation failed in require at /usr/share/perl5/PVE/HTTPServer.pm line 25.
BEGIN failed--compilation aborted at /usr/share/perl5/PVE/HTTPServer.pm line 25.
Compilation failed in require at /usr/share/perl5/PVE/APIDaemon.pm line 11.
BEGIN failed--compilation aborted at /usr/share/perl5/PVE/APIDaemon.pm line 11.
Compilation failed in require at /usr/bin/pveproxy line 15.
BEGIN failed--compilation aborted at /usr/bin/pveproxy line 15.
 (warning).
Restarting PVE SPICE Proxy Server: spiceproxyCan't locate sys/syscall.ph in @INC (did you run h2ph?) (@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/QemuServer.pm line 70.
Compilation failed in require at /usr/share/perl5/PVE/VZDump/QemuServer.pm line 14.
BEGIN failed--compilation aborted at /usr/share/perl5/PVE/VZDump/QemuServer.pm line 14.
Compilation failed in require at /usr/share/perl5/PVE/VZDump.pm line 32.
Attempt to reload PVE/QemuServer.pm aborted.
Compilation failed in require at /usr/share/perl5/PVE/API2/Nodes.pm line 24.
BEGIN failed--compilation aborted at /usr/share/perl5/PVE/API2/Nodes.pm line 24.
Compilation failed in require at /usr/share/perl5/PVE/API2.pm line 13.
BEGIN failed--compilation aborted at /usr/share/perl5/PVE/API2.pm line 13.
Compilation failed in require at /usr/share/perl5/PVE/REST.pm line 9.
BEGIN failed--compilation aborted at /usr/share/perl5/PVE/REST.pm line 9.
Compilation failed in require at /usr/share/perl5/PVE/HTTPServer.pm line 25.
BEGIN failed--compilation aborted at /usr/share/perl5/PVE/HTTPServer.pm line 25.
Compilation failed in require at /usr/share/perl5/PVE/APIDaemon.pm line 11.
BEGIN failed--compilation aborted at /usr/share/perl5/PVE/APIDaemon.pm line 11.
Compilation failed in require at /usr/bin/spiceproxy line 15.
BEGIN failed--compilation aborted at /usr/bin/spiceproxy line 15.
 (warning).
Restarting PVE Status Daemon: pvestatdCan't locate sys/syscall.ph in @INC (did you run h2ph?) (@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/QemuServer.pm line 70.
Compilation failed in require at /usr/bin/pvestatd line 16.
BEGIN failed--compilation aborted at /usr/bin/pvestatd line 16.
 failed!

Kernel's correct too:
Code:
root@cloud ~ # uname -r
2.6.32-29-pve

Here's pveversion -v:
Code:
root@cloud ~ # pveversion -v
proxmox-ve-2.6.32: 3.2-126 (running kernel: 2.6.32-29-pve)
pve-manager: 3.2-4 (running version: 3.2-4/e24a91c1)
pve-kernel-2.6.32-29-pve: 2.6.32-126
lvm2: 2.02.98-pve4
clvm: 2.02.98-pve4
corosync-pve: 1.4.5-1
openais-pve: 1.1.4-3
libqb0: 0.11.1-2
redhat-cluster-pve: 3.2.0-2
resource-agents-pve: 3.9.2-4
fence-agents-pve: 4.0.5-1
pve-cluster: 3.0-12
qemu-server: 3.1-16
pve-firmware: 1.1-3
libpve-common-perl: 3.0-18
libpve-access-control: 3.0-11
libpve-storage-perl: 3.0-19
pve-libspice-server1: 0.12.4-3
vncterm: 1.1-6
vzctl: 4.0-1pve5
vzprocps: not correctly installed
vzquota: 3.1-2
pve-qemu-kvm: 1.7-8
ksm-control-daemon: not correctly installed
glusterfs-client: 3.4.2-1

I have no idea what to do here, as everything is updated and I have followed several guides as closely as possible, so I don't think it's anything that I'm doing but in the packages themselves (or a missing dependency?).
 
Last edited:
Got the same error, as I´m also installing Proxmox on a new Hetzner Server today :)

Try to reinstall perl as the syscall.ph file should be located in this directory (/usr/lib/perl/5.14.2/sys/syscall.ph) which did not exists on install. Maybe its a deployment issue.

aptitude reinstall perl
 
You, sir, are absolutely correct!

Thank you very much, I feel like an idiot now since it was something as simple as a borked perl install. I guess someone should report that to Hetzner (as well as the fact that their installimage for Proxmox is broken too). :p

Got the same error, as I´m also installing Proxmox on a new Hetzner Server today :)

Try to reinstall perl as the syscall.ph file should be located in this directory (/usr/lib/perl/5.14.2/sys/syscall.ph) which did not exists on install. Maybe its a deployment issue.

aptitude reinstall perl
 
I guess someone should report that to Hetzner (as well as the fact that their installimage for Proxmox is broken too). :p

Yes, please do so. We started with a default wheezy 64 image and got this error.

PS: make sure you use ext3 not ext4 for you installation
 

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!