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

Apache HTTP Server 2.2.25执行Test Configuration时报错(Could not reliably determine the server's fully qualified domain name, using 192.168.0.103 for ServerName)

时间:2019-06-02 00:52:27      阅读:315      评论:0      收藏:0      [点我收藏+]

标签:test   -o   ddr   sage   not   bin   soc   nss   server   

以httpd-2.2.25-win32-x86-openssl-0.9.8y.msi为例。

Apache HTTP Server 2.2.25执行Test Configuration时,实际上是直接运行了httpd.exe

技术图片


C:\Program Files (x86)\Apache Software Foundation\Apache2.2\bin>httpd.exe
httpd.exe: Could not reliably determine the server‘s fully qualified domain name, using 192.168.0.103 for ServerName
(OS 10048)Only one usage of each socket address (protocol/network address/port) is normally permitted.  : make_sock: could not bind to address 0.0.0.0:80
no listening sockets available, shutting down
Unable to open logs

C:\Program Files (x86)\Apache Software Foundation\Apache2.2\bin>

打开httpd.conf,搜索ServerName

技术图片

去掉注释即可。

技术图片


C:\Program Files (x86)\Apache Software Foundation\Apache2.2\bin>httpd.exe
(OS 10048)Only one usage of each socket address (protocol/network address/port) is normally permitted.  : make_sock: could not bind to address 0.0.0.0:80
no listening sockets available, shutting down
Unable to open logs

C:\Program Files (x86)\Apache Software Foundation\Apache2.2\bin>

Apache HTTP Server 2.2.25执行Test Configuration时报错(Could not reliably determine the server's fully qualified domain name, using 192.168.0.103 for ServerName)

标签:test   -o   ddr   sage   not   bin   soc   nss   server   

原文地址:https://www.cnblogs.com/rms365/p/10961582.html

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