Container already locked

From OpenVZ Virtuozzo Containers Wiki
Revision as of 23:03, 9 December 2010 by Hm2k (talk | contribs) (added how to fix guide as couldn't find any mention on the entire of openvz.org (oddly))
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

If 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...