牧羊岛

懒是不会有好果子吃滴//

导航

httpd的警告

Posted on 2014-05-08 16:04  牧羊岛  阅读(324)  评论(0编辑  收藏  举报

1、

httpd: apr_sockaddr_info_get() failed for serv05

这个是因为httpd.conf文件没有定义ServerName,所以会用hostname来代替,而/etc/hosts文件又没有定义这个主机。在/etc/hosts文件添加

127.0.0.1 serv05

2、

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

也是因为没有指定ServerName。