zoukankan      html  css  js  c++  java
  • 启动apache (OS 10022)提供了一个无效的參数。解决方式

    今天 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

    用这样的方法攻克了问题。

  • 相关阅读:
    BZOJ3483 : SGU505 Prefixes and suffixes(询问在线版)
    BZOJ3067 : Hyperdrome
    BZOJ3461 : Jry的时间表
    BZOJ3024 : [Balkan2012]balls
    BZOJ1111 : [POI2007]四进制的天平Wag
    BZOJ1107 : [POI2007]驾驶考试egz
    BZOJ1109 : [POI2007]堆积木Klo
    BZOJ4158 : [POI2007]Railway
    BZOJ1110 : [POI2007]砝码Odw
    BZOJ1105 : [POI2007]石头花园SKA
  • 原文地址:https://www.cnblogs.com/yxysuanfa/p/7397050.html
Copyright © 2011-2022 走看看