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

启动apache (OS 10022)提供了一个无效的参数。解决方案

时间:2015-03-17 15:53:00      阅读:147      评论:0      收藏:0      [点我收藏+]

标签:

今天 apache 突然启动不起来了,查看了一下错误日志发现了如下错误:

[Tue Mar 17 11:27:32 2015] [crit] Parent: child process exited with status 3 -- Aborting.
[Tue Mar 17 11:28:25 2015] [notice] Apache/2.2.11 (Win32) PHP/5.2.9-2 configured -- resuming normal operations
[Tue Mar 17 11:28:25 2015] [notice] Server built: Dec 10 2008 00:10:06
[Tue Mar 17 11:28:26 2015] [notice] Parent: Created child process 3776
[Tue Mar 17 11:28:26 2015] [notice] Child 3776: Child process is running
[Tue Mar 17 11:28:26 2015] [crit] (OS 10022)提供了一个无效的参数。  : Child 3776: setup_inherited_listeners(), WSASocket failed to open the inherited socket.
[Tue Mar 17 11:28:26 2015] [crit] Parent: child process exited with status 3 -- Aborting.
[Tue Mar 17 11:28:38 2015] [notice] Apache/2.2.11 (Win32) PHP/5.2.9-2 configured -- resuming normal operations
[Tue Mar 17 11:28:38 2015] [notice] Server built: Dec 10 2008 00:10:06
[Tue Mar 17 11:28:38 2015] [notice] Parent: Created child process 6804
[Tue Mar 17 11:28:38 2015] [notice] Child 6804: Child process is running

于是乎搜索了一些解决方案,最终还是:修复winsock,在运行里输入:netsh winsock reset

用这种方法解决了问题。

启动apache (OS 10022)提供了一个无效的参数。解决方案

标签:

原文地址:http://blog.csdn.net/cuiyuan9/article/details/44342197

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