[問題] Apache 無法啟動

AppServ Running Discuss
關於 AppServ 架設使用操作討論,沒有按照發文格式一律砍文!

版主: 版主管理群

蔚藍的天空
星球普通子民
星球普通子民
文章: 8
註冊時間: 2006-08-23 14:57

[問題] Apache 無法啟動

文章 蔚藍的天空 »

* Windows 作業系統版本:Xp Home Sp2
* Appserv 安裝版本:2.5.6
* 發生問題:Apache 無法啟動 ,啟動時都會出現訊息(下圖)
圖檔
chiouss
竹貓忠實會員
竹貓忠實會員
文章: 1741
註冊時間: 2002-11-29 18:19

文章 chiouss »

去看你的 access.log/error.log 寫什麼,這個訊息沒啥用。
蔚藍的天空
星球普通子民
星球普通子民
文章: 8
註冊時間: 2006-08-23 14:57

文章 蔚藍的天空 »

我換成用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
chiouss
竹貓忠實會員
竹貓忠實會員
文章: 1741
註冊時間: 2002-11-29 18:19

文章 chiouss »

代碼: 選擇全部

[Thu Aug 24 01:44:00 2006] [crit] (OS 10022)提供了一個不正確的引數。  : Child 17632: setup_inherited_listeners(), WSASocket failed to open the inherited socket.
這個問題之前有人碰過,似乎代表著有某程式把你的 Port 80 用掉了,搜尋一下這段錯誤訊息吧!
shelf
星球普通子民
星球普通子民
文章: 2
註冊時間: 2003-08-03 23:48

文章 shelf »

請問你有安裝[費爾防火牆]
他和apache衝突喔
ketdael
星球普通子民
星球普通子民
文章: 2
註冊時間: 2002-10-30 14:23

文章 ketdael »

我也出現這些訊息:
[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
n6869059
星球普通子民
星球普通子民
文章: 4
註冊時間: 2006-08-21 01:03

文章 n6869059 »

[Wed Dec 20 10:27:52 2006] [error] (13)Permission denied: could not open transfer log file c:/program files/easyphp1-8/apache/logs/access.log.

=.=最近我的apache也起不來了,上面是我的error message不知道是那出了問題呢?麻煩各位大大提供你們寶貴的經驗!! :cry:
n6869059
星球普通子民
星球普通子民
文章: 4
註冊時間: 2006-08-21 01:03

文章 n6869059 »

哈哈..知道問題了,原來是我的access log太大了,有2.5g那麼多,改個名字就可以用了^^
chiouss
竹貓忠實會員
竹貓忠實會員
文章: 1741
註冊時間: 2002-11-29 18:19

文章 chiouss »

n6869059 寫:哈哈..知道問題了,原來是我的access log太大了,有2.5g那麼多,改個名字就可以用了^^
請看 manual 裡面有關 logrotate 的部分說明...
星球普通子民
星球普通子民
文章: 6
註冊時間: 2005-07-18 20:29

文章 »

我也是耶 怎麼辦@@?
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.
ketdael
星球普通子民
星球普通子民
文章: 2
註冊時間: 2002-10-30 14:23

文章 ketdael »

今天發現另一個程式也會攔port 80: Skype

把skype設定-連線-"使用80/443作為外來連線替代"的勾選取消後就好了(Skype必須關掉重開)

對於不知誰佔掉port80的人,可以用netstat -ab 看是哪個傢伙佔用的
Ket
星球普通子民
星球普通子民
文章: 6
註冊時間: 2005-07-18 20:29

文章 »

ketdael 寫:今天發現另一個程式也會攔port 80: Skype

把skype設定-連線-"使用80/443作為外來連線替代"的勾選取消後就好了(Skype必須關掉重開)

對於不知誰佔掉port80的人,可以用netstat -ab 看是哪個傢伙佔用的
是這個嗎.....? 不過看不太懂.......
圖檔
星球普通子民
星球普通子民
文章: 6
註冊時間: 2005-07-18 20:29

文章 »

暫且不管是否有程式佔用好了...
我重新安裝 改用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.
chiouss
竹貓忠實會員
竹貓忠實會員
文章: 1741
註冊時間: 2002-11-29 18:19

文章 chiouss »

倫 寫:暫且不管是否有程式佔用好了...
我重新安裝 改用8080 還是會出現
你原本的 server 有停下來嗎?不確定的話重新開機過後再試看看...
星球普通子民
星球普通子民
文章: 6
註冊時間: 2005-07-18 20:29

文章 »

chiouss 寫:
倫 寫:暫且不管是否有程式佔用好了...
我重新安裝 改用8080 還是會出現
你原本的 server 有停下來嗎?不確定的話重新開機過後再試看看...
後來我又把它移掉,把XP SP2 退回SP1
好像都是XP SP2 的問題,SP2都不能正常啟動,後來我退回SP1
可以啟動了,可是,變成龜速開啟localhost,瀏覽器狀態寫著..等待localhost...
好久@.@" 這怎麼回是,沒升級到SP2之前都問題呀=.=
P.S費爾防火牆已把HTTP 80開放..
最後由 於 2007-01-01 10:12 編輯,總共編輯了 1 次。
主題已鎖定

回到「AppServ」