Proxmox can't shutdown VM [solved] (can't lock file '/run/lock/qemu-server/lock-*.conf)

 I am using proxmox 7.2-3 and I often have the following error when trying to stop, reboot or shutdown a VM from the gui.  can't lock file '/var/lock/qemu-server/lock-101.conf'

I don't understand what is going on here, but it can be annoying when you can't shutdown from the VM itself. Here how I do:


rm /run/lock/qemu-server/lock-[your VM ID].conf
qm unlock [your VM id]
qm stop [your VM id]

example:
rm /run/lock/qemu-server/lock-101.conf
qm unlock 101
qm stop 101

Comments

Popular posts from this blog

Latest OpenWRT (23.05.0) on asus rt-n16 (bcrms driver)

Subversion (svn) install on RHEL 9 (alma linux), connection using apache https