Cannot reach dashboard

Hi I installed pihole today, and everything was working well. then I decided to take the sd card out and make a backup, afterwards I put it back in the orange pi and everything seemed working well.

However a few hours later i was not able to reach the dashboard although pihole is up and running and i can acces it remote

Expected Behaviour:

open dashboard after going to 192.168.2.8/admin

Actual Behaviour:

"Failed to open page"

Debug Token:

https://tricorder.pi-hole.net/3rsxeevgnc

Many thinks for looking in to it :slight_smile:

How did you shut the Orange Pi down? Controlled shutdown via a command, or pulling the power plug?

Run the following commands from the Pi terminal and post the output of the second and third

sudo service lighttpd start

sudo systemctl status --full --no-pager lighttpd

journalctl -u lighttpd

Pulling the power plug, probably not a smart idea I realise now

done

Output:

● lighttpd.service - Lighttpd Daemon
     Loaded: loaded (/lib/systemd/system/lighttpd.service; enabled; vendor preset: enabled)
     Active: failed (Result: exit-code) since Tue 2020-08-11 20:48:37 UTC; 3s ago
    Process: 7029 ExecStartPre=/usr/sbin/lighttpd -tt -f /etc/lighttpd/lighttpd.conf (code=exited, status=0/SUCCESS)
    Process: 7036 ExecStart=/usr/sbin/lighttpd -D -f /etc/lighttpd/lighttpd.conf (code=exited, status=255/EXCEPTION)
   Main PID: 7036 (code=exited, status=255/EXCEPTION)

Aug 11 20:48:37 orangepizero systemd[1]: lighttpd.service: Scheduled restart job, restart counter is at 5.
Aug 11 20:48:37 orangepizero systemd[1]: Stopped Lighttpd Daemon.
Aug 11 20:48:37 orangepizero systemd[1]: lighttpd.service: Start request repeated too quickly.
Aug 11 20:48:37 orangepizero systemd[1]: lighttpd.service: Failed with result 'exit-code'.
Aug 11 20:48:37 orangepizero systemd[1]: Failed to start Lighttpd Daemon.
job@orangepizero:~$ 
job@orangepizero:~$ sudo systemctl status --full --no-pager lighttpd
● lighttpd.service - Lighttpd Daemon
     Loaded: loaded (/lib/systemd/system/lighttpd.service; enabled; vendor preset: enabled)
     Active: failed (Result: exit-code) since Tue 2020-08-11 20:48:37 UTC; 1min 22s ago
    Process: 7029 ExecStartPre=/usr/sbin/lighttpd -tt -f /etc/lighttpd/lighttpd.conf (code=exited, status=0/SUCCESS)
    Process: 7036 ExecStart=/usr/sbin/lighttpd -D -f /etc/lighttpd/lighttpd.conf (code=exited, status=255/EXCEPTION)
   Main PID: 7036 (code=exited, status=255/EXCEPTION)

Aug 11 20:48:37 orangepizero systemd[1]: lighttpd.service: Scheduled restart job, restart counter is at 5.
Aug 11 20:48:37 orangepizero systemd[1]: Stopped Lighttpd Daemon.
Aug 11 20:48:37 orangepizero systemd[1]: lighttpd.service: Start request repeated too quickly.
Aug 11 20:48:37 orangepizero systemd[1]: lighttpd.service: Failed with result 'exit-code'.
Aug 11 20:48:37 orangepizero systemd[1]: Failed to start Lighttpd Daemon.

done, lot of output, most important i guess is the following:
Failed to start Lighted Daemon

Please post the complete output.

You can format the block of text as "preformatted text" using the </> icon on the reply window.

- Logs begin at Tue 2020-08-11 19:17:09 UTC, end at Tue 2020-08-11 21:19:55 UTC. --
Aug 11 19:17:15 orangepizero systemd[1]: Starting Lighttpd Daemon...
Aug 11 19:17:16 orangepizero systemd[1]: Started Lighttpd Daemon.
Aug 11 19:17:16 orangepizero lighttpd[1276]: 2020-08-11 19:17:16: (server.c.752) opening errorlog '/va>
Aug 11 19:17:16 orangepizero lighttpd[1276]: 2020-08-11 19:17:16: (server.c.1485) Opening errorlog fai>
Aug 11 19:17:16 orangepizero systemd[1]: lighttpd.service: Main process exited, code=exited, status=25>
Aug 11 19:17:16 orangepizero systemd[1]: lighttpd.service: Failed with result 'exit-code'.
Aug 11 19:17:16 orangepizero systemd[1]: lighttpd.service: Scheduled restart job, restart counter is a>
Aug 11 19:17:16 orangepizero systemd[1]: Stopped Lighttpd Daemon.
Aug 11 19:17:16 orangepizero systemd[1]: Starting Lighttpd Daemon...
Aug 11 19:17:16 orangepizero systemd[1]: Started Lighttpd Daemon.
Aug 11 19:17:17 orangepizero lighttpd[1330]: 2020-08-11 19:17:16: (server.c.752) opening errorlog '/va>
Aug 11 19:17:17 orangepizero lighttpd[1330]: 2020-08-11 19:17:16: (server.c.1485) Opening errorlog fai>
Aug 11 19:17:17 orangepizero systemd[1]: lighttpd.service: Main process exited, code=exited, status=25>
Aug 11 19:17:17 orangepizero systemd[1]: lighttpd.service: Failed with result 'exit-code'.
Aug 11 19:17:17 orangepizero systemd[1]: lighttpd.service: Scheduled restart job, restart counter is a>
Aug 11 19:17:17 orangepizero systemd[1]: Stopped Lighttpd Daemon.
Aug 11 19:17:17 orangepizero systemd[1]: Starting Lighttpd Daemon...
Aug 11 19:17:17 orangepizero systemd[1]: Started Lighttpd Daemon.
Aug 11 19:17:17 orangepizero lighttpd[1392]: 2020-08-11 19:17:17: (server.c.752) opening errorlog '/va>
Aug 11 19:17:17 orangepizero lighttpd[1392]: 2020-08-11 19:17:17: (server.c.1485) Opening errorlog fai>
Aug 11 19:17:17 orangepizero systemd[1]: lighttpd.service: Main process exited, code=exited, status=25>
Aug 11 19:17:17 orangepizero systemd[1]: lighttpd.service: Failed with result 'exit-code'.
Aug 11 19:17:17 orangepizero systemd[1]: lighttpd.service: Scheduled restart job, restart counter is a>
Aug 11 19:17:17 orangepizero systemd[1]: Stopped Lighttpd Daemon.
Aug 11 19:17:17 orangepizero systemd[1]: Starting Lighttpd Daemon...
Aug 11 19:17:18 orangepizero systemd[1]: Started Lighttpd Daemon.
Aug 11 19:17:18 orangepizero lighttpd[1415]: 2020-08-11 19:17:18: (server.c.752) opening errorlog '/va>
Aug 11 19:17:18 orangepizero lighttpd[1415]: 2020-08-11 19:17:18: (server.c.1485) Opening errorlog fai>
Aug 11 19:17:18 orangepizero systemd[1]: lighttpd.service: Main process exited, code=exited, status=25>
Aug 11 19:17:18 orangepizero systemd[1]: lighttpd.service: Failed with result 'exit-code'.
Aug 11 19:17:18 orangepizero systemd[1]: lighttpd.service: Scheduled restart job, restart counter is a>
Aug 11 19:17:18 orangepizero systemd[1]: Stopped Lighttpd Daemon.
Aug 11 19:17:18 orangepizero systemd[1]: Starting Lighttpd Daemon...
Aug 11 19:17:18 orangepizero systemd[1]: Started Lighttpd Daemon.
Aug 11 19:17:18 orangepizero lighttpd[1429]: 2020-08-11 19:17:18: (server.c.752) opening errorlog '/va>
Aug 11 19:17:18 orangepizero lighttpd[1429]: 2020-08-11 19:17:18: (server.c.1485) Opening errorlog fai>
Aug 11 19:17:18 orangepizero systemd[1]: lighttpd.service: Main process exited, code=exited, status=25>
Aug 11 19:17:18 orangepizero systemd[1]: lighttpd.service: Failed with result 'exit-code'.
Aug 11 19:17:18 orangepizero systemd[1]: lighttpd.service: Scheduled restart job, restart counter is a>
Aug 11 19:17:18 orangepizero systemd[1]: Stopped Lighttpd Daemon.
Aug 11 19:17:18 orangepizero systemd[1]: lighttpd.service: Start request repeated too quickly.
Aug 11 19:17:18 orangepizero systemd[1]: lighttpd.service: Failed with result 'exit-code'.
Aug 11 19:17:18 orangepizero systemd[1]: Failed to start Lighttpd Daemon.
Aug 11 19:55:42 orangepizero systemd[1]: Starting Lighttpd Daemon...
Aug 11 19:55:42 orangepizero systemd[1]: Started Lighttpd Daemon.
Aug 11 19:55:42 orangepizero lighttpd[1659]: 2020-08-11 19:55:42: (server.c.752) opening errorlog '/va>
Aug 11 19:55:42 orangepizero lighttpd[1659]: 2020-08-11 19:55:42: (server.c.1485) Opening errorlog fai>
Aug 11 19:55:42 orangepizero systemd[1]: lighttpd.service: Main process exited, code=exited, status=25>
Aug 11 19:55:42 orangepizero systemd[1]: lighttpd.service: Failed with result 'exit-code'.
Aug 11 19:55:43 orangepizero systemd[1]: lighttpd.service: Scheduled restart job, restart counter is a>
Aug 11 19:55:43 orangepizero systemd[1]: Stopped Lighttpd Daemon.
Aug 11 19:55:43 orangepizero systemd[1]: Starting Lighttpd Daemon...
Aug 11 19:55:43 orangepizero systemd[1]: Started Lighttpd Daemon.
Aug 11 19:55:43 orangepizero lighttpd[1674]: 2020-08-11 19:55:43: (server.c.752) opening errorlog '/va>
Aug 11 19:55:43 orangepizero lighttpd[1674]: 2020-08-11 19:55:43: (server.c.1485) Opening errorlog fai>
Aug 11 19:55:43 orangepizero systemd[1]: lighttpd.service: Main process exited, code=exited, status=25>
Aug 11 19:55:43 orangepizero systemd[1]: lighttpd.service: Failed with result 'exit-code'.
Aug 11 19:55:43 orangepizero systemd[1]: lighttpd.service: Scheduled restart job, restart counter is a>
Aug 11 19:55:43 orangepizero systemd[1]: Stopped Lighttpd Daemon.
Aug 11 19:55:43 orangepizero systemd[1]: Starting Lighttpd Daemon...
Aug 11 19:55:43 orangepizero systemd[1]: Started Lighttpd Daemon.
Aug 11 19:55:43 orangepizero lighttpd[1688]: 2020-08-11 19:55:43: (server.c.752) opening errorlog '/va>
Aug 11 19:55:43 orangepizero lighttpd[1688]: 2020-08-11 19:55:43: (server.c.1485) Opening errorlog fai>
Aug 11 19:55:43 orangepizero systemd[1]: lighttpd.service: Main process exited, code=exited, status=25>
Aug 11 19:55:43 orangepizero systemd[1]: lighttpd.service: Failed with result 'exit-code'.
Aug 11 19:55:44 orangepizero systemd[1]: lighttpd.service: Scheduled restart job, restart counter is a>
Aug 11 19:55:44 orangepizero systemd[1]: Stopped Lighttpd Daemon.
Aug 11 19:55:44 orangepizero systemd[1]: Starting Lighttpd Daemon...
Aug 11 19:55:44 orangepizero systemd[1]: Started Lighttpd Daemon.
Aug 11 19:55:44 orangepizero lighttpd[1702]: 2020-08-11 19:55:44: (server.c.752) opening errorlog '/va>
Aug 11 19:55:44 orangepizero lighttpd[1702]: 2020-08-11 19:55:44: (server.c.1485) Opening errorlog fai>
Aug 11 19:55:44 orangepizero systemd[1]: lighttpd.service: Main process exited, code=exited, status=25>
Aug 11 19:55:44 orangepizero systemd[1]: lighttpd.service: Failed with result 'exit-code'.
Aug 11 19:55:44 orangepizero systemd[1]: lighttpd.service: Scheduled restart job, restart counter is a>
Aug 11 19:55:44 orangepizero systemd[1]: Stopped Lighttpd Daemon.
Aug 11 19:55:44 orangepizero systemd[1]: Starting Lighttpd Daemon...
Aug 11 19:55:44 orangepizero systemd[1]: Started Lighttpd Daemon.
Aug 11 19:55:44 orangepizero lighttpd[1716]: 2020-08-11 19:55:44: (server.c.752) opening errorlog '/va>
Aug 11 19:55:44 orangepizero lighttpd[1716]: 2020-08-11 19:55:44: (server.c.1485) Opening errorlog fai>
Aug 11 19:55:44 orangepizero systemd[1]: lighttpd.service: Main process exited, code=exited, status=25>
Aug 11 19:55:44 orangepizero systemd[1]: lighttpd.service: Failed with result 'exit-code'.
Aug 11 19:55:45 orangepizero systemd[1]: lighttpd.service: Scheduled restart job, restart counter is a>
Aug 11 19:55:45 orangepizero systemd[1]: Stopped Lighttpd Daemon.
Aug 11 19:55:45 orangepizero systemd[1]: lighttpd.service: Start request repeated too quickly.
Aug 11 19:55:45 orangepizero systemd[1]: lighttpd.service: Failed with result 'exit-code'.
Aug 11 19:55:45 orangepizero systemd[1]: Failed to start Lighttpd Daemon.
Aug 11 20:09:09 orangepizero systemd[1]: Starting Lighttpd Daemon...
Aug 11 20:09:09 orangepizero systemd[1]: Started Lighttpd Daemon.
Aug 11 20:09:09 orangepizero lighttpd[4242]: 2020-08-11 20:09:09: (server.c.752) opening errorlog '/va>
Aug 11 20:09:09 orangepizero lighttpd[4242]: 2020-08-11 20:09:09: (server.c.1485) Opening errorlog fai>
Aug 11 20:09:09 orangepizero systemd[1]: lighttpd.service: Main process exited, code=exited, status=25>
Aug 11 20:09:09 orangepizero systemd[1]: lighttpd.service: Failed with result 'exit-code'.
Aug 11 20:09:09 orangepizero systemd[1]: lighttpd.service: Scheduled restart job, restart counter is a>
Aug 11 20:09:09 orangepizero systemd[1]: Stopped Lighttpd Daemon.
Aug 11 20:09:09 orangepizero systemd[1]: Starting Lighttpd Daemon...
Aug 11 20:09:09 orangepizero systemd[1]: Started Lighttpd Daemon.
Aug 11 20:09:09 orangepizero lighttpd[4256]: 2020-08-11 20:09:09: (server.c.752) opening errorlog '/va>
Aug 11 20:09:09 orangepizero lighttpd[4256]: 2020-08-11 20:09:09: (server.c.1485) Opening errorlog fai>
Aug 11 20:09:09 orangepizero systemd[1]: lighttpd.service: Main process exited, code=exited, status=25>
Aug 11 20:09:09 orangepizero systemd[1]: lighttpd.service: Failed with result 'exit-code'.
Aug 11 20:09:10 orangepizero systemd[1]: lighttpd.service: Scheduled restart job, restart counter is a>
Aug 11 20:09:10 orangepizero systemd[1]: Stopped Lighttpd Daemon.
Aug 11 20:09:10 orangepizero systemd[1]: Starting Lighttpd Daemon...
Aug 11 20:09:10 orangepizero systemd[1]: Started Lighttpd Daemon.
Aug 11 20:09:10 orangepizero lighttpd[4271]: 2020-08-11 20:09:10: (server.c.752) opening errorlog '/va>
Aug 11 20:09:10 orangepizero lighttpd[4271]: 2020-08-11 20:09:10: (server.c.1485) Opening errorlog fai>
Aug 11 20:09:10 orangepizero systemd[1]: lighttpd.service: Main process exited, code=exited, status=25>
Aug 11 20:09:10 orangepizero systemd[1]: lighttpd.service: Failed with result 'exit-code'.
Aug 11 20:09:10 orangepizero systemd[1]: lighttpd.service: Scheduled restart job, restart counter is a>
Aug 11 20:09:10 orangepizero systemd[1]: Stopped Lighttpd Daemon.
Aug 11 20:09:10 orangepizero systemd[1]: Starting Lighttpd Daemon...
Aug 11 20:09:10 orangepizero systemd[1]: Started Lighttpd Daemon.
Aug 11 20:09:10 orangepizero lighttpd[4285]: 2020-08-11 20:09:10: (server.c.752) opening errorlog '/va>
Aug 11 20:09:10 orangepizero lighttpd[4285]: 2020-08-11 20:09:10: (server.c.1485) Opening errorlog fai>
Aug 11 20:09:10 orangepizero systemd[1]: lighttpd.service: Main process exited, code=exited, status=25>
Aug 11 20:09:10 orangepizero systemd[1]: lighttpd.service: Failed with result 'exit-code'.
Aug 11 20:09:11 orangepizero systemd[1]: lighttpd.service: Scheduled restart job, restart counter is a>
Aug 11 20:09:11 orangepizero systemd[1]: Stopped Lighttpd Daemon.
Aug 11 20:09:11 orangepizero systemd[1]: Starting Lighttpd Daemon...
Aug 11 20:09:11 orangepizero systemd[1]: Started Lighttpd Daemon.
Aug 11 20:09:11 orangepizero lighttpd[4299]: 2020-08-11 20:09:11: (server.c.752) opening errorlog '/va>
Aug 11 20:09:11 orangepizero lighttpd[4299]: 2020-08-11 20:09:11: (server.c.1485) Opening errorlog fai>
Aug 11 20:09:11 orangepizero systemd[1]: lighttpd.service: Main process exited, code=exited, status=25>
Aug 11 20:09:11 orangepizero systemd[1]: lighttpd.service: Failed with result 'exit-code'.
Aug 11 20:09:11 orangepizero systemd[1]: lighttpd.service: Scheduled restart job, restart counter is a>
Aug 11 20:09:11 orangepizero systemd[1]: Stopped Lighttpd Daemon.
Aug 11 20:09:11 orangepizero systemd[1]: lighttpd.service: Start request repeated too quickly.
Aug 11 20:09:11 orangepizero systemd[1]: lighttpd.service: Failed with result 'exit-code'.
Aug 11 20:09:11 orangepizero systemd[1]: Failed to start Lighttpd Daemon.
Aug 11 20:48:35 orangepizero systemd[1]: Starting Lighttpd Daemon...
Aug 11 20:48:35 orangepizero systemd[1]: Started Lighttpd Daemon.
Aug 11 20:48:35 orangepizero lighttpd[6977]: 2020-08-11 20:48:35: (server.c.752) opening errorlog '/va>
Aug 11 20:48:35 orangepizero lighttpd[6977]: 2020-08-11 20:48:35: (server.c.1485) Opening errorlog fai>
Aug 11 20:48:35 orangepizero systemd[1]: lighttpd.service: Main process exited, code=exited, status=25>
Aug 11 20:48:35 orangepizero systemd[1]: lighttpd.service: Failed with result 'exit-code'.
Aug 11 20:48:35 orangepizero systemd[1]: lighttpd.service: Scheduled restart job, restart counter is a>
Aug 11 20:48:35 orangepizero systemd[1]: Stopped Lighttpd Daemon.
Aug 11 20:48:35 orangepizero systemd[1]: Starting Lighttpd Daemon...
Aug 11 20:48:35 orangepizero systemd[1]: Started Lighttpd Daemon.
Aug 11 20:48:36 orangepizero lighttpd[6993]: 2020-08-11 20:48:35: (server.c.752) opening errorlog '/va>
Aug 11 20:48:36 orangepizero lighttpd[6993]: 2020-08-11 20:48:35: (server.c.1485) Opening errorlog fai>
Aug 11 20:48:36 orangepizero systemd[1]: lighttpd.service: Main process exited, code=exited, status=25>
Aug 11 20:48:36 orangepizero systemd[1]: lighttpd.service: Failed with result 'exit-code'.
Aug 11 20:48:36 orangepizero systemd[1]: lighttpd.service: Scheduled restart job, restart counter is a>
Aug 11 20:48:36 orangepizero systemd[1]: Stopped Lighttpd Daemon.
Aug 11 20:48:36 orangepizero systemd[1]: Starting Lighttpd Daemon...
Aug 11 20:48:36 orangepizero systemd[1]: Started Lighttpd Daemon.
Aug 11 20:48:36 orangepizero lighttpd[7008]: 2020-08-11 20:48:36: (server.c.752) opening errorlog '/va>
Aug 11 20:48:36 orangepizero lighttpd[7008]: 2020-08-11 20:48:36: (server.c.1485) Opening errorlog fai>
Aug 11 20:48:36 orangepizero systemd[1]: lighttpd.service: Main process exited, code=exited, status=25>
Aug 11 20:48:36 orangepizero systemd[1]: lighttpd.service: Failed with result 'exit-code'.
Aug 11 20:48:36 orangepizero systemd[1]: lighttpd.service: Scheduled restart job, restart counter is a>
Aug 11 20:48:36 orangepizero systemd[1]: Stopped Lighttpd Daemon.
Aug 11 20:48:36 orangepizero systemd[1]: Starting Lighttpd Daemon...
Aug 11 20:48:36 orangepizero systemd[1]: Started Lighttpd Daemon.
Aug 11 20:48:37 orangepizero lighttpd[7022]: 2020-08-11 20:48:36: (server.c.752) opening errorlog '/va>
Aug 11 20:48:37 orangepizero lighttpd[7022]: 2020-08-11 20:48:36: (server.c.1485) Opening errorlog fai>
Aug 11 20:48:37 orangepizero systemd[1]: lighttpd.service: Main process exited, code=exited, status=25>
Aug 11 20:48:37 orangepizero systemd[1]: lighttpd.service: Failed with result 'exit-code'.
Aug 11 20:48:37 orangepizero systemd[1]: lighttpd.service: Scheduled restart job, restart counter is a>
Aug 11 20:48:37 orangepizero systemd[1]: Stopped Lighttpd Daemon.
Aug 11 20:48:37 orangepizero systemd[1]: Starting Lighttpd Daemon...
Aug 11 20:48:37 orangepizero systemd[1]: Started Lighttpd Daemon.
Aug 11 20:48:37 orangepizero lighttpd[7036]: 2020-08-11 20:48:37: (server.c.752) opening errorlog '/va>
Aug 11 20:48:37 orangepizero lighttpd[7036]: 2020-08-11 20:48:37: (server.c.1485) Opening errorlog fai>
Aug 11 20:48:37 orangepizero systemd[1]: lighttpd.service: Main process exited, code=exited, status=25>
Aug 11 20:48:37 orangepizero systemd[1]: lighttpd.service: Failed with result 'exit-code'.
Aug 11 20:48:37 orangepizero systemd[1]: lighttpd.service: Scheduled restart job, restart counter is a>
Aug 11 20:48:37 orangepizero systemd[1]: Stopped Lighttpd Daemon.
Aug 11 20:48:37 orangepizero systemd[1]: lighttpd.service: Start request repeated too quickly.
Aug 11 20:48:37 orangepizero systemd[1]: lighttpd.service: Failed with result 'exit-code'.
Aug 11 20:48:37 orangepizero systemd[1]: Failed to start Lighttpd Daemon.
lines 120-173/173 (END)

No one can help me?

Part at the end is cut of but looks like something wrong with the log files.
Restart:

sudo service lighttpd restart

And post output for below (if pipe journalctl to other command, --full output is displayed):

journalctl -u lighttpd | tail -40

sudo stat -c "%U:%G %A %a %n" /var/log/lighttpd/ /var/log/lighttpd/{access,error}.log | column -t

grep 'server.username\|server.groupname' /etc/lighttpd/lighttpd.conf

ps -o user,group,cmd -C lighttpd

EDIT: that last one probably outputs nothing.

Aug 18 18:48:06 orangepizero lighttpd[12338]: 2020-08-18 18:48:06: (server.c.1485) Opening errorlog failed. Going down.
Aug 18 18:48:06 orangepizero systemd[1]: lighttpd.service: Main process exited, code=exited, status=255/EXCEPTION
Aug 18 18:48:06 orangepizero systemd[1]: lighttpd.service: Failed with result 'exit-code'.
Aug 18 18:48:07 orangepizero systemd[1]: lighttpd.service: Scheduled restart job, restart counter is at 1.
Aug 18 18:48:07 orangepizero systemd[1]: Stopped Lighttpd Daemon.
Aug 18 18:48:07 orangepizero systemd[1]: Starting Lighttpd Daemon...
Aug 18 18:48:07 orangepizero systemd[1]: Started Lighttpd Daemon.
Aug 18 18:48:07 orangepizero lighttpd[12353]: 2020-08-18 18:48:07: (server.c.752) opening errorlog '/var/log/lighttpd/error.log' failed: Permission denied
Aug 18 18:48:07 orangepizero lighttpd[12353]: 2020-08-18 18:48:07: (server.c.1485) Opening errorlog failed. Going down.
Aug 18 18:48:07 orangepizero systemd[1]: lighttpd.service: Main process exited, code=exited, status=255/EXCEPTION
Aug 18 18:48:07 orangepizero systemd[1]: lighttpd.service: Failed with result 'exit-code'.
Aug 18 18:48:07 orangepizero systemd[1]: lighttpd.service: Scheduled restart job, restart counter is at 2.
Aug 18 18:48:07 orangepizero systemd[1]: Stopped Lighttpd Daemon.
Aug 18 18:48:07 orangepizero systemd[1]: Starting Lighttpd Daemon...
Aug 18 18:48:07 orangepizero systemd[1]: Started Lighttpd Daemon.
Aug 18 18:48:07 orangepizero lighttpd[12368]: 2020-08-18 18:48:07: (server.c.752) opening errorlog '/var/log/lighttpd/error.log' failed: Permission denied
Aug 18 18:48:07 orangepizero lighttpd[12368]: 2020-08-18 18:48:07: (server.c.1485) Opening errorlog failed. Going down.
Aug 18 18:48:07 orangepizero systemd[1]: lighttpd.service: Main process exited, code=exited, status=255/EXCEPTION
Aug 18 18:48:07 orangepizero systemd[1]: lighttpd.service: Failed with result 'exit-code'.
Aug 18 18:48:08 orangepizero systemd[1]: lighttpd.service: Scheduled restart job, restart counter is at 3.
Aug 18 18:48:08 orangepizero systemd[1]: Stopped Lighttpd Daemon.
Aug 18 18:48:08 orangepizero systemd[1]: Starting Lighttpd Daemon...
Aug 18 18:48:08 orangepizero systemd[1]: Started Lighttpd Daemon.
Aug 18 18:48:08 orangepizero lighttpd[12382]: 2020-08-18 18:48:08: (server.c.752) opening errorlog '/var/log/lighttpd/error.log' failed: Permission denied
Aug 18 18:48:08 orangepizero lighttpd[12382]: 2020-08-18 18:48:08: (server.c.1485) Opening errorlog failed. Going down.
Aug 18 18:48:08 orangepizero systemd[1]: lighttpd.service: Main process exited, code=exited, status=255/EXCEPTION
Aug 18 18:48:08 orangepizero systemd[1]: lighttpd.service: Failed with result 'exit-code'.
Aug 18 18:48:08 orangepizero systemd[1]: lighttpd.service: Scheduled restart job, restart counter is at 4.
Aug 18 18:48:08 orangepizero systemd[1]: Stopped Lighttpd Daemon.
Aug 18 18:48:08 orangepizero systemd[1]: Starting Lighttpd Daemon...
Aug 18 18:48:08 orangepizero systemd[1]: Started Lighttpd Daemon.
Aug 18 18:48:08 orangepizero lighttpd[12396]: 2020-08-18 18:48:08: (server.c.752) opening errorlog '/var/log/lighttpd/error.log' failed: Permission denied
Aug 18 18:48:08 orangepizero lighttpd[12396]: 2020-08-18 18:48:08: (server.c.1485) Opening errorlog failed. Going down.
Aug 18 18:48:08 orangepizero systemd[1]: lighttpd.service: Main process exited, code=exited, status=255/EXCEPTION
Aug 18 18:48:08 orangepizero systemd[1]: lighttpd.service: Failed with result 'exit-code'.
Aug 18 18:48:09 orangepizero systemd[1]: lighttpd.service: Scheduled restart job, restart counter is at 5.
Aug 18 18:48:09 orangepizero systemd[1]: Stopped Lighttpd Daemon.
Aug 18 18:48:09 orangepizero systemd[1]: lighttpd.service: Start request repeated too quickly.
Aug 18 18:48:09 orangepizero systemd[1]: lighttpd.service: Failed with result 'exit-code'.
Aug 18 18:48:09 orangepizero systemd[1]: Failed to start Lighttpd Daemon.

www-data:www-data drwxr-x--- 750 /var/log/lighttpd/
root:root -rw-r--r-- 644 /var/log/lighttpd/access.log
root:root -rw-r--r-- 644 /var/log/lighttpd/error.log

erver.username = "www-data"
server.groupname = "www-data"

USER GROUP CMD

Hope this helps,

regards Job

Wrong ownership:

pi@ph5:~ $ sudo stat -c "%U:%G %A %a %n" /var/log/lighttpd/ /var/log/lighttpd/{access,error}.log | column -t
www-data:www-data  drwxr-x---  750  /var/log/lighttpd/
www-data:www-data  -rw-r--r--  644  /var/log/lighttpd/access.log
www-data:www-data  -rw-r--r--  644  /var/log/lighttpd/error.log

To fix:

sudo chown www-data:www-data -R /var/log/lighttpd

sudo service lighttpd restart

sudo systemctl --full --no-pager status lighttpd

Thank you so much! Everything is working again. Many thanks!

1 Like

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