apache 无缘无故关闭

apache 无缘无故关闭

我有点困惑。我正在使用CentOs 5 64bitdirectadmin。我也在运行Apache 2.2.19。我抓狂了,因为我的一些上传无缘无故地停止并变得不完整,现在看到我的 php_error_log 为空后,我检查了我的 apache 日志,查找事故发生前后发生的所有错误,得到了这个

[Fri Jul 08 00:10:02 2011] [notice] SIGHUP received.  Attempting to restart
httpd: Could not reliably determine the server's fully qualified domain name, using server1.mywebsite.com for ServerName
[Fri Jul 08 00:10:03 2011] [warn] RSA server certificate CommonName (CN) `localhost' does NOT match server name!?
[Fri Jul 08 00:10:03 2011] [notice] Apache/2.2.19 (Unix) mod_ssl/2.2.19 OpenSSL/0.9.8e-fips-rhel5 DAV/2 configured -- resuming normal operations
[Fri Jul 08 00:11:01 2011] [notice] caught SIGTERM, shutting down
[Fri Jul 08 00:11:02 2011] [warn] RSA server certificate CommonName (CN) `localhost' does NOT match server name!?
[Fri Jul 08 00:11:02 2011] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Fri Jul 08 00:11:03 2011] [warn] RSA server certificate CommonName (CN) `localhost' does NOT match server name!?
[Fri Jul 08 00:11:03 2011] [notice] Apache/2.2.19 (Unix) mod_ssl/2.2.19 OpenSSL/0.9.8e-fips-rhel5 DAV/2 configured -- resuming normal operations

似乎我的服务器无缘无故关闭了(收到 SIGHUP、SIGTERM 等)。这是怎么回事?我应该设置防火墙吗?这可能是恶意的吗?

答案1

您正在运行 Logrotate 或其他类似的应用程序吗?Logrotate 也会重新启动写入日志的应用程序。

相关内容