OpenVZ Forum


Home » General » Support » return code -2 from vzctl
return code -2 from vzctl [message #38320] Sun, 06 December 2009 07:17 Go to next message
webofunni is currently offline  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
maratrus is currently offline  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.
Previous Topic: High Virtual Memory Usage when loading shared libraries
Next Topic: drop_caches permission denied
Goto Forum:
  


Current Time: Wed Jul 17 19:29:12 GMT 2024

Total time taken to generate the page: 0.02675 seconds