Advertisement
Guest User

Pihole Debug Log

a guest
Sep 19th, 2019
295
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 16.36 KB | None | 0 0
  1. This process collects information from your Pi-hole, and optionally uploads it to a unique and random directory on tricorder.pi-hole.net.
  2.  
  3. 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.
  4.  
  5. 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.
  6.  
  7. *** [ INITIALIZING ]
  8. [i] 2019-09-19:23:50:30 debug log has been initialized.
  9.  
  10. *** [ INITIALIZING ] Sourcing setup variables
  11. [i] Sourcing /etc/pihole/setupVars.conf...
  12.  
  13. *** [ DIAGNOSING ]: Core version
  14. [i] Core: v4.3.1 (https://discourse.pi-hole.net/t/how-do-i-update-pi-hole/249)
  15. [i] Branch: master
  16. [i] Commit: v4.3.1-0-g1a741f6
  17.  
  18. *** [ DIAGNOSING ]: Web version
  19. [i] Web: v4.3 (https://discourse.pi-hole.net/t/how-do-i-update-pi-hole/249)
  20. [i] Branch: master
  21. [i] Commit: v4.3-0-g44aff727
  22.  
  23. *** [ DIAGNOSING ]: FTL version
  24. [✓] FTL: v4.3.1
  25.  
  26. *** [ DIAGNOSING ]: lighttpd version
  27. [i] 1.4.45
  28.  
  29. *** [ DIAGNOSING ]: php version
  30. [i] 7.0.33
  31.  
  32. *** [ DIAGNOSING ]: Operating system
  33. [✓] Debian GNU/Linux 9 (stretch)
  34.  
  35. *** [ DIAGNOSING ]: SELinux
  36. [i] SELinux not detected
  37.  
  38. *** [ DIAGNOSING ]: Processor
  39. [i] x86_64
  40.  
  41. *** [ DIAGNOSING ]: Networking
  42. [✓] IPv4 address(es) bound to the eth0 interface:
  43. 172.16.0.7/16 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)
  44.  
  45. [✗] No IPv6 address(es) found on the eth0 interface.
  46.  
  47. [i] Default IPv4 gateway: 172.16.0.1
  48. * Pinging 172.16.0.1...
  49. [✓] Gateway responded.
  50.  
  51. *** [ DIAGNOSING ]: Ports in use
  52. [*:80] is in use by lighttpd
  53. [*:53] is in use by pihole-FTL
  54. [127.0.0.1:4711] is in use by pihole-FTL
  55.  
  56. *** [ DIAGNOSING ]: Name resolution (IPv4) using a random blocked domain and a known ad-serving domain
  57. [✓] baolina-kitra.com is 0.0.0.0 via localhost (127.0.0.1)
  58. [✓] baolina-kitra.com is 0.0.0.0 via Pi-hole (0.0.0.0)
  59. [✗] Failed to resolve doubleclick.com via a remote, public DNS server (8.8.8.8)
  60.  
  61. *** [ DIAGNOSING ]: Pi-hole processes
  62. [✗] lighttpd daemon is inactive
  63. [✗] pihole-FTL daemon is inactive
  64.  
  65. *** [ DIAGNOSING ]: Setup variables
  66. BLOCKING_ENABLED=true
  67. DNSMASQ_LISTENING=all
  68. PIHOLE_DNS_1=192.168.2.6#53
  69. PIHOLE_DNS_2=192.168.2.5#53
  70. DNS_FQDN_REQUIRED=false
  71. DNS_BOGUS_PRIV=false
  72. DNSSEC=false
  73. CONDITIONAL_FORWARDING=false
  74. QUERY_LOGGING=true
  75. INSTALL_WEB_SERVER=true
  76. INSTALL_WEB_INTERFACE=true
  77. LIGHTTPD_ENABLED=true
  78. IPV4_ADDRESS=0.0.0.0
  79. IPV6_ADDRESS=
  80. PIHOLE_INTERFACE=eth0
  81.  
  82. *** [ DIAGNOSING ]: Dashboard and block page
  83. [✓] Block page X-Header: X-Pi-hole: A black hole for Internet advertisements.
  84. [✓] Web interface X-Header: X-Pi-hole: The Pi-hole Web interface is working!
  85.  
  86. *** [ DIAGNOSING ]: Gravity list
  87. -rw-r--r-- 1 root root 2704225 Sep 19 23:49 /etc/pihole/gravity.list
  88. -----head of gravity.list------
  89. 0.0.0.0
  90. 0.nextyourcontent.com
  91. 0.r.msn.com
  92. 0.start.bz
  93.  
  94. -----tail of gravity.list------
  95. zzz.clickbank.net
  96. zzzezeroe.fr
  97. zzzpooeaz-france.com
  98. zzzrtrcm2.com
  99.  
  100. *** [ DIAGNOSING ]: contents of /etc/pihole
  101.  
  102. -rw-r--r-- 1 root root 381 Sep 19 10:33 /etc/pihole/adlists.list
  103. https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts
  104. https://mirror1.malwaredomains.com/files/justdomains
  105. http://sysctl.org/cameleon/hosts
  106. https://zeustracker.abuse.ch/blocklist.php?download=domainblocklist
  107. https://s3.amazonaws.com/lists.disconnect.me/simple_tracking.txt
  108. https://s3.amazonaws.com/lists.disconnect.me/simple_ad.txt
  109. https://hosts-file.net/ad_servers.txt
  110.  
  111. -rw-r--r-- 1 root root 37 Sep 19 23:49 /etc/pihole/local.list
  112. 0.0.0.0 f4c34a5d59a4
  113. 0.0.0.0 pi.hole
  114.  
  115. -rw-r--r-- 1 root root 234 Jul 2 01:46 /etc/pihole/logrotate
  116. /var/log/pihole.log {
  117. su root root
  118. daily
  119. copytruncate
  120. rotate 5
  121. compress
  122. delaycompress
  123. notifempty
  124. nomail
  125. }
  126. /var/log/pihole-FTL.log {
  127. su root root
  128. weekly
  129. copytruncate
  130. rotate 3
  131. compress
  132. delaycompress
  133. notifempty
  134. nomail
  135. }
  136.  
  137. *** [ DIAGNOSING ]: contents of /etc/dnsmasq.d
  138.  
  139. -rw-r--r-- 1 root root 1614 Sep 19 23:49 /etc/dnsmasq.d/01-pihole.conf
  140. addn-hosts=/etc/pihole/gravity.list
  141. addn-hosts=/etc/pihole/black.list
  142. addn-hosts=/etc/pihole/local.list
  143. localise-queries
  144. no-resolv
  145. cache-size=10000
  146. log-queries
  147. log-facility=/var/log/pihole.log
  148. local-ttl=2
  149. log-async
  150. dhcp-name-match=set:wpad-ignore,wpad
  151. dhcp-ignore-names=tag:wpad-ignore
  152. server=192.168.2.6
  153. server=192.168.2.5
  154. except-interface=nonexisting
  155.  
  156. *** [ DIAGNOSING ]: contents of /etc/lighttpd
  157.  
  158. -rw-r--r-- 1 root root 3498 Sep 19 23:49 /etc/lighttpd/lighttpd.conf
  159. server.modules = (
  160. "mod_access",
  161. "mod_accesslog",
  162. "mod_auth",
  163. "mod_expire",
  164. "mod_compress",
  165. "mod_redirect",
  166. "mod_setenv",
  167. "mod_rewrite"
  168. )
  169. server.document-root = "/var/www/html"
  170. server.error-handler-404 = "pihole/index.php"
  171. server.upload-dirs = ( "/var/cache/lighttpd/uploads" )
  172. server.errorlog = "/var/log/lighttpd/error.log"
  173. server.pid-file = "/var/run/lighttpd.pid"
  174. server.username = "www-data"
  175. server.groupname = "www-data"
  176. server.port = 80
  177. accesslog.filename = "/var/log/lighttpd/access.log"
  178. accesslog.format = "%{%s}t|%V|%r|%s|%b"
  179. index-file.names = ( "index.php", "index.html", "index.lighttpd.html" )
  180. url.access-deny = ( "~", ".inc", ".md", ".yml", ".ini" )
  181. static-file.exclude-extensions = ( ".php", ".pl", ".fcgi" )
  182. compress.cache-dir = "/var/cache/lighttpd/compress/"
  183. compress.filetype = ( "application/javascript", "text/css", "text/html", "text/plain" )
  184. mimetype.assign = ( ".png" => "image/png",
  185. ".jpg" => "image/jpeg",
  186. ".jpeg" => "image/jpeg",
  187. ".html" => "text/html",
  188. ".css" => "text/css; charset=utf-8",
  189. ".js" => "application/javascript",
  190. ".json" => "application/json",
  191. ".txt" => "text/plain",
  192. ".svg" => "image/svg+xml" )
  193. include_shell "/usr/share/lighttpd/use-ipv6.pl " + server.port
  194. include_shell "find /etc/lighttpd/conf-enabled -name '*.conf' -a ! -name 'letsencrypt.conf' -printf 'include \"%p\"
  195. ' 2>/dev/null"
  196. $HTTP["url"] =~ "^/admin/" {
  197.  
  198. setenv.add-response-header = (
  199. "X-Pi-hole" => "The Pi-hole Web interface is working!",
  200. "X-Frame-Options" => "DENY"
  201. )
  202. $HTTP["url"] =~ ".ttf$" {
  203.  
  204. setenv.add-response-header = ( "Access-Control-Allow-Origin" => "*" )
  205. }
  206. }
  207. $HTTP["url"] =~ "^/admin/\.(.*)" {
  208. url.access-deny = ("")
  209. }
  210. include_shell "cat external.conf 2>/dev/null"
  211.  
  212. *** [ DIAGNOSING ]: contents of /etc/cron.d
  213.  
  214. -rw-r--r-- 1 root root 1704 Jul 2 01:46 /etc/cron.d/pihole
  215. 42 4 * * 7 root PATH="$PATH:/usr/local/bin/" pihole updateGravity >/var/log/pihole_updateGravity.log || cat /var/log/pihole_updateGravity.log
  216. 00 00 * * * root PATH="$PATH:/usr/local/bin/" pihole flush once quiet
  217. @reboot root /usr/sbin/logrotate /etc/pihole/logrotate
  218. */10 * * * * root PATH="$PATH:/usr/local/bin/" pihole updatechecker local
  219. 53 12 * * * root PATH="$PATH:/usr/local/bin/" pihole updatechecker remote
  220. @reboot root PATH="$PATH:/usr/local/bin/" pihole updatechecker remote reboot
  221.  
  222. *** [ DIAGNOSING ]: contents of /var/log/lighttpd
  223.  
  224. -rw-r--r-- 1 www-data www-data 98 Sep 19 23:50 /var/log/lighttpd/error.log
  225. 2019-09-19 12:33:52: (log.c.217) server started
  226. 2019-09-20 01:50:00: (log.c.217) server started
  227.  
  228. *** [ DIAGNOSING ]: contents of /var/log
  229.  
  230. -rw-r--r-- 1 root root 24164 Sep 19 23:50 /var/log/pihole-FTL.log
  231. -----head of pihole-FTL.log------
  232. [2019-09-19 12:33:32.525 583] Using log file /var/log/pihole-FTL.log
  233. [2019-09-19 12:33:32.525 583] ########## FTL started! ##########
  234. [2019-09-19 12:33:32.525 583] FTL branch: master
  235. [2019-09-19 12:33:32.525 583] FTL version: v4.3.1
  236. [2019-09-19 12:33:32.525 583] FTL commit: b60d63f
  237. [2019-09-19 12:33:32.525 583] FTL date: 2019-05-25 21:37:26 +0200
  238. [2019-09-19 12:33:32.525 583] FTL user: root
  239. [2019-09-19 12:33:32.525 583] Starting config file parsing (/etc/pihole/pihole-FTL.conf)
  240. [2019-09-19 12:33:32.525 583] SOCKET_LISTENING: only local
  241. [2019-09-19 12:33:32.525 583] AAAA_QUERY_ANALYSIS: Show AAAA queries
  242. [2019-09-19 12:33:32.525 583] MAXDBDAYS: max age for stored queries is 365 days
  243. [2019-09-19 12:33:32.525 583] RESOLVE_IPV6: Resolve IPv6 addresses
  244. [2019-09-19 12:33:32.525 583] RESOLVE_IPV4: Resolve IPv4 addresses
  245. [2019-09-19 12:33:32.525 583] DBINTERVAL: saving to DB file every minute
  246. [2019-09-19 12:33:32.526 583] DBFILE: Using /etc/pihole/pihole-FTL.db
  247. [2019-09-19 12:33:32.526 583] MAXLOGAGE: Importing up to 24.0 hours of log data
  248. [2019-09-19 12:33:32.526 583] PRIVACYLEVEL: Set to 0
  249. [2019-09-19 12:33:32.526 583] IGNORE_LOCALHOST: Show queries from localhost
  250. [2019-09-19 12:33:32.526 583] BLOCKINGMODE: Null IPs for blocked domains
  251. [2019-09-19 12:33:32.526 583] ANALYZE_ONLY_A_AND_AAAA: Disabled. Analyzing all queries
  252. [2019-09-19 12:33:32.526 583] DBIMPORT: Importing history from database
  253. [2019-09-19 12:33:32.526 583] PIDFILE: Using /var/run/pihole-FTL.pid
  254. [2019-09-19 12:33:32.526 583] PORTFILE: Using /var/run/pihole-FTL.port
  255. [2019-09-19 12:33:32.526 583] SOCKETFILE: Using /var/run/pihole/FTL.sock
  256. [2019-09-19 12:33:32.526 583] WHITELISTFILE: Using /etc/pihole/whitelist.txt
  257. [2019-09-19 12:33:32.526 583] BLACKLISTFILE: Using /etc/pihole/black.list
  258. [2019-09-19 12:33:32.526 583] GRAVITYFILE: Using /etc/pihole/gravity.list
  259. [2019-09-19 12:33:32.526 583] REGEXLISTFILE: Using /etc/pihole/regex.list
  260. [2019-09-19 12:33:32.526 583] SETUPVARSFILE: Using /etc/pihole/setupVars.conf
  261. [2019-09-19 12:33:32.526 583] AUDITLISTFILE: Using /etc/pihole/auditlog.list
  262. [2019-09-19 12:33:32.526 583] MACVENDORDB: Using /etc/pihole/macvendor.db
  263. [2019-09-19 12:33:32.526 583] PARSE_ARP_CACHE: Active
  264. [2019-09-19 12:33:32.526 583] Finished config file parsing
  265. [2019-09-19 12:33:32.527 583] WARNING: Starting pihole-FTL as user root is not recommended
  266. [2019-09-19 12:33:32.539 583] SQLite3 message: cannot open file at line 38452 of [0eca3dd3d3] (14)
  267.  
  268. -----tail of pihole-FTL.log------
  269. [2019-09-20 01:50:00.026 790] PIDFILE: Using /var/run/pihole-FTL.pid
  270. [2019-09-20 01:50:00.026 790] PORTFILE: Using /var/run/pihole-FTL.port
  271. [2019-09-20 01:50:00.026 790] SOCKETFILE: Using /var/run/pihole/FTL.sock
  272. [2019-09-20 01:50:00.026 790] WHITELISTFILE: Using /etc/pihole/whitelist.txt
  273. [2019-09-20 01:50:00.026 790] BLACKLISTFILE: Using /etc/pihole/black.list
  274. [2019-09-20 01:50:00.026 790] GRAVITYFILE: Using /etc/pihole/gravity.list
  275. [2019-09-20 01:50:00.026 790] REGEXLISTFILE: Using /etc/pihole/regex.list
  276. [2019-09-20 01:50:00.026 790] SETUPVARSFILE: Using /etc/pihole/setupVars.conf
  277. [2019-09-20 01:50:00.026 790] AUDITLISTFILE: Using /etc/pihole/auditlog.list
  278. [2019-09-20 01:50:00.026 790] MACVENDORDB: Using /etc/pihole/macvendor.db
  279. [2019-09-20 01:50:00.026 790] PARSE_ARP_CACHE: Active
  280. [2019-09-20 01:50:00.027 790] Finished config file parsing
  281. [2019-09-20 01:50:00.027 790] WARNING: Starting pihole-FTL as user root is not recommended
  282. [2019-09-20 01:50:00.028 790] Database version is 3
  283. [2019-09-20 01:50:00.028 790] Database successfully initialized
  284. [2019-09-20 01:50:00.028 790] New forward server: 192.168.2.5 (0/512)
  285. [2019-09-20 01:50:00.028 790] New forward server: 192.168.2.6 (1/512)
  286. [2019-09-20 01:50:00.029 790] Imported 66 queries from the long-term database
  287. [2019-09-20 01:50:00.029 790] -> Total DNS queries: 66
  288. [2019-09-20 01:50:00.029 790] -> Cached DNS queries: 23
  289. [2019-09-20 01:50:00.029 790] -> Forwarded DNS queries: 38
  290. [2019-09-20 01:50:00.029 790] -> Exactly blocked DNS queries: 5
  291. [2019-09-20 01:50:00.029 790] -> Unknown DNS queries: 0
  292. [2019-09-20 01:50:00.029 790] -> Unique domains: 11
  293. [2019-09-20 01:50:00.029 790] -> Unique clients: 1
  294. [2019-09-20 01:50:00.029 790] -> Known forward destinations: 2
  295. [2019-09-20 01:50:00.029 790] Successfully accessed setupVars.conf
  296. [2019-09-20 01:50:01.425 790] PID of FTL process: 790
  297. [2019-09-20 01:50:01.425 790] Listening on port 4711 for incoming IPv4 telnet connections
  298. [2019-09-20 01:50:01.426 790] Listening on Unix socket
  299. [2019-09-20 01:50:01.427 790] Received SIGHUP, reloading cache
  300. [2019-09-20 01:50:01.427 790] Blocking status is enabled
  301. [2019-09-20 01:50:01.427 790] INFO: No whitelist file found
  302. [2019-09-20 01:50:01.427 790] Compiled 0 Regex filters and 0 whitelisted domains in 0.1 msec (0 errors)
  303. [2019-09-20 01:50:02.049 790] /etc/pihole/gravity.list: parsed 115995 domains (took 621.4 ms)
  304.  
  305. *** [ DIAGNOSING ]: contents of /dev/shm
  306. -rw------- 1 root root 331776 Sep 19 23:50 /dev/shm/FTL-clients
  307. -rw------- 1 root root 108 Sep 19 23:50 /dev/shm/FTL-counters
  308. -rw------- 1 root root 98304 Sep 19 23:50 /dev/shm/FTL-domains
  309. -rw------- 1 root root 20480 Sep 19 23:50 /dev/shm/FTL-forwarded
  310. -rw------- 1 root root 48 Sep 19 23:50 /dev/shm/FTL-lock
  311. -rw------- 1 root root 12288 Sep 19 23:50 /dev/shm/FTL-overTime
  312. -rw------- 1 root root 229376 Sep 19 23:50 /dev/shm/FTL-queries
  313. -rw------- 1 root root 12 Sep 19 23:50 /dev/shm/FTL-settings
  314. -rw------- 1 root root 4096 Sep 19 23:50 /dev/shm/FTL-strings
  315.  
  316. *** [ DIAGNOSING ]: Locale
  317. LANG=
  318.  
  319. *** [ DIAGNOSING ]: Pi-hole log
  320. -rw-r--r-- 1 pihole pihole 10684 Sep 19 23:50 /var/log/pihole.log
  321. -----head of pihole.log------
  322.  
  323. Sep 20 01:00:00 dnsmasq[1252]: query[PTR] 5.2.168.192.in-addr.arpa from 127.0.0.1
  324. Sep 20 01:00:00 dnsmasq[1252]: forwarded 5.2.168.192.in-addr.arpa to 192.168.2.5
  325. Sep 20 01:00:00 dnsmasq[1252]: forwarded 5.2.168.192.in-addr.arpa to 192.168.2.6
  326. Sep 20 01:00:00 dnsmasq[1252]: reply 192.168.2.5 is naboo.alderaan.local
  327. Sep 20 01:00:00 dnsmasq[1252]: query[PTR] 6.2.168.192.in-addr.arpa from 127.0.0.1
  328. Sep 20 01:00:00 dnsmasq[1252]: forwarded 6.2.168.192.in-addr.arpa to 192.168.2.5
  329. Sep 20 01:00:00 dnsmasq[1252]: reply 192.168.2.6 is yavin.alderaan.local
  330. Sep 20 01:21:37 dnsmasq[1252]: query[A] api.github.com from 127.0.0.1
  331. Sep 20 01:21:37 dnsmasq[1252]: forwarded api.github.com to 192.168.2.5
  332. Sep 20 01:21:37 dnsmasq[1252]: forwarded api.github.com to 192.168.2.6
  333. Sep 20 01:21:37 dnsmasq[1252]: reply api.github.com is 140.82.118.6
  334. Sep 20 01:21:37 dnsmasq[1252]: query[A] api.github.com from 127.0.0.1
  335. Sep 20 01:21:37 dnsmasq[1252]: cached api.github.com is 140.82.118.6
  336. Sep 20 01:21:37 dnsmasq[1252]: query[A] api.github.com from 127.0.0.1
  337. Sep 20 01:21:37 dnsmasq[1252]: cached api.github.com is 140.82.118.6
  338. Sep 20 01:21:38 dnsmasq[1252]: query[A] api.github.com from 127.0.0.1
  339. Sep 20 01:21:38 dnsmasq[1252]: cached api.github.com is 140.82.118.6
  340. Sep 20 01:21:38 dnsmasq[1252]: query[A] api.github.com from 127.0.0.1
  341. Sep 20 01:21:38 dnsmasq[1252]: cached api.github.com is 140.82.118.6
  342.  
  343.  
  344. ********************************************
  345. ********************************************
  346. [✓] ** FINISHED DEBUGGING! **
  347.  
  348. * The debug log can be uploaded to tricorder.pi-hole.net for sharing with developers only.
  349. * For more information, see: https://pi-hole.net/2016/11/07/crack-our-medical-tricorder-win-a-raspberry-pi-3/
  350. * If available, we'll use openssl to upload the log, otherwise it will fall back to netcat.
  351. [i] Debug script running in automated mode
  352. * Using curl for transmission.
  353. [✗] There was an error uploading your debug log.
  354. * Please try again or contact the Pi-hole team for assistance.
  355. * A local copy of the debug log can be found at: /var/log/pihole_debug.log
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement