MilesWeb Hosting Forum

Web Hosting Technical Support => Errors and Solutions => Topic started by: Manish on June 02, 2016, 04:01:33 PM

Title: Container already locked error - Openvz
Post by: Manish on June 02, 2016, 04:01:33 PM
Hello,

If you receive this message when you try to stop/start the container:
Quote[root@server ~]# vzctl start 302
Container already locked

To fix the issue delete the lock file of the container.
Quote[root@server ~]# rm /vz/lock/302.lck
rm: remove regular file `/vz/lock/302.lck'? y

After that start the container:
Quote[root@server ~]# vzctl start 302
Starting container...
Container is mounted
Container start in progress...

That's it  :)