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

**URL:** <https://discourse.pi-hole.net/t/pi-hole-no-web-interface-lighttpd-service-failed-to-start/30497>\
**Category:** Help\
**Created:** [April 13, 2020, 3:52pm UTC](https://discourse.pi-hole.net/t/pi-hole-no-web-interface-lighttpd-service-failed-to-start/30497 "2020-04-13T15:52:31Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![silvertonesx24](https://discourse-cdn.pi-hole.net/letter_avatar_proxy/v4/letter/s/839c29/32.png) [@silvertonesx24](https://discourse.pi-hole.net/u/silvertonesx24)\
**Post date:** [April 13, 2020, 3:52pm UTC](https://discourse.pi-hole.net/t/pi-hole-no-web-interface-lighttpd-service-failed-to-start/30497/1 "2020-04-13T15:52:31Z")

</div>

#### 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

> [@Pi-hole no web interface access and lighttpd.service failed to start](https://discourse.pi-hole.net/t/pi-hole-no-web-interface-access-and-lighttpd-service-failed-to-start/14225):
>
> Please follow the below template, it will help us to help you! Hi, thanks for being part of this great project. I would need help as my friend google can not help me anymore Expected Behaviour: Access to web interface Actual Behaviour: after a power outage the web interface is not accessible anymore. lighttpd refuses to start, blocking and dns over http works Debug Token: k999znraw2 what I did: pihole -r didn't help ~$ systemctl status lighttpd.service ● lighttpd.service - Lighttpd Da…

## 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

---

<div class="post-metadata">

**Author:** ![jfb](https://discourse-cdn.pi-hole.net/user_avatar/discourse.pi-hole.net/jfb/32/4332_2.png) [@jfb](https://discourse.pi-hole.net/u/jfb)\
**Post date:** [April 13, 2020, 3:54pm UTC](https://discourse.pi-hole.net/t/pi-hole-no-web-interface-lighttpd-service-failed-to-start/30497/2 "2020-04-13T15:54:50Z")

</div>

> [@silvertonesx24](#):
>
> ```auto
> *** [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)
> 
> ```

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

---

<div class="post-metadata">

**Author:** ![silvertonesx24](https://discourse-cdn.pi-hole.net/letter_avatar_proxy/v4/letter/s/839c29/32.png) [@silvertonesx24](https://discourse.pi-hole.net/u/silvertonesx24)\
**Post date:** [April 13, 2020, 4:44pm UTC](https://discourse.pi-hole.net/t/pi-hole-no-web-interface-lighttpd-service-failed-to-start/30497/3 "2020-04-13T16:44:20Z")

</div>

> \*\*\* [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

---

<div class="post-metadata">

**Author:** ![jfb](https://discourse-cdn.pi-hole.net/user_avatar/discourse.pi-hole.net/jfb/32/4332_2.png) [@jfb](https://discourse.pi-hole.net/u/jfb)\
**Post date:** [April 13, 2020, 5:19pm UTC](https://discourse.pi-hole.net/t/pi-hole-no-web-interface-lighttpd-service-failed-to-start/30497/4 "2020-04-13T17:19:39Z")

</div>

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).

---

<div class="post-metadata">

**Author:** ![system](https://discourse.pi-hole.net/uploads/default/original/3X/7/c/7c8792f649eeb921c5d2b4c41564ffa873d9a2b8.png) [@system](https://discourse.pi-hole.net/u/system)\
**Post date:** [May 4, 2020, 5:19pm UTC](https://discourse.pi-hole.net/t/pi-hole-no-web-interface-lighttpd-service-failed-to-start/30497/5 "2020-05-04T17:19:40Z")

</div>

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