Today I found a strange notice in apache error.logs. The log tells me the following:
[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'
What I find strange about it is that I was not touching apache during that time. When I checked info from the
last command I have not found anyone connecting to the machine anywhere close to this time.
I also was not able to find any
404 requests during this time in access log.
So my question is, what could have caused these logs (as I understood apache restarted itself) and is it normal.
Sorry for not including this. I am on ubuntu 12.04.4 LTS (GNU/Linux 3.2.0-58-virtual x86_64), which is actually Amazon AWS.
Update about cron:
/etc/cron.d has only two files:
-rw-r--r-- 1 root root 510 Feb 13 16:06 php5 -rw-r--r-- 1 root root 102 Apr 2 2012 .placeholder
.placeholder is empty (only one line of comments is inside)
php5 has this inside
# /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)
Update on logrotate
Yes approximately during this time
error.log.1 were created
Mar 23 06:51 access.log.1 Mar 24 06:26 error.log.1