Applicable to:
- Plesk for Linux
Symptoms
-
Websites fail to load with one of the following error messages in a web browser:
PLESK_INFO: 502 Bad Gateway
PLESK_INFO: ERR_CONNECTION_REFUSED
- Apache service fails to start or is in reloading status.
-
The following error messages are logged in
/var/log/httpd/error_log:CONFIG_TEXT: AH03262: mod_watchdog is required
AH00020: Configuration Failed, exiting
Cause
Module mod_watchdog required by Apache is disabled on the server.
Resolution
- Log in to Plesk.
- Go to Tools & Settings > Apache & nginx Settings.
- In Apache modules section, turn on watchdog module.
- Apply the changes.
- Connect to your Plesk server via SSH.
-
Open the file
/etc/httpd/conf.modules.d/00-base.confin a text editor. In this example, we are using vi editor:# vi /etc/httpd/conf.modules.d/00-base.conf
-
Find the line with
watchdog_moduleand uncomment it:
Before:CONFIG_TEXT: ;LoadModule watchdog_module modules/mod_watchdog.so
After:
CONFIG_TEXT: LoadModule watchdog_module modules/mod_watchdog.so
- Save the changes and close the file.
-
Restart the Apache service:
# service httpd restart
Comments
Please sign in to leave a comment.