Change proxmox hostname

Le Anh

Active Member
Feb 21, 2019
3
0
41
34
Hello,

Someone help me change proxmox hostname have error when start pvecluster:

-- Unit pve-cluster.service has begun starting up.
Jul 23 16:25:28 host1.tino.org pmxcfs[29512]: [database] crit: found entry with duplicate name (inode = 00000000004F863C, parent = 00000000004F713D, name = 'qemu-server')
Jul 23 16:25:28 host1.tino.org pmxcfs[29512]: [database] crit: DB load failed
Jul 23 16:25:28 host1.tino.org pmxcfs[29512]: [database] crit: found entry with duplicate name (inode = 00000000004F863C, parent = 00000000004F713D, name = 'qemu-server')
Jul 23 16:25:28 host1.tino.org pmxcfs[29512]: [database] crit: DB load failed
Jul 23 16:25:28 host1.tino.org pmxcfs[29512]: [main] crit: memdb_open failed - unable to open database '/var/lib/pve-cluster/config.db'
Jul 23 16:25:28 host1.tino.org pmxcfs[29512]: [main] notice: exit proxmox configuration filesystem (-1)
Jul 23 16:25:28 host1.tino.org pmxcfs[29512]: [main] crit: memdb_open failed - unable to open database '/var/lib/pve-cluster/config.db'
Jul 23 16:25:28 host1.tino.org pmxcfs[29512]: [main] notice: exit proxmox configuration filesystem (-1)
Jul 23 16:25:28 host1.tino.org systemd[1]: pve-cluster.service: Control process exited, code=exited status=255
Jul 23 16:25:28 host1.tino.org systemd[1]: Failed to start The Proxmox VE cluster filesystem.
-- Subject: Unit pve-cluster.service has failed

any ideal to solve problem ?
 
You have to adapt /etc/hosts and /etc/pve/corosync.conf accordingly.
 
Hello,

I fix by go /var/lib/pve-cluster/config.db and delete conflict ID.
 

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!