HI,
I'm new to Pi-Hole.
I successfully installed it on a RasPi 1 Model B after a few problems (chown www-data ... and commenting "log-queries=extra" fixed it).
Now, it looks like it's running but I don't get any stats, just spinning wheels on both Firefox and Chrome, even after clearing caches (Ctrl F5).
May be it's related: The Pi-hole is attached to my freebox (french internet provider) and I configured the wifi router to use it as main DNS (because I can't switch DHCP to the Pi-hole without breaking the whole network, freebox issue):
But I tried to access a blocked domain and still can access it. So I wonder if there's any stat to show, hence the spinning wheels.
Did I miss something?
Here's the debug:
*** [ INITIALIZING ]
[i] 2018-03-17:18:31:23 debug log has been initialized.
*** [ INITIALIZING ] Sourcing setup variables
[i] Sourcing /etc/pihole/setupVars.conf...
*** [ DIAGNOSING ]: Core version
[i] Core: v3.3 (https://discourse.pi-hole.net/t/how-do-i-update-pi-hole/249)
[i] Branch: master
[i] Commit: v3.3-0-g1e87850
*** [ DIAGNOSING ]: Web version
[i] Web: v3.3 (https://discourse.pi-hole.net/t/how-do-i-update-pi-hole/249)
[i] Branch: master
[i] Commit: v3.3-0-ge48aa29
*** [ DIAGNOSING ]: FTL version
[✓] FTL: v3.0
*** [ DIAGNOSING ]: dnsmasq version
[i] 2.62
*** [ DIAGNOSING ]: lighttpd version
[i] 1.4.31
*** [ DIAGNOSING ]: php version
[i] 5.4.45
*** [ DIAGNOSING ]: Operating system
[✓] Raspbian GNU/Linux 7 (wheezy)
*** [ DIAGNOSING ]: SELinux
[i] SELinux not detected
*** [ DIAGNOSING ]: Processor
*** [ DIAGNOSING ]: Networking
[✓] IPv4 address(es) bound to the eth0 interface:
192.168.1.36/24 matches the IP found in /etc/pihole/setupVars.conf
[✗] No IPv6 address(es) found on the eth0 interface.
[i] Default IPv4 gateway: 192.168.1.1
* Pinging 192.168.1.1...
[✓] Gateway responded.
[i] Default IPv6 gateway: 192.168.1.1
* Pinging 192.168.1.1...
[✗] Gateway did not respond. (https://discourse.pi-hole.net/t/why-is-a-default-gateway-important-for-pi-hole/3546)
*** [ DIAGNOSING ]: Ports in use
[10000] is in use by miniserv.
[139] is in use by smbd
[22] is in use by sshd
[445] is in use by smbd
[53] is in use by dnsmasq
[80] is in use by lighttpd
*** [ DIAGNOSING ]: Name resolution (IPv4) using a random blocked domain and a known ad-serving domain
[✓] confirmation.tps3a2f2fm2facc0unt2fa.verificatio.secuce.dolowcp.com is 192.168.1.36 via localhost (127.0.0.1)
[✓] confirmation.tps3a2f2fm2facc0unt2fa.verificatio.secuce.dolowcp.com is 192.168.1.36 via Pi-hole (192.168.1.36)
[✓] doubleclick.com is 216.58.215.46 via a remote, public DNS server (8.8.8.8)
*** [ DIAGNOSING ]: Pi-hole processes
[✗] dnsmasq daemon is
[✗] lighttpd daemon is
[✗] pihole-FTL daemon is
*** [ DIAGNOSING ]: Setup variables
PIHOLE_INTERFACE=eth0
IPV4_ADDRESS=192.168.1.36/24
IPV6_ADDRESS=
QUERY_LOGGING=true
INSTALL_WEB=true
LIGHTTPD_ENABLED=0
DHCP_START=192.168.1.37
DHCP_END=192.168.1.251
DHCP_ROUTER=192.168.1.1
DHCP_LEASETIME=24
PIHOLE_DOMAIN=lan
DHCP_IPv6=true
DHCP_ACTIVE=false
DNSMASQ_LISTENING=single
PIHOLE_DNS_1=8.8.8.8
PIHOLE_DNS_2=8.8.4.4
PIHOLE_DNS_3=208.67.222.222
PIHOLE_DNS_4=208.67.220.220
DNS_FQDN_REQUIRED=true
DNS_BOGUS_PRIV=true
DNSSEC=false
*** [ DIAGNOSING ]: Dashboard and block page
[✗] X-Header does not match or could not be retrieved.
HTTP/1.1 500 Internal Server Error
X-Powered-By: PHP/5.4.45-0+deb7u12
Content-type: text/html
Date: Sat, 17 Mar 2018 18:31:42 GMT
Server: lighttpd/1.4.31
[✓] X-Pi-hole: The Pi-hole Web interface is working!
*** [ DIAGNOSING ]: Gravity list
-rw-r--r-- 1 root root 4936154 Mar 17 18:07 /etc/pihole/gravity.list
-----head of gravity.list------
192.168.1.36 0.0.0.0
192.168.1.36 0.r.msn.com
192.168.1.36 0.start.bz
192.168.1.36 000.gaysexe.free.fr
-----tail of gravity.list------
192.168.1.36 zztube.com
192.168.1.36 zztxdown.com
192.168.1.36 zzz.clickbank.net
192.168.1.36 zzztube.com
*** [ DIAGNOSING ]: contents of /etc/pihole
-rw-r--r-- 1 root root 704 Mar 17 18:07 /etc/pihole/adlists.list
https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts
https://mirror1.malwaredomains.com/files/justdomains
http://sysctl.org/cameleon/hosts
https://zeustracker.abuse.ch/blocklist.php?download=domainblocklist
https://s3.amazonaws.com/lists.disconnect.me/simple_tracking.txt
https://s3.amazonaws.com/lists.disconnect.me/simple_ad.txt
https://hosts-file.net/ad_servers.txt
https://raw.githubusercontent.com/j2l/noadorporn/master/noadorporn.txt
-rw-r--r-- 1 root root 42 Mar 17 18:07 /etc/pihole/local.list
192.168.1.36 magenpi
192.168.1.36 pi.hole
-rw-r--r-- 1 root root 234 Mar 17 14:21 /etc/pihole/logrotate
/var/log/pihole.log {
su root root
daily
copytruncate
rotate 5
compress
delaycompress
notifempty
nomail
}
/var/log/pihole-FTL.log {
su root root
weekly
copytruncate
rotate 3
compress
delaycompress
notifempty
nomail
}
-rw-r--r-- 1 root root 117 Mar 17 14:42 /etc/pihole/whitelist.txt
raw.githubusercontent.com
mirror1.malwaredomains.com
sysctl.org
zeustracker.abuse.ch
s3.amazonaws.com
hosts-file.net
*** [ DIAGNOSING ]: contents of /etc/dnsmasq.d
-rw-r--r-- 1 root root 1578 Mar 17 17:59 /etc/dnsmasq.d/01-pihole.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-facility=/var/log/pihole.log
local-ttl=2
log-async
server=8.8.8.8
server=8.8.4.4
server=208.67.222.222
server=208.67.220.220
domain-needed
bogus-priv
interface=eth0
*** [ DIAGNOSING ]: contents of /etc/lighttpd
-rw-r--r-- 1 root root 3027 Mar 17 14:21 /etc/lighttpd/lighttpd.conf
server.modules = (
"mod_access",
"mod_accesslog",
"mod_auth",
"mod_expire",
"mod_compress",
"mod_redirect",
"mod_setenv",
"mod_rewrite"
)
server.document-root = "/var/www/html"
server.error-handler-404 = "pihole/index.php"
server.upload-dirs = ( "/var/cache/lighttpd/uploads" )
server.errorlog = "/var/log/lighttpd/error.log"
server.pid-file = "/var/run/lighttpd.pid"
server.username = "www-data"
server.groupname = "www-data"
server.port = 80
accesslog.filename = "/var/log/lighttpd/access.log"
accesslog.format = "%{%s}t|%V|%r|%s|%b"
index-file.names = ( "index.php", "index.html", "index.lighttpd.html" )
url.access-deny = ( "~", ".inc", ".md", ".yml", ".ini" )
static-file.exclude-extensions = ( ".php", ".pl", ".fcgi" )
compress.cache-dir = "/var/cache/lighttpd/compress/"
compress.filetype = ( "application/javascript", "text/css", "text/html", "text/plain" )
include_shell "/usr/share/lighttpd/use-ipv6.pl " + server.port
include_shell "/usr/share/lighttpd/create-mime.assign.pl"
include_shell "find /etc/lighttpd/conf-enabled -name '*.conf' -a ! -name 'letsencrypt.conf' -printf 'include \"%p\"
' 2>/dev/null"
$HTTP["url"] =~ "^/admin/" {
setenv.add-response-header = (
"X-Pi-hole" => "The Pi-hole Web interface is working!",
"X-Frame-Options" => "DENY"
)
$HTTP["url"] =~ ".ttf$" {
setenv.add-response-header = ( "Access-Control-Allow-Origin" => "*" )
}
}
$HTTP["url"] =~ "^/admin/\.(.*)" {
url.access-deny = ("")
}
include_shell "cat external.conf 2>/dev/null"
*** [ DIAGNOSING ]: contents of /etc/cron.d
-rw-r--r-- 1 root root 1496 Mar 17 14:21 /etc/cron.d/pihole
46 3 * * 7 root PATH="$PATH:/usr/local/bin/" pihole updateGravity
00 00 * * * root PATH="$PATH:/usr/local/bin/" pihole flush once quiet
@reboot root /usr/sbin/logrotate /etc/pihole/logrotate
*/10 * * * * root PATH="$PATH:/usr/local/bin/" pihole updatechecker local
55 13 * * * root PATH="$PATH:/usr/local/bin/" pihole updatechecker remote
@reboot root PATH="$PATH:/usr/local/bin/" pihole updatechecker remote reboot
*** [ DIAGNOSING ]: contents of /var/log/lighttpd
-rw-r--r-- 1 www-data www-data 5822 Mar 17 18:31 /var/log/lighttpd/error.log
2018-03-17 13:21:34: (log.c.166) server started
2018-03-17 14:20:01: (server.c.1558) server stopped by UID = 0 PID = 10482
2018-03-17 14:29:39: (log.c.166) server started
2018-03-17 14:29:45: (mod_fastcgi.c.2683) FastCGI-stderr: PHP Fatal error: Can't use function return value in write context in /usr/share/nginx/www/html/pihole/index.php on line 108
2018-03-17 14:30:31: (mod_fastcgi.c.2683) FastCGI-stderr: PHP Fatal error: Can't use function return value in write context in /usr/share/nginx/www/html/pihole/index.php on line 108
2018-03-17 14:30:36: (mod_fastcgi.c.2683) FastCGI-stderr: PHP Fatal error: Can't use function return value in write context in /usr/share/nginx/www/html/pihole/index.php on line 108
2018-03-17 14:35:39: (mod_fastcgi.c.2683) FastCGI-stderr: PHP Warning: feof() expects parameter 1 to be resource, boolean given in /usr/share/nginx/www/html/admin/settings.php on line 495
2018-03-17 14:36:37: (mod_fastcgi.c.2683) FastCGI-stderr: PHP Warning: feof() expects parameter 1 to be resource, boolean given in /usr/share/nginx/www/html/admin/settings.php on line 495
2018-03-17 14:37:27: (mod_fastcgi.c.2683) FastCGI-stderr: PHP Warning: feof() expects parameter 1 to be resource, boolean given in /usr/share/nginx/www/html/admin/settings.php on line 495
2018-03-17 14:37:41: (mod_fastcgi.c.2683) FastCGI-stderr: PHP Warning: feof() expects parameter 1 to be resource, boolean given in /usr/share/nginx/www/html/admin/settings.php on line 495
2018-03-17 14:38:31: (mod_fastcgi.c.2683) FastCGI-stderr: PHP Warning: feof() expects parameter 1 to be resource, boolean given in /usr/share/nginx/www/html/admin/settings.php on line 495
2018-03-17 14:39:11: (mod_fastcgi.c.2683) FastCGI-stderr: PHP Warning: feof() expects parameter 1 to be resource, boolean given in /usr/share/nginx/www/html/admin/settings.php on line 495
2018-03-17 14:40:00: (mod_fastcgi.c.2683) FastCGI-stderr: PHP Warning: feof() expects parameter 1 to be resource, boolean given in /usr/share/nginx/www/html/admin/settings.php on line 495
2018-03-17 14:41:27: (mod_fastcgi.c.2683) FastCGI-stderr: PHP Warning: unlink(../custom_disable_timer): No such file or directory in /usr/share/nginx/www/html/admin/api.php on line 47
*** [ DIAGNOSING ]: contents of /var/log
*** [ DIAGNOSING ]: Pi-hole log
-rw-r--r-- 1 dnsmasq root 5667 Mar 17 18:08 /var/log/pihole.log
-----head of pihole.log------
Mar 17 15:56:27 dnsmasq[4858]: demarré, version 2.62 (taille de cache 10000)
Mar 17 15:56:27 dnsmasq[4858]: options à la compilation : IPv6 GNU-getopt DBus i18n IDN DHCP DHCPv6 no-Lua TFTP conntrack
Mar 17 15:56:27 dnsmasq[4858]: utilise le serveur de nom 208.67.220.220#53
Mar 17 15:56:27 dnsmasq[4858]: utilise le serveur de nom 208.67.222.222#53
Mar 17 15:56:27 dnsmasq[4858]: lecture /etc/hosts - 7 adresses
Mar 17 15:56:27 dnsmasq[4858]: lecture /etc/pihole/local.list - 2 adresses
Mar 17 15:56:27 dnsmasq[4858]: Impossible de charger les noms à partir de /etc/pihole/black.list : Aucun fichier ou dossier de ce type
Mar 17 15:56:34 dnsmasq[4858]: lecture /etc/pihole/gravity.list - 121705 adresses
Mar 17 16:21:51 dnsmasq[4858]: lecture /etc/hosts - 7 adresses
Mar 17 16:21:51 dnsmasq[4858]: lecture /etc/pihole/local.list - 2 adresses
Mar 17 16:21:51 dnsmasq[4858]: Impossible de charger les noms à partir de /etc/pihole/black.list : Aucun fichier ou dossier de ce type
Mar 17 16:17:23 dnsmasq[2106]: demarré, version 2.62 (taille de cache 10000)
Mar 17 16:17:23 dnsmasq[2106]: options à la compilation : IPv6 GNU-getopt DBus i18n IDN DHCP DHCPv6 no-Lua TFTP conntrack
Mar 17 16:17:23 dnsmasq[2106]: utilise le serveur de nom 208.67.220.220#53
Mar 17 16:17:23 dnsmasq[2106]: utilise le serveur de nom 208.67.222.222#53
Mar 17 16:17:23 dnsmasq[2106]: lecture /etc/hosts - 7 adresses
Mar 17 16:17:23 dnsmasq[2106]: lecture /etc/pihole/local.list - 2 adresses
Mar 17 16:17:23 dnsmasq[2106]: Impossible de charger les noms à partir de /etc/pihole/black.list : Aucun fichier ou dossier de ce type
Mar 17 16:41:58 dnsmasq[3253]: demarré, version 2.62 (taille de cache 10000)
Mar 17 16:41:58 dnsmasq[3253]: options à la compilation : IPv6 GNU-getopt DBus i18n IDN DHCP DHCPv6 no-Lua TFTP conntrack
********************************************
********************************************
[✓] ** FINISHED DEBUGGING! **
Thanks!