[SOLVED] Web server not running.

daexxx

New Member
Dec 8, 2024
5
0
1
These services fail to start on the servers startup: pvedaemon, pveproxy and pve-guests
pveproxy:
Code:
× pveproxy.service - PVE API Proxy Server
     Loaded: loaded (/lib/systemd/system/pveproxy.service; enabled; preset: enabled)
     Active: failed (Result: exit-code) since Sun 2024-12-08 22:37:32 CET; 5min ago
    Process: 1460 ExecStartPre=/usr/bin/pvecm updatecerts --silent (code=exited, status=0/SUCCESS)
    Process: 1462 ExecStart=/usr/bin/pveproxy start (code=exited, status=255/EXCEPTION)
        CPU: 1.362s

Dec 08 22:37:32 daexxx systemd[1]: pveproxy.service: Scheduled restart job, restart counter is at 40.
Dec 08 22:37:32 daexxx systemd[1]: Stopped pveproxy.service - PVE API Proxy Server.
Dec 08 22:37:32 daexxx systemd[1]: pveproxy.service: Consumed 1.362s CPU time.
Dec 08 22:37:32 daexxx systemd[1]: pveproxy.service: Start request repeated too quickly.
Dec 08 22:37:32 daexxx systemd[1]: pveproxy.service: Failed with result 'exit-code'.
Dec 08 22:37:32 daexxx systemd[1]: Failed to start pveproxy.service - PVE API Proxy Server.
pve-guests:
Code:
× pve-guests.service - PVE guests
     Loaded: loaded (/lib/systemd/system/pve-guests.service; enabled; preset: enabled)
     Active: failed (Result: exit-code) since Sun 2024-12-08 22:36:13 CET; 6min ago
    Process: 1041 ExecStartPre=/usr/share/pve-manager/helpers/pve-startall-delay (code=exited, status=0/SUCCESS)
    Process: 1042 ExecStart=/usr/bin/pvesh --nooutput create /nodes/localhost/startall (code=exited, status=255/EXCEPTION)
   Main PID: 1042 (code=exited, status=255/EXCEPTION)
        CPU: 1.082s

Dec 08 22:36:13 daexxx pvesh[1042]: Compilation failed in require at /usr/share/perl5/PVE/API2.pm line 16.
Dec 08 22:36:13 daexxx pvesh[1042]: BEGIN failed--compilation aborted at /usr/share/perl5/PVE/API2.pm line 16.
Dec 08 22:36:13 daexxx pvesh[1042]: Compilation failed in require at /usr/share/perl5/PVE/CLI/pvesh.pm line 16.
Dec 08 22:36:13 daexxx pvesh[1042]: BEGIN failed--compilation aborted at /usr/share/perl5/PVE/CLI/pvesh.pm line 16.
Dec 08 22:36:13 daexxx pvesh[1042]: Compilation failed in require at /usr/bin/pvesh line 6.
Dec 08 22:36:13 daexxx pvesh[1042]: BEGIN failed--compilation aborted at /usr/bin/pvesh line 6.
Dec 08 22:36:13 daexxx systemd[1]: pve-guests.service: Main process exited, code=exited, status=255/EXCEPTION
Dec 08 22:36:13 daexxx systemd[1]: pve-guests.service: Failed with result 'exit-code'.
Dec 08 22:36:13 daexxx systemd[1]: Failed to start pve-guests.service - PVE guests.
Dec 08 22:36:13 daexxx systemd[1]: pve-guests.service: Consumed 1.082s CPU time.
pvedaemon:
Code:
× pvedaemon.service - PVE API Daemon
     Loaded: loaded (/lib/systemd/system/pvedaemon.service; enabled; preset: enabled)
     Active: failed (Result: exit-code) since Sun 2024-12-08 22:37:28 CET; 5min ago
    Process: 1430 ExecStart=/usr/bin/pvedaemon start (code=exited, status=255/EXCEPTION)
        CPU: 846ms

Dec 08 22:37:28 daexxx systemd[1]: Failed to start pvedaemon.service - PVE API Daemon.
Dec 08 22:37:29 daexxx systemd[1]: pvedaemon.service: Start request repeated too quickly.
Dec 08 22:37:29 daexxx systemd[1]: pvedaemon.service: Failed with result 'exit-code'.
Dec 08 22:37:29 daexxx systemd[1]: Failed to start pvedaemon.service - PVE API Daemon.
Dec 08 22:37:31 daexxx systemd[1]: pvedaemon.service: Start request repeated too quickly.
Dec 08 22:37:31 daexxx systemd[1]: pvedaemon.service: Failed with result 'exit-code'.
Dec 08 22:37:31 daexxx systemd[1]: Failed to start pvedaemon.service - PVE API Daemon.
Dec 08 22:37:32 daexxx systemd[1]: pvedaemon.service: Start request repeated too quickly.
Dec 08 22:37:32 daexxx systemd[1]: pvedaemon.service: Failed with result 'exit-code'.
Dec 08 22:37:32 daexxx systemd[1]: Failed to start pvedaemon.service - PVE API Daemon.

Any help is appreciated.
 
Hi,

did you modify any system files? Can you run debsums -c and post the output here?
You might need to install it first using apt update && apt install -y debsums.
 
Hi,

I didn't modify any files before this happened and I just wanna say that I'm pretty new to this
Here's the output
Code:
/usr/share/javascript/proxmox-widget-toolkit/proxmoxlib.js
/usr/share/perl5/PVE/API2/Nodes.pm
/usr/share/pve-manager/js/pvemanagerlib.js
 
Well, some system files have been modified. Did you run some scripts of the internet?

Anyway, try running apt reinstall -y proxmox-widget-toolkit pve-manager. This will reinstall the affected packages, which should fix pvedaemon/pveproxy.
 
I tried running it but I don't think it worked.

Code:
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Reinstallation of proxmox-widget-toolkit is not possible, it cannot be downloaded.
Reinstallation of pve-manager is not possible, it cannot be downloaded.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
 
Hm, seems like you haven't set up your apt repositories correctly.

What does
Code:
tail -n+0 /etc/apt/sources.list; tail -n+0 /etc/apt/sources.list.d/*
print?
 
It prints this:
Code:
deb http://ftp.hu.debian.org/debian bookworm main contrib

deb http://ftp.hu.debian.org/debian bookworm-updates main contrib

# security updates
deb http://security.debian.org bookworm-security main contrib
# Tailscale packages for debian bookworm
deb [signed-by=/usr/share/keyrings/tailscale-archive-keyring.gpg] https://pkgs.tailscale.com/stable/debian bookworm main
 
As I suspected, you do not have any Proxmox VE package repositories configured. That also means you do not receive any updates!

Please have a look at the Package repositories section in our admin guide, this should give you a good overview how packages are managed for Proxmox VE. In any case, most interesting will probably be how to configure the Proxmox VE no-subscription Repository.

Afterwards, try running
Code:
apt update && apt reinstall -y proxmox-widget-toolkit pve-manager
 
Thank you so much it worked, I don't know why but pve-guests.service still fails to start but it doesn't seem to couse anything with my vms so I'm happy.
 
Great!

Please just mark the thread as SOLVED by editing the first post, this helps others with the same problem find this thread!

I don't know why but pve-guests.service still fails to start
Feel free to open another thread about this problem. Don't forget to include all relevant error messages etc.! :)
 

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!