Getting issue in VM start .

Swanand

New Member
Mar 26, 2026
22
1
3
while starting the VM. I am getting this issue.

TASK ERROR: can't lock file '/var/lock/qemu-server/lock-236981.conf' - got timeout.
 
Hi @Swanand,
that means that some other operation is holding the lock. You can check which process it is with e.g. fuser -vau /var/lock/qemu-server/lock-236981.conf.
 
What do you mean with "clear the locks"? You must wait for the other tasks to finish (or cancel). Is there a task that is taking much longer than expected?
 
What do you mean with "clear the locks"? You must wait for the other tasks to finish (or cancel). Is there a task that is taking much longer than expected?
The process is showing , but it is in stuck mode and not using any cpu and memory ..
 
This usually means a stale lock from a previous task. First, check if another VM task is still running. If not, remove the lock file (/var/lock/qemu-server/lock-236981.conf) only after confirming no active process is using the VM. If it keeps happening, check the task logs for storage or cluster-related issues.
 
Which process? What does "stuck mode" mean? The more information you share, the more likely somebody can recognize the actual issue.