Rebooted Proxmox And Messed Up /etc/hosts file

MapGuy11

Member
Jan 13, 2020
3
0
21
28
I rebooted the server I had up for a while and not Proxmox API won't start I believe I messed up the hosts file. I am very new to Proxmox and confused about how to fix it. Sorry! Web UI wont connect SSH works fine!
 
Hi,

the /etc/hosts should look like this.

Code:
127.0.0.1 localhost
<IP of this server> <FQDN> <host name>

It is normal if this file is not correct the Proxmox VE services can't start.
Be sure that the hostname is the same as in /etc/hostname
 
Can you send the error output or even better the logs.
 

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!