首页 > 系统服务 > 详细

linux启动httpd服务出现 Could not reliably determine the server`s fully qualified domain name.

时间:2014-09-30 20:43:50      阅读:396      评论:0      收藏:0      [点我收藏+]

安装好apache启动httpd服务时,出现httpd: Could not reliably determine the server‘s fully qualified domain name, using XXX for ServerName。

网上找了不少资料,叫修改安装apache根目录下的httpd/conf/httpd.conf配置文件

1.打开apache_home/httpd/conf/httpd.conf 

2.找到 #ServerName www.example.com:80,把前面的注释,也就是#号去掉。把自己的ip加上 ServerName IP:80

按照网上的说法做了修改,问题依旧。

突然记得在其它目录也见过httpd.conf,于是find了一下,果然发现在/etc/httpd/conf/下也有一个httpd.conf配置文件,对这个文件做同样修改。

service httpd restart 回车,问题解决!

linux启动httpd服务出现 Could not reliably determine the server`s fully qualified domain name.

原文:http://www.cnblogs.com/vathena/p/4002653.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!