码迷,mamicode.com
首页 > Web开发 > 详细

工作经验 部署阿帕奇的时候出现 Starting httpd: httpd: apr_sockaddr_info_get() failed for server1 httpd: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName

时间:2016-06-08 15:32:19      阅读:144      评论:0      收藏:0      [点我收藏+]

标签:

service httpd restart

 Starting httpd: httpd: apr_sockaddr_info_get() failed for server1 httpd: Could not reliably determine the server‘s fully qualified domain name, using 127.0.0.1 for ServerName

 

出现这种原因是因为  httpd.config  的 配置文件出现错  

应该把 ServerName  这行改为

                                      ServerName localhost:80

 

即可排除故障

工作经验 部署阿帕奇的时候出现 Starting httpd: httpd: apr_sockaddr_info_get() failed for server1 httpd: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName

标签:

原文地址:http://www.cnblogs.com/rmrf/p/5570044.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!