OpenVZ error - Container already locked

Discussions related with hosting control panels used, which include cPanel, Plesk, Directadmin etc..
Post Reply
jeniffer
Posts: 0
Joined: Wed Sep 21, 2016 3:23 pm

OpenVZ error - Container already locked

Post by jeniffer »

I am getting the error "Container already locked" when I tried to start the VPS.

[root@server ~]# vzctl start 101
Container already locked



Martin
Posts: 36
Joined: Fri Sep 16, 2016 10:34 am

Re: OpenVZ error - Container already locked

Post by Martin »

First delete the lock file :

[root@server ~]# rm /vz/lock/101.lck
rm: remove regular file `/vz/lock/101.lck’? y

Then kill the checkpoint using the below command :

[root@server ~]# vzctl chkpnt 101 --kill


------------------------------
Martin N
Linux Support Engineer.
Nixtree Solutions
Managed Full Server Backups
https://www.nixtree.com/managed-backups.php
Follow us on : https://twitter.com/nixtree



Post Reply