/ 中存储网

解决Apache错误httpd: apr_sockaddr_info_get() failed

2014-03-12 08:26:01 来源:itjs.cn
重启apache:

service httpd restart

虽然重启成功,但却给出如下的提示信息:

httpd: apr_sockaddr_info_get() failed for hoteel

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

究其原因是因为在配置DNS的时候hostname hoteel造成的,重新hostname localhost就可以了。