ISSUE:
Issue started on reboot, I think it was after I assigned the proxmox login IP to 192.168.1.199 in web GUI before the restart.
I can access via putty logging in as root.
Can't access web UI, I have a feeling it's because of the inconsistency between my /etc/hosts/ (192.168.1.120) and ip a (192.168.1.199).
I have tried both below and neither work:
https://192.168.1.199:8006
https://192.168.1.120:8006
I have tried to sudo nano to modify the /etc/hosts file but the issue is I do not have sudo installed. When I try to install sudo, I see the partial folder is missing. The resolution online appears to mkdir it but I don't have sudo to do that
I have tried below but it did not resolve:
systemctl restart pveproxy.service pvedaemon.service
Any suggestions? Thanks for your help.
----------------------------------------------
OUTPUT:
apt install sudo
--------
/etc/hosts
------
ip a
-------
journalctl -f
-------
hostname -i
192.168.1.120
-------
root@proxmox:~# cat /etc/network/interfaces
------------
root@proxmox:~# nmap -p 8006 192.168.1.120
------------
root@proxmox:~# systemctl status pve-cluster.service
-------------
root@proxmox:~# systemctl status pveproxy.service
Issue started on reboot, I think it was after I assigned the proxmox login IP to 192.168.1.199 in web GUI before the restart.
I can access via putty logging in as root.
Can't access web UI, I have a feeling it's because of the inconsistency between my /etc/hosts/ (192.168.1.120) and ip a (192.168.1.199).
I have tried both below and neither work:
https://192.168.1.199:8006
https://192.168.1.120:8006
I have tried to sudo nano to modify the /etc/hosts file but the issue is I do not have sudo installed. When I try to install sudo, I see the partial folder is missing. The resolution online appears to mkdir it but I don't have sudo to do that
I have tried below but it did not resolve:
systemctl restart pveproxy.service pvedaemon.service
Any suggestions? Thanks for your help.
----------------------------------------------
OUTPUT:
apt install sudo
Code:
root@proxmox:~# apt install sudo
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
W: Not using locking for read only lock file /var/lib/dpkg/lock-frontend
W: Not using locking for read only lock file /var/lib/dpkg/lock
E: Archives directory /var/cache/apt/archives/partial is missing. - Acquire (2: No such file or directory)
--------
/etc/hosts
Code:
127.0.0.1 localhost.localdomain localhost
192.168.1.120 proxmox.home proxmox
# 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
------
ip a
Code:
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: eno1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast master vmbr0 state UP group default qlen 1000
link/ether 1c:69:7a:6a:a5:31 brd ff:ff:ff:ff:ff:ff
altname enp0s31f6
3: wlp0s20f3: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group default qlen 1000
link/ether 0c:7a:15:54:e6:60 brd ff:ff:ff:ff:ff:ff
4: vmbr0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
link/ether 1c:69:7a:6a:a5:31 brd ff:ff:ff:ff:ff:ff
inet 192.168.1.199/24 scope global vmbr0
valid_lft forever preferred_lft forever
inet6 fe80::1e69:7aff:fe6a:a531/64 scope link
valid_lft forever preferred_lft forever
-------
journalctl -f
Code:
-- Journal begins at Thu 2023-03-09 19:12:21 AEDT. --
Jun 27 17:52:47 proxmox pveproxy[909]: worker 1166 finished
Jun 27 17:52:47 proxmox pveproxy[909]: starting 2 worker(s)
Jun 27 17:52:47 proxmox pveproxy[909]: worker 1170 started
Jun 27 17:52:47 proxmox pveproxy[909]: worker 1171 started
Jun 27 17:52:47 proxmox pveproxy[1170]: /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 1899.
Jun 27 17:52:47 proxmox pveproxy[1171]: /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 1899.
Jun 27 17:52:47 proxmox pveproxy[909]: worker 1168 finished
Jun 27 17:52:47 proxmox pveproxy[909]: starting 1 worker(s)
Jun 27 17:52:47 proxmox pveproxy[909]: worker 1172 started
Jun 27 17:52:47 proxmox pveproxy[1172]: /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 1899.
-------
hostname -i
192.168.1.120
-------
root@proxmox:~# cat /etc/network/interfaces
Code:
# network interface settings; autogenerated
# Please do NOT modify this file directly, unless you know what
# you're doing.
#
# If you want to manage parts of the network configuration manually,
# please utilize the 'source' or 'source-directory' directives to do
# so.
# PVE will preserve these directives, but will NOT read its network
# configuration from sourced files, so do not attempt to move any of
# the PVE managed interfaces into external files!
auto lo
iface lo inet loopback
iface eno1 inet manual
iface enx00e04c680112 inet manual
auto vmbr0
iface vmbr0 inet static
address 192.168.1.199/24
gateway 192.168.1.1
bridge-ports eno1
bridge-stp off
bridge-fd 0
iface wlp0s20f3 inet manual
------------
root@proxmox:~# nmap -p 8006 192.168.1.120
Code:
Starting Nmap 7.80 ( https://nmap.org ) at 2023-06-27 18:07 AEST
Note: Host seems down. If it is really up, but blocking our ping probes, try -Pn
Nmap done: 1 IP address (0 hosts up) scanned in 0.48 seconds
------------
root@proxmox:~# systemctl status pve-cluster.service
Code:
pve-cluster.service - The Proxmox VE cluster filesystem
Loaded: loaded (/lib/systemd/system/pve-cluster.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Tue 2023-06-27 21:05:04 AEST; 13s ago
Process: 11171 ExecStart=/usr/bin/pmxcfs (code=exited, status=255/EXCEPTION)
CPU: 8ms
Jun 27 21:05:04 proxmox systemd[1]: pve-cluster.service: Scheduled restart job, restart counter is at 5.
Jun 27 21:05:04 proxmox systemd[1]: Stopped The Proxmox VE cluster filesystem.
Jun 27 21:05:04 proxmox systemd[1]: pve-cluster.service: Start request repeated too quickly.
Jun 27 21:05:04 proxmox systemd[1]: pve-cluster.service: Failed with result 'exit-code'.
Jun 27 21:05:04 proxmox systemd[1]: Failed to start The Proxmox VE cluster filesystem.
root@proxmox:~#
-------------
root@proxmox:~# systemctl status pveproxy.service
Code:
pveproxy.service - PVE API Proxy Server
Loaded: loaded (/lib/systemd/system/pveproxy.service; enabled; vendor preset: enabled)
Active: active (running) since Tue 2023-06-27 21:02:22 AEST; 4min 54s ago
Process: 11003 ExecStartPre=/usr/bin/pvecm updatecerts --silent (code=exited, status=111)
Process: 11005 ExecStart=/usr/bin/pveproxy start (code=exited, status=0/SUCCESS)
Main PID: 11006 (pveproxy)
Tasks: 4 (limit: 9303)
Memory: 135.0M
CPU: 7.600s
CGroup: /system.slice/pveproxy.service
├─11006 pveproxy
├─11284 pveproxy worker
├─11285 pveproxy worker
└─11286 pveproxy worker
Jun 27 21:07:14 proxmox pveproxy[11006]: worker 11284 started
Jun 27 21:07:14 proxmox pveproxy[11006]: worker 11281 finished
Jun 27 21:07:14 proxmox pveproxy[11006]: starting 1 worker(s)
Jun 27 21:07:14 proxmox pveproxy[11006]: worker 11285 started
Jun 27 21:07:14 proxmox pveproxy[11006]: worker 11282 finished
Jun 27 21:07:14 proxmox pveproxy[11006]: starting 1 worker(s)
Jun 27 21:07:14 proxmox pveproxy[11006]: worker 11286 started
Jun 27 21:07:14 proxmox pveproxy[11284]: /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 1899.
Jun 27 21:07:14 proxmox pveproxy[11285]: /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 1899.
Jun 27 21:07:14 proxmox pveproxy[11286]: /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 1899.
root@proxmox:~#
Last edited: