Fix Proxmox (PVE) “can’t lock file ‘/var/lock/qemu-server/lock-xxx.conf’ – got timeout”

 

The Issue

When trying to “Stop” or “Shutdown” virtual machine from Proxmox (PVE) web gui, the “Cluster log” shows

 

he Fix

We can manually delete the lock from following path

cd /var/lock/

if it is VM check on /var/lock/qemu-server/ and if it is a container /run/lock/lxc/cd

/var/lock/qemu-server/lock-404.conf' - got timeou

then delete locked .conf file " lock-108104.conf"

rm yourVMID.conf

 

 

 

 

Was this answer helpful? 8 Users Found This Useful (126 Votes)