Could not reliably determine the server's fully qualified domain name
2016-03-19 21:56
351 查看
启动apache报错:
解决方法:
修改配置文件
[root@namenode1 /]# vi /etc/httpd/conf/httpd.conf
将里面的 #ServerName localhost:80 注释去掉即可。
重启正常:
[root@namenode1 ]# service httpd restart
Stopping httpd: [ OK ]
Starting httpd: [ OK ]
[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 ]
相关文章推荐
- Gradle project sync failed.Base functionality will not work property.
- LeetCode 11. Container With Most Water
- 制作自己的ros机器人(navigaion)前提--22
- Jenkins进阶系列之——02email-ext邮件通知模板
- Jenkins进阶系列之——01使用email-ext替换Jenkins的默认邮件通知
- LightOJ 1236 - Pairs Forming LCM(素因子分解)
- Fast-fail原理
- SSDC_从0到1,手腕上的人工智能
- Rejected because no crossdomain.xml policy file was found
- RAID浅谈
- raid浅析
- raid浅析
- 对于人工智能的思考
- Failed to find the style corresponding to the id 2130772027
- ACM学习历程—HDU2476 String painter(动态规划)
- Fail2ban 防止暴力破解centos服务器的SSH或者FTP账户
- Fail2ban 防止暴力破解centos服务器的SSH或者FTP账户
- IntelliJ 创建main函数快捷
- FOJ-1001-Duplicate Pair
- LeetCode-70-Climbing Stairs(动态规划)-Easy