apache 启动提示错误httpd: apr_sockaddr_info_get() failed for

启动apache提示:

httpd: apr_sockaddr_info_get() failed for koomi

httpd: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName

Syntax OK


解决方法:

vim /etc/hosts/

127.0.0.1   localhost localhost.localdomain localhost4 localhost4.localdomain4  koomi  ##添加koomi



vim /usr/local/apache/conf/httpd.conf

找到#ServerName www.examlpe.com:80

改成ServerName  localhost:80

你可能感兴趣的:(apache,启动提示错误)