Pveproxy error

eriley

New Member
Jan 4, 2019
2
0
1
51
Hi,

I can not access the webgui anymore.

pveproxy status :

pveproxy.service - PVE API Proxy Server
Loaded: loaded (/lib/systemd/system/pveproxy.service; enabled; vendor preset: enabled)
Active: active (running) since Fri 2019-01-04 19:59:41 CET; 1s ago
Process: 2529 ExecStop=/usr/bin/pveproxy stop (code=exited, status=0/SUCCESS)
Process: 4065 ExecStart=/usr/bin/pveproxy start (code=exited, status=0/SUCCESS)
Main PID: 4091 (pveproxy)
Tasks: 4 (limit: 4915)
Memory: 114.0M
CPU: 1.341s
CGroup: /system.slice/pveproxy.service
ââ4091 pveproxy
ââ4094 pveproxy worker
ââ4095 pveproxy worker
ââ4096 pveproxy worker

Jan 04 19:59:39 virtmaster systemd[1]: Starting PVE API Proxy Server...
Jan 04 19:59:41 virtmaster pveproxy[4091]: starting server
Jan 04 19:59:41 virtmaster pveproxy[4091]: starting 3 worker(s)
Jan 04 19:59:41 virtmaster pveproxy[4091]: worker 4094 started
Jan 04 19:59:41 virtmaster pveproxy[4091]: worker 4095 started
Jan 04 19:59:41 virtmaster pveproxy[4094]: Can't locate AnyEvent/Log.pm: /usr/local/lib/x86_64-linux-gnu/perl/5.24.1/AnyEvent/Log.pm: Permission denied at /usr/lib/x86_64-linux-gnu/perl5/5.24/AnyEvent.pm line 1331.
Jan 04 19:59:41 virtmaster pveproxy[4095]: Can't locate AnyEvent/Log.pm: /usr/local/lib/x86_64-linux-gnu/perl/5.24.1/AnyEvent/Log.pm: Permission denied at /usr/lib/x86_64-linux-gnu/perl5/5.24/AnyEvent.pm line 1331.
Jan 04 19:59:41 virtmaster pveproxy[4091]: worker 4096 started
Jan 04 19:59:41 virtmaster pveproxy[4096]: Can't locate AnyEvent/Log.pm: /usr/local/lib/x86_64-linux-gnu/perl/5.24.1/AnyEvent/Log.pm: Permission denied at /usr/lib/x86_64-linux-gnu/perl5/5.24/AnyEvent.pm line 1331.
Jan 04 19:59:41 virtmaster systemd[1]: Started PVE API Proxy Server.
 

oguz

Proxmox Staff Member
Staff member
Nov 19, 2018
703
75
28
I can not access the webgui anymore.
Did it start happening after you did something?

What are your package versions? (Check with 'pveversion -v')

Also, could you post the output of the following command?
Code:
find / -name Log.pm ! -name AnyEvent.pm 2>/dev/null
Permission denied at /usr/lib/x86_64-linux-gnu/perl5/5.24/AnyEvent.pm line 1331.
This part is also interesting. Are we sure that pveproxy is running with the correct permissions? (should be 'www-data')
 

eriley

New Member
Jan 4, 2019
2
0
1
51
Hi,

It believe it started after i tried to upgrade the linux distro

output of pversion -v

Code:
proxmox-ve: 5.3-1 (running kernel: 4.15.18-9-pve)
pve-manager: 5.3-6 (running version: 5.3-6/37b3c8df)
pve-kernel-4.15: 5.2-12
pve-kernel-4.15.18-9-pve: 4.15.18-30
pve-kernel-4.15.18-7-pve: 4.15.18-27
pve-kernel-4.15.18-2-pve: 4.15.18-21
pve-kernel-4.15.18-1-pve: 4.15.18-19
pve-kernel-4.13.13-6-pve: 4.13.13-42
pve-kernel-4.13.13-5-pve: 4.13.13-38
pve-kernel-4.13.13-2-pve: 4.13.13-33
corosync: 2.4.4-pve1
criu: 2.11.1-1~bpo90
glusterfs-client: 3.8.8-1
ksm-control-daemon: 1.2-2
libjs-extjs: 6.0.1-2
libpve-access-control: 5.1-3
libpve-apiclient-perl: 2.0-5
libpve-common-perl: 5.0-43
libpve-guest-common-perl: 2.0-18
libpve-http-server-perl: 2.0-11
libpve-storage-perl: 5.0-34
libqb0: 1.0.3-1~bpo9
lvm2: 2.02.168-pve6
lxc-pve: 3.0.2+pve1-5
lxcfs: 3.0.2-2
novnc-pve: 1.0.0-2
proxmox-widget-toolkit: 1.0-22
pve-cluster: 5.0-31
pve-container: 2.0-31
pve-docs: 5.3-1
pve-edk2-firmware: 1.20181023-1
pve-firewall: 3.0-16
pve-firmware: 2.0-6
pve-ha-manager: 2.0-5
pve-i18n: 1.0-9
pve-libspice-server1: 0.14.1-1
pve-qemu-kvm: 2.12.1-1
pve-xtermjs: 1.0-5
qemu-server: 5.0-43
smartmontools: 6.5+svn4324-1
spiceterm: 3.0-5
vncterm: 1.5-3
zfsutils-linux: 0.7.12-pve1~bpo1
Code:
root@virtmaster:~# find / -name Log.pm ! -name AnyEvent.pm 2>/dev/null
/var/lib/docker/overlay2/7bfdd75902b716fe631629d0786c7eba176e0828c067d91933cc06e62312193f/diff/usr/share/perl5/Debconf/Log.pm
/usr/lib/x86_64-linux-gnu/perl5/5.24/Log.pm
/usr/lib/x86_64-linux-gnu/perl5/5.24/AnyEvent/Log.pm
/usr/share/perl5/Debconf/Log.pm
/usr/local/lib/x86_64-linux-gnu/perl/5.24.1/AnyEvent/Log.pm
Code:
root@virtmaster:~# ps aux | grep pveproxy
www-data  4091  0.3  1.3 553368 108960 ?       Ss   Jan04  34:43 pveproxy
www-data 20967  0.0  1.3 553368 108680 ?       S    18:28   0:00 pveproxy worker
www-data 20968  0.0  1.3 553368 108680 ?       S    18:28   0:00 pveproxy worker
www-data 20974  0.0  1.3 553368 108680 ?       S    18:28   0:00 pveproxy worker
root     20977  0.0  0.0  14508   952 pts/0    S+   18:28   0:00 grep pveproxy
 

oguz

Proxmox Staff Member
Staff member
Nov 19, 2018
703
75
28
I'm really interested in what's in the directory '/usr/local/lib/x86_64-linux-gnu/perl/5.24.1'.

That shouldn't be there in the default PVE setup. My best guess is that you installed some stuff which created this directory and it's confusing the perl interpreter. Can you post the outputs of:

Code:
ls -arilh /usr/local/lib/x86_64-linux-gnu/perl/5.24.1
find /usr/local/lib/
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE 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 your own in 60 seconds.

Buy now!