return code -2 from vzctl [message #38320] |
Sun, 06 December 2009 07:17 ![Go to next message Go to next message](/theme/ovz3/images/down.png) |
webofunni
Messages: 10 Registered: March 2009
|
Junior Member |
|
|
Hi,
I am getting rc code -2 from the vzctl when starting the container. It seems the issue is with the vps lock. Also I am searching for an option to start the VPS like --skip-lock with vzctl.
What the the return code -2 from vzctl means ?
What the the best method to start the VPS with a lock file ?
deleting the lock file before starting the VPS is a good option ?
--
Regards,
Unni
Regards,
Unni
|
|
|
Re: return code -2 from vzctl [message #38431 is a reply to message #38320] |
Fri, 18 December 2009 16:06 ![Go to previous message Go to previous message](/theme/ovz3/images/up.png) |
maratrus
Messages: 1495 Registered: August 2007 Location: Moscow
|
Senior Member |
|
|
Hello,
is it possible to find out what kind of lock vzctl complains about. You may try to use "strace" utility.
Lock files contain the PID which can help you to catch the process that is holding a particular lock.
|
|
|