Trying to install pi-hole on BeagleBone black (with Debian 9 stretch LXQt).
dnsmasq service fails to start with this error:
illegal repeated keyword at line 35 of /etc/dnsmasq.d/01-pihole.conf
This corresponds to line:
cache-size=10000
I don't understand what I can do to avoid this problem. I found threads about this, but not a satisfactory solution.
Any help is greatly appreciated
##Debug Token
tdaa4kz6r7
*** [ DIAGNOSING ]: Pi-hole processes
[✗] dnsmasq daemon is failed
[✓] lighttpd daemon is active
[✗] pihole-FTL daemon is inactive
Expected Behaviour:
Pi-hole-FTL and dnsmasq active
Actual Behaviour:
Pi-hole-FTL and dnsmasq failed/inactive
Are there any other dnsmasq
configuration files? Check in /etc/dnsmasq.d/
and then also look for an /etc/dnsmasq.conf
or /etc/dnsmasq/dnsmasq.conf
. There is a second file out there with that same statement that was installed with the OS. It's also possible that NetworkManager is causing conflicts.
I found in /etc/dnsmasq.d/SoftAp0
this:
$ cat /etc/dnsmasq.d/SoftAp0
interface=usb0
interface=usb1
port=53
dhcp-authoritative
domain-needed
bogus-priv
expand-hosts
cache-size=2048
Which brings me to this solution:
https://discourse.pi-hole.net/t/pi-holes-default-cache-directive-conflicts-with-cache-size-directive-in-softap0/8369
And that appears to have done the trick after running pihole -r
Thanks!
2 Likes
system
Closed
June 3, 2018, 8:58pm
4
This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.