Pihole status - dns service not running

Expected Behaviour:

The pihole should be working.

Actual Behaviour:

dns service not running and if i go to the admin page it shows a red dot next to dns service and ftl

Debug Token:

1dsrhm6nlq

Hey Guys,

I already tried a bunch of stuff, also FTL seems to be active if I run following command: sudo systemctl status pihole-FTL -l.

I already tried pihole -up and pihole -r (reconfigure and repair), it says it everything is up to date and dns services are still not running.

I also changed the nameserver in etc/resolv.conf to a different one.

Running out of ideas and appreciate any help I can get.

N[quote="UsernameRandom, post:1, topic:25186"]
FTL seems to be active
[/quote]

nope.

image

What's the output of that command?

sudo systemctl status pihole-FTL

pihole-FTL.service - LSB: pihole-FTL daemon
Loaded: loaded (/etc/init.d/pihole-FTL; generated; vendor preset: enabled)
Active: active (exited) since Thu 2019-11-07 22:50:26 GMT; 3s ago
Docs: man:systemd-sysv-generator(8)
Process: 8219 ExecStop=/etc/init.d/pihole-FTL stop (code=exited, status=0/SUCCESS)
Process: 8224 ExecStart=/etc/init.d/pihole-FTL start (code=exited, status=0/SUCCESS)

Nov 07 22:50:26 raspberrypi systemd[1]: Starting LSB: pihole-FTL daemon...
Nov 07 22:50:26 raspberrypi pihole-FTL[8224]: Not running
Nov 07 22:50:26 raspberrypi su[8252]: Successful su for pihole by root
Nov 07 22:50:26 raspberrypi su[8252]: + ??? root:pihole
Nov 07 22:50:26 raspberrypi su[8252]: pam_unix(su:session): session opened for user pihole by (uid=0)
Nov 07 22:50:26 raspberrypi pihole-FTL[8224]: FTL started!
Nov 07 22:50:26 raspberrypi pihole-FTL[8224]: dnsmasq: cannot open log /var/log/pihole.log: Is a directory
Nov 07 22:50:26 raspberrypi systemd[1]: Started LSB: pihole-FTL daemon.

This looks weird. I don't know if this is related or if prevents pihole-FTL from starting

That path should be to a file and not a directory.

Hmm okay.
What should I do?

sudo rm -rf /var/log/pihole.log and then sudo systemctl restart pihole-FTL

Then post the output of sudo systemctl status pihole-FTL

rm: cannot remove '/var/log/pihole.log': Is a directory

sudo rm -rf /var/log/pihole.log

pihole-FTL.service - LSB: pihole-FTL daemon

Loaded: loaded (/etc/init.d/pihole-FTL; generated; vendor preset: enabled)

Active: active (exited) since Thu 2019-11-07 22:57:54 GMT; 4s ago

Docs: man:systemd-sysv-generator(8)

Process: 8433 ExecStop=/etc/init.d/pihole-FTL stop (code=exited, status=0/SUCCESS)

Process: 8438 ExecStart=/etc/init.d/pihole-FTL start (code=exited, status=0/SUCCESS)

Nov 07 22:57:54 raspberrypi systemd[1]: Stopped LSB: pihole-FTL daemon.

Nov 07 22:57:54 raspberrypi systemd[1]: Starting LSB: pihole-FTL daemon...

Nov 07 22:57:54 raspberrypi pihole-FTL[8438]: Not running

Nov 07 22:57:54 raspberrypi su[8466]: Successful su for pihole by root

Nov 07 22:57:54 raspberrypi su[8466]: + ??? root:pihole

Nov 07 22:57:54 raspberrypi su[8466]: pam_unix(su:session): session opened for user pihole by (uid=0)

Nov 07 22:57:54 raspberrypi pihole-FTL[8438]: FTL started!

Nov 07 22:57:54 raspberrypi systemd[1]: Started LSB: pihole-FTL daemon.

try it now, does it work ?

It does.
Thank you very much :slight_smile:

1 Like

You are welcome.

Don't quite understand how that ended up there as a folder ... Did you manually create it ?

I don't think so.
One day it just stopped working.
I did try a bunch of stuff, maybe I did something wrong.
But I don't remember manually adding anything tbh.

Thanks again though.

1 Like

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