[Bug 1159748] Re: Ramdom apache2 crash in Ubuntu 12.04 (libpthread-2.15.so)
Juan Pablo Marco Cardona
juanpablo.marcocardona at colt.net
Wed Apr 10 08:19:14 UTC 2013
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 {
weekly
missingok
rotate 52
compress
delaycompress
notifempty
create 640 root adm
sharedscripts
postrotate
/etc/init.d/apache2 reload > /dev/null
endscript
prerotate
if [ -d /etc/logrotate.d/httpd-prerotate ]; then \
run-parts /etc/logrotate.d/httpd-prerotate; \
fi; \
endscript
}
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?
Thanks in advance
Regards.
P.D: Maybe this bugs are related?
https://bugs.launchpad.net/ubuntu/+source/apache2/+bug/669005
https://issues.apache.org/bugzilla/show_bug.cgi?id=50309
** Bug watch added: Apache Software Foundation Bugzilla #50309
http://issues.apache.org/bugzilla/show_bug.cgi?id=50309
--
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to apache2 in Ubuntu.
https://bugs.launchpad.net/bugs/1159748
Title:
Ramdom apache2 crash in Ubuntu 12.04 (libpthread-2.15.so)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apache2/+bug/1159748/+subscriptions
More information about the Ubuntu-server-bugs
mailing list