ncm-com
September 22, 2018, 11:42pm
1
Hi
I've just installed Pi-hole in raspberry pi, and trying to block a single site by adding to the blocklist,
I'm getting the error
Failure! Something went wrong.
Wrong token
anyone able to help?
#### Please follow the below template, it will help us to help you!
Expected Behaviour:
[Replace this text with what you think should be happening]
Actual Behaviour:
[replace this text with what is actually happening]
Debug Token: uvysqpdkax
[Replace this text with the debug token provided from running pihole -d
(or running the debug script through the web interface]
jfb
September 23, 2018, 3:13am
3
The web admin page is served by lighttpd on port 80. You have Apache2 bound to that port.
*** [ DIAGNOSING ]: Ports in use
127.0.0.1:27017 mongod (IPv4)
127.0.0.1:28017 mongod (IPv4)
*:22 sshd (IPv4)
*:22 sshd (IPv6)
*:80 apache2 (IPv6)
*:443 apache2 (IPv6)
127.0.0.1:3306 mysqld (IPv4)
*:53 pihole-FTL (IPv4)
*:53 pihole-FTL (IPv6)
127.0.0.1:4711 pihole-FTL (IPv4)
[::1]:4711 pihole-FTL (IPv6)
*:80 apache2 (IPv6)
*:443 apache2 (IPv6)
*:80 apache2 (IPv6)
*:443 apache2 (IPv6)
*:80 apache2 (IPv6)
*:443 apache2 (IPv6)
*:80 apache2 (IPv6)
*:443 apache2 (IPv6)
*:80 apache2 (IPv6)
*:443 apache2 (IPv6)
*:80 apache2 (IPv6)
*:443 apache2 (IPv6)
*:80 apache2 (IPv6)
*:443 apache2 (IPv6)
*:80 apache2 (IPv6)
*:443 apache2 (IPv6)
*:80 apache2 (IPv6)
*:443 apache2 (IPv6)
*:80 apache2 (IPv6)
*:443 apache2 (IPv6)
*:80 apache2 (IPv6)
*:443 apache2 (IPv6)
ncm-com
September 23, 2018, 10:13am
4
jfb:
Apache2 bound
Thanks for the reply,
But seems like lighttpd using the port 80?
# sudo netstat -nap | grep ':80 .*LISTEN'
tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN 674/lighttpd
tcp6 0 0 :::80 :::* LISTEN 674/lighttpd
any idea how to change this?
Many thanks in advance
jfb
September 23, 2018, 4:38pm
5
Lighttpd may be listening on the port, but it is reported as failed in your debug log:
*** [ DIAGNOSING ]: Pi-hole processes
[✗] dnsmasq daemon is inactive
[✗] lighttpd daemon is failed
[✓] pihole-FTL daemon is active
Lighttpd and Apache2 can't both be on the same port 80. I believe your options will be:
Uninstall/disable Apache2 and let lighttpd use port 80. Might not be a good solution for you if you have lots of services provided by Apache.
Move lighttpd to another port. This change may be overwritten on any updates to Pi-Hole.
Related threads:
Expected Behaviour:
172.0.0.1/admin shows a fully formed and rendered web interface
Actual Behaviour:
Shows PHP/HTML instead
Debug Token: ohhuwvwpxf
Installed on a Zentyal box, webpage of code shows on both WAN and LAN interfaces, although told to use LAN interface in setup (eth1) WAN is eth0
https://discourse.pi-hole.net/t/pi-hole-stats-are-resetting-to-zero-randomly/11729/5
ncm-com
September 23, 2018, 9:13pm
6
Many thanks
I've changed the port to 8080
but still comes with the same error, any idea ?
debug token is: i2my0n5t7c
jfb
September 23, 2018, 9:14pm
7
Is it possible to disable Apache2 and then restart lighttpd?
ncm-com
September 23, 2018, 9:18pm
8
Yes, I've restarted lighttpd after stopping apache2
Same error, But I found on ios Safari does not give this error
debug token is: 9m7qbxqxpk
jfb
September 23, 2018, 9:26pm
9
On the client that is showing the error, I would flush the cache, restart the browser and re-load the page.
ncm-com
September 23, 2018, 9:54pm
10
Many thanks
Now seems to be working fine
system
Closed
October 14, 2018, 9:54pm
11
This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.