[SOLVED] Unable to access web GUI

freedirt29

New Member
Jun 8, 2023
1
0
1
I've been trouble shooting this for a while now. I tried running adguard home on a vm. For whatever reason my router then decided to change the IP for my LAN from xxx.xxx.1.1 to xxx.xxx.0.1 which bricked my whole network. Turned off adguard returned DNS server to default then changed my LAN IP back to what it was. Couldn't connect to proxmox web GUI so I restarted the server and managed to get into iDRAC with the IP address iDRAC had before. Checked router and all of the DHCP reservations were still there for proxmox and my VM's. I can use iDRAC to access the console and from there I can ping out to google.com and ping my gateway but nothing when I try to connect to the GUI on it's old IP address.

So I ran ip a and ip r
Initial outputs were:

Code:
~# ip a
2: eno1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq master vmbr0 state UP group default qlen 1000
        link/ether
        altname enp1s0f0
15: vmbr0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
        link/ether
        inet 192.168.1.151/25 scope global vmbr0
            valid_lft forever preferred_lft forever

Code:
~# ip r
default via 192.168.1.1 dev vmbr0 proto kernel onlink
192.168.1.128/25 dev vmbr0 proto kernel scope link src 192.168.1.128

So I caught the discrepancy figured I'd have to change the /etc/network/interfaces so I changed the address under vmbr0 to match what I got from ip r then changed /etc/hosts ip address to match as well.

restarted network via systemctl and pinged out to google. Worked fine. Pinged to gateway. Worked fine. Tried loading GUI with new ip and nothing.

ip a and ip r now just show 192.168.1.128 in place of where 192.168.1.151 was. Here is my /etc/network/interfaces

Code:
auto lo
iface lo inet loopback

iface eno1 inet manual
# This is an autoconfigured IPv6 interface

iface eno2 inet manual

iface eno3 inet manual

iface eno4 inet manual

auto vmbr0
iface vmbr0 inet static
    address 192.168.1.128/25
    gateway 192.168.1.1
    brudge-ports eno1
    bridge-stp off
    bridge-fd 0

and /etc/hosts

Code:
127.0.0.1 localhost
192.168.1.128 proxmox.pve1.proxmox.local    proxmox

Still can't connect to GUI but can ping out to the internet and my router. I can not SSH into proxmox only iDRAC so I had to hand write those outputs please excuse any error. If further information is needed please let me know. I am about out of ideas and I really don't want to reinstall proxmox.

EDIT: Router does show the correct mac address and ip address and when I ping out it shows rx tx from proxmox so I really don't know what's going on lol

EDIT2: Now all of a sudden it works. I haven't changed anything other than I pinged my local PC and I pinged iDRAC and now it works??? Would pinging iDRAC or my personal computer change anything?????? If anyone has an answer as to why this happened I would appreciate it but otherwise I guess this is solved.

EDIT3: So I can get to the GUI but can't login I know my password is correct and I have changed it from the iDRAC console as well to make sure. Nor can I SSH into the server still. I am just seriously dumbfounded

EDIT4: Can only connect to the GUI immediately after pinging PC and iDRAC after that I can't connect and have to ping those two again.

EDIT5: I can SSH in now. Here is the SYSLOG

Code:
Jun  7 19:20:45 proxmox pveproxy[2461]: problem with client ::ffff:192.168.1.37; Broken pipe
Jun  7 19:21:00 proxmox pvedaemon[2452]: Use of uninitialized value $realm in hash element at /usr/share/perl5/PVE/AccessControl.pm line 1238.
Jun  7 19:21:00 proxmox pvedaemon[2452]: authentication failure; rhost=::ffff:192.168.1.37 user=root @pam msg=value 'root @pam' does not look like a valid user name
Jun  7 19:21:46 proxmox pvedaemon[2452]: Use of uninitialized value $realm in hash element at /usr/share/perl5/PVE/AccessControl.pm line 1238.
Jun  7 19:21:46 proxmox pvedaemon[2452]: authentication failure; rhost=::ffff:192.168.1.37 user=gjn @pam msg=value 'gjn @pam' does not look like a valid user name
Jun  7 19:22:51 proxmox pvedaemon[2452]: authentication failure; rhost=::ffff:192.168.1.37 user=root@pve msg=no such user ('root@pve')
Jun  7 19:23:09 proxmox pvedaemon[2452]: authentication failure; rhost=::ffff:192.168.1.37 user=gjn@pve msg=no such user ('gjn@pve')
Jun  7 19:23:16 proxmox pvedaemon[2452]: authentication failure; rhost=::ffff:192.168.1.37 user=gjn@pam msg=no such user ('gjn@pam')
Jun  7 19:23:44 proxmox systemd[1]: Started Session 4 of user gjn.
Jun  7 19:24:10 proxmox pvedaemon[2452]: authentication failure; rhost=::ffff:192.168.1.37 user=gjn@pam msg=no such user ('gjn@pam')
Jun  7 19:24:20 proxmox smartd[1648]: Device: /dev/sde [SAT], SMART Usage Attribute: 190 Airflow_Temperature_Cel changed from 70 to 69

FINALEDIT: I am going to tag this as solved since I suppose the issue is somewhat fixed. I was putting a space before root or after I guess and logged in. Had to reboot PC and the connection issue appeared again where I couldn't access GUI. So I have to ping my local PC in order to connect to the GUI. Which is a bit annoying but not the end of the world so if anyone knows what's going on please let me know otherwise I guess this is solved?
 
Last edited:

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!