In fact, every time a "/etc/init.d/apache2 reload" is run, the apache2 dies.
Then, executing "/etc/init.d/apache2 restart" instead every time logrotate rotate the apache2 logs, should fix the problem.
Anyway, this is just a workaround, because the apache shouldn't die every time a reload is executed, right?
Hello again,
finally i find the cause of this issue.
The problem happens every time logrotate rotate the apache logs.
cat /etc/logrotate. d/apache2
/var/log/ apache2/ *.log {
delaycompress
sharedscripts
/etc/ init.d/ apache2 reload > /dev/null d/httpd- prerotate ]; then \
run- parts /etc/logrotate. d/httpd- prerotate; \
weekly
missingok
rotate 52
compress
notifempty
create 640 root adm
postrotate
endscript
prerotate
if [ -d /etc/logrotate.
fi; \
endscript
}
In fact, every time a "/etc/init. d/apache2 reload" is run, the apache2 dies. d/apache2 restart" instead every time logrotate rotate the apache2 logs, should fix the problem.
Then, executing "/etc/init.
Anyway, this is just a workaround, because the apache shouldn't die every time a reload is executed, right?
Thanks in advance
Regards. /bugs.launchpad .net/ubuntu/ +source/ apache2/ +bug/669005 /issues. apache. org/bugzilla/ show_bug. cgi?id= 50309
P.D: Maybe this bugs are related?
https:/
https:/