apache启动问题: Could not reliably determine the server's fully qualified domain name

[root@rusky]# service httpd start
Starting httpd: httpd: apr_sockaddr_info_get() failed for rusky
httpd: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName

***********************

解决方法:

修改httpd.conf配置文件:

vi /etc/httpd/conf/httpd.conf   加入一句  ServerName  localhost:80

重新启动正常:

[root@rusky]# service httpd stop
Stopping httpd: [ OK ]
[root@rusky]# service httpd start
Starting httpd: [ OK ]

posted on 2015-04-18 15:16  遠離塵世の方舟  阅读(302)  评论(0编辑  收藏  举报

导航