Help ! pve-cluster Fails to start

calluXDj

New Member
Oct 6, 2024
2
0
1
Hi, I apologize in advance if my English is not good.
I have a problem with my proxmox server.
The problem started when one of the VMs crashed and I couldn't shutdown it via Pve GUI.
So I rebooted the Proxmox Server.

The problem that occurred is that currently the PVE GUI cannot be accessed. PVE can only be accessed via SSH.

I have tried following the instructions from this thread https://forum.proxmox.com/threads/need-help-to-repair-my-pve-cluster-config-db.115440/

When running the command:
Code:
journalctl -b -u pve-cluster
I got this :
Code:
root@ve:/home# journalctl -b -u pve-cluster
Oct 05 14:58:13 ve systemd[1]: Starting pve-cluster.service - The Proxmox VE cluster filesystem...
Oct 05 14:58:13 ve pmxcfs[919]: [main] notice: resolved node name 've' to '192.168.7.2' for default node IP addre>
Oct 05 14:58:13 ve pmxcfs[919]: [main] notice: resolved node name 've' to '192.168.7.2' for default node IP addre>
Oct 05 14:58:13 ve pmxcfs[919]: [database] crit: unable to set WAL mode: database disk image is malformed#010
Oct 05 14:58:13 ve pmxcfs[919]: [database] crit: unable to set WAL mode: database disk image is malformed#010
Oct 05 14:58:13 ve pmxcfs[919]: [main] crit: memdb_open failed - unable to open database '/var/lib/pve-cluster/co>
Oct 05 14:58:13 ve pmxcfs[919]: [main] notice: exit proxmox configuration filesystem (-1)
Oct 05 14:58:13 ve pmxcfs[919]: [main] crit: memdb_open failed - unable to open database '/var/lib/pve-cluster/co>
Oct 05 14:58:13 ve pmxcfs[919]: [main] notice: exit proxmox configuration filesystem (-1)
Oct 05 14:58:13 ve systemd[1]: pve-cluster.service: Control process exited, code=exited, status=255/EXCEPTION
Oct 05 14:58:13 ve systemd[1]: pve-cluster.service: Failed with result 'exit-code'.
Oct 05 14:58:13 ve systemd[1]: Failed to start pve-cluster.service - The Proxmox VE cluster filesystem.
Oct 05 14:58:13 ve systemd[1]: pve-cluster.service: Scheduled restart job, restart counter is at 1.
Oct 05 14:58:13 ve systemd[1]: Stopped pve-cluster.service - The Proxmox VE cluster filesystem.
Oct 05 14:58:13 ve systemd[1]: Starting pve-cluster.service - The Proxmox VE cluster filesystem...
Oct 05 14:58:13 ve pmxcfs[1030]: [main] notice: resolved node name 've' to '192.168.7.2' for default node IP addr>
Oct 05 14:58:13 ve pmxcfs[1030]: [main] notice: resolved node name 've' to '192.168.7.2' for default node IP addr>
Oct 05 14:58:13 ve pmxcfs[1030]: [database] crit: unable to set WAL mode: database disk image is malformed#010
Oct 05 14:58:13 ve pmxcfs[1030]: [database] crit: unable to set WAL mode: database disk image is malformed#010
Oct 05 14:58:13 ve pmxcfs[1030]: [main] crit: memdb_open failed - unable to open database '/var/lib/pve-cluster/c>
Oct 05 14:58:13 ve pmxcfs[1030]: [main] crit: memdb_open failed - unable to open database '/var/lib/pve-cluster/c>
Oct 05 14:58:13 ve pmxcfs[1030]: [main] notice: exit proxmox configuration filesystem (-1)
Oct 05 14:58:13 ve pmxcfs[1030]: [main] notice: exit proxmox configuration filesystem (-1)

and also on the command
Code:
sqlite3 /var/lib/pve-cluster/config.db 'SELECT inode,parent,mtime,type,name FROM tree WHERE name = "authorized_keys"'
I get this:
Error: in prepare, no such table: tree


I have tried searching in other threads but have not found a solution.

I hope there is a Proxmox staff or anyone who can help me with my problem.
I would like to thank you in advance.
 
Last edited:
Update...
This morning I tried tutorial from this thread https://forum.proxmox.com/threads/pve-cluster-fails-to-start.82861/post-364579

And on I tried this command again
Code:
sqlite3 /var/lib/pve-cluster/config.db 'SELECT inode,mtime,name FROM tree WHERE parent = 0'
Then the output is :
Code:
0|1728105293|__version__
2|1724893265|datacenter.cfg
6|1724893265|storage.cfg
8|1724893900|virtual-guest
9|1724893901|priv
11|1724893901|nodes
24|1724893902|pve-www.key
30|1724893903|pve-root-ca.pem
48|1724893903|firewall
49|1724893903|ha
50|1724893903|mapping
52|1724893903|sdn
549736|1725719516|replication.cfg
549742|1725719516|vzdump.cron
1178951|1726666774|user.cfg
2128210|1728090805|authkey.pub.old
2128213|1728090805|authkey.pub

but on this command
Code:
sqlite3 /var/lib/pve-cluster/config.db 'SELECT inode,mtime,name FROM tree WHERE parent = 347747 or inode = 347747'
I have nothing output, maybe the parent id doesn't match with condition of my server.

I hope there is a Proxmox staff or anyone who can help me with my problem.
I would like to thank you in advance.