AH00557: httpd: apr_sockaddr_info_get() failed for CentOS6.5.0

執行 /usr/local/apache/bin/apachectl start 時報錯


AH00557: httpd: apr_sockaddr_info_get() failed for CentOS6.5.0
AH00558: httpd: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1. Set the 'ServerName' directive globally to suppress this message

是httpd.conf配置ServerName的問題

配置httpd.conf 

vi /usr/local/apache/conf/httpd.conf

把#ServerAdmin [email protected] 中的#去掉即可

既不要註釋此行

 

參考至:https://www.linuxidc.com/Linux/2012-08/68899.htm

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章