Change proxmox hostname

Le Anh

Active Member
Feb 21, 2019
3
0
41
35
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.