Pi-hole no web interface, lighttpd.service failed to start

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

Expected Behaviour:

I accidentally bumped a power strip and restarted my Pihole. Now it no longer works. I tried a pihole -r it repairs fine, and pihole-d shows the expected x-header not available, and my web interface cannot be accessed. It was always working fine previously. I suspect the lighttpd service is corrupted. I tried the steps outlined by the user here, and it still doesn't work

Actual Behaviour:

pi@raspberrypi:~ $ sudo systemctl status lighttpd
● lighttpd.service - Lighttpd Daemon
Loaded: loaded (/lib/systemd/system/lighttpd.service; enabled; vendor preset:
Active: failed (Result: exit-code) since Mon 2020-04-13 16:36:54 BST; 3min 48
Process: 11174 ExecStartPre=/usr/sbin/lighttpd -tt -f /etc/lighttpd/lighttpd.c
Process: 11181 ExecStart=/usr/sbin/lighttpd -D -f /etc/lighttpd/lighttpd.conf
Main PID: 11181 (code=exited, status=255/EXCEPTION)

Apr 13 16:36:54 raspberrypi systemd[1]: lighttpd.service: Service RestartSec=100
Apr 13 16:36:54 raspberrypi systemd[1]: lighttpd.service: Scheduled restart job,
Apr 13 16:36:54 raspberrypi systemd[1]: Stopped Lighttpd Daemon.
Apr 13 16:36:54 raspberrypi systemd[1]: lighttpd.service: Start request repeated
Apr 13 16:36:54 raspberrypi systemd[1]: lighttpd.service: Failed with result 'ex
Apr 13 16:36:54 raspberrypi systemd[1]: Failed to start Lighttpd Daemon.

Debug Token:

*** [ DIAGNOSING ]: Dashboard and block page
[✗] Block page X-Header: X-Header does not match or could not be retrieved.
HTTP/1.1 200 OK
Date: Mon, 13 Apr 2020 15:42:13 GMT
Server: Apache/2.4.38 (Raspbian)
Last-Modified: Sun, 10 Nov 2019 20:21:55 GMT
ETag: "29cd-59703c42d44de"
Accept-Ranges: bytes
Content-Length: 10701
Vary: Accept-Encoding
Content-Type: text/html

[✗] Web interface X-Header: X-Header does not match or could not be retrieved.
HTTP/1.1 200 OK
Date: Mon, 13 Apr 2020 15:42:13 GMT
Server: Apache/2.4.38 (Raspbian)
Last-Modified: Mon, 13 Apr 2020 00:28:59 GMT
ETag: "232b-5a3212b4f5474"
Accept-Ranges: bytes
Content-Length: 9003

You have an instance of Apache2 that has started, and it is preventing lighttpd from binding to port 80.

*** [ DIAGNOSING ]: Dashboard and block page
[✗] Block page X-Header: X-Header does not match or could not be retrieved.
HTTP/1.1 200 OK
Content-Type: text/html
Accept-Ranges: bytes
ETag: "1748631526"
Last-Modified: Sun, 10 Nov 2019 20:21:55 GMT
Content-Length: 10701
Date: Mon, 13 Apr 2020 16:42:48 GMT
Server: lighttpd/1.4.53

[✓] Web interface X-Header: X-Pi-hole: The Pi-hole Web interface is working!

I stopped apache and restarted lighttpd (which now started fine). Still getting a trashed login page though

Please post a new debug token and a screen snap of what you see on the login page (after you clear your browser cache and reload the page).

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.