apache启动报错 httpd: apr_sockaddr_info_get() failed for
httpd: apr_sockaddr_info_get() failed for server01httpd: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName
经过查找发现,这个问题应该是没有在 /etc/httpd/conf/httpd.conf 中设定 ServerName。
所以apache会用主机上的名称来取代,首先会去找 /etc/hosts 中有没有主机的定义。
解决这个问题可以设定httpd.conf文件中的 ServerName,如下:
ServerName localhost:80
我抢、我抢、我抢沙发~ 漏洞与补丁齐飞,蓝屏共死机一色! 我身在江湖,江湖里却没有我得传说。 看尽天下A片,心中自然无码~ 我不在江湖,但江湖中有我的传说。 要是我灌水,就骂我“三个代表”没学好吧。
页:
[1]