Web Gui Unreachable

minion

Member
May 4, 2020
9
0
6
44
UNITLOADACTIVESUBDESCRIPTION
PVE_Failed_Services.png

I can't reach the webUi of my PVE. The networking is up and running. I can reach the host using SSH. I'm not sure what's going on.

I pulled some services that aren't currently running. The only ones I'd be a little concerned about are: pvestatd, pve-guests, and maybe pve-cluster I don't use the rest and I have nothing configured for them.
 
To mention, I've installed some updates and minor upgrades, and also a reboot. It came back online OK, but I was having issues with the web console failing to start so I rebooted again, but now I can't access the web Ui at all. The page fails to load as if the server address is unreachable.2020-09-24 22.44.04 10.255.254.251 6a2673149b25.png
 
root@pve:~# journalctl -u pveproxy
Sep 25 03:17:28 pve pveproxy[1091]: starting 1 worker(s)
Sep 25 03:17:28 pve pveproxy[1091]: worker 23660 started
Sep 25 03:17:28 pve pveproxy[1091]: worker 23658 finished
Sep 25 03:17:28 pve pveproxy[1091]: starting 1 worker(s)
Sep 25 03:17:28 pve pveproxy[1091]: worker 23661 started
Sep 25 03:17:28 pve pveproxy[23660]: /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 1737.
Sep 25 03:17:28 pve pveproxy[23661]: /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 1737.
Sep 25 03:17:33 pve pveproxy[23659]: worker exit

It's a huge output but it's all about the pve-ssl.key failure.
 
have you changed ssl-keys?

what the output of
Bash:
~ find /etc/pve | grep -v qemu
~ journalctl -u pve-cluster
 
have you changed ssl-keys?

what the output of
Bash:
~ find /etc/pve | grep -v qemu
~ journalctl -u pve-cluster


pve_cluster.png

I haven't changed keys recently although on the key I use from Let's Encrypt expired and I'm still having issues renewing because of DNSSEC issues
 
please post output of the following commands:

Bash:
~ ip a
~ cat /etc/hosts
~ cat /etc/network/interfaces
 
Ok, take a look at my colleague's response here you will find the solution

i hope that helps

Have a nice weekend :)
 
Ok, take a look at my colleague's response here you will find the solution

i hope that helps

Have a nice weekend :)

It sure did help.

My /etc/hosts file had
Markdown (GitHub flavored):
```
127.0.0.1    pve.localdomain    pve
10.255.254.251 pve.mydomain.com pve
```

## Changed to
```
# 127.0.0.1    pve.localdomain    pve
10.255.254.251 pve.mydomain.com pve
```

## Restarted pve-cluster
```
root@pve:~# systemctl status -l pve-cluster
● pve-cluster.service - The Proxmox VE cluster filesystem
   Loaded: loaded (/lib/systemd/system/pve-cluster.service; enabled; vendor preset: enabled)
   Active: active (running) since Fri 2020-09-25 15:49:21 EDT; 5s ago
  Process: 3095 ExecStart=/usr/bin/pmxcfs (code=exited, status=0/SUCCESS)
Main PID: 3103 (pmxcfs)
    Tasks: 5 (limit: 4915)
   Memory: 2.4M
   CGroup: /system.slice/pve-cluster.service
           └─3103 /usr/bin/pmxcfs

Sep 25 15:49:20 pve systemd[1]: Starting The Proxmox VE cluster filesystem...
Sep 25 15:49:20 pve pmxcfs[3103]: [status] notice: update cluster info (cluster name  pve-cluster, version = 1)
Sep 25 15:49:20 pve pmxcfs[3103]: [status] notice: node has quorum
Sep 25 15:49:20 pve pmxcfs[3103]: [dcdb] notice: members: 1/3103
Sep 25 15:49:20 pve pmxcfs[3103]: [dcdb] notice: all data is up to date
Sep 25 15:49:20 pve pmxcfs[3103]: [status] notice: members: 1/3103
Sep 25 15:49:20 pve pmxcfs[3103]: [status] notice: all data is up to date
Sep 25 15:49:21 pve systemd[1]: Started The Proxmox VE cluster filesystem.
```

- Now everything is working again


Thank you very much for your helpful and thoughtful recommendations, @Moayad. Have a nice weekend
 
127.0.0.1 pve.localdomain pve
This should be 127.0.0.1 localhost. Removing it may cause trouble if services try to resolve localhost.
 

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!