Admin webpage connection refused

Hi all,
I can't seem to access the admin page anymore. It worked at the start, but I started trying some DNS settings on the router (which have now been reverted) and it doesn't work anymore..

Expected Behaviour:

Access to the admin webpage via 192.168.2.101/admin (static DHCP). This worked when first installed.

Actual Behaviour:

Connection is refused: ERR_CONNECTION_REFUSED. Debug log shows that:
[✗] lighttpd daemon is failed

I tried the solution is this post: Lighttpd daemon won't start
by changing server.port = 80 to server.port = 8888 in /etc/lighttpd/lighttpd.conf.
And adding server.port := 8888 in /etc/lighttpd/external.conf. But to no avail.
I tried repairing and reconfiguring using pihole -r.

Output from sudo systemctl status lighttpd -l:
● lighttpd.service - Lighttpd Daemon
Loaded: loaded (/lib/systemd/system/lighttpd.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Tue 2021-09-28 13:11:09 UTC; 8min ago
Process: 13581 ExecStartPre=/usr/sbin/lighttpd -tt -f /etc/lighttpd/lighttpd.conf (code=exited, status=0/SUCCESS)
Process: 13588 ExecStart=/usr/sbin/lighttpd -D -f /etc/lighttpd/lighttpd.conf (code=exited, status=255/EXCEPTION)
Main PID: 13588 (code=exited, status=255/EXCEPTION)

Sep 28 13:11:09 orangepizero systemd[1]: lighttpd.service: Scheduled restart job, restart counter is at 8.
Sep 28 13:11:09 orangepizero systemd[1]: Stopped Lighttpd Daemon.
Sep 28 13:11:09 orangepizero systemd[1]: lighttpd.service: Start request repeated too quickly.
Sep 28 13:11:09 orangepizero systemd[1]: lighttpd.service: Failed with result 'exit-code'.
Sep 28 13:11:09 orangepizero systemd[1]: Failed to start Lighttpd Daemon.

Debug Token:

https://tricorder.pi-hole.net/aXemFekF/

I'm quite a noob with terminal-based IT, so I basically tried the solutions I could find at this site. Hope someone can help :slight_smile:

What does

sudo /usr/sbin/lighttpd -D -f /etc/lighttpd/lighttpd.conf

show for a result?

2021-09-28 14:35:48: (server.c.752) opening errorlog '/var/log/lighttpd/error.log' failed: Permission denied
2021-09-28 14:35:48: (server.c.1485) Opening errorlog failed. Going down.

Are you using a ramlog application or something that would change /var/log to be empty?

I don't think so, because I just used the vanilla install.

Did a total reinstall with Buster instead of Focal this time and it is working for a few days now.
Thanks for your time!

1 Like

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