OpenVZ Forum

Home » Mailing lists » Users » /var/lock/subsys directory missing on openvz debian squeeze
/var/lock/subsys directory missing on openvz debian squeeze [message #43594] Thu, 29 September 2011 12:46
Benjamin Henrion is currently offline  Benjamin Henrion
Messages: 51
Registered: February 2011

I am using openvz kernel on debian squeeze, when I do an
/etc/init.d/vz start, I got some errors poping up:

============================================================ =
12:38 root@abcde /var/lib/vz/lock# /etc/init.d/vz start
/etc/init.d/vz: line 347: /var/lock/subsys/vz_lock.6315: No such file
or directory
Can't write to /var/lock/subsys/vz_lock.6315
cat: /var/lock/subsys/vz_lock: No such file or directory
/etc/init.d/vz: line 362: /var/lock/subsys/vz_lock: No such file or directory
Starting OpenVZ: ..done
Bringing up interface venet0: ..done
Starting CT 40042237: ..done
touch: cannot touch `/var/lock/subsys/vz': No such file or directory
============================================================ =

I just created the missing dir:

mkdir -p /var/lock/subsys

And it worked again.

Any debian guys on the list?


Benjamin Henrion <bhenrion at>
FFII Brussels - +32-484-566109 - +32-2-4148403
"In July 2005, after several failed attempts to legalise software
patents in Europe, the patent establishment changed its strategy.
Instead of explicitly seeking to sanction the patentability of
software, they are now seeking to create a central European patent
court, which would establish and enforce patentability rules in their
favor, without any possibility of correction by competing courts or
democratically elected legislators."
Previous Topic: vztcl runscript and keep the same env variables?
Next Topic: chkpt/vzmigrate with SSL connections
Goto Forum:

Current Time: Sun Nov 27 19:29:59 GMT 2022

Total time taken to generate the page: 0.01027 seconds