Hostname change proxmox collapsed

djsami

Renowned Member
Aug 24, 2009
193
5
83
Hello

Hostname change

remove /etc/pve

root@panel2 ~ # pvecm status
ipcc_send_rec[1] failed: Connection refused
ipcc_send_rec[2] failed: Connection refused
ipcc_send_rec[3] failed: Connection refused



root@panel2 ~ # pveversion -v
proxmox-ve: 6.0-2 (running kernel: 5.0.18-1-pve)
pve-manager: 6.0-5 (running version: 6.0-5/f8a710d7)
pve-kernel-5.0: 6.0-6
pve-kernel-helper: 6.0-6
pve-kernel-5.0.18-1-pve: 5.0.18-3
pve-kernel-4.15.18-20-pve: 4.15.18-46
ceph-fuse: 12.2.12-pve1
corosync: 3.0.2-pve2
criu: 3.11-3
glusterfs-client: 5.5-3
libjs-extjs: 6.0.1-10
libknet1: 1.10-pve2
libpve-access-control: 6.0-2
libpve-apiclient-perl: 3.0-2
libpve-common-perl: 6.0-3
libpve-guest-common-perl: 3.0-1
libpve-http-server-perl: 3.0-2
libpve-storage-perl: 6.0-7
libqb0: 1.0.5-1
lvm2: 2.03.02-pve3
lxc-pve: 3.1.0-63
lxcfs: 3.0.3-pve60
novnc-pve: 1.0.0-60
proxmox-mini-journalreader: 1.1-1
proxmox-widget-toolkit: 2.0-5
pve-cluster: 6.0-5
pve-container: 3.0-5
pve-docs: 6.0-4
pve-edk2-firmware: 2.20190614-1
pve-firewall: 4.0-7
pve-firmware: 3.0-2
pve-ha-manager: 3.0-2
pve-i18n: 2.0-2
pve-qemu-kvm: 4.0.0-5
pve-xtermjs: 3.13.2-1
qemu-server: 6.0-7
smartmontools: 7.0-pve2
spiceterm: 3.1-1
vncterm: 1.6-1

not working anything please help


root@panel2 ~ # systemctl status pve-cluster pveproxy pvedaemon
● pve-cluster.service - The Proxmox VE cluster filesystem
Loaded: loaded (/lib/systemd/system/pve-cluster.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Thu 2019-08-15 05:32:09 +03; 15min ago
Process: 1386 ExecStart=/usr/bin/pmxcfs (code=exited, status=255/EXCEPTION)

Aug 15 05:32:09 panel2 systemd[1]: pve-cluster.service: Service RestartSec=100ms expired, scheduling restart.
Aug 15 05:32:09 panel2 systemd[1]: pve-cluster.service: Scheduled restart job, restart counter is at 5.
Aug 15 05:32:09 panel2 systemd[1]: Stopped The Proxmox VE cluster filesystem.
Aug 15 05:32:09 panel2 systemd[1]: pve-cluster.service: Start request repeated too quickly.
Aug 15 05:32:09 panel2 systemd[1]: pve-cluster.service: Failed with result 'exit-code'.
Aug 15 05:32:09 panel2 systemd[1]: Failed to start The Proxmox VE cluster filesystem.

● pveproxy.service - PVE API Proxy Server
Loaded: loaded (/lib/systemd/system/pveproxy.service; enabled; vendor preset: enabled)
Active: active (running) since Thu 2019-08-15 05:27:26 +03; 20min ago
Process: 1073 ExecStart=/usr/bin/pveproxy start (code=exited, status=0/SUCCESS)
Main PID: 1080 (pveproxy)
Tasks: 4 (limit: 4915)
Memory: 129.0M
CGroup: /system.slice/pveproxy.service
├─1080 pveproxy
├─2151 pveproxy worker
├─2152 pveproxy worker
└─2153 pveproxy worker

Aug 15 05:47:41 panel2 pveproxy[1080]: worker 2150 finished
Aug 15 05:47:41 panel2 pveproxy[1080]: worker 2148 finished
Aug 15 05:47:41 panel2 pveproxy[1080]: worker 2149 finished
Aug 15 05:47:41 panel2 pveproxy[1080]: starting 3 worker(s)
Aug 15 05:47:41 panel2 pveproxy[1080]: worker 2151 started
Aug 15 05:47:41 panel2 pveproxy[1080]: worker 2152 started
Aug 15 05:47:41 panel2 pveproxy[1080]: worker 2153 started
Aug 15 05:47:41 panel2 pveproxy[2151]: /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 1688.
Aug 15 05:47:41 panel2 pveproxy[2152]: /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 1688.
Aug 15 05:47:41 panel2 pveproxy[2153]: /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 1688.

● pvedaemon.service - PVE API Daemon
Loaded: loaded (/lib/systemd/system/pvedaemon.service; enabled; vendor preset: enabled)
Active: active (running) since Thu 2019-08-15 05:27:26 +03; 20min ago
Process: 944 ExecStart=/usr/bin/pvedaemon start (code=exited, status=0/SUCCESS)
Main PID: 1068 (pvedaemon)
Tasks: 4 (limit: 4915)
Memory: 127.7M
CGroup: /system.slice/pvedaemon.service
├─1068 pvedaemon
├─1069 pvedaemon worker
├─1070 pvedaemon worker
└─1071 pvedaemon worker

Aug 15 05:27:25 panel2 systemd[1]: Starting PVE API Daemon...
Aug 15 05:27:26 panel2 pvedaemon[1068]: starting server
Aug 15 05:27:26 panel2 pvedaemon[1068]: starting 3 worker(s)
Aug 15 05:27:26 panel2 pvedaemon[1068]: worker 1069 started
Aug 15 05:27:26 panel2 pvedaemon[1068]: worker 1070 started
Aug 15 05:27:26 panel2 pvedaemon[1068]: worker 1071 started
Aug 15 05:27:26 panel2 systemd[1]: Started PVE API Daemon.
root@panel2 ~ #


root@panel2 ~ # pmxcfs -l
[database] crit: found entry with duplicate name (inode = 000000000001F069, parent = 0000000000000004, name = 'panel2')
[database] crit: DB load failed
[main] crit: memdb_open failed - unable to open database '/var/lib/pve-cluster/config.db'
[main] notice: exit proxmox configuration filesystem (-1)


new hostname panel2.wexahost.com
 
Last edited:
When posting code, please use code tags. To do so you can click on the plus symbol in the toolbar or write [ code ] your code [/ code ] directly (without spaces).

Did you see this guide? Please also check out the forum in detail, as problems with edited hostnames are quite common.

What is the output of
Code:
cat /etc/pve/corosync.conf
?
 
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!