I cant access proxmox web interface

jstrat

New Member
Feb 12, 2023
4
0
1
Hi, i've problem to accesses proxmox web interface and the vm's and lcx's dont came up.
after i've change /etc/hosts/ file lost the connection with pve. I stil do ssh to the server but nothing works.
i search on web and also on this forum. The pve is a home server and i run the 7.4 version.

# journalctl -xe
start job for unit pve-cluster.service has begun execution.

The job identifier is 1538.
Ιουν 10 20:43:14 pve pveproxy[6921]: worker exit
Ιουν 10 20:43:14 pve pveproxy[6922]: worker exit
Ιουν 10 20:43:14 pve pveproxy[5455]: worker 6921 finished
Ιουν 10 20:43:14 pve pveproxy[5455]: starting 1 worker(s)
Ιουν 10 20:43:14 pve pveproxy[5455]: worker 6998 started
Ιουν 10 20:43:14 pve pveproxy[5455]: worker 6922 finished
Ιουν 10 20:43:14 pve pveproxy[5455]: starting 1 worker(s)
Ιουν 10 20:43:14 pve pveproxy[6923]: worker exit
Ιουν 10 20:43:14 pve pveproxy[5455]: worker 6999 started
Ιουν 10 20:43:14 pve pveproxy[6998]: /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 1998.
Ιουν 10 20:43:14 pve pveproxy[6999]: /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 1998.
Ιουν 10 20:43:14 pve pveproxy[5455]: worker 6923 finished
Ιουν 10 20:43:14 pve pveproxy[5455]: starting 1 worker(s)
Ιουν 10 20:43:14 pve pveproxy[5455]: worker 7000 started
Ιουν 10 20:43:14 pve pveproxy[7000]: /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 1998.
Ιουν 10 20:43:19 pve pveproxy[6998]: worker exit
Ιουν 10 20:43:19 pve pveproxy[6999]: worker exit
Ιουν 10 20:43:19 pve pveproxy[5455]: worker 6998 finished
Ιουν 10 20:43:19 pve pveproxy[5455]: worker 6999 finished
Ιουν 10 20:43:19 pve pveproxy[5455]: starting 2 worker(s)
Ιουν 10 20:43:19 pve pveproxy[5455]: worker 7178 started
Ιουν 10 20:43:19 pve pveproxy[7000]: worker exit
Ιουν 10 20:43:19 pve pveproxy[5455]: worker 7179 started
Ιουν 10 20:43:19 pve pveproxy[7178]: /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 1998.
Ιουν 10 20:43:19 pve pveproxy[7179]: /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 1998.
Ιουν 10 20:43:19 pve pveproxy[5455]: worker 7000 finished
Ιουν 10 20:43:19 pve pveproxy[5455]: starting 1 worker(s)
Ιουν 10 20:43:19 pve pveproxy[5455]: worker 7180 started
Ιουν 10 20:43:19 pve pveproxy[7180]: /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 1998.


#cat /etc/hosts
127.0.0.1 localhost.localdomain localhost
192.168.10.17 prox.hnet-xxxx.xxxx.xxxx pvelocalhosty

# 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


Thanks in Advance
 
Hi, i've problem to accesses proxmox web interface and the vm's and lcx's dont came up.
after i've change /etc/hosts/ file lost the connection with pve.
The first step would be to back out your change to see if you can recover the service.

Beyond that, your changes are incomplete/invalid. Your hostname appears to be "pve", yet new hosts file does not contain that name. If you were trying to rename the host, you should go back to a "good" state and follow renaming procedure closely: https://pve.proxmox.com/wiki/Renaming_a_PVE_node


Blockbridge : Ultra low latency all-NVME shared storage for Proxmox - https://www.blockbridge.com/proxmox
 
As a rule of thumb DON'T change the hostname of a node - especially if you don't know what you are doing. Even if you do know what you are doing, it is still usually best (& sometimes easier) to reinstall a node & then restore all VMs & LXCs from backup. Do a web-search on the subject.
 
First of all thank you for quik reply
The first step would be to back out your change to see if you can recover the service.
unfortunatelyI dont have the original file.
Beyond that, your changes are incomplete/invalid. Your hostname appears to be "pve", yet new hosts file does not contain that name. If you were trying to rename the host, you should go back to a "good" state and follow renaming procedure closely: https://pve.proxmox.com/wiki/Renaming_a_PVE_node
can you guide me please to do that with the right method. i've change a lot of thinks and i think i create o little mesh..
 
Problem solved .
i changed hostname and /etc/hosts again and all the services are back on line.
Thank you all for support.
J.
 

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!