httpd: apr_sockaddr_info_get() failed for
www.yang.com
httpd: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName
httpd: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName
经分析发现是apache的conf目录下的配置文件httpd.conf中关于hostname设置和/etc/sysconfig/network中的HOSTNAME设置不统一导致的,修改成统一的主机名即可解决该问题。
hostname /etc/sysconfig/network里的主机名即可
注:/etc/sysconfig/network 默认主机名是:HOSTNAME=localhost.localdomain
本文转自linux博客51CTO博客,原文链接http://blog.51cto.com/yangzhiming/840255如需转载请自行联系原作者
yangzhimingg