The Pi Hole DNS server seems to periodically die overnight and I can't seem to figure out why. It seems difficult to troubleshoot because there aren't many logs in /var/logs and they seem to rotate frequently so I don't think the necessary log entries would even be there in the morning when I notice.
Code: Select all
root@DietPi:~# 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 Fri 2019-04-12 00:17:03 PDT; 10h ago Docs: man:systemd-sysv-generator(8) Process: 7179 ExecStop=/etc/init.d/pihole-FTL stop (code=exited, status=0/SUCCESS) Process: 7216 ExecStart=/etc/init.d/pihole-FTL start (code=exited, status=0/SUCCESS) CGroup: /system.slice/pihole-FTL.service Apr 12 00:17:02 DietPi systemd: Starting LSB: pihole-FTL daemon... Apr 12 00:17:02 DietPi pihole-FTL: Not running Apr 12 00:17:02 DietPi su: Successful su for pihole by root Apr 12 00:17:02 DietPi su: + ??? root:pihole Apr 12 00:17:02 DietPi su: pam_unix(su:session): session opened for user pihole by (uid=0) Apr 12 00:17:03 DietPi pihole-FTL: dnsmasq: failed to create listening socket for port 53: Address already in use Apr 12 00:17:03 DietPi su: pam_unix(su:session): session closed for user pihole Apr 12 00:17:03 DietPi systemd: Started LSB: pihole-FTL daemon.