Tuesday, September 6, 2011

vzctl start Container already locked


While starting the openvz container you may get an error like this
Container already locked

You wont be able to start, restart or stop the container. It is because the container is locked.

Delete the /vz/lock/VEID.lck file (where VEID is the number of your VPS).
vzctl chkpnt VEID --kill

Now start the vps.
vzctl start VEID

1 comment:

Be nice. That's all.