[SOLVED] Able to SSH & ping but do not have access to web GUI

Th3L4ughingM4n

New Member
Feb 28, 2025
2
0
1
Hi everyone,
I've been using proxmox for a while now, but was not able to apt-get update && apt-get upgrade
So I edited the /etc/hosts file to include ftp.us.debian.org & security.debian.org and a few others. Accidentally replaced my attlocal @ 246 and replaced with proxmox.
Can't seem to remember what was there before.

Bash:
root@pve:~# cat /etc/hosts                                                                                              
127.0.0.1 localhost.localdomain localhost
::1       localhost.localdomain localhost
192.168.1.246 attlocal.net
#192.168.1.246 proxmox-server.local promox-server
64.50.236.52 ftp.us.debian.org
151.101.2.132 security.debian.org
66.70.154.82 download.proxmox.com

# AT&T local gateway/router IP
#192.168.1.254 gateway.att.local

# 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

Is there anything I can do to access the web GUI again?

Bash:
root@pve:~# ip route
default via 192.168.1.254 dev vmbr0 proto kernel onlink
192.168.1.0/24 dev vmbr0 proto kernel scope link src 192.168.1.246
root@pve:~# systemctl status pveproxy
WARNING: terminal is not fully functional
Press RETURN to continue
● pveproxy.service - PVE API Proxy Server
     Loaded: loaded (/lib/systemd/system/pveproxy.service; enabled; preset: enabled)
     Active: active (running) since Fri 2025-02-28 13:06:25 CST; 10min ago
    Process: 854 ExecStartPre=/usr/bin/pvecm updatecerts --silent (code=exited, status=111)
    Process: 855 ExecStart=/usr/bin/pveproxy start (code=exited, status=0/SUCCESS)
   Main PID: 856 (pveproxy)
      Tasks: 4 (limit: 14115)
     Memory: 147.3M
        CPU: 17.494s
     CGroup: /system.slice/pveproxy.service
             ├─ 856 pveproxy
             ├─1322 "pveproxy worker"
             ├─1323 "pveproxy worker"
             └─1324 "pveproxy worker"

Feb 28 13:16:31 pve pveproxy[856]: starting 2 worker(s)
Feb 28 13:16:31 pve pveproxy[856]: worker 1322 started
Feb 28 13:16:31 pve pveproxy[856]: worker 1323 started
Feb 28 13:16:31 pve pveproxy[1322]: /etc/pve/local/pve-ssl.key: failed to load local private key (key_file or key) at />
Feb 28 13:16:31 pve pveproxy[1323]: /etc/pve/local/pve-ssl.key: failed to load local private key (key_file or key) at />
Feb 28 13:16:31 pve pveproxy[1321]: worker exit
Feb 28 13:16:31 pve pveproxy[856]: worker 1321 finished
Feb 28 13:16:31 pve pveproxy[856]: starting 1 worker(s)
Feb 28 13:16:31 pve pveproxy[856]: worker 1324 started
Feb 28 13:16:31 pve pveproxy[1324]: /etc/pve/local/pve-ssl.key: failed to load local private key (key_file or key) at />
lines 1-25/25 (END)


Thanks again for your help!
 
Hi @Th3L4ughingM4n , welcome to the forum.

First, I would recommend removing those ftp. entries from the hosts file and focusing on properly updating /etc/resolv.conf
The following line should suffice:
nameserver 8.8.8.8

Second, you should change "192.168.1.246 attlocal.net" to "192.168.1.246 pve"

There may be more changes needed. I'd start with the above, followed by a reboot.

Cheers


Blockbridge : Ultra low latency all-NVME shared storage for Proxmox - https://www.blockbridge.com/proxmox
 
  • Like
Reactions: aPollO
Thank you @bbgeek17 for the quick reply and the warm welcome.

I've updated the /etc/resolv.conf to the following:
Bash:
root@pve:~# cat /etc/resolv.conf
search attlocal.net
nameserver 192.168.1.246
nameserver 8.8.8.8

And changed 192.168.1.246 attlocal.net to 192.168.1.246 pve like you've said.
Also commented out
64.50.236.52 ftp.us.debian.org
151.101.2.132 security.debian.org
66.70.154.82 download.proxmox.com
And drumroll.....



It worked!!
Thank you so much!

QQ, what could have been the issue?
 
Last edited:
nameserver 192.168.1.246
You don't need this line, as you are not running DNS server at this IP.
You also, likely, dont need the search string.

QQ, what could have been the issue?
Everything you had to change was set incorrectly. This video, amongst others, may be helpful in getting the baseline knowledge in place: https://www.youtube.com/watch?v=fHgk7aDGn_4

Good luck and enjoy PVE


Blockbridge : Ultra low latency all-NVME shared storage for Proxmox - https://www.blockbridge.com/proxmox