Pihole Start up Issues

Hello this is my first post. I have been trying to download and troubleshoot this but it appears to not be working. I am unsure what my issue is. I tried to fix it by running pihole -r. It did not work so then I reconfigured it, but now I am unable to even get to the admin page.

I have followed the advice on some of the other posts but appear to have a mixture of them all. Here is the debug token: 4oillqhkii

What exactly are you experiencing?

Install failures ? DNS issues?

Can you post the output of
pihole -v
sudo systemctl status dnsmasq
sudo systemctl status pihole-FTL
dig pi-hole.net

pi@raspberrypi:~ $ pihole -v

Pi-hole version is v3.3.1 (Latest: v3.3.1)
AdminLTE version is v3.3 (Latest: v3.3)
FTL version is v3.0 (Latest: v3.0)
pi@raspberrypi:~ $ sudo systemctl status dnsmasq
â—Ź dnsmasq.service - dnsmasq - A lightweight DHCP and caching DNS server
Loaded: loaded (/lib/systemd/system/dnsmasq.service; enabled)
Drop-In: /run/systemd/generator/dnsmasq.service.d
└─50-dnsmasq-$named.conf, 50-insserv.conf-$named.conf
Active: failed (Result: exit-code) since Fri 2018-04-27 17:51:02 UTC; 3min 12s ago
Process: 4236 ExecStartPre=/usr/sbin/dnsmasq --test (code=exited, status=1/FAILURE)

Apr 27 17:51:02 raspberrypi dnsmasq[4236]: dnsmasq: extraneous parameter at line 37 of /etc/dnsmasq.d/01-pihole.conf
Apr 27 17:51:02 raspberrypi systemd[1]: dnsmasq.service: control process exited, code=exited status=1
Apr 27 17:51:02 raspberrypi systemd[1]: Failed to start dnsmasq - A lightweight DHCP and caching DNS server.
Apr 27 17:51:02 raspberrypi systemd[1]: Unit dnsmasq.service entered failed state.
pi@raspberrypi:~ $ sudo systemctl status pihole-FTL
â—Ź pihole-FTL.service - LSB: pihole-FTL daemon
Loaded: loaded (/etc/init.d/pihole-FTL)
Active: inactive (dead)
pi@raspberrypi:~ $ dig pi-hole.net

; <<>> DiG 9.9.5-9+deb8u15-Raspbian <<>> pi-hole.net
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 20337
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0

;; QUESTION SECTION:
;pi-hole.net. IN A

;; ANSWER SECTION:
pi-hole.net. 7200 IN A 206.189.252.21

;; Query time: 8 msec
;; SERVER: 192.168.2.1#53(192.168.2.1)
;; WHEN: Fri Apr 27 17:54:36 UTC 2018
;; MSG SIZE rcvd: 45

Can you post the contents of /etc/dnsmasq.d/01-pihole.conf

dnsmasq fails because of a bad entry in that file.
can you run 'dnsmasq -v` ?

You could also try pihole -r and try to re-install.

# Pi-hole: A black hole for Internet advertisements
# (c) 2015, 2016 by Jacob Salmela
# Network-wide ad blocking via your Raspberry Pi
# http://pi-hole.net
# dnsmasq config for Pi-hole
#
# Pi-hole is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 2 of the License, or
# (at your option) any later version.

###############################################################################
#      FILE AUTOMATICALLY POPULATED BY PI-HOLE INSTALL/UPDATE PROCEDURE.      #
# ANY CHANGES MADE TO THIS FILE AFTER INSTALL WILL BE LOST ON THE NEXT UPDATE #
#                                                                             #
#        IF YOU WISH TO CHANGE THE UPSTREAM SERVERS, CHANGE THEM IN:          #
#                      /etc/pihole/setupVars.conf                             #
#                                                                             #
#        ANY OTHER CHANGES SHOULD BE MADE IN A SEPERATE CONFIG FILE           #
#                        OR IN /etc/dnsmasq.conf                              #
###############################################################################

addn-hosts=/etc/pihole/gravity.list
addn-hosts=/etc/pihole/black.list
addn-hosts=/etc/pihole/local.list


localise-queries


no-resolv



cache-size=10000

log-queries=extra
log-facility=/var/log/pihole.log

local-ttl=2

log-async
server=208.67.222.222
server=208.67.220.220
interface=eth0

Comment out the line with log-queries=extra (add a # in front of it).

After that run pihole restartdns

pihole-FTL: no process found

run a pihole -r and repair.

I reinstalled it. Reran through all of the suggestions you gave me. Repaired it and it still doesn't appear to work. I can't even get the Admin Gui to appear. Still having the FTL issues

The devs will take a look at your debug code, there might be more stuff happening there than what we could have fixed with the the basic troubleshooting we did ...

Did you recomment out the line @RamSet suggested after the pihole -r? That process would add it back in.

Your token expired before I could look but I'm guessing your running Jessie, which is unsupported. See these links:

1 Like

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