If you have tried to start, restart, or stop a container, and you get this err:
[root@server ~]#
vzctl stop 104
Container already locked
You need to do one or both of these commands:
[root@server ~]#
rm /vz/lock/104.lck
rm: remove regular file `/vz/lock/104.lck’?y
And/Or:
[root@server ~]#
vzctl chkpnt 104 --kill
Killing…
This will delete the lock file, and clear the check point. Once you have run them, you can re-run your vzctl stop/start/restart command.