首页 > 代码库 > httpd启动报错httpd: Could not reliably determine the server's fully qualified domain name
httpd启动报错httpd: Could not reliably determine the server's fully qualified domain name
安装完apache-httpd后,启动时报错如下:
[root@ppt 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服务
[root@ppt app]# service httpd restart Stopping httpd: [ OK ] Starting httpd: [ OK ]
本文出自 “xiaobao” 博客,谢绝转载!
httpd启动报错httpd: Could not reliably determine the server's fully qualified domain name
声明:以上内容来自用户投稿及互联网公开渠道收集整理发布,本网站不拥有所有权,未作人工编辑处理,也不承担相关法律责任,若内容有误或涉及侵权可进行投诉: 投诉/举报 工作人员会在5个工作日内联系你,一经查实,本站将立刻删除涉嫌侵权内容。