首页 > 其他 > 详细

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

时间:2016-03-19 22:36:53      阅读:198      评论: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
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!