Nimec

Pi Hole Debug Log

Jul 2nd, 2023
53
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 32.16 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] 2023-07-02:14:51:55 debug log has been initialized.
  9. [i] System has been running for 0 days, 0 hours, 7 minutes
  10.  
  11. *** [ INITIALIZING ] Sourcing setup variables
  12. [i] Sourcing /etc/pihole/setupVars.conf...
  13.  
  14. *** [ DIAGNOSING ]: Core version
  15. [✓] Version: v5.17.1
  16. [i] Remotes: origin https://github.com/pi-hole/pi-hole.git (fetch)
  17. origin https://github.com/pi-hole/pi-hole.git (push)
  18. [i] Branch: master
  19. [i] Commit: v5.17.1-0-g6a45c6a
  20.  
  21. *** [ DIAGNOSING ]: Web version
  22. [✓] Version: v5.20.1
  23. [i] Remotes: origin https://github.com/pi-hole/AdminLTE.git (fetch)
  24. origin https://github.com/pi-hole/AdminLTE.git (push)
  25. [i] Branch: master
  26. [i] Commit: v5.20.1-0-g3a11976
  27.  
  28. *** [ DIAGNOSING ]: FTL version
  29. [✓] Version: v5.23
  30. [i] Branch: master
  31. [i] Commit: d201776e
  32.  
  33. *** [ DIAGNOSING ]: lighttpd version
  34. [i] 1.4.59
  35.  
  36. *** [ DIAGNOSING ]: php version
  37. [i] 7.4.33
  38.  
  39. *** [ DIAGNOSING ]: Operating system
  40. [i] Distro: Raspbian
  41. [i] Version: 11
  42. [✗] dig return code: 10
  43. [✗] dig response: dig: couldn't get address for 'ns1.pi-hole.net': failure
  44. [✗] Error: dig command failed - Unable to check OS
  45.  
  46. *** [ DIAGNOSING ]: SELinux
  47. [i] SELinux not detected
  48.  
  49. *** [ DIAGNOSING ]: FirewallD
  50. [i] Firewalld service inactive
  51.  
  52. *** [ DIAGNOSING ]: Processor
  53. [✓] armv7l
  54.  
  55. *** [ DIAGNOSING ]: Disk usage
  56. Filesystem Size Used Avail Use% Mounted on
  57. /dev/root 118G 3.4G 109G 3% /
  58. devtmpfs 333M 0 333M 0% /dev
  59. tmpfs 461M 2.1M 459M 1% /dev/shm
  60. tmpfs 185M 1.1M 184M 1% /run
  61. tmpfs 5.0M 4.0K 5.0M 1% /run/lock
  62. /dev/mmcblk0p1 255M 51M 205M 20% /boot
  63. tmpfs 93M 20K 93M 1% /run/user/1000
  64.  
  65. *** [ DIAGNOSING ]: Network interfaces and addresses
  66. 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
  67. link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
  68. inet 127.0.0.1/8 scope host lo
  69. valid_lft forever preferred_lft forever
  70. inet6 ::1/128 scope host
  71. valid_lft forever preferred_lft forever
  72. 2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
  73. link/ether b8:27:eb:49:85:f0 brd ff:ff:ff:ff:ff:ff
  74. inet 192.168.2.77/24 brd 192.168.2.255 scope global noprefixroute eth0
  75. valid_lft forever preferred_lft forever
  76. inet6 fe80::676c:2a9c:40de:c781/64 scope link
  77. valid_lft forever preferred_lft forever
  78. 3: wlan0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast state DOWN group default qlen 1000
  79. link/ether b8:27:eb:1c:d0:a5 brd ff:ff:ff:ff:ff:ff
  80.  
  81. *** [ DIAGNOSING ]: Network routing table
  82. default via 192.168.2.1 dev eth0 src 192.168.2.77 metric 202
  83. 192.168.2.0/24 dev eth0 proto dhcp scope link src 192.168.2.77 metric 202
  84.  
  85. *** [ DIAGNOSING ]: Networking
  86. [✓] IPv4 address(es) bound to the eth0 interface:
  87. 192.168.2.77/24
  88.  
  89. [✓] IPv6 address(es) bound to the eth0 interface:
  90. fe80::676c:2a9c:40de:c781/64
  91.  
  92. [i] Default IPv4 gateway(s):
  93. 192.168.2.1
  94. * Pinging first gateway 192.168.2.1...
  95. [✗] Gateway did not respond. (https://discourse.pi-hole.net/t/why-is-a-default-gateway-important-for-pi-hole/3546)
  96.  
  97. [i] Default IPv6 gateway(s):
  98.  
  99. *** [ DIAGNOSING ]: Ports in use
  100. udp:0.0.0.0:35205 is in use by pihole-FTL
  101. udp:0.0.0.0:42379 is in use by pihole-FTL
  102. udp:0.0.0.0:40332 is in use by pihole-FTL
  103. udp:0.0.0.0:54669 is in use by pihole-FTL
  104. udp:0.0.0.0:52110 is in use by pihole-FTL
  105. udp:0.0.0.0:43929 is in use by pihole-FTL
  106. udp:0.0.0.0:45480 is in use by pihole-FTL
  107. udp:0.0.0.0:36278 is in use by pihole-FTL
  108. udp:0.0.0.0:54717 is in use by pihole-FTL
  109. udp:0.0.0.0:56280 is in use by pihole-FTL
  110. udp:0.0.0.0:48097 is in use by pihole-FTL
  111. udp:0.0.0.0:57839 is in use by pihole-FTL
  112. udp:0.0.0.0:47643 is in use by pihole-FTL
  113. [✓] udp:0.0.0.0:53 is in use by pihole-FTL
  114. udp:0.0.0.0:52800 is in use by pihole-FTL
  115. udp:0.0.0.0:56898 is in use by avahi-daemon
  116. udp:0.0.0.0:67 is in use by pihole-FTL
  117. udp:0.0.0.0:68 is in use by dhcpcd
  118. udp:0.0.0.0:44624 is in use by pihole-FTL
  119. udp:0.0.0.0:59479 is in use by pihole-FTL
  120. udp:0.0.0.0:37991 is in use by pihole-FTL
  121. udp:0.0.0.0:51306 is in use by pihole-FTL
  122. udp:0.0.0.0:631 is in use by cups-browsed
  123. udp:0.0.0.0:33414 is in use by pihole-FTL
  124. udp:0.0.0.0:57479 is in use by pihole-FTL
  125. udp:0.0.0.0:51848 is in use by pihole-FTL
  126. udp:0.0.0.0:44708 is in use by pihole-FTL
  127. udp:0.0.0.0:33451 is in use by pihole-FTL
  128. udp:0.0.0.0:33969 is in use by pihole-FTL
  129. udp:0.0.0.0:37582 is in use by pihole-FTL
  130. udp:0.0.0.0:39648 is in use by pihole-FTL
  131. udp:0.0.0.0:51430 is in use by pihole-FTL
  132. udp:0.0.0.0:5353 is in use by avahi-daemon
  133. udp:0.0.0.0:39679 is in use by pihole-FTL
  134. udp:0.0.0.0:39167 is in use by pihole-FTL
  135. udp:0.0.0.0:35584 is in use by pihole-FTL
  136. udp:0.0.0.0:35086 is in use by pihole-FTL
  137. udp:0.0.0.0:59708 is in use by pihole-FTL
  138. [✓] udp:*:53 is in use by pihole-FTL
  139. udp:*:5353 is in use by avahi-daemon
  140. udp:*:53021 is in use by avahi-daemon
  141. [✓] tcp:0.0.0.0:53 is in use by pihole-FTL
  142. tcp:127.0.0.1:631 is in use by cupsd
  143. [✓] tcp:127.0.0.1:4711 is in use by pihole-FTL
  144. [✓] tcp:0.0.0.0:80 is in use by lighttpd
  145. [✓] tcp:[::]:53 is in use by pihole-FTL
  146. tcp:[::1]:631 is in use by cupsd
  147. [✓] tcp:[::1]:4711 is in use by pihole-FTL
  148. [✓] tcp:[::]:80 is in use by lighttpd
  149.  
  150. *** [ DIAGNOSING ]: Name resolution (IPv4) using a random blocked domain and a known ad-serving domain
  151. [✓] kodsms-613510-aktualizacja.magdach.pl is 0.0.0.0 on lo (127.0.0.1)
  152. [✓] kodsms-613510-aktualizacja.magdach.pl is 0.0.0.0 on eth0 (192.168.2.77)
  153. [✓] No IPv4 address available on wlan0
  154. [✗] Failed to resolve doubleclick.com via a remote, public DNS server (8.8.8.8)
  155.  
  156. *** [ DIAGNOSING ]: Name resolution (IPv6) using a random blocked domain and a known ad-serving domain
  157. [✓] vinted-pl-gj32d.refpavib.top is :: on lo (::1)
  158. [✓] vinted-pl-gj32d.refpavib.top is :: on eth0 (fe80::676c:2a9c:40de:c781)
  159. [✓] No IPv6 address available on wlan0
  160. [✗] Failed to resolve doubleclick.com via a remote, public DNS server (2001:4860:4860::8888)
  161.  
  162. *** [ DIAGNOSING ]: Discovering active DHCP servers (takes 10 seconds)
  163. Scanning all your interfaces for DHCP servers
  164. Timeout: 10 seconds
  165.  
  166. * Received 300 bytes from eth0:192.168.2.77
  167. Offered IP address: 192.168.2.209
  168. Server IP address: 192.168.2.77
  169. Relay-agent IP address: N/A
  170. BOOTP server: (empty)
  171. BOOTP file: (empty)
  172. DHCP options:
  173. Message type: DHCPOFFER (2)
  174. server-identifier: 192.168.2.77
  175. lease-time: 86400 ( 1d )
  176. renewal-time: 43200 ( 12h )
  177. rebinding-time: 75600 ( 21h )
  178. netmask: 255.255.255.0
  179. broadcast: 192.168.2.255
  180. dns-server: 192.168.2.77
  181. domain-name: "lan"
  182. router: 192.168.2.1
  183. --- end of options ---
  184.  
  185. DHCP packets received on interface eth0: 1
  186.  
  187. *** [ DIAGNOSING ]: Pi-hole processes
  188. [✓] lighttpd daemon is active
  189. [✓] pihole-FTL daemon is active
  190.  
  191. *** [ DIAGNOSING ]: Pi-hole-FTL full status
  192. ● pihole-FTL.service - Pi-hole FTL
  193. Loaded: loaded (/etc/systemd/system/pihole-FTL.service; enabled; vendor preset: enabled)
  194. Active: active (running) since Sun 2023-07-02 14:49:31 ADT; 2min 54s ago
  195. Process: 3809 ExecStartPre=/opt/pihole/pihole-FTL-prestart.sh (code=exited, status=0/SUCCESS)
  196. Main PID: 3822 (pihole-FTL)
  197. Tasks: 20 (limit: 1595)
  198. CPU: 2.167s
  199. CGroup: /system.slice/pihole-FTL.service
  200. ├─3822 /usr/bin/pihole-FTL -f
  201. └─3880 /usr/bin/pihole-FTL -f
  202.  
  203. Jul 02 14:49:31 raspberrypi pihole-FTL[3822]: [2023-07-02 14:49:31.386 3822M] PIHOLE_PTR: internal PTR generation enabled (pi.hole)
  204. Jul 02 14:49:31 raspberrypi pihole-FTL[3822]: [2023-07-02 14:49:31.386 3822M] ADDR2LINE: Enabled
  205. Jul 02 14:49:31 raspberrypi pihole-FTL[3822]: [2023-07-02 14:49:31.386 3822M] REPLY_WHEN_BUSY: Drop queries when the database is busy
  206. Jul 02 14:49:31 raspberrypi pihole-FTL[3822]: [2023-07-02 14:49:31.387 3822M] BLOCK_TTL: 2 seconds
  207. Jul 02 14:49:31 raspberrypi pihole-FTL[3822]: [2023-07-02 14:49:31.387 3822M] BLOCK_ICLOUD_PR: Enabled
  208. Jul 02 14:49:31 raspberrypi pihole-FTL[3822]: [2023-07-02 14:49:31.387 3822M] CHECK_LOAD: Enabled
  209. Jul 02 14:49:31 raspberrypi pihole-FTL[3822]: [2023-07-02 14:49:31.387 3822M] CHECK_SHMEM: Warning if shared-memory usage exceeds 90%
  210. Jul 02 14:49:31 raspberrypi pihole-FTL[3822]: [2023-07-02 14:49:31.387 3822M] CHECK_DISK: Warning if certain disk usage exceeds 90%
  211. Jul 02 14:49:31 raspberrypi pihole-FTL[3822]: [2023-07-02 14:49:31.388 3822M] Finished config file parsing
  212. Jul 02 14:49:31 raspberrypi pihole-FTL[3822]: [2023-07-02 14:49:31
  213.  
  214. *** [ DIAGNOSING ]: Lighttpd configuration test
  215. [✓] No error in lighttpd configuration
  216.  
  217. *** [ DIAGNOSING ]: Setup variables
  218. PIHOLE_INTERFACE=eth0
  219. QUERY_LOGGING=false
  220. INSTALL_WEB_SERVER=true
  221. INSTALL_WEB_INTERFACE=true
  222. LIGHTTPD_ENABLED=true
  223. CACHE_SIZE=10000
  224. DNS_FQDN_REQUIRED=true
  225. DNS_BOGUS_PRIV=true
  226. DNSMASQ_LISTENING=local
  227. BLOCKING_ENABLED=true
  228. WEBUIBOXEDLAYOUT=boxed
  229. WEBTHEME=default-dark
  230. DHCP_ACTIVE=true
  231. DHCP_START=192.168.2.201
  232. DHCP_END=192.168.2.251
  233. DHCP_ROUTER=192.168.2.1
  234. DHCP_LEASETIME=24
  235. PIHOLE_DOMAIN=lan
  236. DHCP_IPv6=false
  237. DHCP_rapid_commit=false
  238. DNSSEC=false
  239. REV_SERVER=false
  240. PIHOLE_DNS_1=8.8.8.8
  241. PIHOLE_DNS_2=8.8.4.4
  242. PIHOLE_DNS_3=1.1.1.1
  243. PIHOLE_DNS_4=1.0.0.1
  244.  
  245. *** [ DIAGNOSING ]: Dashboard headers
  246. [✓] Web interface X-Header: X-Pi-hole: The Pi-hole Web interface is working!
  247.  
  248. *** [ DIAGNOSING ]: Pi-hole FTL Query Database
  249. -rw-rw-r-- 1 pihole pihole 916K Jul 2 14:52 /etc/pihole/pihole-FTL.db
  250.  
  251. *** [ DIAGNOSING ]: Gravity Database
  252. -rw-rw-r-- 1 pihole pihole 13M Jul 2 12:41 /etc/pihole/gravity.db
  253.  
  254. *** [ DIAGNOSING ]: Info table
  255. property value
  256. -------------------- ----------------------------------------
  257. version 15
  258. updated 1688312459
  259. gravity_count 197057
  260. Last gravity run finished at: Sun Jul 2 12:40:59 ADT 2023
  261.  
  262. ----- First 10 Gravity Domains -----
  263. localhost.localdomain
  264. ck.getcookiestxt.com
  265. eu1.clevertap-prod.com
  266. wizhumpgyros.com
  267. coccyxwickimp.com
  268. webmail-who-int.000webhostapp.com
  269. 010sec.com
  270. 01mspmd5yalky8.com
  271. 0byv9mgbn0.com
  272. ns6.0pendns.org
  273.  
  274.  
  275. *** [ DIAGNOSING ]: Groups
  276. id enabled name date_added date_modified description
  277. ---- ------- -------------------------------------------------- ------------------- ------------------- --------------------------------------------------
  278. 0 1 Default 2023-07-02 12:40:50 2023-07-02 12:40:50 The default group
  279.  
  280. *** [ DIAGNOSING ]: Domainlist (0/1 = exact white-/blacklist, 2/3 = regex white-/blacklist)
  281.  
  282. *** [ DIAGNOSING ]: Clients
  283.  
  284. *** [ DIAGNOSING ]: Adlists
  285. id enabled group_ids address date_added date_modified comment
  286. ----- ------- ------------ ---------------------------------------------------------------------------------------------------- ------------------- ------------------- --------------------------------------------------
  287. 1 1 0 https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts 2023-07-02 12:40:50 2023-07-02 12:40:50 Migrated from /etc/pihole/adlists.list
  288.  
  289. *** [ DIAGNOSING ]: contents of /etc/pihole
  290.  
  291. -rw-r--r-- 1 root root 0 Jul 2 12:40 /etc/pihole/custom.list
  292.  
  293. -rw-r--r-- 1 root root 65 Jul 2 12:40 /etc/pihole/local.list
  294.  
  295. -rw-r--r-- 1 root root 241 Jul 2 12:40 /etc/pihole/logrotate
  296. /var/log/pihole/pihole.log {
  297. su root root
  298. daily
  299. copytruncate
  300. rotate 5
  301. compress
  302. delaycompress
  303. notifempty
  304. nomail
  305. }
  306. /var/log/pihole/FTL.log {
  307. su root root
  308. weekly
  309. copytruncate
  310. rotate 3
  311. compress
  312. delaycompress
  313. notifempty
  314. nomail
  315. }
  316.  
  317. -rw-rw-r-- 1 pihole root 146 Jul 2 14:00 /etc/pihole/pihole-FTL.conf
  318. PRIVACYLEVEL=0
  319. RATE_LIMIT=1000/60
  320.  
  321. -rw-r--r-- 1 root root 282 Jul 2 14:46 /etc/pihole/versions
  322. CORE_VERSION=v5.17.1
  323. CORE_BRANCH=master
  324. CORE_HASH=6a45c6a8
  325. GITHUB_CORE_VERSION=
  326. GITHUB_CORE_HASH=
  327. WEB_VERSION=v5.20.1
  328. WEB_BRANCH=master
  329. WEB_HASH=3a11976e
  330. GITHUB_WEB_VERSION=
  331. GITHUB_WEB_HASH=
  332. FTL_VERSION=v5.23
  333. FTL_BRANCH=master
  334. FTL_HASH=d201776e
  335. GITHUB_FTL_VERSION=
  336. GITHUB_FTL_HASH=
  337.  
  338. *** [ DIAGNOSING ]: contents of /etc/dnsmasq.d
  339.  
  340. -rw-r--r-- 1 root root 1.5K Jul 2 14:49 /etc/dnsmasq.d/01-pihole.conf
  341. addn-hosts=/etc/pihole/local.list
  342. addn-hosts=/etc/pihole/custom.list
  343. localise-queries
  344. no-resolv
  345. log-facility=/var/log/pihole/pihole.log
  346. log-async
  347. cache-size=10000
  348. server=8.8.8.8
  349. server=8.8.4.4
  350. server=1.1.1.1
  351. server=1.0.0.1
  352. domain-needed
  353. expand-hosts
  354. bogus-priv
  355. local-service
  356. dhcp-name-match=set:hostname-ignore,wpad
  357. dhcp-name-match=set:hostname-ignore,localhost
  358. dhcp-ignore-names=tag:hostname-ignore
  359.  
  360. -rw-r--r-- 1 root root 495 Jul 2 14:49 /etc/dnsmasq.d/02-pihole-dhcp.conf
  361. dhcp-authoritative
  362. dhcp-range=192.168.2.201,192.168.2.251,24h
  363. dhcp-option=option:router,192.168.2.1
  364. dhcp-leasefile=/etc/pihole/dhcp.leases
  365. domain=lan
  366. local=/lan/
  367.  
  368. -rw-r--r-- 1 root root 2.2K Jul 2 12:40 /etc/dnsmasq.d/06-rfc6761.conf
  369. server=/test/
  370. server=/localhost/
  371. server=/invalid/
  372. server=/bind/
  373. server=/onion/
  374.  
  375. *** [ DIAGNOSING ]: contents of /etc/lighttpd
  376.  
  377. -rw-r--r-- 1 root root 2.2K Jan 19 2022 /etc/lighttpd/lighttpd.conf
  378. server.modules = (
  379. "mod_indexfile",
  380. "mod_access",
  381. "mod_alias",
  382. "mod_redirect",
  383. )
  384. server.document-root = "/var/www/html"
  385. server.upload-dirs = ( "/var/cache/lighttpd/uploads" )
  386. server.errorlog = "/var/log/lighttpd/error.log"
  387. server.pid-file = "/run/lighttpd.pid"
  388. server.username = "www-data"
  389. server.groupname = "www-data"
  390. server.port = 80
  391. server.feature-flags += ("server.h2proto" => "enable")
  392. server.feature-flags += ("server.h2c" => "enable")
  393. server.feature-flags += ("server.graceful-shutdown-timeout" => 5)
  394. server.http-parseopts = (
  395. "header-strict" => "enable",# default
  396. "host-strict" => "enable",# default
  397. "host-normalize" => "enable",# default
  398. "url-normalize-unreserved"=> "enable",# recommended highly
  399. "url-normalize-required" => "enable",# recommended
  400. "url-ctrls-reject" => "enable",# recommended
  401. "url-path-2f-decode" => "enable",# recommended highly (unless breaks app)
  402. "url-path-dotseg-remove" => "enable",# recommended highly (unless breaks app)
  403. )
  404. index-file.names = ( "index.php", "index.html" )
  405. url.access-deny = ( "~", ".inc" )
  406. static-file.exclude-extensions = ( ".php", ".pl", ".fcgi" )
  407. include_shell "/usr/share/lighttpd/use-ipv6.pl " + server.port
  408. include_shell "/usr/share/lighttpd/create-mime.conf.pl"
  409. include "/etc/lighttpd/conf-enabled/*.conf"
  410. server.modules += (
  411. "mod_dirlisting",
  412. "mod_staticfile",
  413. )
  414.  
  415. *** [ DIAGNOSING ]: contents of /etc/lighttpd/conf.d
  416. /etc/lighttpd/conf.d does not exist.
  417.  
  418. *** [ DIAGNOSING ]: contents of /etc/lighttpd/conf-enabled
  419. total 0
  420. lrwxrwxrwx 1 root root 32 Jul 2 12:40 05-setenv.conf -> ../conf-available/05-setenv.conf
  421. lrwxrwxrwx 1 root root 35 Jul 2 12:40 10-accesslog.conf -> ../conf-available/10-accesslog.conf
  422. lrwxrwxrwx 1 root root 33 Jul 2 12:40 10-fastcgi.conf -> ../conf-available/10-fastcgi.conf
  423. lrwxrwxrwx 1 root root 38 Jul 2 12:40 15-pihole-admin.conf -> ../conf-available/15-pihole-admin.conf
  424. lrwxrwxrwx 1 root root 42 May 2 21:14 90-javascript-alias.conf -> ../conf-available/90-javascript-alias.conf
  425.  
  426. lrwxrwxrwx 1 root root 38 Jul 2 12:40 /etc/lighttpd/conf-enabled/15-pihole-admin.conf -> ../conf-available/15-pihole-admin.conf
  427. server.errorlog := "/var/log/lighttpd/error-pihole.log"
  428. $HTTP["url"] =~ "^/admin/" {
  429. server.document-root = "/var/www/html"
  430. server.stream-response-body = 1
  431. accesslog.filename = "/var/log/lighttpd/access-pihole.log"
  432. accesslog.format = "%{%s}t|%h|%V|%r|%s|%b"
  433. fastcgi.server = (
  434. ".php" => (
  435. "localhost" => (
  436. "socket" => "/run/lighttpd/pihole-php-fastcgi.socket",
  437. "bin-path" => "/usr/bin/php-cgi",
  438. "min-procs" => 1,
  439. "max-procs" => 1,
  440. "bin-environment" => (
  441. "PHP_FCGI_CHILDREN" => "4",
  442. "PHP_FCGI_MAX_REQUESTS" => "10000",
  443. ),
  444. "bin-copy-environment" => (
  445. "PATH", "SHELL", "USER"
  446. ),
  447. "broken-scriptfilename" => "enable",
  448. )
  449. )
  450. )
  451. setenv.add-response-header = (
  452. "X-Pi-hole" => "The Pi-hole Web interface is working!",
  453. "X-Frame-Options" => "DENY",
  454. "X-XSS-Protection" => "0",
  455. "X-Content-Type-Options" => "nosniff",
  456. "Content-Security-Policy" => "default-src 'self' 'unsafe-inline';",
  457. "X-Permitted-Cross-Domain-Policies" => "none",
  458. "Referrer-Policy" => "same-origin"
  459. )
  460. $HTTP["url"] =~ "^/admin/\." {
  461. url.access-deny = ("")
  462. }
  463. $HTTP["url"] =~ "/(teleporter|api_token)\.php$" {
  464. $HTTP["referer"] =~ "/admin/settings\.php" {
  465. setenv.set-response-header = ( "X-Frame-Options" => "SAMEORIGIN" )
  466. }
  467. }
  468. }
  469. else $HTTP["url"] == "/admin" {
  470. url.redirect = ("" => "/admin/")
  471. }
  472. $HTTP["host"] == "pi.hole" {
  473. $HTTP["url"] == "/" {
  474. url.redirect = ("" => "/admin/")
  475. }
  476. }
  477. server.modules += ( "mod_access", "mod_accesslog", "mod_redirect", "mod_fastcgi", "mod_setenv" )
  478.  
  479. *** [ DIAGNOSING ]: contents of /etc/cron.d
  480.  
  481. -rw-r--r-- 1 root root 1.7K Jul 2 12:40 /etc/cron.d/pihole
  482. 19 3 * * 7 root PATH="$PATH:/usr/sbin:/usr/local/bin/" pihole updateGravity >/var/log/pihole/pihole_updateGravity.log || cat /var/log/pihole/pihole_updateGravity.log
  483. 00 00 * * * root PATH="$PATH:/usr/sbin:/usr/local/bin/" pihole flush once quiet
  484. @reboot root /usr/sbin/logrotate --state /var/lib/logrotate/pihole /etc/pihole/logrotate
  485. 35 15 * * * root PATH="$PATH:/usr/sbin:/usr/local/bin/" pihole updatechecker
  486. @reboot root PATH="$PATH:/usr/sbin:/usr/local/bin/" pihole updatechecker reboot
  487.  
  488. *** [ DIAGNOSING ]: contents of /var/log/lighttpd
  489.  
  490. -rw-r--r-- 1 www-data www-data 625 Jul 2 14:44 /var/log/lighttpd/error-pihole.log
  491. -----head of error-pihole.log------
  492. 2023-07-02 12:40:45: server.c.1513) server started (lighttpd/1.4.59)
  493. 2023-07-02 13:53:44: server.c.1976) server stopped by UID = 0 PID = 1
  494. 2023-07-02 13:54:00: server.c.1513) server started (lighttpd/1.4.59)
  495. 2023-07-02 14:08:03: server.c.1976) server stopped by UID = 0 PID = 1
  496. 2023-07-02 14:08:15: server.c.1513) server started (lighttpd/1.4.59)
  497. 2023-07-02 14:40:05: server.c.1976) server stopped by UID = 0 PID = 1
  498. 2023-07-02 14:40:16: server.c.1513) server started (lighttpd/1.4.59)
  499. 2023-07-02 14:44:39: server.c.1976) server stopped by UID = 0 PID = 1
  500. 2023-07-02 14:44:52: server.c.1513) server started (lighttpd/1.4.59)
  501.  
  502. -----tail of error-pihole.log------
  503. 2023-07-02 12:40:45: server.c.1513) server started (lighttpd/1.4.59)
  504. 2023-07-02 13:53:44: server.c.1976) server stopped by UID = 0 PID = 1
  505. 2023-07-02 13:54:00: server.c.1513) server started (lighttpd/1.4.59)
  506. 2023-07-02 14:08:03: server.c.1976) server stopped by UID = 0 PID = 1
  507. 2023-07-02 14:08:15: server.c.1513) server started (lighttpd/1.4.59)
  508. 2023-07-02 14:40:05: server.c.1976) server stopped by UID = 0 PID = 1
  509. 2023-07-02 14:40:16: server.c.1513) server started (lighttpd/1.4.59)
  510. 2023-07-02 14:44:39: server.c.1976) server stopped by UID = 0 PID = 1
  511. 2023-07-02 14:44:52: server.c.1513) server started (lighttpd/1.4.59)
  512.  
  513. *** [ DIAGNOSING ]: contents of /var/log/pihole
  514.  
  515. -rw-r--r-- 1 pihole pihole 148K Jul 2 14:49 /var/log/pihole/FTL.log
  516. -----head of FTL.log------
  517. [2023-07-02 12:40:50.373 12427M] Using log file /var/log/pihole/FTL.log
  518. [2023-07-02 12:40:50.373 12427M] ########## FTL started on raspberrypi! ##########
  519. [2023-07-02 12:40:50.373 12427M] FTL branch: master
  520. [2023-07-02 12:40:50.373 12427M] FTL version: v5.23
  521. [2023-07-02 12:40:50.373 12427M] FTL commit: d201776e
  522. [2023-07-02 12:40:50.373 12427M] FTL date: 2023-05-28 11:55:26 +0100
  523. [2023-07-02 12:40:50.373 12427M] FTL user: pihole
  524. [2023-07-02 12:40:50.373 12427M] Compiled for armv7hf (compiled on CI) using arm-linux-gnueabihf-gcc (Debian 8.3.0-2) 8.3.0
  525. [2023-07-02 12:40:50.373 12427M] Starting config file parsing (/etc/pihole/pihole-FTL.conf)
  526. [2023-07-02 12:40:50.373 12427M] SOCKET_LISTENING: only local
  527. [2023-07-02 12:40:50.373 12427M] AAAA_QUERY_ANALYSIS: Show AAAA queries
  528. [2023-07-02 12:40:50.373 12427M] MAXDBDAYS: max age for stored queries is 365 days
  529. [2023-07-02 12:40:50.374 12427M] RESOLVE_IPV6: Resolve IPv6 addresses
  530. [2023-07-02 12:40:50.374 12427M] RESOLVE_IPV4: Resolve IPv4 addresses
  531. [2023-07-02 12:40:50.374 12427M] DBINTERVAL: saving to DB file every minute
  532. [2023-07-02 12:40:50.374 12427M] DBFILE: Using /etc/pihole/pihole-FTL.db
  533. [2023-07-02 12:40:50.374 12427M] MAXLOGAGE: Importing up to 24.0 hours of log data
  534. [2023-07-02 12:40:50.374 12427M] PRIVACYLEVEL: Set to 0
  535. [2023-07-02 12:40:50.374 12427M] IGNORE_LOCALHOST: Show queries from localhost
  536. [2023-07-02 12:40:50.374 12427M] BLOCKINGMODE: Null IPs for blocked domains
  537. [2023-07-02 12:40:50.374 12427M] ANALYZE_ONLY_A_AND_AAAA: Disabled. Analyzing all queries
  538. [2023-07-02 12:40:50.374 12427M] DBIMPORT: Importing history from database
  539. [2023-07-02 12:40:50.374 12427M] PIDFILE: Using /run/pihole-FTL.pid
  540. [2023-07-02 12:40:50.374 12427M] SOCKETFILE: Using /run/pihole/FTL.sock
  541. [2023-07-02 12:40:50.374 12427M] SETUPVARSFILE: Using /etc/pihole/setupVars.conf
  542. [2023-07-02 12:40:50.374 12427M] MACVENDORDB: Using /etc/pihole/macvendor.db
  543. [2023-07-02 12:40:50.374 12427M] GRAVITYDB: Using /etc/pihole/gravity.db
  544. [2023-07-02 12:40:50.375 12427M] PARSE_ARP_CACHE: Active
  545. [2023-07-02 12:40:50.375 12427M] CNAME_DEEP_INSPECT: Active
  546. [2023-07-02 12:40:50.375 12427M] DELAY_STARTUP: No delay requested.
  547. [2023-07-02 12:40:50.375 12427M] BLOCK_ESNI: Enabled, blocking _esni.{blocked domain}
  548. [2023-07-02 12:40:50.375 12427M] NICE: Set process niceness to -10 (default)
  549. [2023-07-02 12:40:50.375 12427M] MAXNETAGE: Removing IP addresses and host names from network table after 365 days
  550. [2023-07-02 12:40:50.375 12427M] NAMES_FROM_NETDB: Enabled, trying to get names from network database
  551. [2023-07-02 12:40:50.375 12427M] EDNS0_ECS: Overwrite client from ECS information
  552.  
  553. -----tail of FTL.log------
  554. [2023-07-02 14:49:31.388 3822M] Creating mutex
  555. [2023-07-02 14:49:31.393 3822M] PID of FTL process: 3822
  556. [2023-07-02 14:49:31.396 3822M] Database version is 12
  557. [2023-07-02 14:49:31.396 3822M] Resizing "FTL-strings" from 40960 to (81920 * 1) == 81920 (/dev/shm: 1.2MB used, 483.4MB total, FTL uses 1.2MB)
  558. [2023-07-02 14:49:31.397 3822M] Imported 0 alias-clients
  559. [2023-07-02 14:49:31.398 3822M] Database successfully initialized
  560. [2023-07-02 14:49:31.464 3822M] New upstream server: 8.8.4.4:53 (0/1024)
  561. [2023-07-02 14:49:31.575 3822M] Resizing "FTL-queries" from 180224 to (8192 * 44) == 360448 (/dev/shm: 1.3MB used, 483.4MB total, FTL uses 1.3MB)
  562. [2023-07-02 14:49:31.626 3822M] New upstream server: 8.8.8.8:53 (1/1024)
  563. [2023-07-02 14:49:31.681 3822M] Resizing "FTL-queries" from 360448 to (12288 * 44) == 540672 (/dev/shm: 1.4MB used, 483.4MB total, FTL uses 1.4MB)
  564. [2023-07-02 14:49:31.704 3822M] New upstream server: 1.0.0.1:53 (2/1024)
  565. [2023-07-02 14:49:31.776 3822M] Resizing "FTL-queries" from 540672 to (16384 * 44) == 720896 (/dev/shm: 1.6MB used, 483.4MB total, FTL uses 1.6MB)
  566. [2023-07-02 14:49:31.879 3822M] Resizing "FTL-queries" from 720896 to (20480 * 44) == 901120 (/dev/shm: 1.8MB used, 483.4MB total, FTL uses 1.8MB)
  567. [2023-07-02 14:49:31.982 3822M] Imported 20422 queries from the long-term database
  568. [2023-07-02 14:49:31.983 3822M] -> Total DNS queries: 20422
  569. [2023-07-02 14:49:31.983 3822M] -> Cached DNS queries: 780
  570. [2023-07-02 14:49:31.983 3822M] -> Forwarded DNS queries: 18185
  571. [2023-07-02 14:49:31.983 3822M] -> Blocked DNS queries: 428
  572. [2023-07-02 14:49:31.983 3822M] -> Unknown DNS queries: 33
  573. [2023-07-02 14:49:31.983 3822M] -> Unique domains: 193
  574. [2023-07-02 14:49:31.983 3822M] -> Unique clients: 19
  575. [2023-07-02 14:49:31.983 3822M] -> Known forward destinations: 3
  576. [2023-07-02 14:49:31.983 3822M] Successfully accessed setupVars.conf
  577. [2023-07-02 14:49:31.985 3822M] listening on 0.0.0.0 port 53
  578. [2023-07-02 14:49:31.985 3822M] listening on :: port 53
  579. [2023-07-02 14:49:31.987 3822M] PID of FTL process: 3822
  580. [2023-07-02 14:49:31.987 3822M] Listening on port 4711 for incoming IPv4 telnet connections
  581. [2023-07-02 14:49:31.988 3822M] Listening on port 4711 for incoming IPv6 telnet connections
  582. [2023-07-02 14:49:31.988 3822M] Listening on port 4711 for incoming socket telnet connections
  583. [2023-07-02 14:49:31.989 3822M] INFO: FTL is running as user pihole (UID 999)
  584. [2023-07-02 14:49:31.991 3822M] Reloading DNS cache
  585. [2023-07-02 14:49:32.093 3822/T3856] Compiled 0 whitelist and 0 blacklist regex filters for 19 clients in 0.6 msec
  586. [2023-07-02 14:49:32.093 3822/T3856] Blocking status is enabled
  587. [2023-07-02 14:49:32.380 3822M] New upstream server: 1.1.1.1:53 (3/1024)
  588. [2023-07-02 14:49:43.019 3822M] Resizing "FTL-queries" from 901120 to (24576 * 44) == 1081344 (/dev/shm: 2.0MB used, 483.4MB total, FTL uses 2.0MB)
  589.  
  590. *** [ DIAGNOSING ]: contents of /dev/shm
  591. total 2.1M
  592. -rw------- 1 pihole pihole 324K Jul 2 14:49 FTL-clients
  593. -rw------- 1 pihole pihole 248 Jul 2 14:49 FTL-counters
  594. -rw------- 1 pihole pihole 4.0K Jul 2 14:49 FTL-dns-cache
  595. -rw------- 1 pihole pihole 20K Jul 2 14:49 FTL-domains
  596. -rw------- 1 pihole pihole 56 Jul 2 14:49 FTL-lock
  597. -rw------- 1 pihole pihole 12K Jul 2 14:49 FTL-overTime
  598. -rw------- 1 pihole pihole 4.0K Jul 2 14:49 FTL-per-client-regex
  599. -rw------- 1 pihole pihole 1.1M Jul 2 14:52 FTL-queries
  600. -rw------- 1 pihole pihole 16 Jul 2 14:49 FTL-settings
  601. -rw------- 1 pihole pihole 80K Jul 2 14:49 FTL-strings
  602. -rw------- 1 pihole pihole 604K Jul 2 14:49 FTL-upstreams
  603.  
  604. *** [ DIAGNOSING ]: contents of /etc
  605.  
  606. -rw-r--r-- 1 root root 24 Jul 2 12:40 /etc/dnsmasq.conf
  607. conf-dir=/etc/dnsmasq.d
  608.  
  609. -rw-r--r-- 1 root root 19 Jul 2 13:08 /etc/resolv.conf
  610. nameserver 8.8.8.8
  611.  
  612. *** [ DIAGNOSING ]: Pi-hole diagnosis messages
  613.  
  614. *** [ DIAGNOSING ]: Locale
  615. LANG=
  616.  
  617. *** [ DIAGNOSING ]: Pi-hole log
  618. [i] Query logging is disabled
  619.  
  620. -rw-r----- 1 pihole pihole 63K Jul 2 14:52 /var/log/pihole/pihole.log
  621. -----head of pihole.log------
  622. Jul 2 12:40:52 dnsmasq[12427]: started, version pi-hole-v2.89-9461807 cachesize 10000
  623. Jul 2 12:40:52 dnsmasq[12427]: DNS service limited to local subnets
  624. Jul 2 12:40:52 dnsmasq[12427]: compile time options: IPv6 GNU-getopt no-DBus no-UBus no-i18n IDN DHCP DHCPv6 Lua TFTP no-conntrack ipset no-nftset auth cryptohash DNSSEC loop-detect inotify dumpfile
  625. Jul 2 12:40:52 dnsmasq[12427]: using nameserver 8.8.8.8#53
  626. Jul 2 12:40:52 dnsmasq[12427]: using nameserver 8.8.4.4#53
  627. Jul 2 12:40:52 dnsmasq[12427]: using only locally-known addresses for onion
  628. Jul 2 12:40:52 dnsmasq[12427]: using only locally-known addresses for bind
  629. Jul 2 12:40:52 dnsmasq[12427]: using only locally-known addresses for invalid
  630. Jul 2 12:40:52 dnsmasq[12427]: using only locally-known addresses for localhost
  631. Jul 2 12:40:52 dnsmasq[12427]: using only locally-known addresses for test
  632. Jul 2 12:40:52 dnsmasq[12427]: read /etc/hosts - 7 names
  633. Jul 2 12:40:52 dnsmasq[12427]: read /etc/pihole/custom.list - 0 names
  634. Jul 2 12:40:52 dnsmasq[12427]: failed to load names from /etc/pihole/local.list: No such file or directory
  635. Jul 2 12:41:00 dnsmasq[12427]: read /etc/hosts - 7 names
  636. Jul 2 12:41:00 dnsmasq[12427]: read /etc/pihole/custom.list - 0 names
  637. Jul 2 12:41:00 dnsmasq[12427]: read /etc/pihole/local.list - 0 names
  638. Jul 2 13:06:15 dnsmasq[12427]: exiting on receipt of SIGTERM
  639. Jul 2 13:06:16 dnsmasq[13677]: started, version pi-hole-v2.89-9461807 cachesize 10000
  640. Jul 2 13:06:16 dnsmasq[13677]: DNS service limited to local subnets
  641. Jul 2 13:06:16 dnsmasq[13677]: compile time options: IPv6 GNU-getopt no-DBus no-UBus no-i18n IDN DHCP DHCPv6 Lua TFTP no-conntrack ipset no-nftset auth cryptohash DNSSEC loop-detect inotify dumpfile
  642.  
  643. -----tail of pihole.log------
  644. Jul 2 14:49:31 dnsmasq[3822]: using nameserver 1.0.0.1#53
  645. Jul 2 14:49:31 dnsmasq[3822]: using only locally-known addresses for onion
  646. Jul 2 14:49:31 dnsmasq[3822]: using only locally-known addresses for bind
  647. Jul 2 14:49:31 dnsmasq[3822]: using only locally-known addresses for invalid
  648. Jul 2 14:49:31 dnsmasq[3822]: using only locally-known addresses for localhost
  649. Jul 2 14:49:31 dnsmasq[3822]: using only locally-known addresses for test
  650. Jul 2 14:49:31 dnsmasq[3822]: using only locally-known addresses for lan
  651. Jul 2 14:49:31 dnsmasq[3822]: read /etc/hosts - 14 names
  652. Jul 2 14:49:31 dnsmasq[3822]: read /etc/pihole/custom.list - 0 names
  653. Jul 2 14:49:31 dnsmasq[3822]: read /etc/pihole/local.list - 0 names
  654. Jul 2 14:50:46 dnsmasq-dhcp[3822]: DHCPDISCOVER(eth0) 192.168.2.12 4c:cc:6a:fa:eb:df
  655. Jul 2 14:50:46 dnsmasq-dhcp[3822]: DHCPOFFER(eth0) 192.168.2.223 4c:cc:6a:fa:eb:df
  656. Jul 2 14:50:50 dnsmasq-dhcp[3822]: DHCPDISCOVER(eth0) 192.168.2.12 4c:cc:6a:fa:eb:df
  657. Jul 2 14:50:50 dnsmasq-dhcp[3822]: DHCPOFFER(eth0) 192.168.2.223 4c:cc:6a:fa:eb:df
  658. Jul 2 14:50:58 dnsmasq-dhcp[3822]: DHCPDISCOVER(eth0) 192.168.2.12 4c:cc:6a:fa:eb:df
  659. Jul 2 14:50:58 dnsmasq-dhcp[3822]: DHCPOFFER(eth0) 192.168.2.223 4c:cc:6a:fa:eb:df
  660. Jul 2 14:50:58 dnsmasq-dhcp[3822]: DHCPREQUEST(eth0) 192.168.2.223 4c:cc:6a:fa:eb:df
  661. Jul 2 14:50:58 dnsmasq-dhcp[3822]: DHCPACK(eth0) 192.168.2.223 4c:cc:6a:fa:eb:df DESKTOP-IM8HSKH
  662. Jul 2 14:52:19 dnsmasq-dhcp[3822]: DHCPDISCOVER(eth0) b8:27:eb:49:85:f0
  663. Jul 2 14:52:19 dnsmasq-dhcp[3822]: DHCPOFFER(eth0) 192.168.2.209 b8:27:eb:49:85:f0
  664.  
  665. ********************************************
  666. ********************************************
  667. [✓] ** FINISHED DEBUGGING! **
  668.  
  669. * The debug log can be uploaded to tricorder.pi-hole.net for sharing with developers only.
  670. * A local copy of the debug log can be found at: /var/log/pihole/pihole_debug.log
Add Comment
Please, Sign In to add comment