Lighttpd does not start

Please follow the below template, it will help us to help you!

Expected Behaviour:

Pi.hole or any IP of my Box should work and open.

Actual Behaviour:

Its just dont open… so its

Debug Token:

1eyz942j3v

Did the installation finish correctly? I see e.g.

   Dec 28 16:24:48 dnsmasq[25428]: Fehler beim Laden der Namen von /etc/pihole/local.list: Datei oder Verzeichnis nicht gefunden
   Dec 28 16:24:48 dnsmasq[25428]: Fehler beim Laden der Namen von /etc/pihole/black.list: Datei oder Verzeichnis nicht gefunden
   Dec 28 16:24:48 dnsmasq[25428]: Fehler beim Laden der Namen von /etc/pihole/gravity.list: Datei oder Verzeichnis nicht gefunden

which indicates that the installation was not completed.

Yes, it did… i will reinstall pi-hole later and see what happends…

okay, while reinstalling, pihole-ftl did not install… but there was not an errormessage for it, it just got ignored… i dont think that this is an inportant thing in this question but it happend… ._. and still while reinstalling lighttpd didnt start…

new code for “pihole -d” 8hj8cu34kp

According to your new debug log,

*** [ DIAGNOSING ]: FTL version
[✓] FTL: v2.13.1

pihole-FTL got installed correctly. What is it’s status? (sudo service pihole-FTL status)

:~# service pihole-FTL status
● pihole-FTL.service - LSB: pihole-FTL daemon
Loaded: loaded (/etc/init.d/pihole-FTL; generated; vendor preset: enabled)
Active: inactive (dead)
Docs: man:systemd-sysv-generator(8)

//EDIT: I’ve started it now, with service pihole-FTL start now its running… so i think this is just a hick up.

:~# service lighttpd status
● lighttpd.service - Lighttpd Daemon
Loaded: loaded (/lib/systemd/system/lighttpd.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Fri 2017-12-29 15:44:11 CET; 24h ago
Process: 24113 ExecStartPre=/usr/sbin/lighttpd -tt -f /etc/lighttpd/lighttpd.conf (code=exited, status=127)

Can you restart it? If no, does it give any error?

:~# service lighttpd start
Job for lighttpd.service failed because the control process exited with error code.
See “systemctl status lighttpd.service” and “journalctl -xe” for details.

:~# systemctl status lighttpd.service
● lighttpd.service - Lighttpd Daemon
Loaded: loaded (/lib/systemd/system/lighttpd.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Sat 2017-12-30 16:29:52 CET; 23s ago
Process: 5070 ExecStartPre=/usr/sbin/lighttpd -tt -f /etc/lighttpd/lighttpd.conf (code=exited, status=127)

Dez 30 16:29:51 djcray-X751LD systemd[1]: Failed to start Lighttpd Daemon.
Dez 30 16:29:51 djcray-X751LD systemd[1]: lighttpd.service: Unit entered failed state.
Dez 30 16:29:51 djcray-X751LD systemd[1]: lighttpd.service: Failed with result ‘exit-code’.
Dez 30 16:29:52 djcray-X751LD systemd[1]: lighttpd.service: Service hold-off time over, scheduling restart.
Dez 30 16:29:52 djcray-X751LD systemd[1]: Stopped Lighttpd Daemon.
Dez 30 16:29:52 djcray-X751LD systemd[1]: lighttpd.service: Start request repeated too quickly.
Dez 30 16:29:52 djcray-X751LD systemd[1]: Failed to start Lighttpd Daemon.
Dez 30 16:29:52 djcray-X751LD systemd[1]: lighttpd.service: Unit entered failed state.
Dez 30 16:29:52 djcray-X751LD systemd[1]: lighttpd.service: Failed with result ‘exit-code’.

How about that?

Maybe running lighttpd directly can reveal some more details as well, try

sudo service lighttpd stop
lighttpd -D -f /etc/lighttpd/lighttpd.conf

Dez 30 16:46:57 djcray-X751LD systemd-resolved[1387]: Using degraded feature set (UDP) for DNS server 127.0.1.1

lighttpd: symbol lookup error: lighttpd: undefined symbol: FAMNoExists

Looking at this bug report, one of the suggested workarounds is:

sudo apt-get install gamin
1 Like

Did it allready, and now its working. idk why but its working now just fine.

No idea what gamin is or does but this fixed my problem. Many Thanks