I bought a Raspberry Pi 3 yesterday and i'm trying to install Pi-Hole. However, after i run the installation script, the Lighttpd configuration file always seem to be fucked up and i can't start the service.
Here is the ouput from the Lighttpd status command before the installation:
lighttpd.service - Lighttpd Daemon
Loaded: loaded (/lib/systemd/system/lighttpd.service; enabled)
Active: active (running) since Seg 2016-08-01 19:57:15 WEST; 6s ago
Main PID: 4564 (lighttpd)
CGroup: /system.slice/lighttpd.service
└─4564 /usr/sbin/lighttpd -D -f /etc/lighttpd/lighttpd.conf
After the installation:
lighttpd.service - Lighttpd Daemon
Loaded: loaded (/lib/systemd/system/lighttpd.service; enabled)
Active: failed (Result: exit-code) since Seg 2016-08-01 19:59:00 WEST; 2s ago
Process: 5337 ExecStart=/usr/sbin/lighttpd -D -f /etc/lighttpd/lighttpd.conf (code=exited, status=255)
Process: 5333 ExecStartPre=/usr/sbin/lighttpd -t -f /etc/lighttpd/lighttpd.conf (code=exited, status=0/SUCCESS)
Main PID: 5337 (code=exited, status=255)
What should i do /g/?
I forgot to say that the syntax seems to be ok.
>>55869393
On debian?
I always installed it on arch which fucked around quite a lot too.
check the systemd journal for clearer error logs/
>>55870673
Yes, Raspbian Lite.
How can i check systemd logs? I don't know shit about systemd.
>>55871106
Try out "sudo systemctl status lighttpd" and
"sudo journalctl -u lighttpd"
>>55869393
>more raspberry pi threads
FUCK OFF