Windows 下 Apache2.2启动失败,日志提示以下信息:
[Wed Sep 06 09:11:36 2006] [notice] Apache/2.2.2 (Win32) configured -- resuming normal operations
[Wed Sep 06 09:11:36 2006] [notice] Server built: Apr 29 2006 18:32:31
[Wed Sep 06 09:11:36 2006] [notice] Parent: Created child process 204
[Wed Sep 06 09:11:39 2006] [notice] Child 204: Child process is running
[Wed Sep 06 09:11:39 2006] [crit] (OS 10022)提供了一个无效的参数。 : Child 204: setup_inherited_listeners(), WSASocket failed to open the inherited socket.
[Wed Sep 06 09:11:47 2006] [crit] Parent: child process exited with status 3 -- Aborting.
解决方法:
1.确定和IIS不使用相同的端口,IIS默认用的80,apache用的端口两者要错开;
2.
a.网上邻居->;查看网络连接->本地连接(你正在使用的那个连接,一般是这个名字)->;右键点它选"属性"->;选中"internet协议(TCP/IP)
->;属性->;高级->;切换到"wins"标签->;去掉"启用LMhosts查询"前的勾.
b.控制面版->;windows防火墙->;高级标签->;本地连接设置->;服务的标签里勾选"安全Web服务器(HTTPS)",按两次确定.重启apache服务
阅读(3260) | 评论(3) | 转发(0) |