[root@bogon bin]# ./apachectl start
AH00557: httpd: apr_sockaddr_info_get() failed for bogon
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 www.example.com:80
修改为
ServerName localhost:80或者ServerName 127.0.0.1:80或者ServerName 服务器ip地址:80
修改之后启动成功
三、补充
记着关闭Linux防火墙,或者防火墙中设置端口号,保证80端口可访问
转载请注明:谷谷点程序 » 启动Apache提示AH00557: httpd: apr_sockaddr_info_get() failed for bogon
评论排行