Hi, I'm new to Pi-hole so I apologize if this is a basic issue, but I haven't been able to find a solution by googling or searching through help/FAQ.
Expected Behaviour:
Active connection to internet with adblocking
Actual Behaviour:
In the settings tab, the dashboard reads this message:
PHP error (2): fsockopen(): unable to connect to 127.0.0.1:4711 (Connection refused) in /var/www/html/admin/scripts/pi-hole/php/FTL.php:43
and shows that FTL service is offline
When going to the blacklist tab on the dashboard, I get this message:
DataTables warning: table id=domainsTable - Ajax error. For more information about this error, please see http://datatables.net/tn/
Debug Token:
It will not produce a url for a debug token, which I assume is because it is not connecting properly. But these are the things that show up as unresolved in the debug log.
*** [ DIAGNOSING ]: Ports in use
udp:0.0.0.0:5353 is in use by avahi-daemon
udp:0.0.0.0:68 is in use by dhcpcd
udp:0.0.0.0:36700 is in use by avahi-daemon
udp:0.0.0.0:631 is in use by cups-browsed
udp:*:5353 is in use by avahi-daemon
udp:*:546 is in use by dhcpcd
udp:*:56868 is in use by avahi-daemon
[β] tcp:0.0.0.0:80 is in use by lighttpd
tcp:0.0.0.0:22 is in use by sshd
tcp:127.0.0.1:631 is in use by cupsd
[β] tcp:[::]:80 is in use by lighttpd
tcp:[::]:22 is in use by sshd
tcp:[::1]:631 is in use by cupsd
*** [ DIAGNOSING ]: Name resolution (IPv4) using a random blocked domain and a known ad-serving domain
[β] Failed to resolve api.luckyorange.com on lo (127.0.0.1)
[β] Failed to resolve api.luckyorange.com on wlan0 (static pi address)
[β] doubleclick.com is 64.233.177.100 via a remote, public DNS server (8.8.8.8)
*** [ DIAGNOSING ]: Name resolution (IPv6) using a random blocked domain and a known ad-serving domain
[β] Failed to resolve cms.ads.nrc.adhese.com on lo (::1)
[β] Failed to resolve cms.ads.nrc.adhese.com on wlan0 (router address)
[β] Failed to resolve cms.ads.nrc.adhese.com on wlan0 (fe80::7013:ebf2:1a9a:63b)
[β] doubleclick.com is 2607:f8b0:4002:806::200e via a remote, public DNS server (2001:4860:4860::8888)
*** [ DIAGNOSING ]: Discovering active DHCP servers (takes 10 seconds)
Scanning all your interfaces for DHCP servers
Timeout: 10 seconds
* Received 548 bytes from wlan0:192.168.0.1
Offered IP address: 192.168.0.13
Server IP address: 192.168.0.1
Relay-agent IP address: N/A
BOOTP server: (empty)
BOOTP file: (empty)
DHCP options:
Message type: DHCPOFFER (2)
server-identifier: 192.168.0.1
lease-time: 3600 ( 1h )
netmask: 255.255.255.0
router: 192.168.0.1
dns-server: 68.105.28.11
dns-server: 68.105.29.11
dns-server: 68.105.28.12
--- end of options ---
DHCP packets received on interface lo: 0
DHCP packets received on interface wlan0: 1
*** [ DIAGNOSING ]: Pi-hole processes
[β] lighttpd daemon is active
[β] pihole-FTL daemon is active
*** [ DIAGNOSING ]: Pi-hole-FTL full status
β pihole-FTL.service - LSB: pihole-FTL daemon
Loaded: loaded (/etc/init.d/pihole-FTL; generated)
Active: active (exited) since Wed 2022-04-27 18:13:40 BST; 16min ago
Docs: man:systemd-sysv-generator(8)
Process: 28960 ExecStart=/etc/init.d/pihole-FTL start (code=exited, status=0/SUCCESS)
CPU: 245ms
Apr 27 18:13:36 raspberrypi systemd[1]: Starting LSB: pihole-FTL daemon...
Apr 27 18:13:36 raspberrypi pihole-FTL[28960]: Not running
Apr 27 18:13:36 raspberrypi su[28970]: (to pihole) root on none
Apr 27 18:13:36 raspberrypi su[28970]: pam_unix(su:session): session opened for user pihole(uid=999) by (uid=0)
Apr 27 18:13:40 raspberrypi systemd[1]: Started LSB: pihole-FTL daemon.
*** [ DIAGNOSING ]: Setup variables
BLOCKING_ENABLED=true
ADMIN_EMAIL=
WEBUIBOXEDLAYOUT=boxed
WEBTHEME=default-dark
PIHOLE_INTERFACE=wlan0
IPV4_ADDRESS= (static address of pi)
IPV6_ADDRESS= (router address)
PIHOLE_DNS_1=8.8.8.8
PIHOLE_DNS_2=8.8.4.4
QUERY_LOGGING=true
INSTALL_WEB_SERVER=true
INSTALL_WEB_INTERFACE=true
LIGHTTPD_ENABLED=true
CACHE_SIZE=10000
DNS_FQDN_REQUIRED=true
DNS_BOGUS_PRIV=true
DNSMASQ_LISTENING=local
*** [ 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
Expires: Wed, 27 Apr 2022 17:29:43 GMT
Cache-Control: max-age=0
Date: Wed, 27 Apr 2022 17:29:43 GMT
Server: lighttpd/1.4.59