Pages

Sunday, 10 June 2012

OpenVZ container get locked.

some times there is an error occur in the opnVZ that container get locked.

So to active the container you need to do some simple steps.

The message will look like this,

[root@server ~]# vzctl stop 104
Container already locked 
 
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... 
 
Then check the status. The container will be up.
 
Done ! 

No comments:

Post a Comment