启动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 ]