Applicable to:
- Plesk for Linux
Symptoms
-
Website periodically shows the wrong (old) content or Plesk default page
-
Sometimes, various pages of the website are not loaded with the error:
CONFIG_TEXT: 404 Not Found
Cause
Apache workers are not restarted causing the content to be served with old data:
# ps uax | grep apache | grep -v grep
root 8637 0.0 0.2 287780 46124 ? Ss Jun26 0:55 /usr/sbin/apache2 -k start
www-data 8927 0.0 0.2 286504 43968 ? S Jun26 0:00 /usr/sbin/apache2 -k start
www-data 8928 0.0 0.2 287696 44424 ? S Jun26 0:46 /usr/sbin/apache2 -k start
Resolution
Restart Apache manually.
-
Connect to the server via SSH
-
Stop Apache:
Ubuntu/Debian:
# service apache2 stop
RHEL/CentOS:
# service httpd stop
-
Find hanging processes:
# ps uax | grep apache | grep -v grep
root 8637 0.0 0.2 287780 46124 ? Ss Jun26 0:55 /usr/sbin/apache2 -k start
www-data 8927 0.0 0.2 286504 43968 ? S Jun26 0:00 /usr/sbin/apache2 -k start
www-data 8928 0.0 0.2 287696 44424 ? S Jun26 0:46 /usr/sbin/apache2 -k start -
Kill the old workers using its PID:
# kill -9 8637 8927 8928
-
Start Apache:
Ubuntu/Debian:
# service apache2 start
RHEL/CentOS:
# service httpd start
Comments
0 comments
Please sign in to leave a comment.