啟動apache (OS 10022)提供了一個無效的參數。解決方式

來源:互聯網
上載者:User

標籤:min   class   nbsp   div   parent   winsock   日誌   一個   pop   

今天 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)提供了一個無效的參數。解決方式

相關文章

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.