Question

Locked

Lockfile creation failed

By backtrack8083 ·
Hi
I have an issue on two of my linux servers.
Here when i restart networking or restart lighttpd i get the following error after one or two minutes of restart.
Lockfile creation failed and it appears in 9 different lines as
as:
abc:~lockfile creation failed
lockfile creation failed
lockfile creation failed
lockfile creation failed
lockfile creation failed
lockfile creation failed
lockfile creation failed
lockfile creation failed
lockfile creation failed

and after the 9th line it hangs.
Kindly help
Thanks in advance

This conversation is currently closed to new comments.

4 total posts (Page 1 of 1)  
| Thread display: Collapse - | Expand +

All Answers

Collapse -

Maybe the lockfile is not getting deleted

by robo_dev In reply to Lockfile creation failed

so the process cannot create something that already exists?

Perhaps there's something wrong with the permission settings of your /var/lock?

Collapse -

Lockfile creation failed

by backtrack8083 In reply to Maybe the lockfile is not ...

Hi
i checked the /var/lock and there is just one file named aptitude in that and that is owned by root. so i have no idea regarding this. Can u plz illustrate this that which process are you talking about which cannot create something that already exists as i am not getting this. I mean to say any idea which processes they can be. I always see this error coming up in 6 different lines when i have restart networking and lighttpd. Perhaps what was striking me was that may be it happens because on that server i have some IPs listed in the interfaces file of /etc/network which are not currently being used by any domain. But this is just an idea i may be wrong. May be u can correct me.
Thanks for your help.

Collapse -

Poking around in the source of the app....

by robo_dev In reply to Lockfile creation failed

I noted that version 1.4 adds locking for WebDav. Maybe you have webdav and/or 1.4 configured on one server and 1.3 on another?

Also, there are notes that locking and NFS sometimes do not get along, so again, if you have NFS going on one server and not the other.

http://redmine.lighttpd.net/projects/lighttpd/repository/entry/branches/lighttpd-1.4.x/NEWS

1.4.12 - 2006-09-23

* added experimental LOCK support for webdav

Back to Networks Forum
4 total posts (Page 1 of 1)  

Related Discussions

Related Forums