早兩個星期,搭建了一個項目管理平台——《如何安裝一個優秀的BUG管理平台——真的是手把手教學!》。以前都是用apache2.2的,這次換了apache2.4。安裝起來是沒有問題的,結果運行一段時間之后,發覺老是訪問網站的時候會卡住,情況是下面這樣的:
一直都是無法訪問。
查看8080端口,是ok的,防火牆也打開了
懷疑是雲服務器的問題,會不會因為備案的關系對域名做了一些限制,咨詢了之后,發現他們沒有這樣的限制。
那么查看一下apache的日志看看?發現error.log
里面確實報了點問題:
[Tue Sep 08 09:19:43.900756 2015] [cgi:error] [pid 5600:tid 964] [client 61.160.213.33:2784] AH02811: script not found or unable to stat: D:/software/httpd-2.4.16-x64/Apache24/cgi-bin/chs
[Tue Sep 08 11:26:52.772247 2015] [mpm_winnt:warn] [pid 5600:tid 1220] (OS 121)信號燈超時時間已到 : AH00341: winnt_accept: Asynchronous AcceptEx failed.
[Tue Sep 08 11:26:52.772247 2015] [mpm_winnt:warn] [pid 5600:tid 1220] (OS 64)指定的網絡名不再可用。 : AH00341: winnt_accept: Asynchronous AcceptEx failed.
[Tue Sep 08 11:26:52.772247 2015] [mpm_winnt:warn] [pid 5600:tid 1220] (OS 64)指定的網絡名不再可用。 : AH00341: winnt_accept: Asynchronous AcceptEx failed.
[Tue Sep 08 11:26:52.774200 2015] [cgi:error] [pid 5600:tid 964] [client 61.160.213.33:2788] AH02811: script not found or unable to stat: D:/software/httpd-2.4.16-x64/Apache24/cgi-bin/chs
[Tue Sep 08 11:36:48.029479 2015] [mpm_winnt:warn] [pid 5600:tid 1220] (OS 121)信號燈超時時間已到 : AH00341: winnt_accept: Asynchronous AcceptEx failed.
[Tue Sep 08 11:36:48.030456 2015] [cgi:error] [pid 5600:tid 964] [client 61.160.213.32:3786] AH02811: script not found or unable to stat: D:/software/httpd-2.4.16-x64/Apache24/cgi-bin/chs
[Tue Sep 08 11:36:48.031432 2015] [cgi:error] [pid 5600:tid 964] [client 61.160.213.33:3530] AH02811: script not found or unable to stat: D:/software/httpd-2.4.16-x64/Apache24/cgi-bin/chs
[Tue Sep 08 11:36:48.092958 2015] [cgi:error] [pid 5600:tid 968] [client 61.160.213.33:2427] AH02811: script not found or unable to stat: D:/software/httpd-2.4.16-x64/Apache24/cgi-bin/chs
[Tue Sep 08 11:36:48.093935 2015] [cgi:error] [pid 5600:tid 968] [client 61.160.213.32:2150] AH02811: script not found or unable to stat: D:/software/httpd-2.4.16-x64/Apache24/cgi-bin/chs
[Tue Sep 08 11:36:48.104677 2015] [mpm_winnt:warn] [pid 5600:tid 1220] (OS 64)指定的網絡名不再可用。 : AH00341: winnt_accept: Asynchronous AcceptEx failed.
[Tue Sep 08 11:36:48.108584 2015] [:error] [pid 5600:tid 976] [client 185.25.151.159:42150] script 'D:/software/httpd-2.4.16-x64/Apache24/htdocs/testproxy.php' not found or unable to stat
[Tue Sep 08 11:36:48.119326 2015] [cgi:error] [pid 5600:tid 1004] [client 61.160.213.33:1141] AH02811: script not found or unable to stat: D:/software/httpd-2.4.16-x64/Apache24/cgi-bin/chs
[Tue Sep 08 11:36:48.246284 2015] [mpm_winnt:warn] [pid 5600:tid 1220] (OS 64)指定的網絡名不再可用。 : AH00341: winnt_accept: Asynchronous AcceptEx failed.
[Tue Sep 08 11:36:48.247261 2015] [mpm_winnt:warn] [pid 5600:tid 1220] (OS 64)指定的網絡名不再可用。 : AH00341: winnt_accept: Asynchronous AcceptEx failed.
立即上網查詢了下,結果發現很多人都有過這個問題,找到了下面這篇文章:apache winnt_accept: Asynchronous AcceptEx failed 解決方案
根據文章指示做好配置之后,運行恢復了正常。
現在登錄起來非常順暢: