Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
lighttpd-1.4.8 won't start; anyone have it working?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
jedsen
Apprentice
Apprentice


Joined: 15 Oct 2004
Posts: 276
Location: Sacramento, California, USA

PostPosted: Mon Jan 23, 2006 6:53 am    Post subject: lighttpd-1.4.8 won't start; anyone have it working? Reply with quote

Hi,
When I run
Code:
/etc/init.d/lighttpd start

I get no errors, but the "lighttpd" process isn't started. I'm assuming this is part of the reason it's masked ~x86? Does anyone else have it working?

Also, when I run "lighttpd" manually, it just dies right away.

Thanks.


Last edited by jedsen on Tue Jan 24, 2006 6:32 am; edited 1 time in total
Back to top
View user's profile Send private message
UberLord
Retired Dev
Retired Dev


Joined: 18 Sep 2003
Posts: 6835
Location: Blighty

PostPosted: Mon Jan 23, 2006 9:24 am    Post subject: Reply with quote

Check you log files.
If you've configured anything LDAP for lighttpd, then slapd HAS to be running, otherwise lighttpd won't start :/
_________________
Use dhcpcd for all your automated network configuration needs
Use dhcpcd-ui (GTK+/Qt) as your System Tray Network tool
Back to top
View user's profile Send private message
jedsen
Apprentice
Apprentice


Joined: 15 Oct 2004
Posts: 276
Location: Sacramento, California, USA

PostPosted: Mon Jan 23, 2006 10:11 am    Post subject: Reply with quote

Okay, I've installed openldap, and started slapd, but still lighttpd wont start. My error log reads:
Quote:
2006-01-23 02:09:15: (log.c.75) server started

as it did before slapd was started.

Thanks for the tip.
Back to top
View user's profile Send private message
jedsen
Apprentice
Apprentice


Joined: 15 Oct 2004
Posts: 276
Location: Sacramento, California, USA

PostPosted: Tue Jan 24, 2006 6:33 am    Post subject: Reply with quote

Anyone have 1.4.8 working? This is really annoying.
Back to top
View user's profile Send private message
Desti²
Tux's lil' helper
Tux's lil' helper


Joined: 06 Sep 2003
Posts: 127

PostPosted: Sun Jan 29, 2006 12:28 am    Post subject: Reply with quote

You have tried start-stop-daemon --start --quiet --exec /usr/sbin/lighttpd -- -f /etc/lighttpd.conf ?
Disable all plugins and try it again, then add them step by step.
_________________
Linux Users Everywhere @ climateprediction.net
Back to top
View user's profile Send private message
jedsen
Apprentice
Apprentice


Joined: 15 Oct 2004
Posts: 276
Location: Sacramento, California, USA

PostPosted: Sun Jan 29, 2006 6:29 am    Post subject: Reply with quote

The start-stop-daemon command worked, but only using the default /etc/lighttpd.conf, not the Gentoo /etc/lighttpd/lighttpd.conf. I'll look for the offending values in the /etc/lighttpd.conf file.

Thank you.
Back to top
View user's profile Send private message
sjames1010
n00b
n00b


Joined: 06 Jun 2003
Posts: 10

PostPosted: Tue Jan 31, 2006 1:53 am    Post subject: Reply with quote

I am having the same problem

the following command works:

Code:
start-stop-daemon --start --exec /usr/sbin/lighttpd -- -f /etc/lighttpd/lighttpd.conf


but
Code:
/etc/init.d/lighttpd start
prints "OK" while not actually starting the server, and no messages are printed in the logfile

using lighttpd version 1.4.8

built with bzip2,doc,fam,fastcgi,gdbm,ipv6,ldap,mysql,pcre,php,rrdtool,ssl,webdav
Back to top
View user's profile Send private message
sjames1010
n00b
n00b


Joined: 06 Jun 2003
Posts: 10

PostPosted: Tue Jan 31, 2006 1:49 pm    Post subject: Reply with quote

The problem might be deeper -- it seems that all init.d scripts using start-stop-daemon are not working.
Back to top
View user's profile Send private message
freezer
n00b
n00b


Joined: 23 Aug 2005
Posts: 4

PostPosted: Wed Feb 01, 2006 5:25 pm    Post subject: Reply with quote

I have resolved compiling lighttpd without the fam support.
Back to top
View user's profile Send private message
mserms
Apprentice
Apprentice


Joined: 13 Jan 2005
Posts: 162
Location: Edinburgh

PostPosted: Tue Mar 28, 2006 12:35 pm    Post subject: Reply with quote

Using the start-stop daemon works for me, but the init scripts are still goosed :(

-fam, didn't solve it for me, unfortunately.
Back to top
View user's profile Send private message
mserms
Apprentice
Apprentice


Joined: 13 Jan 2005
Posts: 162
Location: Edinburgh

PostPosted: Tue Mar 28, 2006 12:40 pm    Post subject: Reply with quote

mserms wrote:
Using the start-stop daemon works for me, but the init scripts are still goosed :(


I posted too soon!

/etc/init.d/lighttpd zap && /etc/init.d/lighttpd start worked for me!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum