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

Posted 遠離塵世の方舟

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Could not reliably determine the server's fully qualified domain name相关的知识,希望对你有一定的参考价值。

启动apache报错:

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


解决方法:

修改配置文件

[[email protected] /]# vi /etc/httpd/conf/httpd.conf

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

重启正常:

[[email protected] ]# service httpd restart
Stopping httpd: [  OK  ]
Starting httpd: [  OK  ]

以上是关于Could not reliably determine the server's fully qualified domain name的主要内容,如果未能解决你的问题,请参考以下文章

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

httpd: Could not reliably determine the server's fully

解决apache启动错误"httpd:Could not reliably determine..."

部署OpenStack问题汇总--解决apache启动错误"httpd:Could not reliably determine..."

解决报错httpd: Could not reliably determine the server‘s fully qualified domain name

解决报错httpd: Could not reliably determine the server‘s fully qualified domain name