# Fresh install and web admin page not work

**URL:** <https://discourse.pi-hole.net/t/fresh-install-and-web-admin-page-not-work/12926>\
**Category:** Help\
**Created:** [September 15, 2018, 9:29pm UTC](https://discourse.pi-hole.net/t/fresh-install-and-web-admin-page-not-work/12926 "2018-09-15T21:29:42Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![sutszi](https://discourse-cdn.pi-hole.net/letter_avatar_proxy/v4/letter/s/c2a13f/32.png) [@sutszi](https://discourse.pi-hole.net/u/sutszi)\
**Post date:** [September 15, 2018, 9:29pm UTC](https://discourse.pi-hole.net/t/fresh-install-and-web-admin-page-not-work/12926/1 "2018-09-15T21:29:42Z")

</div>

I install Pi-hole 4.0 in a new virtual machine(centos 7). Everything is fine except the webadmin page. After all day search in this topic I almost give up. I cant't understand what is wrong.  
(I create a lot of vm and install everything from 0 to 100....but the result was the same)

After I run pihole -d I see some problem.:

\*\*\* [DIAGNOSING]: Pi-hole processes  
[✗] dnsmasq daemon is unknown  
[✗] lighttpd daemon is failed  
[✓] pihole-FTL daemon is active

\*\*\* [DIAGNOSING]: Dashboard and block page  
[✗] Block page X-Header: X-Header does not match or could not be retrieved.

[✗] Web interface X-Header: X-Header does not match or could not be retrieved.

Can anybody help me about that?

I have Debug Token: k6xfqdx61n

---

<div class="post-metadata">

**Author:** ![Mcat12](https://discourse-cdn.pi-hole.net/user_avatar/discourse.pi-hole.net/mcat12/32/20_2.png) [@Mcat12](https://discourse.pi-hole.net/u/Mcat12)\
**Post date:** [September 15, 2018, 10:20pm UTC](https://discourse.pi-hole.net/t/fresh-install-and-web-admin-page-not-work/12926/2 "2018-09-15T22:20:55Z")

</div>

lighttpd has failed to start. What is the output of `sudo service lighttpd status -l`?

---

<div class="post-metadata">

**Author:** ![sutszi](https://discourse-cdn.pi-hole.net/letter_avatar_proxy/v4/letter/s/c2a13f/32.png) [@sutszi](https://discourse.pi-hole.net/u/sutszi)\
**Post date:** [September 15, 2018, 10:34pm UTC](https://discourse.pi-hole.net/t/fresh-install-and-web-admin-page-not-work/12926/3 "2018-09-15T22:34:39Z")

</div>

This is the output:

_Redirecting to /bin/systemctl status lighttpd.service_  
_● lighttpd.service - Lightning Fast Webserver With Light System Requirements_  
\_ Loaded: loaded (/usr/lib/systemd/system/lighttpd.service; enabled; vendor preset: disabled)\_  
\_ Active: failed (Result: exit-code) since v 2018-09-16 00:30:11 CEST; 46s ago\_  
\_ Process: 1102 ExecStart=/usr/sbin/lighttpd -D -f /etc/lighttpd/lighttpd.conf (code=exited, status=255)\_  
\_ Main PID: 1102 (code=exited, status=255)\_

_szept 16 00:30:11 localhost.localdomain systemd[1]: Started Lightning Fast Webserver With Light System Requirements._  
_szept 16 00:30:11 localhost.localdomain systemd[1]: Starting Lightning Fast Webserver With Light System Requirements..._  
_szept 16 00:30:11 localhost.localdomain lighttpd[1102]: 2018-09-16 00:30:11: (configfile.c.1451) pclose "cat external.conf 2\>/dev/null"failed: Success_  
_szept 16 00:30:11 localhost.localdomain lighttpd[1102]: 2018-09-16 00:30:11: (configfile.c.1289) source: /etc/lighttpd/lighttpd.conf line: 94 pos: 1 parser failed somehow near here: (EOL)_  
_szept 16 00:30:11 localhost.localdomain systemd[1]: lighttpd.service: main process exited, code=exited, status=255/n/a_  
_szept 16 00:30:11 localhost.localdomain systemd[1]: Unit lighttpd.service entered failed state._  
_szept 16 00:30:11 localhost.localdomain systemd[1]: lighttpd.service failed._

But, the line 94 is the last row of the config file. It is a blank row.  
line 92: # Add user chosen options held in external file  
line 93: include\_shell "cat external.conf 2\>/dev/null"

---

<div class="post-metadata">

**Author:** ![Mcat12](https://discourse-cdn.pi-hole.net/user_avatar/discourse.pi-hole.net/mcat12/32/20_2.png) [@Mcat12](https://discourse.pi-hole.net/u/Mcat12)\
**Post date:** [September 15, 2018, 10:36pm UTC](https://discourse.pi-hole.net/t/fresh-install-and-web-admin-page-not-work/12926/4 "2018-09-15T22:36:46Z")

</div>

This is an error in lighttpd 1.4.50's config parsing, which can be fixed by running `sudo touch /etc/lighttpd/external.conf`

---

<div class="post-metadata">

**Author:** ![sutszi](https://discourse-cdn.pi-hole.net/letter_avatar_proxy/v4/letter/s/c2a13f/32.png) [@sutszi](https://discourse.pi-hole.net/u/sutszi)\
**Post date:** [September 15, 2018, 10:38pm UTC](https://discourse.pi-hole.net/t/fresh-install-and-web-admin-page-not-work/12926/5 "2018-09-15T22:38:17Z")

</div>

Thank you very much. That was so fast help. 😀

---

<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:** [October 6, 2018, 10:38pm UTC](https://discourse.pi-hole.net/t/fresh-install-and-web-admin-page-not-work/12926/6 "2018-10-06T22:38:24Z")

</div>

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