Zuerst funktioniert DHCP nicht, dann crashen FTL und DNS-Service

Hi,
ich habe eben PiHole auf einem frischen Raspbian-Lite installiert.

Die einzigen Einstellungen, die ich vorgenommen habe, waren das Hinzufügen von Adlists, die zuvor schon funktioniert hatten - bis PiHole genau auf die gleiche Art gecrasht ist, und das Hinzufügen von DHCP Leases.

Als ich den DHCP Server aktiviert habe ist zuerst nichts passiert, als ich versucht habe eine Konfiguration von diesem abzurufen, hat mein Handy irgendwann aufgegeben und "IP-Konfigurationsfehler" angezeigt.
Kurz darauf, war im PiHole Dashboard auch schon " DNS service not running FTL offline" und "Lost connection to API" zu sehen.

Außerdem konnte das Debug Log nicht hochgeladen werden. Weshalb ich es hier als Anhang hochlade.
pihole_debug.log.txt (27.9 KB)

Run the following to show the activity on Pi-Hole and restart FTL:

echo ">stats" | nc localhost 4711

sudo service pihole-FTL restart

sudo service pihole-FTL status

1 Like

Thanks for your quick reply.

'sudo service pihole-FTL status' says:

● pihole-FTL.service - LSB: pihole-FTL daemon
   Loaded: loaded (/etc/init.d/pihole-FTL; generated; vendor preset: enabled)
   Active: active (exited) since Wed 2019-05-29 21:22:58 BST; 1min 0s ago
     Docs: man:systemd-sysv-generator(8)
  Process: 15363 ExecStop=/etc/init.d/pihole-FTL stop (code=exited, status=0/SUCCESS)
  Process: 15369 ExecStart=/etc/init.d/pihole-FTL start (code=exited, status=0/SUCCESS)

May 29 21:22:57 raspberrypi systemd[1]: Starting LSB: pihole-FTL daemon...
May 29 21:22:57 raspberrypi pihole-FTL[15369]: Not running
May 29 21:22:57 raspberrypi su[15396]: Successful su for pihole by root
May 29 21:22:57 raspberrypi su[15396]: + ??? root:pihole
May 29 21:22:57 raspberrypi su[15396]: pam_unix(su:session): session opened for user pihole by (uid=0)
May 29 21:22:58 raspberrypi pihole-FTL[15369]: dnsmasq: bad option at line 1 of /etc/dnsmasq.d/04-pihole-static-dhcp.conf
May 29 21:22:58 raspberrypi systemd[1]: Started LSB: pihole-FTL daemon.

On the dashboard still the same massage.

Let's check for dnsmasq conflicts:

dig chaos txt version.bind +short

sudo netstat -nltup | grep 'Proto\|:53 \|:67 \|:80 \|:471'

I just ran /etc/init.d/pihole-FTL start out of interest and it showed :

root@raspberrypi:~# /etc/init.d/pihole-FTL start
Not running


dnsmasq: bad option at line 1 of /etc/dnsmasq.d/04-pihole-static-dhcp.conf

So I edited my '04-pihole-static-dhcp.conf' and howsoever a '0' sneaked to the beginning of the file, i deleted it, rebooted my Raspberry and everything worked perfectly again.

Despite thank you for your help. It probably would have taken an eternity for me the notice that.

Glad it's working.

One note - this is not the preferred method to start/stop Pi-Hole. You should use the service commands instead - i.e. sudo service pihole-FTL start