You finished your install or changed configuration and suddenly your GUI access does not work, direct console access and SSH is intact, upon further inspection with:
There's a barrage of (most numerous):
Following this lead, you may as well end up troubleshooting why your
If you scroll up in the log further up, you will find all other services failing:
So yes, unfortunately it is the
Compare your
As of today, PVE relies on hostname to be resolvable, by default with entry in
Code:
journalctl -e
There's a barrage of (most numerous):
Code:
pveproxy[949]: /etc/pve/local/pve-ssl.key: failed to load local private key (key_file or key) at /usr/share/perl5/PVE/APIServer/AnyEvent.pm line 2025.
Following this lead, you may as well end up troubleshooting why your
/etc/pve
is empty now, indeed missing keys. Do NOT do that.If you scroll up in the log further up, you will find all other services failing:
Code:
pmxcfs[756]: [main] crit: Unable to resolve node name 'nodename' to a non-loopback IP address - missing entry in '/etc/hosts' or DNS?
systemd[1]: Failed to start pve-cluster.service - The Proxmox VE cluster filesystem.
systemd[1]: Failed to start pve-firewall.service - Proxmox VE firewall.
systemd[1]: Failed to start pvestatd.service - PVE Status Daemon.
systemd[1]: Failed to start pve-ha-crm.service - PVE Cluster HA Resource Manager Daemon.
systemd[1]: Failed to start pve-ha-lrm.service - PVE Local HA Resource Manager Daemon.
systemd[1]: Failed to start pve-guests.service - PVE guests.
systemd[1]: Failed to start pvescheduler.service - Proxmox VE scheduler.
So yes, unfortunately it is the
missing entry in '/etc/hosts' or DNS
that is causing all this.Compare your
/etc/hostname
and /etc/hosts
, possibly also IP entries in /etc/network/interfaces
and check against output of ip -c a
.As of today, PVE relies on hostname to be resolvable, by default with entry in
/etc/hosts
.