Unable to connect to the web GUI

rodrigojds

New Member
May 28, 2024
4
0
1
Hey everyone,
I've been using Proxmox here at home for a few years now and everything has been great. But last week I decided to install a couple of containers via scripts and one of them broke the connection to the machine :(
I can't login to the machine itself...pinging the IP brings back nothing. However the VMs I have with their statis IPs (Plex, Unifi, Calibre) are still working fine.

I took a few photos of the typical network commands.

The "/etc/network/interfaces" has the correct IP and gateway. I tried changing the IP from static to DHCP but the machines MAC address doesnt appear on my network.
The "/etc/hosts" has the correct IP.
The "/etc/resolve.conf" command brings back my GW IP.

A few things I noticed -
- there is no IP associated with the vmbr0 interface. In other posts I see that this interface usually has an IP
- when I run the "ip route" command it brings back nothing at all. I looked online but I wasnt able to figure out how to add this.


I have since deleted the containers that I installed but that didn't help.


It is for sure a networking issue but I'm a bit stumped. Any advice on what i might be doing wrong please?

thanks in advance!
 

Attachments

  • IMG_0287.jpg
    IMG_0287.jpg
    94.5 KB · Views: 14
  • IMG_0286.jpg
    IMG_0286.jpg
    38.1 KB · Views: 12
  • IMG_0284.jpg
    IMG_0284.jpg
    52.8 KB · Views: 12
Last edited:
I did a bit more troubleshooting and ran the "journalctl -u networking command" and saw that there was a few errors stating that it cannot load "address" module: cannot import splat from 'jaraco.functools'

I try to install/upgrade the juracao.functools but it fails.
 

Attachments

  • IMG_0289.jpg
    IMG_0289.jpg
    133.6 KB · Views: 6
  • IMG_0288.jpg
    IMG_0288.jpg
    107.7 KB · Views: 6
in /etc/hosts, change the second line back to the FQDN and single hostname the machine had before. Also check if /etc/hostname contains the correct hostname. Then try to run ifreload -a to apply the config from /etc/network/interfaces again or reboot the host.
 
in /etc/hosts, change the second line back to the FQDN and single hostname the machine had before. Also check if /etc/hostname contains the correct hostname. Then try to run ifreload -a to apply the config from /etc/network/interfaces again or reboot the host.
Thank you for replying and apologies on my late response.

I'm not quite sure what you meant by changing the second line back to the FQDN? You you want me to completely remove the 2nd line?

Checking '/etc/hostname' all I have is "local" which coincides with my IP in the /etc/hosts file.

When I run the "ifreload -a" I get the same thing as previously mentioned : 'Cannot load "address" module: cannot import splat from 'jaraco.functools'
 

Attachments

  • IMG_0297.jpg
    IMG_0297.jpg
    363.1 KB · Views: 2
  • IMG_0296.jpg
    IMG_0296.jpg
    364.3 KB · Views: 2
Please read this thread https://forum.proxmox.com/threads/unable-to-connect-to-web-ui-but-ssh-works.159349/ I think it will work for you.
I had the same experience with ifreload.

If you want to change something in Promox /etc/network/interfaces copy interfaces to interfaces.new, then edit interfaces.new
then save and run:
Code:
systemctl restart pvenetcommit
then run
Code:
systemctl reload networking

Thanks for your reply JL!

I tried following the instructions in the link you provided but it didnt help unfortunately. :(

The 4 commands went through fine enough, I reboot the machine and it is still the same. I am unable to ping anything.

I checked the logs at /var/log/pveprox/access.log and the file is empty
 
Thanks for your reply JL!

I tried following the instructions in the link you provided but it didnt help unfortunately. :(

The 4 commands went through fine enough, I reboot the machine and it is still the same. I am unable to ping anything.

I checked the logs at /var/log/pveprox/access.log and the file is empty

if you're working on LAN, why not disable the firewall and try again ?

sending a ping used the icmp protocol which has no port number and no state
using http to connect to the web interface uses http which gets state from tcp

so, with the firewall enabled it is perfectly possible to be able to ping or able to connect to the web interface, but not both
if the access.log is empty that is because this does not log a ping, it only logs http(s)
 

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!