Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

cannot write PID to (temp) lock file: No space left on device

Status
Not open for further replies.

hisham

IS-IT--Management
Nov 6, 2000
194
I use Apache strictly for local testing and development in a Linux box. Last shutdown was not completed successfully, now I can brows my website in the same Linux box but I can’t do it from other machine in the LAN “before the last shutdown I could do it from any machine in the LAN” . The connection with the Linux box is active where I can do FTP and telnet, I restart apache many times without any good result, I checked the error_log file and I get the following:

[Wed Oct 16 13:43:30 2002] [warn] pid file /usr/local/apache/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?

and in the /var/log/messages i found:
cannot write PID to (temp) lock file: No space left on device
 
Check your space on /tmp with df -h i doubt its really a issue with space as it is with apache. Shut apache down completely, rm -rf /path/to/apache.pid then start it again to see if this resolves it. On a side note i know the -r switch means recursive and has no affect or real use on normal file deletion but i always use it. I hope this helps.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top