Failed to start The Proxmox VE cluster filesystem.

Mar 4, 2022
44
0
11
26
Yesterday we had a power outage. Today I can't access the web interface. I know something is wrong with my /etc/hosts file, but I have no idea why. I haven't restarted in a few months, so I might have done something a while ago I don't remember

Code:
Mar 11 20:43:58 int systemd[1]: Starting The Proxmox VE cluster filesystem...
Mar 11 20:43:58 int pmxcfs[2876]: [main] crit: Unable to get local IP address
Mar 11 20:43:58 int pmxcfs[2876]: [main] crit: Unable to get local IP address
Mar 11 20:43:58 int systemd[1]: pve-cluster.service: Control process exited, code=exited, status=255/EXCEPTION
Mar 11 20:43:58 int systemd[1]: pve-cluster.service: Failed with result 'exit-code'.
Mar 11 20:43:58 int systemd[1]: Failed to start The Proxmox VE cluster filesystem.
Mar 11 20:43:59 int systemd[1]: pve-cluster.service: Scheduled restart job, restart counter is at 1.
Mar 11 20:43:59 int systemd[1]: Stopped The Proxmox VE cluster filesystem.
Mar 11 20:43:59 int systemd[1]: Starting The Proxmox VE cluster filesystem...
Mar 11 20:43:59 int pmxcfs[3004]: [main] crit: Unable to get local IP address
Mar 11 20:43:59 int pmxcfs[3004]: [main] crit: Unable to get local IP address
Mar 11 20:43:59 int systemd[1]: pve-cluster.service: Control process exited, code=exited, status=255/EXCEPTION
Mar 11 20:43:59 int systemd[1]: pve-cluster.service: Failed with result 'exit-code'.
Mar 11 20:43:59 int systemd[1]: Failed to start The Proxmox VE cluster filesystem.
Mar 11 20:43:59 int systemd[1]: pve-cluster.service: Scheduled restart job, restart counter is at 2.
Mar 11 20:43:59 int systemd[1]: Stopped The Proxmox VE cluster filesystem.
Mar 11 20:43:59 int systemd[1]: Starting The Proxmox VE cluster filesystem...
Mar 11 20:43:59 int pmxcfs[3026]: [main] crit: Unable to get local IP address
Mar 11 20:43:59 int pmxcfs[3026]: [main] crit: Unable to get local IP address
Mar 11 20:43:59 int systemd[1]: pve-cluster.service: Control process exited, code=exited, status=255/EXCEPTION


Code:
root@int:~# uname -n
int

Code:
root@int:~# cat /etc/hosts
127.0.0.1 localhost.localdomain localhost
127.0.0.1 int
10.0.1.40 int

# The following lines are desirable for IPv6 capable hosts

::1     ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts

Other threads keep mentioning domains? I don't have one, this setup is purely local.

Code:
root@int:~# cat /etc/network/interfaces
[redacted comments]

auto lo
iface lo inet loopback

iface eno1 inet manual

auto vmbr0
iface vmbr0 inet dhcp
        bridge-ports eno1
        bridge-stp off
        bridge-fd 0

iface wlp6s0 inet manual

IP of 10.0.1.40 is set through a static DHCP lease

Code:
root@int:~# systemctl status pveproxy pvedaemon
● pveproxy.service - PVE API Proxy Server
     Loaded: loaded (/lib/systemd/system/pveproxy.service; enabled; vendor preset: enabled)
     Active: active (running) since Fri 2022-03-11 20:44:01 CET; 7min ago
    Process: 3059 ExecStartPre=/usr/bin/pvecm updatecerts --silent (code=exited, status=111)
    Process: 3108 ExecStart=/usr/bin/pveproxy start (code=exited, status=0/SUCCESS)
   Main PID: 3127 (pveproxy)
      Tasks: 4 (limit: 18987)
     Memory: 134.1M
        CPU: 9.512s
     CGroup: /system.slice/pveproxy.service
             ├─3127 pveproxy
             ├─3505 pveproxy worker
             ├─3506 pveproxy worker
             └─3507 pveproxy worker

Mar 11 20:51:08 int pveproxy[3127]: starting 1 worker(s)
Mar 11 20:51:08 int pveproxy[3127]: worker 3503 finished
Mar 11 20:51:08 int pveproxy[3127]: worker 3505 started
Mar 11 20:51:08 int pveproxy[3127]: worker 3504 finished
Mar 11 20:51:08 int pveproxy[3127]: starting 2 worker(s)
Mar 11 20:51:08 int pveproxy[3127]: worker 3506 started
Mar 11 20:51:08 int pveproxy[3505]: /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 1904.
Mar 11 20:51:08 int pveproxy[3127]: worker 3507 started
Mar 11 20:51:09 int pveproxy[3506]: /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 1904.
Mar 11 20:51:09 int pveproxy[3507]: /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 1904.

● pvedaemon.service - PVE API Daemon
     Loaded: loaded (/lib/systemd/system/pvedaemon.service; enabled; vendor preset: enabled)
     Active: active (running) since Fri 2022-03-11 20:43:59 CET; 7min ago
    Process: 2897 ExecStart=/usr/bin/pvedaemon start (code=exited, status=0/SUCCESS)
   Main PID: 3054 (pvedaemon)
      Tasks: 4 (limit: 18987)
     Memory: 139.0M
        CPU: 990ms
     CGroup: /system.slice/pvedaemon.service
             ├─3054 pvedaemon
             ├─3055 pvedaemon worker
             ├─3056 pvedaemon worker
             └─3057 pvedaemon worker

Mar 11 20:43:58 int systemd[1]: Starting PVE API Daemon...
Mar 11 20:43:59 int pvedaemon[3054]: starting server
Mar 11 20:43:59 int pvedaemon[3054]: starting 3 worker(s)
Mar 11 20:43:59 int pvedaemon[3054]: worker 3055 started
Mar 11 20:43:59 int pvedaemon[3054]: worker 3056 started
 
Okay, so I resorted to installing Proxmox in virtualbox and configuring it as I would have done back then. It was indeed because 127.0.0.1 int.mydomain.eu was missing in the /etc/hosts file

derp
 
Pode me ajudar a resolver o problema do meu? Eu mudei o ip e agora venho enfrentando problemas para acessar uma interface web.

1688582358544.png