MilesWeb
MilesWeb Hosting Forum

Please login or register.

Login with username, password and session length

 

News:

SMF - Just Installed!


Author Topic: Container already locked error - Openvz  (Read 3854 times)

0 Members and 1 Guest are viewing this topic.

Offline Manish

  • Newbie
  • *
  • Posts: 12
  • Karma: +0/-0
    • View Profile
Container already locked error - Openvz
« 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  :)


MilesWeb Hosting Forum

Container already locked error - Openvz
« on: June 02, 2016, 04:01:33 PM »