DNS service not running on CentOS 8

Please follow the below template, it will help us to help you!

If you are Experiencing issues with a Pi-hole install that has non-standard elements (e.g you are using nginx instead of lighttpd, or there is some other aspect of your install that is customised) - please use the Community Help category.

Expected Behaviour:

Running Pi-Hole on DigitalOcean of CentOS 8.2, it works great before I update the Pi-hole version.
I updated the server using "pihole -up" today, at the end it said DNS service is not running.

Actual Behaviour:

Either update Pi-hole or fresh install it will got the same problem.
If I run "pihole updateGravity", I got the message as below:
/usr/local/bin/pihole: line 284: lsof: command not found
[✗] DNS service is NOT listening

Debug Token:

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

Same problem Centos 7 after update.

The lsof package is missing.

yum install lsof -y

and then restart DNS service from pihole.

if yum install lsof does not find lsof package first do

yum install epel-release -y

and then again try

yum install lsof -y

2 Likes

This issue has been reported on github already and is under investigation.
https://github.com/pi-hole/pi-hole/issues/3870

Thank you for your answer! :smiling_face_with_three_hearts:

Worked like a charm on Centos 8.2.2004

Same for me, thank you Michail

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.