APACHE故障make_sock:could not bind to address 0.0.0.0:80,曾经写过一篇记录,
http://www.dayanmei.com/blog.php/ID_14.htm
APACHE故障10049,后来朋友的机器也出现了这一问题,经检测发现是瑞星防火墙禁止了80端口,导致阿帕车启动失败,关闭防火墙后发现apache正常启动,再开启防火墙发现其他机器无法访问这台主机,今天在phpx又碰到一例这样的问题,却又不大相同
记录下来
希望各位能帮帮忙,我配了好几天的PHP都还是不行,快疯了。我刚开始用的是组合包配置的,刚装完的时候显示成功,但重新启动之后,就不知道什么回事,apache就是无法启动,后来我又手工配置里一遍,win+apache+php+mysql,又是刚配置完成的时候可以用,但重新启动之后又无法启动了,启动的时候提示:
make_sock:could not bind to address 0.0.0.0:80
no listening sockets available, shutting down
Unable to open logs。
这个是端口冲突的的问题吗?我没有装IIS,同时防火墙也关了。
下面是我的error log:
[Thu Aug 17 14:22:18 2006] [error] Parent: child process exited with status 3 -- Aborting.
[Thu Aug 17 14:22:19 2006] [notice] Apache/2.0.59 (Win32) PHP/5.1.2 configured -- resuming normal operations
[Thu Aug 17 14:22:19 2006] [notice] Server built: Jul 27 2006 15:55:03
[Thu Aug 17 14:22:19 2006] [notice] Parent: Created child process 3920
[Thu Aug 17 14:22:19 2006] [notice] Child 3920: Child process is running
[Thu Aug 17 14:22:19 2006] [crit] (OS 10022)提供了一个无效的参数。 : Child 3920: setup_inherited_listeners(), WSASocket failed to open the inherited socket.
[Thu Aug 17 14:22:19 2006] [error] Parent: child process exited with status 3 -- Aborting.
[Thu Aug 17 14:22:19 2006] [notice] Apache/2.0.59 (Win32) PHP/5.1.2 configured -- resuming normal operations
[Thu Aug 17 14:22:19 2006] [notice] Server built: Jul 27 2006 15:55:03
[Thu Aug 17 14:22:19 2006] [notice] Parent: Created child process 3928
[Thu Aug 17 14:22:20 2006] [notice] Child 3928: Child process is running
[Thu Aug 17 14:22:20 2006] [crit] (OS 10022)提供了一个无效的参数。 : Child 3928: setup_inherited_listeners(), WSASocket failed to open the inherited socket.
[Thu Aug 17 14:22:20 2006] [error] Parent: child process exited with status 3 -- Aborting.
[Thu Aug 17 14:22:21 2006] [notice] Apache/2.0.59 (Win32) PHP/5.1.2 configured -- resuming normal operations
[Thu Aug 17 14:22:21 2006] [notice] Server built: Jul 27 2006 15:55:03
[Thu Aug 17 14:22:21 2006] [notice] Parent: Created child process 3944
恳请各位看看,希望指出问题的所在。
APACHE故障解决办法
1.网上邻居->本地连接->属性->internet协议(TCP/IP)->属性->高级->wins标签- >去掉启用LMhosts查询前的勾.
2.控制面版->windows防火墙->高级标签->本地连接设置->服务的标签里勾选安全Web服务器(HTTPS)即可.