Get your server issues fixed by our experts for a price starting at just 25 USD/Hour. Click here to register and open a ticket with us now!

Author Topic: Container CTID is already locked [ Virtuozzo ]  (Read 4967 times)

0 Members and 1 Guest are viewing this topic.

linsonj

  • Guest
Container CTID is already locked [ Virtuozzo ]
« on: October 31, 2013, 10:38:36 pm »

In case of Linux this error can be fixed by killing the PID in the lock file located at /vz/lock/CTID.lck. But in Virtuozzo Windows there is no such file.

Following are the steps to unlock the locked Container

1) vzctl stop CTID --skiplock

(Try this command twice till it doesn’t show that the container is not running .This command might throw some ERROR but no need to worry).

2) vzctl start CTID --skiplock

This Command will throw an error if the VPS is stuck while starting or stopping.

3) After the both the above command the status of the VPS will be locked, so you will have to allow sometime to unlock the stuck processes.

4) If the above command doesn’t start the VPS, stop the VPS using –skiplock option again and kill “vzlpl” process running on Host using Task Manager. After that you will able to start the VPS normally.

Restart the services if necessary on the host.

5) Restart VZAgent service

net stop vzaop

net start vzaop