码迷,mamicode.com
首页 > Web开发 > 详细

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

时间:2015-04-18 16:06:49      阅读:159      评论:0      收藏:0      [点我收藏+]

标签:

[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 ]

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

标签:

原文地址:http://www.cnblogs.com/rusking/p/4437459.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!