完美解決:Apache啟動問題—(OS 10022)提供了一個無效的參數
更新時間:2013年06月08日 10:09:18 作者:
本篇文章是對Apache啟動問題—(OS 10022)提供了一個無效參數的解決方法進行了詳細的分析介紹,需要的朋友參考下
今天啟動apache2始終無法啟動,本以為又是端口問題,可后來查看并未有端口占用問題,于是查看錯誤日志如下:
[Sat Jun 20 03:12:52 2009] [notice] Apache/2.2.11 (Win32) PHP/5.2.9-2 configured -- resuming normal operations
[Sat Jun 20 03:12:52 2009] [notice] Server built: Dec 10 2008 00:10:06
[Sat Jun 20 03:12:52 2009] [notice] Parent: Created child process 2676
[Sat Jun 20 03:12:53 2009] [notice] Child 2676: Child process is running
[Sat Jun 20 03:12:53 2009] [crit] (OS 10022)提供了一個無效的參數。 : Child 2676: setup_inherited_listeners(), WSASocket failed to open the inherited socket.
[Sat Jun 20 03:12:53 2009] [crit] Parent: child process exited with status 3 -- Aborting.
(OS 10022)提供了一個無效的參數。
--------------------------------------------------------------------------------
這個錯誤解決方法如下:
1.網上鄰居->本地連接->屬性->internet協議(TCP/IP)->屬性->高級->wins標簽->去掉啟用LMhosts查詢前的勾.(這個我自己電腦xp系統上并沒有...)
2.控制面版->windows防火墻->高級標簽->本地連接設置->服務的標簽里勾選安全Web服務器(HTTPS)即可.(我嘗試了這個但無效果...)
(這上下兩項完成后仍然有問題,選中:啟用 TCI/IP 上的 NetBOIS.
我自己用以上兩種方法未解決問題,嘗試下面的第三種,成功!
3.修復winsock,在運行里輸入:netsh winsock reset
[Sat Jun 20 03:12:52 2009] [notice] Apache/2.2.11 (Win32) PHP/5.2.9-2 configured -- resuming normal operations
[Sat Jun 20 03:12:52 2009] [notice] Server built: Dec 10 2008 00:10:06
[Sat Jun 20 03:12:52 2009] [notice] Parent: Created child process 2676
[Sat Jun 20 03:12:53 2009] [notice] Child 2676: Child process is running
[Sat Jun 20 03:12:53 2009] [crit] (OS 10022)提供了一個無效的參數。 : Child 2676: setup_inherited_listeners(), WSASocket failed to open the inherited socket.
[Sat Jun 20 03:12:53 2009] [crit] Parent: child process exited with status 3 -- Aborting.
(OS 10022)提供了一個無效的參數。
--------------------------------------------------------------------------------
這個錯誤解決方法如下:
1.網上鄰居->本地連接->屬性->internet協議(TCP/IP)->屬性->高級->wins標簽->去掉啟用LMhosts查詢前的勾.(這個我自己電腦xp系統上并沒有...)
2.控制面版->windows防火墻->高級標簽->本地連接設置->服務的標簽里勾選安全Web服務器(HTTPS)即可.(我嘗試了這個但無效果...)
(這上下兩項完成后仍然有問題,選中:啟用 TCI/IP 上的 NetBOIS.
我自己用以上兩種方法未解決問題,嘗試下面的第三種,成功!
3.修復winsock,在運行里輸入:netsh winsock reset
相關文章
jquery+php實現導出datatables插件數據到excel的方法
這篇文章主要介紹了jquery+php實現導出datatables插件數據到excel的方法,實例分析了jquery插件datatables的使用方法與php導出datatables數據到Excel的技巧,需要的朋友可以參考下2015-07-07
PHP 利用AJAX獲取網頁并輸出的實現代碼(Zjmainstay)
PHP 利用AJAX獲取網頁并輸出的實現代碼,需要的朋友可以參考下2012-08-08

