Total Pageviews

Monday, 23 January 2012

如何解决openvz vps出现container already locked的问题

Container already locked

From OpenVZ Linux Containers Wiki

Jump to: navigation, search
If you received this message when you try and stop the VE...
[root@server ~]# vzctl stop 104
Container already locked
Here's how to fix it:
  • 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...

From OpenVZ Linux Containers Wiki

Jump to: navigation, search
If you received this message when you try and stop the VE...
[root@server ~]# vzctl stop 104
Container already locked
Here's how to fix it:
  • 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...

No comments:

Post a Comment