It says that the dns service was restarted, but if I check it afterwards with pihole status it says
Debug Token:
pzirt9s19i!
Summary
I know there have been a lot of topics with a similar problem, but none of them helped me fixing mine. I made a fresh install of Pi-Hole on a Debian 8 machine. I tried reinstalling multiple times. I tried repair too.
The output of
sudo systemctl status dnsmasq
is
dsnmasq.service
Loaded: not-found (Reason: No such file or directory)
Active: inactive (dead)
I don't know why. If i try
apt-get install dnsmasq
It says that the newest version is installed...
Another Problem is that in the installer and the repair bash I get this kind of warning:
/opt/pihole/updatecheck.sh: line 75: /usr/bin/pihole-FTL: Operation not permitted
/opt/pihole/updatecheck.sh: line 88: /usr/bin/pihole-FTL: Operation not permitted
And in other lines too.
The Output of
systemctl status pihole-FTL
is
● pihole-FTL.service - LSB: pihole-FTL daemon
Loaded: loaded (/etc/init.d/pihole-FTL)
Active: active (exited) since Fri 2019-04-26 11:12:33 EDT; 35s ago
Process: 27728 ExecStop=/etc/init.d/pihole-FTL stop (code=exited, status=0/SUCCESS)
Process: 27734 ExecStart=/etc/init.d/pihole-FTL start (code=exited, status=0/SUCCESS)
Apr 26 11:12:33 benti pihole-FTL[27734]: Not running
Apr 26 11:12:33 benti su[27761]: Successful su for pihole by root
Apr 26 11:12:33 benti su[27761]: + ??? root:pihole
Apr 26 11:12:33 benti su[27761]: pam_unix(su:session): session opened for user pihole by (uid=0)
Apr 26 11:12:33 benti pihole-FTL[27734]: sh: 1: /usr/bin/pihole-FTL: Operation not permitted
Apr 26 11:12:33 benti su[27761]: pam_unix(su:session): session closed for user pihole
Apr 26 11:12:33 benti systemd[1]: Started LSB: pihole-FTL daemon.
In Pi-Hole V4.0 and later, dnsmasq is embedded in pihole-FTL, and dnsmasq no longer runs as a separate process. The debug log will show dnsmasq as either failed or inactive. Process pihole-FTL should be shown running on port 53.
Has Pi-Hole previously worked with this installation, or has it never worked?
To check for processes running on ports used by Pi-Hole, run this command and post the output.
In Pi-Hole V4.0 and later, dnsmasq is embedded in pihole-FTL, and dnsmasq no longer runs as a separate process. The debug log will show dnsmasq as either failed or inactive. Process pihole-FTL should be shown running on port 53.
Btw I rechecked the dnsmasq service and I got another output than before, because of a typo.
dnsmasq.service - dnsmasq - A lightweight DHCP and caching DNS server
Loaded: loaded (/lib/systemd/system/dnsmasq.service; disabled)
Drop-In: /run/systemd/generator/dnsmasq.service.d
└─50-dnsmasq-$named.conf, 50-insserv.conf-$named.conf
Active: failed (Result: exit-code) since Fri 2019-04-26 10:51:03 EDT; 1h 21min ago
Apr 26 10:51:03 benti dnsmasq[10738]: dnsmasq: bad option at line 43 of /etc/dnsmasq.d/01-pihole.conf.save
Apr 26 10:51:03 benti systemd[1]: dnsmasq.service: control process exited, code=exited status=1
Apr 26 10:51:03 benti systemd[1]: Failed to start dnsmasq - A lightweight DHCP and caching DNS server.
Apr 26 10:51:03 benti systemd[1]: Unit dnsmasq.service entered failed state.
Apr 26 10:53:51 benti systemd[1]: Stopped dnsmasq - A lightweight DHCP and caching DNS server.