• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

Watchdog in CentOS7 Plesk 12.5 doesn't restart Apache httpd after a segfault

Miguel_Tellería

Basic Pleskian
System: CentOS 7 with Plesk 12.5 #26

After a segfault of HTTPD for reasons similar to the situation described in KB 128431, the watchdog hasn't detected the server being down and has not done any restart reattempt or send an alert.

Any ideas of why this could have happened?
 
Hi Miguel_Tellería,

consider to investigate your issue/problem with the help of "strace" ... for example:

First, please stop watchdog and apache completely and then restart apache with the command "strace -ff -o /var/log/test_trace.log -r apachectl start". Try several gracefull restarts ( and reloads ) and restart watchdog afterwards as well to investigate any issues/problems at your temporary log "/var/log/test_trace.log". If you need help with your investigations, please post the temporary log and include as well your apache2 modules, please.​

Additional manual for "strace" for CentOS 7 ( the commands don't vary for CentOS 6 or 5! ) : http://www.unix.com/man-page/centos/1/strace/ ( External link, please inform me if this link is dead, so I can provide another helpfull link! )
 
Hi UFHH01,

Thanks for your reply, it might be an interesting path to pursue.

However we need to find a moment when we won't disrupt our clients with tests. I'll keep your post handy if the issue comes up again.
 
Back
Top