• 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.

Resolved Every morning at 6 my apache stops working

UweP

Regular Pleskian
Hi. Every morning at around 6am my apache stops working. websites are not reachable anymore. first if i restart it, it works. what can i do?

thank you! :)
 
At the time when Apache stops, what are the entries in /var/log/messages and /var/log/httpd/error_log?
 
error_log:

[ 2017-01-09 06:32:44.1413 8432/7fdda3122700 age/Cor/CoreMain.cpp:532 ]: Signal received. Gracefully shutting down... (send signal 2 more time(s) to force shutdown)
[ 2017-01-09 06:32:44.1413 8443/7fb4c9e38700 age/Ust/UstRouterMain.cpp:422 ]: Signal received. Gracefully shutting down... (send signal 2 more time(s) to force shutdown)
[ 2017-01-09 06:32:44.1413 8432/7fdda9e41780 age/Cor/CoreMain.cpp:901 ]: Received command to shutdown gracefully. Waiting until all clients have disconnected...
[ 2017-01-09 06:32:44.1413 8443/7fb4d0a6e780 age/Ust/UstRouterMain.cpp:492 ]: Received command to shutdown gracefully. Waiting until all clients have disconnected...
[ 2017-01-09 06:32:44.1435 8443/7fb4c9e38700 Ser/Server.h:464 ]: [UstRouter] Shutdown finished
[ 2017-01-09 06:32:44.1435 8443/7fb4c9637700 Ser/Server.h:817 ]: [UstRouterApiServer] Freed 0 spare client objects
[ 2017-01-09 06:32:44.1435 8443/7fb4c9637700 Ser/Server.h:464 ]: [UstRouterApiServer] Shutdown finished
[ 2017-01-09 06:32:44.1436 8443/7fb4d0a6e780 age/Ust/UstRouterMain.cpp:523 ]: Passenger UstRouter shutdown finished
[ 2017-01-09 06:32:44.1440 8432/7fdd6a7fc700 Ser/Server.h:817 ]: [ApiServer] Freed 0 spare client objects
[ 2017-01-09 06:32:44.1440 8432/7fdda201e700 Ser/Server.h:817 ]: [ServerThr.3] Freed 128 spare client objects
[ 2017-01-09 06:32:44.1440 8432/7fdd6a7fc700 Ser/Server.h:464 ]: [ApiServer] Shutdown finished
[ 2017-01-09 06:32:44.1440 8432/7fdda201e700 Ser/Server.h:464 ]: [ServerThr.3] Shutdown finished
[ 2017-01-09 06:32:44.1440 8432/7fdda179c700 Ser/Server.h:817 ]: [ServerThr.4] Freed 128 spare client objects
[ 2017-01-09 06:32:44.1440 8432/7fdda179c700 Ser/Server.h:464 ]: [ServerThr.4] Shutdown finished
[ 2017-01-09 06:32:44.1440 8432/7fdda0f1a700 Ser/Server.h:817 ]: [ServerThr.5] Freed 128 spare client objects
[ 2017-01-09 06:32:44.1440 8432/7fdda0f1a700 Ser/Server.h:464 ]: [ServerThr.5] Shutdown finished
[ 2017-01-09 06:32:44.1441 8432/7fdda3122700 Ser/Server.h:817 ]: [ServerThr.1] Freed 128 spare client objects
[ 2017-01-09 06:32:44.1441 8432/7fdda3122700 Ser/Server.h:464 ]: [ServerThr.1] Shutdown finished
[ 2017-01-09 06:32:44.1441 8432/7fdd6affd700 Ser/Server.h:817 ]: [ServerThr.8] Freed 128 spare client objects
[ 2017-01-09 06:32:44.1441 8432/7fdd6affd700 Ser/Server.h:464 ]: [ServerThr.8] Shutdown finished
[ 2017-01-09 06:32:44.1441 8432/7fdd6bfff700 Ser/Server.h:817 ]: [ServerThr.6] Freed 128 spare client objects
[ 2017-01-09 06:32:44.1441 8432/7fdd6bfff700 Ser/Server.h:464 ]: [ServerThr.6] Shutdown finished
[ 2017-01-09 06:32:44.1441 8432/7fdda28a0700 Ser/Server.h:817 ]: [ServerThr.2] Freed 128 spare client objects
[ 2017-01-09 06:32:44.1441 8432/7fdda28a0700 Ser/Server.h:464 ]: [ServerThr.2] Shutdown finished
[ 2017-01-09 06:32:44.1441 8432/7fdd6b7fe700 Ser/Server.h:817 ]: [ServerThr.7] Freed 128 spare client objects
[ 2017-01-09 06:32:44.1441 8432/7fdd6b7fe700 Ser/Server.h:464 ]: [ServerThr.7] Shutdown finished
[ 2017-01-09 06:32:44.2462 8432/7fdda9e41780 age/Cor/CoreMain.cpp:967 ]: Passenger core shutdown finished
[Mon Jan 09 06:32:44.655043 2017] [core:notice] [pid 8418] AH00060: seg fault or similar nasty error detected in the parent process


syslog:
Jan 9 06:32:43 baby systemd[1]: Stopped User Manager for UID 65534.
Jan 9 06:32:43 baby systemd[1]: Removed slice User Slice of nobody.
Jan 9 06:32:43 baby systemd[1]: Reloading LSB: Apache2 web server.
Jan 9 06:32:43 baby apache2[24564]: * Reloading Apache httpd web server apache2
Jan 9 06:32:44 baby apache2[24564]: *
Jan 9 06:32:44 baby systemd[1]: Reloaded LSB: Apache2 web server.
Jan 9 06:32:44 baby systemd[1]: Reloading LSB: Apache2 web server.
Jan 9 06:32:44 baby apache2[24591]: * Reloading Apache httpd web server apache2
Jan 9 06:32:44 baby apache2[24591]: *
Jan 9 06:32:44 baby systemd[1]: Reloaded LSB: Apache2 web server.
Jan 9 06:32:45 baby apache2[24621]: * Stopping Apache httpd web server apache2
Jan 9 06:32:45 baby apache2[24621]: *
 
Here is a second approach:
Check whether there are restart commands in both these files:
/etc/logrotate.d/httpd
/etc/logrotate.d/mod_security
If so, remove them from one of them. The segmentation fault can also be caused by a second "restart" while the first one has not finished.
 
Ok I've removed it from mod security now I'll wait until tomorrow morning and see if it still happens.

Gesendet von meinem SM-G920F mit Tapatalk
 
Back
Top