Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- pi@raspberrypi:~ $ pihole -d
- This process collects information from your Pi-hole, and optionally uploads it to a unique and random directory on tricorder.pi-hole.net.
- The intent of this script is to allow users to self-diagnose their installations. This is accomplished by running tests against our software and providing the user with links to FAQ articles when a problem is detected. Since we are a small team and Pi-hole has been growing steadily, it is our hope that this will help us spend more time on development.
- NOTE: All log files auto-delete after 48 hours and ONLY the Pi-hole developers can access your data via the given token. We have taken these extra steps to secure your data and will work to further reduce any personal information gathered.
- *** [ INITIALIZING ]
- [i] 2019-01-24:01:03:52 debug log has been initialized.
- *** [ INITIALIZING ] Sourcing setup variables
- [i] Sourcing /etc/pihole/setupVars.conf...
- *** [ DIAGNOSING ]: Core version
- [i] Core: v4.0 (https://discourse.pi-hole.net/t/how-do-i-update-pi-hole/249)
- [i] Branch: master
- [i] Commit: v4.0-0-gddbdb51
- *** [ DIAGNOSING ]: Web version
- [i] Web: v4.0 (https://discourse.pi-hole.net/t/how-do-i-update-pi-hole/249)
- [i] Branch: master
- [i] Commit: v4.0-0-gaf8c926
- *** [ DIAGNOSING ]: FTL version
- [✓] FTL: v4.0 (https://discourse.pi-hole.net/t/how-do-i-update-pi-hole/249)
- *** [ DIAGNOSING ]: dnsmasq version
- [i] 340:
- *** [ DIAGNOSING ]: lighttpd version
- [i] 1.4.45
- *** [ DIAGNOSING ]: php version
- [i] 7.0.30
- *** [ DIAGNOSING ]: Operating system
- [✓] Raspbian GNU/Linux 9 (stretch)
- *** [ DIAGNOSING ]: SELinux
- [i] SELinux not detected
- *** [ DIAGNOSING ]: Processor
- [✓] armv7l
- *** [ DIAGNOSING ]: Networking
- [✓] IPv4 address(es) bound to the eth0 interface:
- 192.168.0.106/24 does not match the IP found in /etc/pihole/setupVars.conf (https://discourse.pi-hole.net/t/use-ipv6-ula-addresses-for-pi-hole/2127)
- 192.168.1.50/24 matches the IP found in /etc/pihole/setupVars.conf
- [✓] IPv6 address(es) bound to the eth0 interface:
- fe80::59fe:a19e:d061:e8dd does not match the IP found in /etc/pihole/setupVars.conf (https://discourse.pi-hole.net/t/use-ipv6-ula-addresses-for-pi-hole/2127)
- ^ Please note that you may have more than one IP address listed.
- As long as one of them is green, and it matches what is in /etc/pihole/setupVars.conf, there is no need for concern.
- The link to the FAQ is for an issue that sometimes occurs when the IPv6 address changes, which is why we check for it.
- [i] Default IPv4 gateway: 192.168.0.1
- * Pinging 192.168.0.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
- *:22 sshd (IPv4)
- *:22 sshd (IPv6)
- *:80 lighttpd (IPv4)
- *:80 lighttpd (IPv6)
- *:53 pihole-FTL (IPv4)
- *:53 pihole-FTL (IPv6)
- 127.0.0.1:4711 pihole-FTL (IPv4)
- [::1]:4711 pihole-FTL (IPv6)
- *** [ DIAGNOSING ]: Name resolution (IPv4) using a random blocked domain and a known ad-serving domain
- dig: '' is not a legal name (unexpected end of input)
- [✗] Failed to resolve via localhost (127.0.0.1)
- dig: '' is not a legal name (unexpected end of input)
- [✗] Failed to resolve via Pi-hole (192.168.1.50)
- [✗] Failed to resolve doubleclick.com via a remote, public DNS server (8.8.8.8)
- *** [ DIAGNOSING ]: Pi-hole processes
- [✗] dnsmasq daemon is inactive
- [✓] lighttpd daemon is active
- [✓] pihole-FTL daemon is active
- *** [ DIAGNOSING ]: Setup variables
- TEMPERATUREUNIT=F
- ADMIN_EMAIL=regal8r8469@gmail.com
- WEBUIBOXEDLAYOUT=boxed
- PIHOLE_INTERFACE=eth0
- IPV4_ADDRESS=192.168.1.50/24
- IPV6_ADDRESS=
- PIHOLE_DNS_1=208.67.222.222
- PIHOLE_DNS_2=208.67.220.220
- QUERY_LOGGING=true
- INSTALL_WEB_SERVER=true
- INSTALL_WEB_INTERFACE=true
- LIGHTTPD_ENABLED=true
- *** [ DIAGNOSING ]: Dashboard and block page
- [✗] Block page X-Header: X-Header does not match or could not be retrieved.
- HTTP/1.1 200 OK
- Content-type: text/html; charset=UTF-8
- Date: Thu, 24 Jan 2019 01:07:04 GMT
- Server: lighttpd/1.4.45
- [✓] Web interface X-Header: X-Pi-hole: The Pi-hole Web interface is working!
- *** [ DIAGNOSING ]: Gravity list
- -rw-r--r-- 1 root root 0 Jan 24 01:00 /etc/pihole/gravity.list
- -----head of gravity.list------
- -----tail of gravity.list------
- *** [ DIAGNOSING ]: contents of /etc/pihole
- -rw-r--r-- 1 root root 381 Jan 24 00:20 /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
- -rw-r--r-- 1 root root 46 Jan 24 01:00 /etc/pihole/local.list
- 192.168.1.50 raspberrypi
- 192.168.1.50 pi.hole
- -rw-r--r-- 1 root root 234 Jan 24 00:56 /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
- }
- *** [ DIAGNOSING ]: contents of /etc/dnsmasq.d
- -rw-r--r-- 1 root root 1522 Jan 24 00:57 /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-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
- *** [ DIAGNOSING ]: contents of /etc/lighttpd
- -rw-r--r-- 1 root root 3027 Jan 24 00:56 /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 Jan 24 00:56 /etc/cron.d/pihole
- 24 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
- 42 19 * * * 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 826 Jan 24 00:57 /var/log/lighttpd/error.log
- 2019-01-20 06:25:01: (server.c.1534) logfiles cycled UID = 0 PID = 14319
- 2019-01-23 03:29:37: (log.c.217) server started
- 2019-01-23 03:30:00: (log.c.217) server started
- 2019-01-24 00:17:12: (log.c.217) server started
- 2019-01-24 00:22:49: (server.c.1828) server stopped by UID = 0 PID = 1
- 2019-01-24 00:22:50: (log.c.217) server started
- 2019-01-24 00:35:22: (server.c.1828) server stopped by UID = 0 PID = 1
- 2019-01-24 00:35:23: (log.c.217) server started
- 2019-01-24 00:43:30: (server.c.1828) server stopped by UID = 0 PID = 1
- 2019-01-24 00:43:31: (log.c.217) server started
- 2019-01-24 00:48:34: (server.c.1828) server stopped by UID = 0 PID = 1
- 2019-01-24 00:48:34: (log.c.217) server started
- 2019-01-24 00:57:25: (server.c.1828) server stopped by UID = 0 PID = 1
- 2019-01-24 00:57:26: (log.c.217) server started
- *** [ DIAGNOSING ]: contents of /var/log
- -rw-r--r-- 1 pihole pihole 31133 Jan 24 01:00 /var/log/pihole-FTL.log
- -----head of pihole-FTL.log------
- [2019-01-24 00:17:14.922] ########## FTL started! ##########
- [2019-01-24 00:17:14.922] FTL branch:
- [2019-01-24 00:17:14.922] FTL version: v4.0
- [2019-01-24 00:17:14.922] FTL commit: 8493df4
- [2019-01-24 00:17:14.922] FTL date: 2018-08-05 13:40:30 -0700
- [2019-01-24 00:17:14.922] FTL user: pihole
- [2019-01-24 00:17:14.924] Starting config file parsing (/etc/pihole/pihole-FTL.conf)
- [2019-01-24 00:17:14.925] SOCKET_LISTENING: only local
- [2019-01-24 00:17:14.925] AAAA_QUERY_ANALYSIS: Show AAAA queries
- [2019-01-24 00:17:14.925] MAXDBDAYS: max age for stored queries is 365 days
- [2019-01-24 00:17:14.925] RESOLVE_IPV6: Resolve IPv6 addresses
- [2019-01-24 00:17:14.925] RESOLVE_IPV4: Resolve IPv4 addresses
- [2019-01-24 00:17:14.925] DBINTERVAL: saving to DB file every minute
- [2019-01-24 00:17:14.925] DBFILE: Using /etc/pihole/pihole-FTL.db
- [2019-01-24 00:17:14.925] MAXLOGAGE: Importing up to 24.0 hours of log data
- [2019-01-24 00:17:14.925] PRIVACYLEVEL: Set to 0
- [2019-01-24 00:17:14.925] IGNORE_LOCALHOST: Show queries from localhost
- [2019-01-24 00:17:14.925] BLOCKINGMODE: Null IPs for blocked domains
- [2019-01-24 00:17:14.925] REGEX_DEBUGMODE: Inactive
- [2019-01-24 00:17:14.925] Finished config file parsing
- [2019-01-24 00:17:14.925] INFO: No whitelist file found
- [2019-01-24 00:17:14.925] Compiled 0 Regex filters and -1 whitelisted domains in 0.1 msec (0 errors)
- [2019-01-24 00:17:14.952] Database successfully initialized
- [2019-01-24 00:17:14.968] Notice: Increasing queries struct size from 0 to 10000
- [2019-01-24 00:17:14.968] Notice: Increasing domains struct size from 0 to 1000
- [2019-01-24 00:17:14.968] Notice: Increasing clients struct size from 0 to 10
- [2019-01-24 00:17:14.968] New forward server: 1.0.0.1 (0/0)
- [2019-01-24 00:17:14.968] Notice: Increasing forwarded struct size from 0 to 4
- [2019-01-24 00:17:14.968] Notice: Increasing overTime struct size from 0 to 100
- [2019-01-24 00:17:14.968] New forward server: 1.1.1.1 (1/4)
- [2019-01-24 00:17:15.068] Notice: Increasing queries struct size from 10000 to 20000
- [2019-01-24 00:17:15.182] Notice: Increasing queries struct size from 20000 to 30000
- [2019-01-24 00:17:15.295] Notice: Increasing queries struct size from 30000 to 40000
- [2019-01-24 00:17:15.399] Notice: Increasing queries struct size from 40000 to 50000
- [2019-01-24 00:17:15.509] Notice: Increasing queries struct size from 50000 to 60000
- -----tail of pihole-FTL.log------
- [2019-01-24 00:57:48.912] Notice: Increasing queries struct size from 100000 to 110000
- [2019-01-24 00:57:49.013] Notice: Increasing queries struct size from 110000 to 120000
- [2019-01-24 00:57:49.115] Notice: Increasing queries struct size from 120000 to 130000
- [2019-01-24 00:57:49.198] Notice: Increasing overTime struct size from 100 to 200
- [2019-01-24 00:57:49.216] Notice: Increasing queries struct size from 130000 to 140000
- [2019-01-24 00:57:49.318] Notice: Increasing queries struct size from 140000 to 150000
- [2019-01-24 00:57:49.421] Notice: Increasing queries struct size from 150000 to 160000
- [2019-01-24 00:57:49.525] Notice: Increasing queries struct size from 160000 to 170000
- [2019-01-24 00:57:49.629] Notice: Increasing queries struct size from 170000 to 180000
- [2019-01-24 00:57:49.734] Notice: Increasing queries struct size from 180000 to 190000
- [2019-01-24 00:57:49.839] Notice: Increasing queries struct size from 190000 to 200000
- [2019-01-24 00:57:49.898] New forward server: 208.67.220.220 (2/4)
- [2019-01-24 00:57:49.935] Imported 198949 queries from the long-term database
- [2019-01-24 00:57:49.935] -> Total DNS queries: 198949
- [2019-01-24 00:57:49.935] -> Cached DNS queries: 219
- [2019-01-24 00:57:49.935] -> Forwarded DNS queries: 3724
- [2019-01-24 00:57:49.936] -> Exactly blocked DNS queries: 2074
- [2019-01-24 00:57:49.936] -> Unknown DNS queries: 192932
- [2019-01-24 00:57:49.936] -> Unique domains: 472
- [2019-01-24 00:57:49.936] -> Unique clients: 7
- [2019-01-24 00:57:49.936] -> Known forward destinations: 3
- [2019-01-24 00:57:49.936] Successfully accessed setupVars.conf
- [2019-01-24 00:57:49.943] PID of FTL process: 4965
- [2019-01-24 00:57:49.944] Listening on port 4711 for incoming IPv4 telnet connections
- [2019-01-24 00:57:49.944] Listening on port 4711 for incoming IPv6 telnet connections
- [2019-01-24 00:57:49.944] Listening on Unix socket
- [2019-01-24 00:57:49.945] FATAL: Trying to free NULL pointer in free_whitelist_domains() (regex.c:72)
- [2019-01-24 00:57:49.945] INFO: No whitelist file found
- [2019-01-24 00:57:49.945] Compiled 0 Regex filters and -1 whitelisted domains in 0.1 msec (0 errors)
- [2019-01-24 00:57:49.946] /etc/pihole/gravity.list: parsed 0 domains (took 0.0 ms)
- [2019-01-24 00:57:57.186] New forward server: 208.67.222.222 (3/4)
- [2019-01-24 01:00:16.561] FATAL: Trying to free NULL pointer in free_whitelist_domains() (regex.c:72)
- [2019-01-24 01:00:16.561] INFO: No whitelist file found
- [2019-01-24 01:00:16.561] Compiled 0 Regex filters and -1 whitelisted domains in 0.2 msec (0 errors)
- [2019-01-24 01:00:16.562] /etc/pihole/gravity.list: parsed 0 domains (took 0.0 ms)
- *** [ DIAGNOSING ]: Locale
- LANG=en_GB.UTF-8
- *** [ DIAGNOSING ]: Pi-hole log
- -rw-r--r-- 1 pihole pihole 1153534 Jan 24 01:07 /var/log/pihole.log
- -----head of pihole.log------
- Jan 24 00:00:15 dnsmasq[641]: 188325 127.0.0.1/56372 query[A] 3.debian.pool.ntp.org from 127.0.0.1
- Jan 24 00:00:15 dnsmasq[641]: 188326 127.0.0.1/56372 query[AAAA] 3.debian.pool.ntp.org from 127.0.0.1
- Jan 24 00:00:15 dnsmasq[641]: 188327 127.0.0.1/56372 query[A] 3.debian.pool.ntp.org from 127.0.0.1
- Jan 24 00:00:15 dnsmasq[641]: 188328 127.0.0.1/56372 query[AAAA] 3.debian.pool.ntp.org from 127.0.0.1
- Jan 24 00:00:15 dnsmasq[641]: 188329 127.0.0.1/51553 query[A] 3.debian.pool.ntp.org from 127.0.0.1
- Jan 24 00:00:15 dnsmasq[641]: 188330 127.0.0.1/51553 query[AAAA] 3.debian.pool.ntp.org from 127.0.0.1
- Jan 24 00:00:15 dnsmasq[641]: 188331 127.0.0.1/51553 query[A] 3.debian.pool.ntp.org from 127.0.0.1
- Jan 24 00:00:15 dnsmasq[641]: 188332 127.0.0.1/51553 query[AAAA] 3.debian.pool.ntp.org from 127.0.0.1
- Jan 24 00:00:15 dnsmasq[641]: 188333 127.0.0.1/33818 query[A] 0.debian.pool.ntp.org from 127.0.0.1
- Jan 24 00:00:15 dnsmasq[641]: 188334 127.0.0.1/33818 query[AAAA] 0.debian.pool.ntp.org from 127.0.0.1
- Jan 24 00:00:15 dnsmasq[641]: 188335 127.0.0.1/33818 query[A] 0.debian.pool.ntp.org from 127.0.0.1
- Jan 24 00:00:15 dnsmasq[641]: 188336 127.0.0.1/33818 query[AAAA] 0.debian.pool.ntp.org from 127.0.0.1
- Jan 24 00:00:15 dnsmasq[641]: 188337 127.0.0.1/54804 query[A] 0.debian.pool.ntp.org from 127.0.0.1
- Jan 24 00:00:15 dnsmasq[641]: 188338 127.0.0.1/54804 query[AAAA] 0.debian.pool.ntp.org from 127.0.0.1
- Jan 24 00:00:15 dnsmasq[641]: 188339 127.0.0.1/54804 query[A] 0.debian.pool.ntp.org from 127.0.0.1
- Jan 24 00:00:15 dnsmasq[641]: 188340 127.0.0.1/54804 query[AAAA] 0.debian.pool.ntp.org from 127.0.0.1
- Jan 24 00:00:15 dnsmasq[641]: 188341 127.0.0.1/41308 query[A] 1.debian.pool.ntp.org from 127.0.0.1
- Jan 24 00:00:15 dnsmasq[641]: 188342 127.0.0.1/41308 query[AAAA] 1.debian.pool.ntp.org from 127.0.0.1
- Jan 24 00:00:15 dnsmasq[641]: 188343 127.0.0.1/41308 query[A] 1.debian.pool.ntp.org from 127.0.0.1
- Jan 24 00:00:15 dnsmasq[641]: 188344 127.0.0.1/41308 query[AAAA] 1.debian.pool.ntp.org from 127.0.0.1
- ********************************************
- ********************************************
- [✓] ** FINISHED DEBUGGING! **
- * The debug log can be uploaded to tricorder.pi-hole.net for sharing with developers only.
- * For more information, see: https://pi-hole.net/2016/11/07/crack-our-medical-tricorder-win-a-raspberry-pi-3/
- * If available, we'll use openssl to upload the log, otherwise it will fall back to netcat.
- [?] Would you like to upload the log? [y/N] y
- * Using openssl for transmission.
- [✗] There was an error uploading your debug log.
- * Please try again or contact the Pi-hole team for assistance.
- * A local copy of the debug log can be found at: /var/log/pihole_debug-sanitized.log
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement