码迷,mamicode.com
首页 > 其他好文 > 详细

Could not reliably determine the server's fully qualified domain name

时间:2016-03-19 22:40:11      阅读:168      评论:0      收藏:0      [点我收藏+]

标签:

启动apache报错:

[root@namenode1 ]# service httpd start
Starting httpd: httpd: Could not reliably determine the servers fully qualified domain name, using 192.168.1.139 for ServerName
[  OK  ]


解决方法:

修改配置文件

[root@namenode1 /]# vi /etc/httpd/conf/httpd.conf

将里面的 #ServerName localhost:80 注释去掉即可。

重启正常:

[root@namenode1 ]# service httpd restart
Stopping httpd: [  OK  ]
Starting httpd: [  OK  ]

Could not reliably determine the server's fully qualified domain name

标签:

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

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