OpenVZ: Container already locked

f you received this message when you try and stop the VE…

[root@server ~]# vzctl stop 104
Container already locked

Here’s how to fix it:

  • Delete the lock file
[root@server ~]# rm /vz/lock/104.lck
rm: remove regular file `/vz/lock/104.lck'? y
  • Kill the checkpoint
[root@server ~]# vzctl chkpnt 104 --kill
Killing...

I also submitted this article onto the OpenVZ Wiki entitled “Container already locked“.

I did this because, there was nothing found on the OpenVZ website with regards to this before now:

Your search – site:openvz.org “Container already locked” – did not match any documents.

Hope this helps!

Related posts:

  1. FreeBSD 6.2 “/usr/ports: No such file or directory” I recently setup a new FreeBSD 6.2 server, only to...

Leave a Comment