SliTaz SliTaz Forum

You are not logged in.

#1 2011-10-25 07:33:33

ridge
Member
Registered: 2011-10-25
Posts: 12

lighttpd not started

The handbook indicates that lighttpd is started automatically at boot.

However, I don't see /etc/lighttpd or /var/www.

What am I missing?

Offline

#2 2011-10-25 09:12:09

Guest
Guest

Re: lighttpd not started

go to the slitaz control box and add it to the run daemons section, which its self just adds it to a txt file somewhere.

#3 2011-10-25 17:50:45

ridge
Member
Registered: 2011-10-25
Posts: 12

Re: lighttpd not started

Thanks for your reply.

- I downloaded and installed slitaz 3.0.

- I can browse the internet with midori.

- I have added lighttpd to "Run daemons" in the control box.

- I rebooted.

- lighttpd is in /etc/rcS.conf

- "ps | grep lighttpd" doesn't show it's running.

Offline

#4 2011-10-25 18:26:34

mojo
Administrator
Registered: 2011-03-29
Posts: 2,174

Re: lighttpd not started

Spider button/System Tools/Show boot log:

Starting web server: LightTPD...                                     [ OK ]

From xterm:

Stopping web server: LightTPD...                                     [ OK ]

root@slitaz:/home/tux# /etc/init.d/lighttpd start

Starting web server: LightTPD...                                     [ OK ]

root@slitaz:/home/tux# ps | grep lighttpd

1140 www      /usr/sbin/lighttpd -f /etc/lighttpd/lighttpd.conf

Recheck /etc/rcS.conf

RUN_DAEMONS="dbus hald slim portmap unfsd cupsd samba lighttpd"

Check and delete if you find a stale pid :

#rm /var/run/lighttpd.pid

Offline

#5 2011-10-25 19:25:03

ridge
Member
Registered: 2011-10-25
Posts: 12

Re: lighttpd not started

Thanks for trying to help.

This is a clean install (other than me adding lighttpd to Run daemons).

There is no lighttpd in /etc/init.d

There is no lighttpd in /etc

I rechecked /etc/rcS.conf:

RUN_DAEMONS="dbus hald firewall slim lighttpd"

I checked the boot log.  There was one "Failed"

Starting udev daemon ...           [Failed]

Everything else  ...               [OK]

The last entry is slim (not lighttpd).

Offline

#6 2011-10-25 21:10:00

Trixar_za
Administrator
Registered: 2011-03-29
Posts: 1,506

Re: lighttpd not started

You need to install the lighttpd package first. It doesn't come bundled with SliTaz 3 anymore (it was however part of SliTaz 1 and 2)

Offline

#7 2011-10-25 23:38:32

ridge
Member
Registered: 2011-10-25
Posts: 12

Re: lighttpd not started

Trixar_za,

Thanks, the handbook and some reviews needs to be updated

with your information.  After installing the lighttpd

package, it seems to be working fine.  (Issue closed.)

Offline

#8 2011-10-25 23:56:10

mojo
Administrator
Registered: 2011-03-29
Posts: 2,174

Re: lighttpd not started

@Trixar_za

Sometimes the solution is installing the software.

Slitaz-2.0 doesn't include lighttpd.

Thanks wink

Offline

Registered users online in this topic: 0, guests: 1
[Bot] ClaudeBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.022 seconds, 7 queries executed - Memory usage: 1.54 MiB (Peak: 1.77 MiB) ]