Apache 服务器不断崩溃,“抓到 SIGTERM,正在关闭" [英] Apache server keeps crashing, "caught SIGTERM, shutting down"

查看:23
本文介绍了Apache 服务器不断崩溃,“抓到 SIGTERM,正在关闭"的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

这只是三周左右前才开始发生的.我的网站内容没有改变,只是一个使用 MySQL 作为后端的 phpBB 论坛.

一年多来没有任何变化,但最近,每隔两天左右,服务器就会关闭并且根本无法访问,我必须通知我的服务提供商物理重启机器.

这似乎与我在日志中发现的这些 SIGTERM 错误有关.问题是我不知道如何解决这些问题或找到根本原因,因为我缺乏这方面的技能.

有人知道会发生什么吗?

Apache/2.2.3 (CentOS)

20051115

Linux 2.6.18-028stab057.4 #1 SMP Fri Aug 1 10:47:59 MSD 2008 x86_64

从错误日志中:[Sun Nov 01 15:18:53 2009] [notice] 捕获 SIGTERM,正在关闭

不完全确定是什么导致了我的问题,但这听起来不是一件好事.

如果需要,我可以发布更多日志信息

<上一页>[Sun Nov 01 05:07:17 2009] [notice] 摘要:为摘要身份验证生成密钥...[Sun Nov 01 05:07:17 2009] [notice] 摘要:完成[Sun Nov 01 05:07:19 2009] [notice] mod_python:基于 10 个最大进程和 0 个最大线程创建 4 个会话互斥锁.[Sun Nov 01 05:07:19 2009] [警告] RSA 服务器证书 CommonName (CN) `plesk' 与服务器名称不匹配!?[Sun Nov 01 05:07:19 2009] [警告] RSA 服务器证书 CommonName (CN) `plesk' 与服务器名称不匹配!?[Sun Nov 01 05:07:19 2009] [警告] RSA 服务器证书 CommonName (CN) `plesk' 与服务器名称不匹配!?[Sun Nov 01 05:07:19 2009] [warn] Init:SSL 服务器 IP/端口冲突:default-64-6-237-192:443 (/etc/httpd/conf.d/zz010_psa_httpd.conf:83)与 webmail:443 (/etc/httpd/conf.d/zz010_psa_httpd.conf:159)[Sun Nov 01 05:07:19 2009] [warn] Init:您不应将基于名称的虚拟主机与 SSL 结合使用![Sun Nov 01 05:07:19 2009] [warn] 警告:尝试更改 ServerLimit 在重新启动期间被忽略[Sun Nov 01 05:07:19 2009] [notice] Apache/2.2.3 (CentOS) 已配置 -- 恢复正常操作[Sun Nov 01 15:16:11 2009] [error] [client 127.0.0.1] 请求获取中的方法无效[Sun Nov 01 15:18:53 2009] [notice] 捕获 SIGTERM,正在关闭[Sun Nov 01 15:19:27 2009] [notice] 启用 suEXEC 机制(包装器:/usr/sbin/suexec)[Sun Nov 01 15:19:27 2009] [警告] RSA 服务器证书 CommonName (CN) `plesk' 与服务器名称不匹配!?[Sun Nov 01 15:19:27 2009] [警告] RSA 服务器证书 CommonName (CN) `plesk' 与服务器名称不匹配!?[Sun Nov 01 15:19:27 2009] [警告] RSA 服务器证书 CommonName (CN) `plesk' 与服务器名称不匹配!?[Sun Nov 01 15:19:27 2009] [warn] Init:SSL 服务器 IP/端口冲突:default-64-6-237-192:443 (/etc/httpd/conf.d/zz010_psa_httpd.conf:83)与 webmail:443 (/etc/httpd/conf.d/zz010_psa_httpd.conf:159)[Sun Nov 01 15:19:27 2009] [warn] Init:您不应将基于名称的虚拟主机与 SSL 结合使用![Sun Nov 01 15:19:27 2009] [notice] 摘要:为摘要身份验证生成密钥...[Sun Nov 01 15:19:27 2009] [notice] 摘要:完成[Sun Nov 01 15:19:27 2009] [notice] mod_python:基于 10 个最大进程和 0 个最大线程创建 4 个会话互斥锁.[Sun Nov 01 15:19:27 2009] [警告] RSA 服务器证书 CommonName (CN) `plesk' 与服务器名称不匹配!?[Sun Nov 01 15:19:27 2009] [警告] RSA 服务器证书 CommonName (CN) `plesk' 与服务器名称不匹配!?[Sun Nov 01 15:19:27 2009] [警告] RSA 服务器证书 CommonName (CN) `plesk' 与服务器名称不匹配!?[Sun Nov 01 15:19:27 2009] [warn] Init:SSL 服务器 IP/端口冲突:default-64-6-237-192:443 (/etc/httpd/conf.d/zz010_psa_httpd.conf:83)与 webmail:443 (/etc/httpd/conf.d/zz010_psa_httpd.conf:159)[Sun Nov 01 15:19:27 2009] [warn] Init:您不应将基于名称的虚拟主机与 SSL 结合使用![Sun Nov 01 15:19:27 2009] [notice] Apache/2.2.3 (CentOS) 已配置 -- 恢复正常操作[Sun Nov 01 16:42:31 2009] [error] [client ::1] Options 指令禁止的目录索引:/var/www/html/[Sun Nov 01 16:47:25 2009] [error] [client ::1] Options 指令禁止的目录索引:/var/www/html/[Sun Nov 01 16:59:22 2009] [error] [client ::1] Options 指令禁止的目录索引:/var/www/html/[Sun Nov 01 17:37:42 2009] [error] [client ::1] Options 指令禁止的目录索引:/var/www/html/[Sun Nov 01 17:44:54 2009] [error] [client ::1] Options 指令禁止的目录索引:/var/www/html/[Sun Nov 01 17:44:55 2009] [error] [client ::1] Options 指令禁止的目录索引:/var/www/html/[Sun Nov 01 17:44:56 2009] [error] [client ::1] Options 指令禁止的目录索引:/var/www/html/[Sun Nov 01 18:14:45 2009] [error] [client ::1] Options 指令禁止的目录索引:/var/www/html/[Sun Nov 01 18:40:30 2009] [error] [client ::1] Options 指令禁止的目录索引:/var/www/html/[Sun Nov 01 20:10:59 2009] [error] [client ::1] Options 指令禁止的目录索引:/var/www/html/[Sun Nov 01 20:35:10 2009] [error] [client ::1] Options 指令禁止的目录索引:/var/www/html/[Sun Nov 01 20:43:07 2009] [error] [client ::1] Options 指令禁止的目录索引:/var/www/html/[Sun Nov 01 20:43:46 2009] [error] [client ::1] Options 指令禁止的目录索引:/var/www/html/[Sun Nov 01 21:25:39 2009] [error] [client ::1] Options 指令禁止的目录索引:/var/www/html/[Sun Nov 01 21:26:03 2009] [error] [client ::1] Options 指令禁止的目录索引:/var/www/html/[Sun Nov 01 21:56:57 2009] [error] [client ::1] Options 指令禁止的目录索引:/var/www/html/[Sun Nov 01 22:21:02 2009] [error] [client ::1] Options 指令禁止的目录索引:/var/www/html/[Sun Nov 01 22:25:16 2009] [错误] 服务器达到 MaxClients 设置,考虑提高 MaxClients 设置[Sun Nov 01 22:25:17 2009] [error] [client ::1] Options 指令禁止的目录索引:/var/www/html/[Sun Nov 01 22:25:18 2009] [error] [client ::1] Options 指令禁止的目录索引:/var/www/html/[Sun Nov 01 22:25:20 2009] [error] [client ::1] Options 指令禁止的目录索引:/var/www/html/[Sun Nov 01 22:25:21 2009] [error] [client ::1] Options 指令禁止的目录索引:/var/www/html/[Sun Nov 01 22:25:22 2009] [error] [client ::1] Options 指令禁止的目录索引:/var/www/html/[Sun Nov 01 22:46:47 2009] [error] [client ::1] Options 指令禁止的目录索引:/var/www/html/[Sun Nov 01 22:52:56 2009] [error] [client ::1] Options 指令禁止的目录索引:/var/www/html/[Sun Nov 01 22:56:07 2009] [error] [client ::1] Options 指令禁止的目录索引:/var/www/html/[Sun Nov 01 22:56:51 2009] [error] [client ::1] Options 指令禁止的目录索引:/var/www/html/[Sun Nov 01 22:56:58 2009] [error] [client ::1] Options 指令禁止的目录索引:/var/www/html/[Sun Nov 01 23:00:41 2009] [error] [client ::1] Options 指令禁止的目录索引:/var/www/html/[Sun Nov 01 23:09:59 2009] [error] [client ::1] Options 指令禁止的目录索引:/var/www/html/[Sun Nov 01 23:23:49 2009] [error] [client ::1] Options 指令禁止的目录索引:/var/www/html/[Sun Nov 01 23:27:14 2009] [error] [client ::1] Options 指令禁止的目录索引:/var/www/html/[Sun Nov 01 23:36:25 2009] [error] [client ::1] Options 指令禁止的目录索引:/var/www/html/[Sun Nov 01 23:54:06 2009] [error] [client ::1] Options 指令禁止的目录索引:/var/www/html/[Mon Nov 02 00:12:44 2009] [error] [client ::1] Options 指令禁止的目录索引:/var/www/html/[Mon Nov 02 00:12:50 2009] [error] [client ::1] Options 指令禁止的目录索引:/var/www/html/[Mon Nov 02 00:13:23 2009] [error] [client ::1] Options 指令禁止的目录索引:/var/www/html/[Mon Nov 02 00:39:06 2009] [error] [client ::1] Options 指令禁止的目录索引:/var/www/html/[Mon Nov 02 00:52:50 2009] [error] [client ::1] Options 指令禁止的目录索引:/var/www/html/[Mon Nov 02 00:53:02 2009] [error] [client ::1] Options 指令禁止的目录索引:/var/www/html/[Mon Nov 02 01:13:38 2009] [error] [client ::1] Options 指令禁止的目录索引:/var/www/html/[Mon Nov 02 01:13:39 2009] [error] [client ::1] Options 指令禁止的目录索引:/var/www/html/[Mon Nov 02 01:13:40 2009] [error] [client ::1] Options 指令禁止的目录索引:/var/www/html/[Mon Nov 02 01:23:01 2009] [error] [client ::1] Options 指令禁止的目录索引:/var/www/html/[Mon Nov 02 01:43:47 2009] [error] [client ::1] Options 指令禁止的目录索引:/var/www/html/[Mon Nov 02 01:45:51 2009] [error] [client ::1] Options 指令禁止的目录索引:/var/www/html/[Mon Nov 02 01:46:27 2009] [error] [client ::1] Options 指令禁止的目录索引:/var/www/html/[Mon Nov 02 01:47:25 2009] [error] [client ::1] Options 指令禁止的目录索引:/var/www/html/[Mon Nov 02 02:23:02 2009] [error] [client ::1] Options 指令禁止的目录索引:/var/www/html/[Mon Nov 02 02:25:37 2009] [error] [client ::1] Options 指令禁止的目录索引:/var/www/html/[Mon Nov 02 02:25:38 2009] [error] [client ::1] Options 指令禁止的目录索引:/var/www/html/[Mon Nov 02 02:52:29 2009] [error] [client ::1] Options 指令禁止的目录索引:/var/www/html/[Mon Nov 02 02:52:51 2009] [error] [client ::1] Options 指令禁止的目录索引:/var/www/html/[Mon Nov 02 03:49:29 2009] [error] [client ::1] Options 指令禁止的目录索引:/var/www/html/[Mon Nov 02 03:49:48 2009] [error] [client ::1] Options 指令禁止的目录索引:/var/www/html/[Mon Nov 02 04:35:33 2009] [error] [client ::1] Options 指令禁止的目录索引:/var/www/html/[2009 年 11 月 2 日星期一 04:46:01] [错误] [客户端 66.96.201.63] 文件不存在:/var/www/vhosts/default/htdocs/README[2009 年 11 月 2 日星期一 04:46:01] [错误] [客户端 66.96.201.63] 文件不存在:/var/www/vhosts/default/htdocs/horde[2009 年 11 月 2 日星期一 04:46:01] [错误] [客户端 66.96.201.63] 文件不存在:/var/www/vhosts/default/htdocs/horde2[2009 年 11 月 2 日星期一 04:46:01] [错误] [客户端 66.96.201.63] 文件不存在:/var/www/vhosts/default/htdocs/horde3[2009 年 11 月 2 日星期一 04:46:01] [错误] [客户端 66.96.201.63] 文件不存在:/var/www/vhosts/default/htdocs/horde-3.0.9[2009 年 11 月 2 日星期一 04:46:01] [错误] [客户端 66.96.201.63] 文件不存在:/var/www/vhosts/default/htdocs/Horde[Mon Nov 02 04:46:02 2009] [error] [client ::1] Options 指令禁止的目录索引:/var/www/html/[Mon Nov 02 05:01:06 2009] [error] [client 58.246.73.74] 文件不存在:/var/www/vhosts/default/htdocs/README[2009 年 11 月 2 日星期一 05:01:06] [错误] [客户端 58.246.73.74] 文件不存在:/var/www/vhosts/default/htdocs/horde[2009 年 11 月 2 日星期一 05:01:07] [错误] [客户端 58.246.73.74] 文件不存在:/var/www/vhosts/default/htdocs/horde2[2009 年 11 月 2 日星期一 05:01:08] [错误] [客户端 58.246.73.74] 文件不存在:/var/www/vhosts/default/htdocs/horde3[Mon Nov 02 05:01:08 2009] [error] [client 58.246.73.74] 文件不存在:/var/www/vhosts/default/htdocs/horde-3.0.9[2009 年 11 月 2 日星期一 05:01:09] [错误] [客户端 58.246.73.74] 文件不存在:/var/www/vhosts/default/htdocs/Horde[Mon Nov 02 05:01:09 2009] [error] [client ::1] Options 指令禁止的目录索引:/var/www/html/[Mon Nov 02 05:01:10 2009] [error] [client ::1] Options 指令禁止的目录索引:/var/www/html/[Mon Nov 02 05:01:11 2009] [error] [client ::1] Options 指令禁止的目录索引:/var/www/html/[Mon Nov 02 09:17:58 2009] [notice] 捕获 SIGTERM,正在关闭[Mon Nov 02 09:18:58 2009] [notice] 启用 suEXEC 机制(包装器:/usr/sbin/suexec)[2009 年 11 月 2 日星期一 09:18:58] [警告] RSA 服务器证书 CommonName (CN) `plesk' 与服务器名称不匹配!?[2009 年 11 月 2 日星期一 09:18:58] [警告] RSA 服务器证书 CommonName (CN) `plesk' 与服务器名称不匹配!?[2009 年 11 月 2 日星期一 09:18:58] [警告] RSA 服务器证书 CommonName (CN) `plesk' 与服务器名称不匹配!?[Mon Nov 02 09:18:58 2009] [warn] Init:SSL 服务器 IP/端口冲突:default-64-6-237-192:443 (/etc/httpd/conf.d/zz010_psa_httpd.conf:83)与 webmail:443 (/etc/httpd/conf.d/zz010_psa_httpd.conf:159)[Mon Nov 02 09:18:58 2009] [warn] Init:您不应该将基于名称的虚拟主机与 SSL 结合使用![Mon Nov 02 09:18:58 2009] [notice] 摘要:为摘要身份验证生成密钥...[Mon Nov 02 09:18:58 2009] [notice] 摘要:完成[Mon Nov 02 09:18:58 2009] [notice] mod_python:基于 10 个最大进程和 0 个最大线程创建 4 个会话互斥锁.[2009 年 11 月 2 日星期一 09:18:58] [警告] RSA 服务器证书 CommonName (CN) `plesk' 与服务器名称不匹配!?[2009 年 11 月 2 日星期一 09:18:58] [警告] RSA 服务器证书 CommonName (CN) `plesk' 与服务器名称不匹配!?[2009 年 11 月 2 日星期一 09:18:58] [警告] RSA 服务器证书 CommonName (CN) `plesk' 与服务器名称不匹配!?[Mon Nov 02 09:18:58 2009] [warn] Init:SSL 服务器 IP/端口冲突:default-64-6-237-192:443 (/etc/httpd/conf.d/zz010_psa_httpd.conf:83)与 webmail:443 (/etc/httpd/conf.d/zz010_psa_httpd.conf:159)[Mon Nov 02 09:18:58 2009] [warn] Init:您不应该将基于名称的虚拟主机与 SSL 结合使用![Mon Nov 02 09:18:58 2009] [notice] Apache/2.2.3 (CentOS) 已配置 -- 恢复正常操作[Mon Nov 02 09:32:34 2009] [error] [client ::1] Options 指令禁止的目录索引:/var/www/html/

解决方案

SIGTERM 用于重启 Apache(前提是在 init 中设置为自动重启):http://httpd.apache.org/docs/2.2/stopping.html

您在日志中看到的条目几乎肯定存在,因为您的提供商为此使用了 SIGTERM.如果它真的崩溃了,甚至没有提供静态内容,那么这听起来像是某种线程/连接耗尽问题.也许是保持连接打开的 DoS?

绝对应该让您的提供商进行调查.

This just started happening three weeks or so ago. The content of my website hasn't changed, it's just a phpBB forum using MySQL as a backend.

Nothing has changed in well over a year but recently, every two days or so, the server just shuts down and cannot be accessed at all, I have to notify my service provider to physically restart the machine.

It seems to be tied to these SIGTERM errors I find in the logs. Problem is I have no idea how to fix these kinds of things or find the root cause as my skills in this area are lacking.

Anyone have any ideas what could be going on?

Apache/2.2.3 (CentOS)

20051115

Linux 2.6.18-028stab057.4 #1 SMP Fri Aug 1 10:47:59 MSD 2008 x86_64

From the error log: [Sun Nov 01 15:18:53 2009] [notice] caught SIGTERM, shutting down

Not entirely sure that's what's causing me my problems but it doesn't sound like a good thing.

I can post more log information if needed

[Sun Nov 01 05:07:17 2009] [notice] Digest: generating secret for digest authentication ...
[Sun Nov 01 05:07:17 2009] [notice] Digest: done
[Sun Nov 01 05:07:19 2009] [notice] mod_python: Creating 4 session mutexes based on 10 max processes and 0 max threads.
[Sun Nov 01 05:07:19 2009] [warn] RSA server certificate CommonName (CN) `plesk' does NOT match server name!?
[Sun Nov 01 05:07:19 2009] [warn] RSA server certificate CommonName (CN) `plesk' does NOT match server name!?
[Sun Nov 01 05:07:19 2009] [warn] RSA server certificate CommonName (CN) `plesk' does NOT match server name!?
[Sun Nov 01 05:07:19 2009] [warn] Init: SSL server IP/port conflict: default-64-6-237-192:443 (/etc/httpd/conf.d/zz010_psa_httpd.conf:83) vs. webmail:443 (/etc/httpd/conf.d/zz010_psa_httpd.conf:159)
[Sun Nov 01 05:07:19 2009] [warn] Init: You should not use name-based virtual hosts in conjunction with SSL!!
[Sun Nov 01 05:07:19 2009] [warn] WARNING: Attempt to change ServerLimit ignored during restart
[Sun Nov 01 05:07:19 2009] [notice] Apache/2.2.3 (CentOS) configured -- resuming normal operations
[Sun Nov 01 15:16:11 2009] [error] [client 127.0.0.1] Invalid method in request get
[Sun Nov 01 15:18:53 2009] [notice] caught SIGTERM, shutting down
[Sun Nov 01 15:19:27 2009] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Sun Nov 01 15:19:27 2009] [warn] RSA server certificate CommonName (CN) `plesk' does NOT match server name!?
[Sun Nov 01 15:19:27 2009] [warn] RSA server certificate CommonName (CN) `plesk' does NOT match server name!?
[Sun Nov 01 15:19:27 2009] [warn] RSA server certificate CommonName (CN) `plesk' does NOT match server name!?
[Sun Nov 01 15:19:27 2009] [warn] Init: SSL server IP/port conflict: default-64-6-237-192:443 (/etc/httpd/conf.d/zz010_psa_httpd.conf:83) vs. webmail:443 (/etc/httpd/conf.d/zz010_psa_httpd.conf:159)
[Sun Nov 01 15:19:27 2009] [warn] Init: You should not use name-based virtual hosts in conjunction with SSL!!
[Sun Nov 01 15:19:27 2009] [notice] Digest: generating secret for digest authentication ...
[Sun Nov 01 15:19:27 2009] [notice] Digest: done
[Sun Nov 01 15:19:27 2009] [notice] mod_python: Creating 4 session mutexes based on 10 max processes and 0 max threads.
[Sun Nov 01 15:19:27 2009] [warn] RSA server certificate CommonName (CN) `plesk' does NOT match server name!?
[Sun Nov 01 15:19:27 2009] [warn] RSA server certificate CommonName (CN) `plesk' does NOT match server name!?
[Sun Nov 01 15:19:27 2009] [warn] RSA server certificate CommonName (CN) `plesk' does NOT match server name!?
[Sun Nov 01 15:19:27 2009] [warn] Init: SSL server IP/port conflict: default-64-6-237-192:443 (/etc/httpd/conf.d/zz010_psa_httpd.conf:83) vs. webmail:443 (/etc/httpd/conf.d/zz010_psa_httpd.conf:159)
[Sun Nov 01 15:19:27 2009] [warn] Init: You should not use name-based virtual hosts in conjunction with SSL!!
[Sun Nov 01 15:19:27 2009] [notice] Apache/2.2.3 (CentOS) configured -- resuming normal operations
[Sun Nov 01 16:42:31 2009] [error] [client ::1] Directory index forbidden by Options directive: /var/www/html/
[Sun Nov 01 16:47:25 2009] [error] [client ::1] Directory index forbidden by Options directive: /var/www/html/
[Sun Nov 01 16:59:22 2009] [error] [client ::1] Directory index forbidden by Options directive: /var/www/html/
[Sun Nov 01 17:37:42 2009] [error] [client ::1] Directory index forbidden by Options directive: /var/www/html/
[Sun Nov 01 17:44:54 2009] [error] [client ::1] Directory index forbidden by Options directive: /var/www/html/
[Sun Nov 01 17:44:55 2009] [error] [client ::1] Directory index forbidden by Options directive: /var/www/html/
[Sun Nov 01 17:44:56 2009] [error] [client ::1] Directory index forbidden by Options directive: /var/www/html/
[Sun Nov 01 18:14:45 2009] [error] [client ::1] Directory index forbidden by Options directive: /var/www/html/
[Sun Nov 01 18:40:30 2009] [error] [client ::1] Directory index forbidden by Options directive: /var/www/html/
[Sun Nov 01 20:10:59 2009] [error] [client ::1] Directory index forbidden by Options directive: /var/www/html/
[Sun Nov 01 20:35:10 2009] [error] [client ::1] Directory index forbidden by Options directive: /var/www/html/
[Sun Nov 01 20:43:07 2009] [error] [client ::1] Directory index forbidden by Options directive: /var/www/html/
[Sun Nov 01 20:43:46 2009] [error] [client ::1] Directory index forbidden by Options directive: /var/www/html/
[Sun Nov 01 21:25:39 2009] [error] [client ::1] Directory index forbidden by Options directive: /var/www/html/
[Sun Nov 01 21:26:03 2009] [error] [client ::1] Directory index forbidden by Options directive: /var/www/html/
[Sun Nov 01 21:56:57 2009] [error] [client ::1] Directory index forbidden by Options directive: /var/www/html/
[Sun Nov 01 22:21:02 2009] [error] [client ::1] Directory index forbidden by Options directive: /var/www/html/
[Sun Nov 01 22:25:16 2009] [error] server reached MaxClients setting, consider raising the MaxClients setting
[Sun Nov 01 22:25:17 2009] [error] [client ::1] Directory index forbidden by Options directive: /var/www/html/
[Sun Nov 01 22:25:18 2009] [error] [client ::1] Directory index forbidden by Options directive: /var/www/html/
[Sun Nov 01 22:25:20 2009] [error] [client ::1] Directory index forbidden by Options directive: /var/www/html/
[Sun Nov 01 22:25:21 2009] [error] [client ::1] Directory index forbidden by Options directive: /var/www/html/
[Sun Nov 01 22:25:22 2009] [error] [client ::1] Directory index forbidden by Options directive: /var/www/html/
[Sun Nov 01 22:46:47 2009] [error] [client ::1] Directory index forbidden by Options directive: /var/www/html/
[Sun Nov 01 22:52:56 2009] [error] [client ::1] Directory index forbidden by Options directive: /var/www/html/
[Sun Nov 01 22:56:07 2009] [error] [client ::1] Directory index forbidden by Options directive: /var/www/html/
[Sun Nov 01 22:56:51 2009] [error] [client ::1] Directory index forbidden by Options directive: /var/www/html/
[Sun Nov 01 22:56:58 2009] [error] [client ::1] Directory index forbidden by Options directive: /var/www/html/
[Sun Nov 01 23:00:41 2009] [error] [client ::1] Directory index forbidden by Options directive: /var/www/html/
[Sun Nov 01 23:09:59 2009] [error] [client ::1] Directory index forbidden by Options directive: /var/www/html/
[Sun Nov 01 23:23:49 2009] [error] [client ::1] Directory index forbidden by Options directive: /var/www/html/
[Sun Nov 01 23:27:14 2009] [error] [client ::1] Directory index forbidden by Options directive: /var/www/html/
[Sun Nov 01 23:36:25 2009] [error] [client ::1] Directory index forbidden by Options directive: /var/www/html/
[Sun Nov 01 23:54:06 2009] [error] [client ::1] Directory index forbidden by Options directive: /var/www/html/
[Mon Nov 02 00:12:44 2009] [error] [client ::1] Directory index forbidden by Options directive: /var/www/html/
[Mon Nov 02 00:12:50 2009] [error] [client ::1] Directory index forbidden by Options directive: /var/www/html/
[Mon Nov 02 00:13:23 2009] [error] [client ::1] Directory index forbidden by Options directive: /var/www/html/
[Mon Nov 02 00:39:06 2009] [error] [client ::1] Directory index forbidden by Options directive: /var/www/html/
[Mon Nov 02 00:52:50 2009] [error] [client ::1] Directory index forbidden by Options directive: /var/www/html/
[Mon Nov 02 00:53:02 2009] [error] [client ::1] Directory index forbidden by Options directive: /var/www/html/
[Mon Nov 02 01:13:38 2009] [error] [client ::1] Directory index forbidden by Options directive: /var/www/html/
[Mon Nov 02 01:13:39 2009] [error] [client ::1] Directory index forbidden by Options directive: /var/www/html/
[Mon Nov 02 01:13:40 2009] [error] [client ::1] Directory index forbidden by Options directive: /var/www/html/
[Mon Nov 02 01:23:01 2009] [error] [client ::1] Directory index forbidden by Options directive: /var/www/html/
[Mon Nov 02 01:43:47 2009] [error] [client ::1] Directory index forbidden by Options directive: /var/www/html/
[Mon Nov 02 01:45:51 2009] [error] [client ::1] Directory index forbidden by Options directive: /var/www/html/
[Mon Nov 02 01:46:27 2009] [error] [client ::1] Directory index forbidden by Options directive: /var/www/html/
[Mon Nov 02 01:47:25 2009] [error] [client ::1] Directory index forbidden by Options directive: /var/www/html/
[Mon Nov 02 02:23:02 2009] [error] [client ::1] Directory index forbidden by Options directive: /var/www/html/
[Mon Nov 02 02:25:37 2009] [error] [client ::1] Directory index forbidden by Options directive: /var/www/html/
[Mon Nov 02 02:25:38 2009] [error] [client ::1] Directory index forbidden by Options directive: /var/www/html/
[Mon Nov 02 02:52:29 2009] [error] [client ::1] Directory index forbidden by Options directive: /var/www/html/
[Mon Nov 02 02:52:51 2009] [error] [client ::1] Directory index forbidden by Options directive: /var/www/html/
[Mon Nov 02 03:49:29 2009] [error] [client ::1] Directory index forbidden by Options directive: /var/www/html/
[Mon Nov 02 03:49:48 2009] [error] [client ::1] Directory index forbidden by Options directive: /var/www/html/
[Mon Nov 02 04:35:33 2009] [error] [client ::1] Directory index forbidden by Options directive: /var/www/html/
[Mon Nov 02 04:46:01 2009] [error] [client 66.96.201.63] File does not exist: /var/www/vhosts/default/htdocs/README
[Mon Nov 02 04:46:01 2009] [error] [client 66.96.201.63] File does not exist: /var/www/vhosts/default/htdocs/horde
[Mon Nov 02 04:46:01 2009] [error] [client 66.96.201.63] File does not exist: /var/www/vhosts/default/htdocs/horde2
[Mon Nov 02 04:46:01 2009] [error] [client 66.96.201.63] File does not exist: /var/www/vhosts/default/htdocs/horde3
[Mon Nov 02 04:46:01 2009] [error] [client 66.96.201.63] File does not exist: /var/www/vhosts/default/htdocs/horde-3.0.9
[Mon Nov 02 04:46:01 2009] [error] [client 66.96.201.63] File does not exist: /var/www/vhosts/default/htdocs/Horde
[Mon Nov 02 04:46:02 2009] [error] [client ::1] Directory index forbidden by Options directive: /var/www/html/
[Mon Nov 02 05:01:06 2009] [error] [client 58.246.73.74] File does not exist: /var/www/vhosts/default/htdocs/README
[Mon Nov 02 05:01:06 2009] [error] [client 58.246.73.74] File does not exist: /var/www/vhosts/default/htdocs/horde
[Mon Nov 02 05:01:07 2009] [error] [client 58.246.73.74] File does not exist: /var/www/vhosts/default/htdocs/horde2
[Mon Nov 02 05:01:08 2009] [error] [client 58.246.73.74] File does not exist: /var/www/vhosts/default/htdocs/horde3
[Mon Nov 02 05:01:08 2009] [error] [client 58.246.73.74] File does not exist: /var/www/vhosts/default/htdocs/horde-3.0.9
[Mon Nov 02 05:01:09 2009] [error] [client 58.246.73.74] File does not exist: /var/www/vhosts/default/htdocs/Horde
[Mon Nov 02 05:01:09 2009] [error] [client ::1] Directory index forbidden by Options directive: /var/www/html/
[Mon Nov 02 05:01:10 2009] [error] [client ::1] Directory index forbidden by Options directive: /var/www/html/
[Mon Nov 02 05:01:11 2009] [error] [client ::1] Directory index forbidden by Options directive: /var/www/html/
[Mon Nov 02 09:17:58 2009] [notice] caught SIGTERM, shutting down
[Mon Nov 02 09:18:58 2009] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Mon Nov 02 09:18:58 2009] [warn] RSA server certificate CommonName (CN) `plesk' does NOT match server name!?
[Mon Nov 02 09:18:58 2009] [warn] RSA server certificate CommonName (CN) `plesk' does NOT match server name!?
[Mon Nov 02 09:18:58 2009] [warn] RSA server certificate CommonName (CN) `plesk' does NOT match server name!?
[Mon Nov 02 09:18:58 2009] [warn] Init: SSL server IP/port conflict: default-64-6-237-192:443 (/etc/httpd/conf.d/zz010_psa_httpd.conf:83) vs. webmail:443 (/etc/httpd/conf.d/zz010_psa_httpd.conf:159)
[Mon Nov 02 09:18:58 2009] [warn] Init: You should not use name-based virtual hosts in conjunction with SSL!!
[Mon Nov 02 09:18:58 2009] [notice] Digest: generating secret for digest authentication ...
[Mon Nov 02 09:18:58 2009] [notice] Digest: done
[Mon Nov 02 09:18:58 2009] [notice] mod_python: Creating 4 session mutexes based on 10 max processes and 0 max threads.
[Mon Nov 02 09:18:58 2009] [warn] RSA server certificate CommonName (CN) `plesk' does NOT match server name!?
[Mon Nov 02 09:18:58 2009] [warn] RSA server certificate CommonName (CN) `plesk' does NOT match server name!?
[Mon Nov 02 09:18:58 2009] [warn] RSA server certificate CommonName (CN) `plesk' does NOT match server name!?
[Mon Nov 02 09:18:58 2009] [warn] Init: SSL server IP/port conflict: default-64-6-237-192:443 (/etc/httpd/conf.d/zz010_psa_httpd.conf:83) vs. webmail:443 (/etc/httpd/conf.d/zz010_psa_httpd.conf:159)
[Mon Nov 02 09:18:58 2009] [warn] Init: You should not use name-based virtual hosts in conjunction with SSL!!
[Mon Nov 02 09:18:58 2009] [notice] Apache/2.2.3 (CentOS) configured -- resuming normal operations
[Mon Nov 02 09:32:34 2009] [error] [client ::1] Directory index forbidden by Options directive: /var/www/html/

解决方案

SIGTERM is used to restart Apache (provided that it's setup in init to auto-restart): http://httpd.apache.org/docs/2.2/stopping.html

The entries you see in the logs are almost certainly there because your provider used SIGTERM for that purpose. If it's truly crashing, not even serving static content, then that sounds like some sort of a thread/connection exhaustion issue. Perhaps a DoS that holds connections open?

Should definitely be something for your provider to investigate.

这篇关于Apache 服务器不断崩溃,“抓到 SIGTERM,正在关闭"的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆