lighttpd won’t start and doesn’t output or log any error message

I was working on a server and for some reason lighttpd wouldn’t start for some odd reason. Running it via Debian/Ubuntu “invoke-rc.d lighttpd start” or “/etc/init.d/lighttpd start” wouldn’t reveal an error message or anything in the log. I hop’d on irc.freenode.net and put some information about my problem in the channel #lighttpd channel.

I was working on a server and for some reason lighttpd wouldn’t start for some odd reason. Running it via Debian/Ubuntu “invoke-rc.d lighttpd start” or “/etc/init.d/lighttpd start” wouldn’t reveal an error message or anything in the log.

I hop’d on irc.freenode.net and put some information about my problem in the channel #lighttpd channel.

11:15 < comm> Hi, lighttpd recently won’t start up and doesn’t give any error output in the logs or stdout, I have an strace log.
11:17 < comm> The following is the strace output http://pastebin.com/m74389d99
11:35 < hoffie> comm: you are probably running in the bug that there are some error messages in a bad stage (right after forking, but
before having the errorlog available), so you cannot see the message…
11:35 < hoffie> this is being worked on
11:36 < hoffie> strace -ff -ewrite lighttpd … should reveal it
11:48 < comm> hoffie: danke!
11:49 < comm> hoffie: and it did find my error, thank you!

Now I can go about fixing this blunder!


Did you like this article?


0 Shares:
You May Also Like

Fastcgi and the dreaded aborted: select() failed

I was getting reports of "500 Internal Server Errors" on two of my web servers. And after further investigation it looks like it was related to the following error.

(4)Interrupted system call: FastCGI: comm with server "php-fastcgi.fcgi" aborted: select() failed

After doing some reasearch I stumbled upon the following patch.

http://groups.google.com/group/linux.debian.bugs.dist/browse_thread/thread/3de22bc415d3da02?pli=1

Read More

Apple releases iPhone 2.0.2 Firmware/Update

It has only been a few weeks and Apple has already released an updated firmwave for the iPhone. Could this mean Apple isn't going to sit on bugfixes, are more updates going to be released in the same short time span. A couple of weeks is really short, however a couple of months to improve some iPhone features, fix bugs or release new functionality is something that should be embraced.
Read More