[Orangepi zero armbian] lighthttpd does not start after OpenVPN install

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

Expected Behaviour:

working web admin of my pihole.

Actual Behaviour:

my board is orangepi zero with armbian (up to date)
used to work superb since a year maybe, but lately wanted to add OpenVPN server to the same board.
situation after installing openvpn is that I lost web admin
tried to look for solutions, and following few web forums, seems that my lighthttpd service does not start due to some permission right issue.
Unfortunaltelly I was not able to solve it by:
repair pihole (-r option)

also tried
sudo apt-get install gamin
that was described on some forum as solution for similar problem (here https://www.reddit.com/r/pihole/comments/926hmp/dnsmasq_service_failed_and_lighttpd_didnt_start/)

I forgot to mention that pi hole itself is working well, only web console is dead. OpenVPN also works well..

It would be nice to repair it...

when solving problem with lighthttpd some ask for that output:

root@orangepizero:~# 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 Fri 2018-12-07 20:35:35 UTC; 25min ago
  Process: 4944 ExecStart=/usr/sbin/lighttpd -D -f /etc/lighttpd/lighttpd.conf (code=exited, status=255)
  Process: 4934 ExecStartPre=/usr/sbin/lighttpd -tt -f /etc/lighttpd/lighttpd.conf (code=exited, status=0/SUCCESS)
 Main PID: 4944 (code=exited, status=255)

Dec 07 20:35:35 orangepizero systemd[1]: lighttpd.service: Failed with result 'exit-code'.
Dec 07 20:35:35 orangepizero systemd[1]: lighttpd.service: Service hold-off time over, scheduling restart.
Dec 07 20:35:35 orangepizero systemd[1]: Stopped Lighttpd Daemon.
Dec 07 20:35:35 orangepizero systemd[1]: lighttpd.service: Start request repeated too quickly.
Dec 07 20:35:35 orangepizero systemd[1]: Failed to start Lighttpd Daemon.
Dec 07 20:35:35 orangepizero systemd[1]: lighttpd.service: Unit entered failed state.
Dec 07 20:35:35 orangepizero systemd[1]: lighttpd.service: Failed with result 'exit-code'.

Debug Token:

8dp2avl4pj

1 Like

Thank you for pointing right topic.
Just for other looking for the same, this was enough to start it again:

touch /var/log/lighttpd/access.log
touch /var/log/lighttpd/error.log
chown -R www-data:www-data /var/log/lighttpd

Best regards to all of you - masters of console ; )

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