A list of problems - Selinux and Apache conflict

Expected Behaviour:

status as Running and FTL Online. Youtube ad Blocking

Actual Behaviour:

unknown status and FTL offline. Youtube ad plays

Debug Token:

https://tricorder.pi-hole.net/yazswkwu0z

Extra:

Also there is a error message (Ram is okay. since there are some other things running)

Pi-hole will not accomplish this for you.

okay. i can live with that still. but why are my status off and my API lost connection?

This indicates that pihole-FTL is likely not running. What is the output of the following commands from the Pi terminal:

sudo service pihole-FTL status

sudo netstat -nltup | grep 'Proto\|:53 \|:5053 \|:5353 \|:8953 \|:67 \|:80 \|:471'

Hey thanks for the response!
afbeelding
afbeelding

Running Centos7 btw

also when i try and blacklist a URL this error will pop up.

I believe this is your problem

*** [ DIAGNOSING ]: SELinux
[✗] Default SELinux: enforcing
[✗] Current SELinux: Enforcing
1 Like

Hey! it have turned it off now. And its working! however the status is still on unknown...

and black listing still doesnt work

To eliminate one potential cause, flush the browser cache on the browser that you are using, restart the browser and refresh the dashboard page.

just done and doesnt seem to work...

Please generate a new debug log, upload it and post the token here.

https://tricorder.pi-hole.net/c5am9u8gti There you go

You are running Apache2 web server on port 80, which is interfering with the Pi-Hole web server (lighttpd). You will need either to uninstall Apache2, or move either Apache or lighttpd to a different port so they don't conflict with each other.

*** [ DIAGNOSING ]: Dashboard and block page
[✗] Block page X-Header: X-Header does not match or could not be retrieved.
HTTP/1.1 302 Found
Date: Sun, 01 Sep 2019 17:38:18 GMT
Server: Apache/2.4.6 (CentOS) PHP/5.6.40
X-Powered-By: PHP/5.6.40
Location: http://84.80.59.120/
Content-Type: text/html; charset=UTF-8


[✗] Web interface X-Header: X-Header does not match or could not be retrieved.
HTTP/1.1 200 OK
Date: Sun, 01 Sep 2019 17:38:18 GMT
Server: Apache/2.4.6 (CentOS) PHP/5.6.40
X-Powered-By: PHP/5.6.40
Set-Cookie: PHPSESSID=e1uofchg7sgabmqb3rtnif0tq6; path=/
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
Content-Type: text/html; charset=UTF-8

im running a wordpress server.
is it possible the otherway arround? that i can change the port of the Pi-Hole?

https://discourse.pi-hole.net/t/showing-php-code-instead-of-page/12459/7

is this the Pi-Hole Port or the WordPress one?

It is the Pi-Hole lighttpd port.

okay i have done it. Do i need to restart something. cause its still not showing up.

You will need to reload the Pi-Hole admin page using the new port.

The port is 1080 What is the url i need to type?

I believe this will work. I'm away from home and can't test it: http://pi.hole:1080/admin