Hi there!
I am somewhat of a fresh home user of proxmox.
While adding a second host to my cluster, my first hostname had to change. After following the KB on this (edit /etc/hosts /etc/hostname and /etc/postfix/main.cf and the coroconf) a reboot I noticed this host with the wrong (old) name in the UI. (I did follow the same procedure on another host, and that rename went just fine...) So I tried figuring out how to fix that as well. I noticed that all my VMs were still in the folder under /etc/pve/nodes/ so I moved the qemu-server folder from the old server named folder to the new named folder.
After another reboot my server would not come back online.
I traced it to a duplicate entry in the config.db. But I am rly not db savy and confident enough to edit this...
journalctl -b -u pve-cluster gives me (among other lines):
pmcxfs -d
Could someone help me figure out how to remove the duplicate entry in there?
I am somewhat of a fresh home user of proxmox.
While adding a second host to my cluster, my first hostname had to change. After following the KB on this (edit /etc/hosts /etc/hostname and /etc/postfix/main.cf and the coroconf) a reboot I noticed this host with the wrong (old) name in the UI. (I did follow the same procedure on another host, and that rename went just fine...) So I tried figuring out how to fix that as well. I noticed that all my VMs were still in the folder under /etc/pve/nodes/ so I moved the qemu-server folder from the old server named folder to the new named folder.
After another reboot my server would not come back online.
I traced it to a duplicate entry in the config.db. But I am rly not db savy and confident enough to edit this...
journalctl -b -u pve-cluster gives me (among other lines):
Code:
systemd[1]: Starting The Proxmox VE cluster filesystem...
pmxcfs[1295]: [database] crit: found entry with duplicate name 'qemu-server' - A:(inode = 0x000000000030E094, parent = 0x000000000030E093, v./mtime = 0x30E094/0x1671282833) vs. B:(inode = 0x0000000000>
pmxcfs[1295]: [database] crit: found entry with duplicate name 'qemu-server' - A:(inode = 0x000000000030E094, parent = 0x000000000030E093, v./mtime = 0x30E094/0x1671282833) vs. B:(inode = 0x0000000000>
pmxcfs[1295]: [database] crit: DB load failed
pmxcfs[1295]: [main] crit: memdb_open failed - unable to open database '/var/lib/pve-cluster/config.db'
pmxcfs[1295]: [main] notice: exit proxmox configuration filesystem (-1)
pmxcfs[1295]: [database] crit: DB load failed
pmxcfs[1295]: [main] crit: memdb_open failed - unable to open database '/var/lib/pve-cluster/config.db'
pmxcfs[1295]: [main] notice: exit proxmox configuration filesystem (-1)
pmcxfs -d
Code:
[database] crit: found entry with duplicate name 'qemu-server' - A:(inode = 0x000000000030E094, parent = 0x000000000030E093, v./mtime = 0x30E094/0x1671282833) vs. B:(inode = 0x000000000030E64B, parent = 0x000000000030E093, v./mtime = 0x30E64B/0x1671283925) (database.c:430:bdb_backend_load_index)
[database] crit: DB load failed (database.c:470:bdb_backend_load_index)
[main] crit: memdb_open failed - unable to open database '/var/lib/pve-cluster/config.db' (pmxcfs.c:888:main)
[main] notice: exit proxmox configuration filesystem (-1) (pmxcfs.c:1099:main)
Could someone help me figure out how to remove the duplicate entry in there?
Last edited: