Cant start PVEPROXY

Nhoague

Renowned Member
Sep 29, 2012
90
4
73
45
Colorado, USA
Ive read a few posts here about this issue, but none seem to be my issue. Here is what happened. We installed MegaRaid MSM management software so I could monitor / maintain the built in RAID. Then, we had a problem, so I uninstalled it. After that I lost the GUI for Proxmox. When I try to start pveproxy it throws an error. Here is the paste from systemctl status pveproxy.service:

root@TRIAD-PVE01:/# systemctl status pveproxy.service

pveproxy.service - PVE API Proxy Server

Loaded: loaded (/lib/systemd/system/pveproxy.service; enabled; vendor preset: enabled)

Active: failed (Result: exit-code) since Thu 2019-04-11 16:34:18 MDT; 20s ago

Process: 6782 ExecStart=/usr/bin/pveproxy start (code=exited, status=255)

Main PID: 1851 (code=exited, status=0/SUCCESS)

CPU: 727ms


Apr 11 16:34:18 TRIAD-PVE01 systemd[1]: Starting PVE API Proxy Server...

Apr 11 16:34:18 TRIAD-PVE01 pveproxy[6782]: start failed - can't open lock '/var/run/pveproxy/pveproxy.pid.lock' - Permission denied

Apr 11 16:34:18 TRIAD-PVE01 systemd[1]: pveproxy.service: Control process exited, code=exited status=255

Apr 11 16:34:18 TRIAD-PVE01 systemd[1]: Failed to start PVE API Proxy Server.

Apr 11 16:34:18 TRIAD-PVE01 systemd[1]: pveproxy.service: Unit entered failed state.

Apr 11 16:34:18 TRIAD-PVE01 systemd[1]: pveproxy.service: Failed with result 'exit-code'.

Also, to note, SNMP doesn't work either. So it sounds as it some package got removed when we uninstalled MegaRaid but which?! Any help is HUGELY appreciated.

Thank you!
 
Maybe wrong permissions on /var/run/pveproxy ? Should be

Code:
drwx------  2 www-data www-data  120 Apr  5 08:36 /var/run/pveproxy
 
Thanks for the reply. The /var/run/pveproxy looks like this:

drwx------ 2 www-data www-data 80 Apr 11 11:30 pveproxy

but the contents of that directory are different than other pve servers I have. It looks like this:

root@TRIAD-PVE01:/var/run/pveproxy# ls -la

total 4

drwx------ 2 www-data www-data 80 Apr 11 11:30 .

drw-r--r-- 29 root root 1260 Apr 12 08:43 ..

-rw-r--r-- 1 www-data www-data 5 Dec 16 22:05 spiceproxy.pid

-rw-r--r-- 1 www-data www-data 0 Dec 16 22:05 spiceproxy.pid.lock

root@TRIAD-PVE01:/var/run/pveproxy#

but still, when I try to start pveproxy I get this:

root@TRIAD-PVE01:/var/run/pveproxy# systemctl status pveproxy.service

pveproxy.service - PVE API Proxy Server

Loaded: loaded (/lib/systemd/system/pveproxy.service; enabled; vendor preset: enabled)

Active: failed (Result: exit-code) since Fri 2019-04-12 08:46:12 MDT; 2min 21s ago

Process: 26655 ExecStart=/usr/bin/pveproxy start (code=exited, status=255)

Main PID: 1851 (code=exited, status=0/SUCCESS)

CPU: 745ms


Apr 12 08:46:12 TRIAD-PVE01 systemd[1]: Starting PVE API Proxy Server...

Apr 12 08:46:12 TRIAD-PVE01 pveproxy[26655]: start failed - can't open lock '/var/run/pveproxy/pveproxy.pid.lock' - Permission denied

Apr 12 08:46:12 TRIAD-PVE01 systemd[1]: pveproxy.service: Control process exited, code=exited status=255

Apr 12 08:46:12 TRIAD-PVE01 systemd[1]: Failed to start PVE API Proxy Server.

Apr 12 08:46:12 TRIAD-PVE01 systemd[1]: pveproxy.service: Unit entered failed state.

Apr 12 08:46:12 TRIAD-PVE01 systemd[1]: pveproxy.service: Failed with result 'exit-code'.

root@TRIAD-PVE01:/var/run/pveproxy#

Is it possible to reinstall just the PVE environment, without affecting the QEMU services? My VM's are still running and qm list shows them active, I just don't want to lose anything or destroy the VMs on accident.

Thank you!
 
I had the same problem.

chmod helped (use at your own risk!):
Code:
root@w:/# ls -ld /
drwx------ 23 root root 4096 Jun 17 11:51 /
root@w:/# chmod 755 /

But still not sure what happend that this permission was changed :-\
 

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!