[SOLVED] Proxmox zerschossen

Virtualizer

Active Member
Dec 19, 2011
90
5
28
Hallo Habe den Hostnamen geändert und dann einen Neustart gemacht und die Probleme begannen! Bin dann nach Forum vorgegangen und habe vom pm12 auf pm12-host umkopiert und dann noch mal neu gestartet und nun habe ich einen DB-Fehler - es geht nichts mehr!

root@PM12-host:/etc# systemctl status pve-cluster.service
● pve-cluster.service - The Proxmox VE cluster filesystem
Loaded: loaded (/lib/systemd/system/pve-cluster.service; enabled)
Active: failed (Result: exit-code) since Thu 2017-03-16 02:03:04 CET; 9s ago
Process: 30097 ExecStart=/usr/bin/pmxcfs $DAEMON_OPTS (code=exited, status=255)

Mar 16 02:03:04 PM12-host pmxcfs[30097]: [database] crit: found entry with duplicate name (inode = 000000000007D875, parent = 000000000007D7DE, name = 'lxc')
Mar 16 02:03:04 PM12-host pmxcfs[30097]: [database] crit: DB load failed
Mar 16 02:03:04 PM12-host pmxcfs[30097]: [database] crit: found entry with duplicate name (inode = 000000000007D875, parent = 000000000007D7DE, name = 'lxc')
Mar 16 02:03:04 PM12-host pmxcfs[30097]: [database] crit: DB load failed
Mar 16 02:03:04 PM12-host pmxcfs[30097]: [main] crit: memdb_open failed - unable to open database '/var/lib/pve-cluster/config.db'
Mar 16 02:03:04 PM12-host pmxcfs[30097]: [main] notice: exit proxmox configuration filesystem (-1)
Mar 16 02:03:04 PM12-host systemd[1]: pve-cluster.service: control process exited, code=exited status=255
Mar 16 02:03:04 PM12-host systemd[1]: Failed to start The Proxmox VE cluster filesystem.
Mar 16 02:03:04 PM12-host systemd[1]: Unit pve-cluster.service entered failed state.
root@PM12-host:/etc# cd /var/lib
root@PM12-host:/var/lib# cd pve-cluster
root@PM12-host:/var/lib/pve-cluster# vi config.db
root@PM12-host:/var/lib/pve-cluster# pmxcfs
[database] crit: found entry with duplicate name (inode = 000000000007D875, parent = 000000000007D7DE, name = 'lxc')
[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)

debug-infos:

root@PM12-host:/var/lib/pve-cluster# pmxcfs -d
[database] debug: name __version__ (inode = 0000000000000000, parent = 0000000000000000) (database.c:373:bdb_backend_load_index)
[database] debug: name priv (inode = 0000000000000002, parent = 0000000000000000) (database.c:373:bdb_backend_load_index)
[database] debug: name nodes (inode = 0000000000000004, parent = 0000000000000000) (database.c:373:bdb_backend_load_index)
[database] debug: name template-deb8pve (inode = 0000000000000005, parent = 0000000000000004) (database.c:373:bdb_backend_load_index)
[database] debug: name lxc (inode = 0000000000000006, parent = 0000000000000005) (database.c:373:bdb_backend_load_index)
[database] debug: name qemu-server (inode = 0000000000000007, parent = 0000000000000005) (database.c:373:bdb_backend_load_index)
[database] debug: name openvz (inode = 0000000000000008, parent = 0000000000000005) (database.c:373:bdb_backend_load_index)
[database] debug: name priv (inode = 0000000000000009, parent = 0000000000000005) (database.c:373:bdb_backend_load_index)
[database] debug: name authkey.key (inode = 000000000000000A, parent = 0000000000000002) (database.c:373:bdb_backend_load_index)
[database] debug: name authkey.pub (inode = 000000000000000C, parent = 0000000000000000) (database.c:373:bdb_backend_load_index)
[database] debug: name pve-www.key (inode = 000000000000000E, parent = 0000000000000000) (database.c:373:bdb_backend_load_index)
[database] debug: name pve-ssl.key (inode = 0000000000000010, parent = 0000000000000005) (database.c:373:bdb_backend_load_index)
[database] debug: name pve-root-ca.key (inode = 0000000000000012, parent = 0000000000000002) (database.c:373:bdb_backend_load_index)
[database] debug: name pve-root-ca.pem (inode = 0000000000000014, parent = 0000000000000000) (database.c:373:bdb_backend_load_index)
[database] debug: name pve-root-ca.srl (inode = 0000000000000016, parent = 0000000000000002) (database.c:373:bdb_backend_load_index)
[database] debug: name pve-ssl.pem (inode = 0000000000000019, parent = 0000000000000005) (database.c:373:bdb_backend_load_index)
[database] debug: name pm12 (inode = 0000000000000093, parent = 0000000000000004) (database.c:373:bdb_backend_load_index)
[database] debug: name qemu-server (inode = 0000000000000094, parent = 0000000000000093) (database.c:373:bdb_backend_load_index)
[database] debug: name lxc (inode = 0000000000000095, parent = 0000000000000093) (database.c:373:bdb_backend_load_index)
[database] debug: name lrm_status (inode = 0000000000000096, parent = 0000000000000005) (database.c:373:bdb_backend_load_index)
[database] debug: name openvz (inode = 00000000000000F9, parent = 000000000007D7DE) (database.c:373:bdb_backend_load_index)
[database] debug: name priv (inode = 00000000000000FA, parent = 000000000007D7DE) (database.c:373:bdb_backend_load_index)
[database] debug: name pve-ssl.key (inode = 00000000000000FB, parent = 000000000007D7DE) (database.c:373:bdb_backend_load_index)
[database] debug: name pve-ssl.pem (inode = 00000000000000FD, parent = 000000000007D7DE) (database.c:373:bdb_backend_load_index)
[database] debug: name datacenter.cfg (inode = 0000000000000109, parent = 0000000000000000) (database.c:373:bdb_backend_load_index)
[database] debug: name lock (inode = 0000000000000435, parent = 0000000000000002) (database.c:373:bdb_backend_load_index)
[database] debug: name firewall (inode = 0000000000002661, parent = 0000000000000000) (database.c:373:bdb_backend_load_index)
[database] debug: name cluster.fw (inode = 0000000000002C02, parent = 0000000000002661) (database.c:373:bdb_backend_load_index)
[database] debug: name 789.fw (inode = 0000000000002CE6, parent = 0000000000002661) (database.c:373:bdb_backend_load_index)
[database] debug: name 789.conf (inode = 0000000000002D3A, parent = 000000000007D875) (database.c:373:bdb_backend_load_index)
[database] debug: name 320.fw (inode = 0000000000003612, parent = 0000000000002661) (database.c:373:bdb_backend_load_index)
[database] debug: name 320.conf (inode = 0000000000003615, parent = 000000000007D875) (database.c:373:bdb_backend_load_index)
[database] debug: name 374.fw (inode = 0000000000003A5E, parent = 0000000000002661) (database.c:373:bdb_backend_load_index)
[database] debug: name 374.conf (inode = 0000000000003A61, parent = 000000000007D875) (database.c:373:bdb_backend_load_index)
[database] debug: name 729.fw (inode = 0000000000004168, parent = 0000000000002661) (database.c:373:bdb_backend_load_index)
[database] debug: name 729.conf (inode = 000000000000416B, parent = 000000000007D875) (database.c:373:bdb_backend_load_index)
[database] debug: name 469.fw (inode = 0000000000005B49, parent = 0000000000002661) (database.c:373:bdb_backend_load_index)
[database] debug: name 469.conf (inode = 0000000000005B4C, parent = 000000000007D875) (database.c:373:bdb_backend_load_index)
[database] debug: name 385.conf (inode = 000000000000695E, parent = 000000000007D875) (database.c:373:bdb_backend_load_index)
[database] debug: name 101.fw (inode = 000000000000C711, parent = 0000000000002661) (database.c:373:bdb_backend_load_index)
[database] debug: name --logpriority (inode = 000000000000CB39, parent = 000000000007D875) (database.c:373:bdb_backend_load_index)
[database] debug: name 378.fw (inode = 000000000001836A, parent = 0000000000002661) (database.c:373:bdb_backend_load_index)
[database] debug: name 526.fw (inode = 000000000001867B, parent = 0000000000002661) (database.c:373:bdb_backend_load_index)
[database] debug: name 234.fw (inode = 0000000000018949, parent = 0000000000002661) (database.c:373:bdb_backend_load_index)
[database] debug: name 810.fw (inode = 0000000000018B9F, parent = 0000000000002661) (database.c:373:bdb_backend_load_index)
[database] debug: name 810.conf (inode = 0000000000018BA2, parent = 000000000007D875) (database.c:373:bdb_backend_load_index)
[database] debug: name 815.fw (inode = 0000000000018CD9, parent = 0000000000002661) (database.c:373:bdb_backend_load_index)
[database] debug: name 815.conf (inode = 0000000000018CDC, parent = 000000000007D875) (database.c:373:bdb_backend_load_index)
[database] debug: name host.fw (inode = 000000000001D107, parent = 000000000007D7DE) (database.c:373:bdb_backend_load_index)
[database] debug: name 998.conf (inode = 0000000000026906, parent = 000000000007D8BD) (database.c:373:bdb_backend_load_index)
[database] debug: name 998.fw (inode = 0000000000026963, parent = 0000000000002661) (database.c:373:bdb_backend_load_index)
[database] debug: name 3001.fw (inode = 00000000000287ED, parent = 0000000000002661) (database.c:373:bdb_backend_load_index)
[database] debug: name 3001.conf (inode = 0000000000039EF3, parent = 000000000007D8BD) (database.c:373:bdb_backend_load_index)
[database] debug: name 995.conf (inode = 0000000000042230, parent = 000000000007D8BD) (database.c:373:bdb_backend_load_index)
[database] debug: name 995.fw (inode = 0000000000042470, parent = 0000000000002661) (database.c:373:bdb_backend_load_index)
[database] debug: name vzdump.cron (inode = 000000000004481C, parent = 0000000000000000) (database.c:373:bdb_backend_load_index)
[database] debug: name 324.fw (inode = 000000000005412D, parent = 0000000000002661) (database.c:373:bdb_backend_load_index)
[database] debug: name 364.fw (inode = 0000000000054136, parent = 0000000000002661) (database.c:373:bdb_backend_load_index)
[database] debug: name 385.fw (inode = 000000000005413F, parent = 0000000000002661) (database.c:373:bdb_backend_load_index)
[database] debug: name 449.fw (inode = 0000000000054145, parent = 0000000000002661) (database.c:373:bdb_backend_load_index)
[database] debug: name 791.fw (inode = 0000000000054154, parent = 0000000000002661) (database.c:373:bdb_backend_load_index)
[database] debug: name storage.cfg (inode = 000000000005701C, parent = 0000000000000000) (database.c:373:bdb_backend_load_index)
[database] debug: name 1201.fw (inode = 0000000000060A71, parent = 0000000000002661) (database.c:373:bdb_backend_load_index)
[database] debug: name .le (inode = 0000000000063AC2, parent = 0000000000000000) (database.c:373:bdb_backend_load_index)
[database] debug: name account.conf (inode = 0000000000063ACF, parent = 0000000000063AC2) (database.c:373:bdb_backend_load_index)
[database] debug: name account.key (inode = 0000000000063AEC, parent = 0000000000063AC2) (database.c:373:bdb_backend_load_index)
[database] debug: name pveproxy-ssl.key (inode = 0000000000063AFB, parent = 000000000007D7DE) (database.c:373:bdb_backend_load_index)
[database] debug: name pveproxy-ssl.pem (inode = 0000000000063AFD, parent = 000000000007D7DE) (database.c:373:bdb_backend_load_index)
[database] debug: name 101.conf (inode = 000000000006623B, parent = 000000000007D875) (database.c:373:bdb_backend_load_index)
[database] debug: name 234.conf (inode = 00000000000662D4, parent = 000000000007D875) (database.c:373:bdb_backend_load_index)
[database] debug: name 324.conf (inode = 0000000000066718, parent = 000000000007D875) (database.c:373:bdb_backend_load_index)
[database] debug: name 449.conf (inode = 00000000000667A8, parent = 000000000007D875) (database.c:373:bdb_backend_load_index)
[database] debug: name 526.conf (inode = 0000000000066853, parent = 000000000007D875) (database.c:373:bdb_backend_load_index)
[database] debug: name 1201.conf (inode = 0000000000068C4D, parent = 000000000007D875) (database.c:373:bdb_backend_load_index)
[database] debug: name 791.conf (inode = 00000000000699B2, parent = 000000000007D8BD) (database.c:373:bdb_backend_load_index)
[database] debug: name 999.conf (inode = 000000000006F634, parent = 000000000007D8BD) (database.c:373:bdb_backend_load_index)
[database] debug: name 999.fw (inode = 00000000000746C2, parent = 0000000000002661) (database.c:373:bdb_backend_load_index)
[database] debug: name 364.conf (inode = 0000000000074E7B, parent = 000000000007D875) (database.c:373:bdb_backend_load_index)
[database] debug: name 378.conf (inode = 0000000000075025, parent = 000000000007D875) (database.c:373:bdb_backend_load_index)
[database] debug: name shadow.cfg (inode = 000000000007D224, parent = 0000000000000002) (database.c:373:bdb_backend_load_index)
[database] debug: name user.cfg (inode = 000000000007D283, parent = 0000000000000000) (database.c:373:bdb_backend_load_index)
[database] debug: name PM12-host (inode = 000000000007D7DE, parent = 0000000000000004) (database.c:373:bdb_backend_load_index)
[database] debug: name qemu-server (inode = 000000000007D7DF, parent = 000000000007D7DE) (database.c:373:bdb_backend_load_index)
[database] debug: name lxc (inode = 000000000007D7E0, parent = 000000000007D7DE) (database.c:373:bdb_backend_load_index)
[database] debug: name authorized_keys (inode = 000000000007D7EF, parent = 0000000000000002) (database.c:373:bdb_backend_load_index)
[database] debug: name known_hosts (inode = 000000000007D7F2, parent = 0000000000000002) (database.c:373:bdb_backend_load_index)
[database] debug: name lxc (inode = 000000000007D875, parent = 000000000007D7DE) (database.c:373:bdb_backend_load_index)
[database] crit: found entry with duplicate name (inode = 000000000007D875, parent = 000000000007D7DE, name = 'lxc') (database.c:428:bdb_backend_load_index)
[database] crit: DB load failed (database.c:460:bdb_backend_load_index)
[main] crit: memdb_open failed - unable to open database '/var/lib/pve-cluster/config.db' (pmxcfs.c:850:main)
[main] notice: exit proxmox configuration filesystem (-1) (pmxcfs.c:1029:main)
root@PM12-host:/var/lib/pve-cluster#
 
Habe die config.db als config.orig gesichert und diese unter aller Sorgfalt auf einem lokalen Computer editiert! Läuft wieder alles und der "Schreck" ist weg - jetzt muß ich erst mal unter die Dusche :)

Aber schon Wahnsinn, daß das /etc/pve in einer Datenbank liegt! Und ich werde mit solchen Reparaturen immer schneller :)
 

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!