Apache hangs or crashes on reload

Created:

2017-02-15 13:10:02 UTC

Modified:

2017-08-08 13:42:22 UTC

0

Was this article helpful?


Have more questions?

Submit a request

Apache hangs or crashes on reload

Applicable to:

  • Plesk for Linux

Symptoms

1. Apache hangs or crashes on reload

2. Solution from article Apache crashes on reload: seg fault or similar nasty error detected in the parent process has been applied

Cause

The issue caused by bug #PPPM-5774

Resolution

Disable Apache reload in /etc/logrotate.d/mod_security script:

before

# cat /etc/logrotate.d/mod_security
/var/log/modsec_audit.log {
daily
rotate 7
missingok
compress postrotate
                /etc/init.d/apache2 reload > /dev/null 2>/dev/null || true
        endscript }

after

 # cat /etc/logrotate.d/mod_security
/var/log/modsec_audit.log {
daily
rotate 7
missingok
compress
}
Have more questions? Submit a request
Please sign in to leave a comment.