奇怪的通知,在Apache错误日志

今天我在apache error.logs中发现了一个奇怪的通知。 日志告诉我以下内容:

[Mon Mar 24 06:26:34.872366 2014] [mpm_prefork:notice] [pid 32214] AH00163: Apache/2.4.7 (Ubuntu) configured -- resuming normal operations [Mon Mar 24 06:26:34.872417 2014] [core:notice] [pid 32214] AH00094: Command line: '/usr/sbin/apache2' 

我觉得奇怪的是,那段时间我没有碰到Apache。 当我检查从last命令的信息,我没有发现任何人连接到本机接近这个时间。

在访问日志中,我也无法find任何404请求。

所以我的问题是,什么可能导致这些日志(因为我了解apache重新启动自己),这是正常的。

对不起,不包括这个 。 我在Ubuntu 12.04.4 LTS(GNU / Linux 3.2.0-58-虚拟x86_64),这实际上是亚马逊AWS。

关于cron的更新/etc/cron.d只有两个文件:

 -rw-r--r-- 1 root root 510 Feb 13 16:06 php5 -rw-r--r-- 1 root root 102 Apr 2 2012 .placeholder 

.placeholder是空的(只有一行注释在里面) php5里面有这个

 # /etc/cron.d/php5: crontab fragment for php5 # This purges session files older than X, where X is defined in seconds # as the largest value of session.gc_maxlifetime from all your php.ini # files, or 24 minutes if not defined. See /usr/lib/php5/maxlifetime # Look for and purge old sessions every 30 minutes 09,39 * * * * root [ -x /usr/lib/php5/maxlifetime ] && [ -x /usr/lib/php5/sessionclean ] && [ -d /var/lib/php5 ] && /usr/lib/php5/sessionclean /var/lib/php5 $(/usr/lib/php5/maxlifetime) 

logrotate上的更新大约是在这段时间内创build了access.log.1error.log.1

 Mar 23 06:51 access.log.1 Mar 24 06:26 error.log.1 

因为你没有给出时间(这可能有助于把它绑在一起),我将指向我的手指在logrotate执行每周轮换的Apache日志。

Logrotate由运行cron.daily(在我的系统上是06:25)的/ etc / crontab行调用,而apache2的规则可以在/etc/logrotate.d/apache2中find。