Apache

[Fixed] Name or service not known: mod_unique_id: unable to find IPv4 address of

apache logo

I completed a new cPanel server setup and found that Apache service is not running.
On trying to restart, it failed and the Apache error logs showed following error

"[alert] (EAI 2)Name or service not known: mod_unique_id: unable to find IPv4 address of "server.example.com"
Configuration Failed"

I checked the Apache configuration  syntax file by using command

/etc/init.d/httpd configtest

which was ok.

On scratching head finally I checked the file "/etc/hosts"
and corrected the entries of the localhost and the server hostname which resolved the issue.

 If any feedback, queries are always welcome!

Abhijit Sandhan

Loves Open Source, Blogging, Traveling, Hiking and sharing Knowledge!

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Back to top button