Tuesday, September 6, 2011

vzctl start Container already locked

Advertisements

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

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

Solution:
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.