You are not logged in.

#1 2011-10-05 07:13:59

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,734
Website

lighttpd fails to start - no error messages given [solved]

Lighttpd stopped working all of a sudden.  I removed it, nuked /etc/lighttpd/lighttpd.conf and re-installed lighttpd and using the default /etc/lighttpd/lighttpd.conf from the PKG with no modifications.  When I attempt to start it, I get a FAIL message and nothing in /var/log/lighttpd at all (empty directory). 

 # rc.d start lighttpd
:: Checking configuration                                                                                 [DONE] 
:: Starting lighttpd                                                                                      [FAIL] 

That said, I can manually run the following and the daemon works just fine:

# /usr/sbin/lighttpd-angel -D -f /etc/lighttpd/lighttpd.conf

This is on i686 if that matters... thoughts are welcomed smile

EDIT: AH!  Turns out there was a stale pid file ---> /var/run/lighttpd/lighttpd-angel.pid for some reason preventing the daemon from running.  Perhaps we need to add a stale pid check to /etc/rc.d/lighttpd.  Opened https://bugs.archlinux.org/task/26270

Last edited by graysky (2011-10-05 07:26:29)

Offline

#2 2011-10-20 19:20:05

florian.klein
Member
Registered: 2011-10-20
Posts: 2

Re: lighttpd fails to start - no error messages given [solved]

Thanks for pointing this out!

Offline

Board footer

Powered by FluxBB