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 解决方案

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

    现在登录起来非常顺畅:

  • 相关阅读:
    扒几个 3D 模型备用
    向 3D 世界迈出一小步
    为什么说使用 Linux 系统学习 OpenGL 更方便
    Windows 下的 Linux环境
    windows git 的扩展用法——其他linux命令
    Linux 环境变量
    powershell(或者windows terminal)中使用git
    QT无边框窗体——拦截windows消息实现
    QT工具——开发技巧与其他工具
    QT工具——国际化工具
  • 原文地址:https://www.cnblogs.com/marvin/p/AboutApacheHang.html
Copyright © 2011-2022 走看看