httpd启动报错httpd: Could not reliably determine the server's fully qualified domain name
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了httpd启动报错httpd: Could not reliably determine the server's fully qualified domain name相关的知识,希望对你有一定的参考价值。
安装完apache-httpd后,启动时报错如下:
[[email protected] app]# service httpd start Starting httpd: httpd: apr_sockaddr_info_get() failed for ppt httpd: Could not reliably determine the server‘s fully qualified domain name, using 127.0.0.1 for ServerName [ OK ]
解决如下:
1.编辑httpd配置文件,
vim /etc/httpd/conf/httpd.conf
添加:ServerName localhost:80
2.重启httpd服务
[[email protected] app]# service httpd restart Stopping httpd: [ OK ] Starting httpd: [ OK ]
本文出自 “xiaobao” 博客,谢绝转载!
以上是关于httpd启动报错httpd: Could not reliably determine the server's fully qualified domain name的主要内容,如果未能解决你的问题,请参考以下文章
部署OpenStack问题汇总--解决apache启动错误"httpd:Could not reliably determine..."
解决apache启动错误"httpd:Could not reliably determine..."
解决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
httpd Server not started: (13)Permission denied: make_sock: could not bind to address [::]:88