阿帕奇不能在WAMP服务器启动

问题描述:

本地主机不工作,并且IIS服务器停止
Apache的错误日志这个样子的。

localhost not work and IIS server stop apache error log look like this

[Thu Jan 05 14:55:20 2012] [notice] Apache/2.2.21 (Win32) PHP/5.3.8 configured -- resuming normal operations
[Thu Jan 05 14:55:20 2012] [notice] Server built: Sep 10 2011 11:34:11
[Thu Jan 05 14:55:20 2012] [notice] Parent: Created child process 3152
[Thu Jan 05 14:55:20 2012] [notice] Child 3152: Child process is running
[Thu Jan 05 14:55:20 2012] [crit] (OS 10022)An invalid argument was supplied.  : Child 3152: setup_inherited_listeners(), WSASocket failed to open the inherited socket.
[Thu Jan 05 14:55:21 2012] [crit] Parent: child process exited with status 3 -- Aborting.
[Thu Jan 05 14:55:31 2012] [notice] Apache/2.2.21 (Win32) PHP/5.3.8 configured -- resuming normal operations
[Thu Jan 05 14:55:31 2012] [notice] Server built: Sep 10 2011 11:34:11
[Thu Jan 05 14:55:31 2012] [notice] Parent: Created child process 3988
[Thu Jan 05 14:55:31 2012] [notice] Child 3988: Child process is running
[Thu Jan 05 14:55:31 2012] [crit] (OS 10022)An invalid argument was supplied.  : Child 3988: setup_inherited_listeners(), WSASocket failed to open the inherited socket.
[Thu Jan 05 14:55:31 2012] [crit] Parent: child process exited with status 3 -- Aborting.

有人知道原因plz帮助我

anyone know reason for this plz help for me

这似乎是在Win XP SP2的共同课题。

It appears to be a common issue on Win XP SP2.


很简单的解决方法是取消选中TCP / IP协议设置了启用LMHOSTS查找对话框(WINS下设置)。下面是做到这一点的步骤:

" The very simple solution is to uncheck the "Enable LMHOSTS Lookup" box in the TCP/IP protocol setup (under WINS setting). Here are the steps to do this:

打开控制面板后,网络连接。

在本地连接右键单击并选择属性。

在Internet协议(TCP / IP)行双击,打开属性。

在常规选项卡上,单击高级按钮。

选择WINS选项卡,取消启用LMHOSTS查找对话框。

Open "Control Panel" then "Network Connections."
Right-click on "Local Area Connection" and select "Properties."
Double-click on the "Internet Protocol (TCP/IP)" line to open the "Properties."
On the "General" tab, click the "Advanced" button.
Select the "WINS" tab and uncheck the "Enable LMHOSTS Lookup" box."
"

http://www.jennyconnors.com/computers/installing-apache2-and-the-wsasocket-failed-to-open-the-inherited-socket-error