DNS Server is not running


#1

Hi,

would it be possible to run pihole on debian jessie (armel) with apache2? I went through the installation, the pihole interface on webserver is running, but the DNS and FTL Service
failed to start. Please see upload

https://tricorder.pi-hole.net/9e0fi0sq4w!

thank you very much


#2

pihole-FTL does not seem to be running. Let’s see what is running on the ports used by Pi-Hole and get the status of pihole-FTL. What is the output of these commands from the Pi terminal:

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

sudo service pihole-FTL status


#3

thanks for your help

netstat -nltup | grep ‘Proto|:53 |:67 |:80 |:471’

Proto Recv-Q Send-Q Local Address           Foreign Address         State       PID/Program name
tcp6       0      0 :::80                   :::*                    LISTEN      975/apache2     

service pihole-FTL status

● pihole-FTL.service - LSB: pihole-FTL daemon
   Loaded: loaded (/etc/init.d/pihole-FTL)
   Active: active (exited) since Do 2019-03-14 14:08:51 CET; 1h 8min ago
  Process: 5579 ExecStart=/etc/init.d/pihole-FTL start (code=exited, status=0/SUCCESS)

Mär 14 14:08:50 qnap-121 pihole-FTL[5579]: Not running
Mär 14 14:08:51 qnap-121 su[5606]: Successful su for pihole by root
Mär 14 14:08:51 qnap-121 su[5606]: + ??? root:pihole
Mär 14 14:08:51 qnap-121 su[5606]: pam_unix(su:session): session opened for user pihole by (uid=0)
Mär 14 14:08:51 qnap-121 systemd[1]: Started LSB: pihole-FTL daemon.
Mär 14 14:08:51 qnap-121 pihole-FTL[5579]: sh: 1: /usr/bin/pihole-FTL: not found
Mär 14 14:09:06 qnap-121 systemd[1]: Started LSB: pihole-FTL daemon.

#4

i just ran this command:

pihole -up

it says:

/etc/.pihole/automated install/basic-install.sh: line 2358: /usr/bin/pihole-FTL: File or Directory not found!

I checked and the file is there!


#5

sudo nano /etc/resolv.conf

edit nameserver 127.0.0.1 to nameserver 9.9.9.9 or your preferred third party DNS service, save and exit

Run pihole -r and select repair.


#6

the output is:

[✗] DNS service is NOT running
/opt/pihole/updatecheck.sh: Zeile 75: /usr/bin/pihole-FTL: Datei oder Verzeichnis nicht gefunden
/opt/pihole/updatecheck.sh: Zeile 88: /usr/bin/pihole-FTL: Datei oder Verzeichnis nicht gefunden

[i] The install log is located at: /etc/pihole/install.log
Update Complete!

Current Pi-hole version is v4.2.2
Current AdminLTE version is v4.2
/opt/pihole/version.sh: Zeile 19: /usr/bin/pihole-FTL: Datei oder Verzeichnis nicht gefunden
Invalid Option! Try ‘pihole -v --help’ for more information.


#8

What is the output from

ls -lah /usr/bin/pihole-FTL


#11

ls -lah /usr/bin/pihole-FTL
-rwxr-xr-x 1 root root 4,1M Mär 14 17:48 /usr/bin/pihole-FTL


#12

file /usr/bin/pihole-FTL

arch

dpkg --print-architecture

?

EDIT:

dpkg --print-foreign-architectures

?


#13

`file /usr/bin/pihole-FTL
/usr/bin/pihole-FTL: ELF 32-bit LSB shared object, ARM, EABI5 version 1 (SYSV), dynamically linked, interpreter /lib/ld-linux-armhf.so.3, for GNU/Linux 2.6.32, not stripped

arch
armv5tel

dpkg --print-architecture
armel

dpkg --print-foreign-architectures
“this command has no output”


#14

Am not familiar with that architecture but it could be that you have the wrong binary for your arch.
It resembles other issues posted here before.
Wait if @DanSchaper knows more.


#15

That’s not a currently supported architecture. See https://docs.pi-hole.net/ftldns/compatibility/ for the list.

If you’d like to try and compile for your platform the instructions are on https://docs.pi-hole.net/ftldns/compile/


#16

i am sorry … i will try to compile it

thank you very much for your help

thomas


#18

Hi,

short feddback:

I am using a Qnap Device (TS-121, 2 GHz CPU, 1 GB RAM) with armel Architecture and Debian 8 Jessie.
I compiled FTL DNS according to this doc https://docs.pi-hole.net/ftldns/compile/ and it is working without any problems now.

Thanks again for your help and this great piece of software!

Kind regards
Thomas