OpenVZ Forum


Home » Mailing lists » Users » Unable to create lock file
Unable to create lock file [message #8412] Sun, 19 November 2006 21:49 Go to next message
swapnilm is currently offline  swapnilm
Messages: 7
Registered: November 2006
Junior Member
Hello,

We are getting following error while starting VPS.
---------------------
Unable to create lock file /vz/lock/119.lckBhM5yX, use --skiplock option:
Read-only file system
Unable to lock VPS
---------------------
Currently VPS shows as mounted.

We have CentOS release 4.4 installed on the server and
"2.6.8-022stab078.14-enterprise #1 SMP" openvz kernel.

If anyone knows the reason why this is happening, please assist.


Best Regards,
Swapnil
Re: Unable to create lock file [message #8417 is a reply to message #8412] Mon, 20 November 2006 07:35 Go to previous messageGo to next message
Vasily Tarasov is currently offline  Vasily Tarasov
Messages: 1345
Registered: January 2006
Senior Member
Please,

provide the contents of /proc/mounts file.

Thank you!

swapnilm@etechsupport.net wrote:
> Hello,
>
> We are getting following error while starting VPS.
> ---------------------
> Unable to create lock file /vz/lock/119.lckBhM5yX, use --skiplock option:
> Read-only file system
> Unable to lock VPS
> ---------------------
> Currently VPS shows as mounted.
>
> We have CentOS release 4.4 installed on the server and
> "2.6.8-022stab078.14-enterprise #1 SMP" openvz kernel.
>
> If anyone knows the reason why this is happening, please assist.
>
>
> Best Regards,
> Swapnil
Re: Unable to create lock file [message #8451 is a reply to message #8412] Mon, 20 November 2006 11:46 Go to previous message
dev is currently offline  dev
Messages: 1693
Registered: September 2005
Location: Moscow
Senior Member

> We are getting following error while starting VPS.
> ---------------------
> Unable to create lock file /vz/lock/119.lckBhM5yX, use --skiplock option:
> Read-only file system
according to this message some part of your file system is mounter read-only,
but vzctl tries to write some files there and fails.
check your mounts.

> Unable to lock VPS
> ---------------------
> Currently VPS shows as mounted.
>
> We have CentOS release 4.4 installed on the server and
> "2.6.8-022stab078.14-enterprise #1 SMP" openvz kernel.
>
> If anyone knows the reason why this is happening, please assist.
>
>
> Best Regards,
> Swapnil
Previous Topic: [Devel] linux.conf.au 2007 Virtualization mini-conf CFP
Next Topic: iptables functionality
Goto Forum:
  


Current Time: Sat Nov 09 10:35:05 GMT 2024

Total time taken to generate the page: 0.03241 seconds