[問題] Apache 無法啟動
版主: 版主管理群
[問題] Apache 無法啟動
* Windows 作業系統版本:Xp Home Sp2
* Appserv 安裝版本:2.5.6
* 發生問題:Apache 無法啟動 ,啟動時都會出現訊息(下圖)
* Appserv 安裝版本:2.5.6
* 發生問題:Apache 無法啟動 ,啟動時都會出現訊息(下圖)
我換成用Appserv 2.5.5後
Apache 服務可以正常啟動
但卻無法連線
我去看了logs/error
都是重複下列訊息
[Thu Aug 24 01:44:00 2006] [crit] (OS 10022)提供了一個不正確的引數。 : Child 17632: setup_inherited_listeners(), WSASocket failed to open the inherited socket.
[Thu Aug 24 01:44:00 2006] [error] Parent: child process exited with status 3 -- Aborting.
[Thu Aug 24 01:44:00 2006] [notice] Apache/2.0.55 (Win32) PHP/5.1.1 configured -- resuming normal operations
[Thu Aug 24 01:44:01 2006] [notice] Server built: Oct 9 2005 19:16:56
[Thu Aug 24 01:44:01 2006] [notice] Parent: Created child process 18204
[Thu Aug 24 01:44:01 2006] [notice] Child 18204: Child process is running
[Thu Aug 24 01:44:01 2006] [crit] (OS 10022)提供了一個不正確的引數。 : Child 18204: setup_inherited_listeners(), WSASocket failed to open the inherited socket.
[Thu Aug 24 01:44:01 2006] [error] Parent: child process exited with status 3 -- Aborting.
[Thu Aug 24 01:44:02 2006] [notice] Apache/2.0.55 (Win32) PHP/5.1.1 configured -- resuming normal operations
[Thu Aug 24 01:44:02 2006] [notice] Server built: Oct 9 2005 19:16:56
[Thu Aug 24 01:44:02 2006] [notice] Parent: Created child process 17092
[Thu Aug 24 01:44:03 2006] [notice] Child 17092: Child process is running
[Thu Aug 24 01:44:03 2006] [crit] (OS 10022)提供了一個不正確的引數。 : Child 17092: setup_inherited_listeners(), WSASocket failed to open the inherited socket.
[Thu Aug 24 01:44:03 2006] [error] Parent: child process exited with status 3 -- Aborting.
[Thu Aug 24 01:44:04 2006] [notice] Apache/2.0.55 (Win32) PHP/5.1.1 configured -- resuming normal operations
[Thu Aug 24 01:44:04 2006] [notice] Server built: Oct 9 2005 19:16:56
[Thu Aug 24 01:44:04 2006] [notice] Parent: Created child process 17320
[Thu Aug 24 01:44:04 2006] [notice] Child 17320: Child process is running
[Thu Aug 24 01:44:05 2006] [crit] (OS 10022)提供了一個不正確的引數。 : Child 17320: setup_inherited_listeners(), WSASocket failed to open the inherited socket.
[Thu Aug 24 01:44:05 2006] [error] Parent: child process exited with status 3 -- Aborting.
[Thu Aug 24 01:44:05 2006] [notice] Apache/2.0.55 (Win32) PHP/5.1.1 configured -- resuming normal operations
[Thu Aug 24 01:44:05 2006] [notice] Server built: Oct 9 2005 19:16:56
[Thu Aug 24 01:44:05 2006] [notice] Parent: Created child process 18436
Apache 服務可以正常啟動
但卻無法連線
我去看了logs/error
都是重複下列訊息
[Thu Aug 24 01:44:00 2006] [crit] (OS 10022)提供了一個不正確的引數。 : Child 17632: setup_inherited_listeners(), WSASocket failed to open the inherited socket.
[Thu Aug 24 01:44:00 2006] [error] Parent: child process exited with status 3 -- Aborting.
[Thu Aug 24 01:44:00 2006] [notice] Apache/2.0.55 (Win32) PHP/5.1.1 configured -- resuming normal operations
[Thu Aug 24 01:44:01 2006] [notice] Server built: Oct 9 2005 19:16:56
[Thu Aug 24 01:44:01 2006] [notice] Parent: Created child process 18204
[Thu Aug 24 01:44:01 2006] [notice] Child 18204: Child process is running
[Thu Aug 24 01:44:01 2006] [crit] (OS 10022)提供了一個不正確的引數。 : Child 18204: setup_inherited_listeners(), WSASocket failed to open the inherited socket.
[Thu Aug 24 01:44:01 2006] [error] Parent: child process exited with status 3 -- Aborting.
[Thu Aug 24 01:44:02 2006] [notice] Apache/2.0.55 (Win32) PHP/5.1.1 configured -- resuming normal operations
[Thu Aug 24 01:44:02 2006] [notice] Server built: Oct 9 2005 19:16:56
[Thu Aug 24 01:44:02 2006] [notice] Parent: Created child process 17092
[Thu Aug 24 01:44:03 2006] [notice] Child 17092: Child process is running
[Thu Aug 24 01:44:03 2006] [crit] (OS 10022)提供了一個不正確的引數。 : Child 17092: setup_inherited_listeners(), WSASocket failed to open the inherited socket.
[Thu Aug 24 01:44:03 2006] [error] Parent: child process exited with status 3 -- Aborting.
[Thu Aug 24 01:44:04 2006] [notice] Apache/2.0.55 (Win32) PHP/5.1.1 configured -- resuming normal operations
[Thu Aug 24 01:44:04 2006] [notice] Server built: Oct 9 2005 19:16:56
[Thu Aug 24 01:44:04 2006] [notice] Parent: Created child process 17320
[Thu Aug 24 01:44:04 2006] [notice] Child 17320: Child process is running
[Thu Aug 24 01:44:05 2006] [crit] (OS 10022)提供了一個不正確的引數。 : Child 17320: setup_inherited_listeners(), WSASocket failed to open the inherited socket.
[Thu Aug 24 01:44:05 2006] [error] Parent: child process exited with status 3 -- Aborting.
[Thu Aug 24 01:44:05 2006] [notice] Apache/2.0.55 (Win32) PHP/5.1.1 configured -- resuming normal operations
[Thu Aug 24 01:44:05 2006] [notice] Server built: Oct 9 2005 19:16:56
[Thu Aug 24 01:44:05 2006] [notice] Parent: Created child process 18436
我也出現這些訊息:
[Wed Nov 29 15:40:05 2006] [notice] Apache/2.2.3 (Win32) configured -- resuming normal operations
[Wed Nov 29 15:40:05 2006] [notice] Server built: Jul 27 2006 16:49:49
[Wed Nov 29 15:40:05 2006] [notice] Parent: Created child process 3448
[Wed Nov 29 15:40:05 2006] [notice] Child 3448: Child process is running
[Wed Nov 29 15:40:05 2006] [crit] (OS 10022)提供了一個不正確的引數。 : Child 3448: setup_inherited_listeners(), WSASocket failed to open the inherited socket.
[Wed Nov 29 15:40:05 2006] [crit] Parent: child process exited with status 3 -- Aborting.
並不是有程式佔掉port 80,而是Windows的防火牆擋掉了port 80,不管你的Windows防火牆打開或關閉都一樣,死痿軟就是不開
解法:
控制台-Windows防火牆-進階-網路連線設定值-區域連線-設定值-服務-有HTTP的打勾-確定
[Wed Nov 29 15:40:05 2006] [notice] Apache/2.2.3 (Win32) configured -- resuming normal operations
[Wed Nov 29 15:40:05 2006] [notice] Server built: Jul 27 2006 16:49:49
[Wed Nov 29 15:40:05 2006] [notice] Parent: Created child process 3448
[Wed Nov 29 15:40:05 2006] [notice] Child 3448: Child process is running
[Wed Nov 29 15:40:05 2006] [crit] (OS 10022)提供了一個不正確的引數。 : Child 3448: setup_inherited_listeners(), WSASocket failed to open the inherited socket.
[Wed Nov 29 15:40:05 2006] [crit] Parent: child process exited with status 3 -- Aborting.
並不是有程式佔掉port 80,而是Windows的防火牆擋掉了port 80,不管你的Windows防火牆打開或關閉都一樣,死痿軟就是不開
解法:
控制台-Windows防火牆-進階-網路連線設定值-區域連線-設定值-服務-有HTTP的打勾-確定
Ket
我也是耶 怎麼辦@@?
OS:WIN XP SP2
Appserv版本:2.5.7
[Sat Dec 23 17:27:00 2006] [notice] Apache/2.2.3 (Win32) PHP/5.1.6 configured -- resuming normal operations
[Sat Dec 23 17:27:00 2006] [notice] Server built: Jul 27 2006 16:49:49
[Sat Dec 23 17:27:00 2006] [notice] Parent: Created child process 4396
[Sat Dec 23 17:27:00 2006] [notice] Child 4396: Child process is running
[Sat Dec 23 17:27:00 2006] [crit] (OS 10022)提供了一個不正確的引數。 : Child 4396: setup_inherited_listeners(), WSASocket failed to open the inherited socket.
[Sat Dec 23 17:27:01 2006] [crit] Parent: child process exited with status 3 -- Aborting.
OS:WIN XP SP2
Appserv版本:2.5.7
[Sat Dec 23 17:27:00 2006] [notice] Apache/2.2.3 (Win32) PHP/5.1.6 configured -- resuming normal operations
[Sat Dec 23 17:27:00 2006] [notice] Server built: Jul 27 2006 16:49:49
[Sat Dec 23 17:27:00 2006] [notice] Parent: Created child process 4396
[Sat Dec 23 17:27:00 2006] [notice] Child 4396: Child process is running
[Sat Dec 23 17:27:00 2006] [crit] (OS 10022)提供了一個不正確的引數。 : Child 4396: setup_inherited_listeners(), WSASocket failed to open the inherited socket.
[Sat Dec 23 17:27:01 2006] [crit] Parent: child process exited with status 3 -- Aborting.
暫且不管是否有程式佔用好了...
我重新安裝 改用8080 還是會出現
[Sun Dec 31 10:48:42 2006] [notice] Apache/2.2.2 (Win32) configured -- resuming normal operations
[Sun Dec 31 10:48:42 2006] [notice] Server built: Apr 29 2006 18:32:31
[Sun Dec 31 10:48:42 2006] [notice] Parent: Created child process 3124
[Sun Dec 31 10:48:42 2006] [notice] Child 3124: Child process is running
[Sun Dec 31 10:48:42 2006] [crit] (OS 10022)提供了一個不正確的引數。 : Child 3124: setup_inherited_listeners(), WSASocket failed to open the inherited socket.
[Sun Dec 31 10:48:42 2006] [crit] Parent: child process exited with status 3 -- Aborting.
我重新安裝 改用8080 還是會出現
[Sun Dec 31 10:48:42 2006] [notice] Apache/2.2.2 (Win32) configured -- resuming normal operations
[Sun Dec 31 10:48:42 2006] [notice] Server built: Apr 29 2006 18:32:31
[Sun Dec 31 10:48:42 2006] [notice] Parent: Created child process 3124
[Sun Dec 31 10:48:42 2006] [notice] Child 3124: Child process is running
[Sun Dec 31 10:48:42 2006] [crit] (OS 10022)提供了一個不正確的引數。 : Child 3124: setup_inherited_listeners(), WSASocket failed to open the inherited socket.
[Sun Dec 31 10:48:42 2006] [crit] Parent: child process exited with status 3 -- Aborting.
後來我又把它移掉,把XP SP2 退回SP1chiouss 寫:你原本的 server 有停下來嗎?不確定的話重新開機過後再試看看...倫 寫:暫且不管是否有程式佔用好了...
我重新安裝 改用8080 還是會出現
好像都是XP SP2 的問題,SP2都不能正常啟動,後來我退回SP1
可以啟動了,可是,變成龜速開啟localhost,瀏覽器狀態寫著..等待localhost...
好久@.@" 這怎麼回是,沒升級到SP2之前都問題呀=.=
P.S費爾防火牆已把HTTP 80開放..
最後由 倫 於 2007-01-01 10:12 編輯,總共編輯了 1 次。