您的位置:首页 > 大数据 > 人工智能

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

2016-03-19 21:56 351 查看
启动apache报错:

[root@namenode1 ]# service httpd start
Starting httpd: httpd: Could not reliably determine the server's 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 ]
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: