Friday, January 15, 2016

Name or service not known: mod_unique_id: unable to find IPv4 address of "-" Configuration Failed


Name or service not known: mod_unique_id: unable to find IPv4 address of "-" Configuration Failed



root@- [~]# /etc/init.d/httpd restart
httpd not running, trying to start
root@- [~]# tail -f /usr/local/apache/logs/error_log

[Tue Jan 12 20:19:33 2016] [alert] (EAI 2)Name or service not known: mod_unique_id: unable to find IPv4 address of "-"
Configuration Failed
[Tue Jan 12 20:21:52 2016] [alert] (EAI 2)Name or service not known: mod_unique_id: unable to find IPv4 address of "-"
Configuration Failed


I have checked the Apache configuration syntax file and it was fine.
 


root@- [~]# httpd -t
Syntax OK


checking the file “/etc/hosts” the server hostname was incorrect. After correcting the Apache service was working fine.
 




No comments:

Post a Comment