zoukankan      html  css  js  c++  java
  • Apache2.4卡住无法访问的解决……

    早两个星期,搭建了一个项目管理平台——《如何安装一个优秀的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 解决方案

    根据文章指示做好配置之后,运行恢复了正常。

    现在登录起来非常顺畅:

  • 相关阅读:
    HTTP 协议详解
    HTTP抓包工具之Fiddler
    C#网络编程(订立协议和发送文件)
    C#编程总结(十)字符转码
    通信协议:HTTP、TCP、UDP
    C# 对象、文件与二进制串(byte数组)之间的转换
    从输入URL 到页面加载完成的过程
    java动手动脑
    大道至简第二章读后感
    《大道至简》第一章 读后感
  • 原文地址:https://www.cnblogs.com/marvin/p/AboutApacheHang.html
Copyright © 2011-2022 走看看