免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 1779 | 回复: 0
打印 上一主题 下一主题

[Web] Apache 过一段时间后就访问不了(服务仍在运行) [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2006-09-05 17:55 |只看该作者 |倒序浏览
大家好!Aapach最近有点异常,Apache刚开机可以访问,但过一段时间后就访问不了了,查看了一下进程:
# ps ax | grep http
2763 ?        Ss     0:00 /usr/sbin/httpd
2790 ?        S      0:00 /usr/sbin/httpd
2791 ?        S      0:00 /usr/sbin/httpd
2792 ?        S      0:00 /usr/sbin/httpd
2793 ?        S      0:00 /usr/sbin/httpd
2794 ?        S      0:00 /usr/sbin/httpd
2795 ?        S      0:00 /usr/sbin/httpd
2796 ?        S      0:00 /usr/sbin/httpd
2797 ?        S      0:00 /usr/sbin/httpd
然后重启服务:
# /etc/rc.d/init.d/httpd restart
Stopping httpd:                                            [  OK  ]
Starting httpd:                                            [  OK  ]

但还是访问不了,只有重启计算机了才可以,但过10来分钟左右又不行了。有时候重启计算机所也不行,到底哪里出了问题,先谢过。


(PS:
1 message 里只有apache启动成功的记录,没有其他记录了。

2 /var/log/httpd/error.log:
[Sun Sep 03 04:02:10 2006] [notice] Digest: generating secret for digest authentication ...
[Sun Sep 03 04:02:10 2006] [notice] Digest: done
[Sun Sep 03 04:02:10 2006] [notice] LDAP: Built with OpenLDAP LDAP SDK
[Sun Sep 03 04:02:10 2006] [notice] LDAP: SSL support unavailable
[Sun Sep 03 04:02:10 2006] [notice] mod_python: Creating 4 session mutexes based on 256 max processes and 0 max threads.
[Sun Sep 03 04:02:10 2006] [notice] Apache/2.0.52 (CentOS) configured -- resuming normal operations
[Tue Sep 05 17:09:00 2006] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Tue Sep 05 17:09:00 2006] [notice] Digest: generating secret for digest authentication ...
[Tue Sep 05 17:09:00 2006] [notice] Digest: done
[Tue Sep 05 17:09:00 2006] [notice] LDAP: Built with OpenLDAP LDAP SDK
[Tue Sep 05 17:09:00 2006] [notice] LDAP: SSL support unavailable
[Tue Sep 05 17:09:01 2006] [notice] mod_python: Creating 4 session mutexes based on 256 max processes and 0 max threads.
[Tue Sep 05 17:09:01 2006] [notice] Apache/2.0.52 (CentOS) configured -- resuming normal operations
[Tue Sep 05 17:37:33 2006] [notice] caught SIGTERM, shutting down
[Tue Sep 05 17:37:34 2006] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Tue Sep 05 17:37:34 2006] [notice] Digest: generating secret for digest authentication ...
[Tue Sep 05 17:37:34 2006] [notice] Digest: done
[Tue Sep 05 17:37:34 2006] [notice] LDAP: Built with OpenLDAP LDAP SDK
[Tue Sep 05 17:37:34 2006] [notice] LDAP: SSL support unavailable
[Tue Sep 05 17:37:34 2006] [notice] mod_python: Creating 4 session mutexes based on 256 max processes and 0 max threads.
[Tue Sep 05 17:37:34 2006] [notice] Apache/2.0.52 (CentOS) configured -- resuming normal operations
[Tue Sep 05 17:39:16 2006] [notice] caught SIGTERM, shutting down
[Tue Sep 05 17:43:54 2006] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Tue Sep 05 17:43:54 2006] [notice] Digest: generating secret for digest authentication ...
[Tue Sep 05 17:43:54 2006] [notice] Digest: done
[Tue Sep 05 17:43:54 2006] [notice] LDAP: Built with OpenLDAP LDAP SDK
[Tue Sep 05 17:43:54 2006] [notice] LDAP: SSL support unavailable
[Tue Sep 05 17:43:55 2006] [notice] mod_python: Creating 4 session mutexes based on 256 max processes and 0 max threads.
[Tue Sep 05 17:43:55 2006] [notice] Apache/2.0.52 (CentOS) configured -- resuming normal operations

3 /var/log/httpd/access.log 里没有记录

4 /var/log/httpd/access.log.1:
127.0.0.1 - - [27/Aug/2006:17:53:32 +0800] "GET /bbs/attachments/usO46A==_QC9PQA45mGLf.gif HTTP/1.0" 404 312 "http://gz.ichat.net.cn:8216/Body?user=\xbf\xc6\xd1\xa7\xbc\xd2&pass=UbAJhwXbDGuqkKWQRXIdAcosjMvoXZDx&r=31872" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1)"
127.0.0.1 - - [27/Aug/2006:18:21:05 +0800] "GET /bbs/attachments/27_4200_335_AH3irbbiAUCR.gif HTTP/1.0" 404 315 "http://www.60366.com/viewthread.php?tid=6122&extra=page%3D1" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; 56flvplayer 1.0)"
127.0.0.1 - - [28/Aug/2006:09:32:52 +0800] "GET / HTTP/1.0" 403 5044 "http://tpx.3322.org/" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1)"
127.0.0.1 - - [29/Aug/2006:20:35:01 +0800] "GET / HTTP/1.0" 403 5044 "http://www.baidu.com/s?lm=0&si=&rn=10&ie=gb2312&ct=0&wd=%D0%A3%D4%B0%C2%DB%CC%B3&pn=40&cl=3" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; TencentTraveler )"
127.0.0.1 - - [29/Aug/2006:20:35:04 +0800] "GET /icons/apache_pb2.gif HTTP/1.0" 200 2414 "http://bbs.cnsccc.cn/" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; TencentTraveler )"
127.0.0.1 - - [29/Aug/2006:20:35:04 +0800] "GET /icons/powered_by_rh.png HTTP/1.0" 200 1213 "http://bbs.cnsccc.cn/" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; TencentTraveler )"

您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP