DNS Service not running - Ubuntu 16.04.5 LTS

Expected Behaviour:

pi-hole running normally

Actual Behaviour:

DNS Service not running and FTL Offline

Debug Token:

uf9u1a8hb8

Hi, i passed the last 4 hours trying to setup pi-hole on my Bananapi Zero running Ubuntu 16.04.5. And always end up with the following behaviour, i looked around in other topics but none of the solutions solved my problem, any help on this?

output of sudo systemctl status pihole-FTL.service
pihole-FTL[3186]: dnsmasq: failed to create listening socket for 192.168.1.16: Permission denied

i installed though curl at pihole website.

Whats the full output ?

sudo systemctl status pihole-FTL -l

Here it its

â—Ź pihole-FTL.service - LSB: pihole-FTL daemon
Loaded: loaded (/etc/init.d/pihole-FTL; bad; vendor preset: enabled)
Active: active (exited) since Wed 2018-08-15 14:10:08 UTC; 2min 28s ago
Docs: man:systemd-sysv-generator(8)

Aug 15 14:09:56 pikachu systemd[1]: Starting LSB: pihole-FTL daemon...
Aug 15 14:09:56 pikachu pihole-FTL[502]: Not running
Aug 15 14:09:56 pikachu pihole-FTL[502]: chown: cannot access '/etc/pihole/dhcp.leases': No such file or directory
Aug 15 14:09:56 pikachu pihole-FTL[502]: Failed to set capabilities on file `/usr/bin/pihole-FTL' (Invalid argument)
Aug 15 14:09:56 pikachu pihole-FTL[502]: The value of the capability argument is not permitted for a file. Or the file is not a regular
Aug 15 14:10:07 pikachu su[729]: Successful su for root by root
Aug 15 14:10:07 pikachu su[729]: + ??? root:root
Aug 15 14:10:07 pikachu su[729]: pam_unix(su:session): session opened for user root by (uid=0)
Aug 15 14:10:08 pikachu pihole-FTL[502]: FTL started!
Aug 15 14:10:08 pikachu systemd[1]: Started LSB: pihole-FTL daemon.

sudo /etc/init.d/pihole-FTL start
Not running

chown: cannot access '/etc/pihole/dhcp.leases': No such file or directory
Failed to set capabilities on file `/usr/bin/pihole-FTL' (Invalid argument)
The value of the capability argument is not permitted for a file. Or the file is not a regular (non-symlink) file

dnsmasq: failed to create listening socket for 192.168.1.16: Permission denied

Read this about "Linux capabilities":

https://docs.pi-hole.net/ftldns/in-depth/#linux-capabilities

And I believe a solution is offered here:

1 Like

Thank you, the instructions on that post worked for me.

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