• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Issue Apache not starting up

swd_danielk

New Pleskian
About every two days my apache server stops running at 7 a.m. in the morning and I need to restart it manually. The apache2 error log tells me that it received a shutdown signal at 6:55 and it shuts down automatically. But it seems as if it doesn't start up again automatically.

The error.log file only contains messages that appeared after my manual restart. I'd assume that the error occurs on the log rotate routine. Does anyone know why this could happen?

Thanks in advance!


Old error (error.log.1)

[Wed Feb 14 06:55:30.046401 2018] [mpm_prefork:notice] [pid 1841] AH00169: caught SIGTERM, shutting down
[ N 2018-02-14 06:55:39.1212 1854/T7 age/Cor/CoreMain.cpp:589 ]: Signal received. Gracefully shutting down... (send signal 2 more time(s) to force shutdown)
[ N 2018-02-14 06:55:39.1302 1854/T1 age/Cor/CoreMain.cpp:1080 ]: Received command to shutdown gracefully. Waiting until all clients have disconnected...
[ N 2018-02-14 06:55:39.5830 1854/Tv Ser/Server.h:886 ]: [ApiServer] Freed 0 spare client objects
[ N 2018-02-14 06:55:39.5831 1854/Tv Ser/Server.h:531 ]: [ApiServer] Shutdown finished
[ N 2018-02-14 06:55:39.7765 1854/T9 Ser/Server.h:886 ]: [ServerThr.2] Freed 128 spare client objects
[ N 2018-02-14 06:55:39.7821 1854/T7 Ser/Server.h:886 ]: [ServerThr.1] Freed 128 spare client objects
[ N 2018-02-14 06:55:39.8105 1854/Tf Ser/Server.h:886 ]: [ServerThr.5] Freed 128 spare client objects
[ N 2018-02-14 06:55:39.7432 1854/Td Ser/Server.h:886 ]: [ServerThr.4] Freed 128 spare client objects
[ N 2018-02-14 06:55:39.8405 1854/Tt Ser/Server.h:886 ]: [ServerThr.12] Freed 128 spare client objects
[ N 2018-02-14 06:55:39.7660 1854/Tb Ser/Server.h:886 ]: [ServerThr.3] Freed 128 spare client objects
[ N 2018-02-14 06:55:39.8406 1854/T9 Ser/Server.h:531 ]: [ServerThr.2] Shutdown finished
[ N 2018-02-14 06:55:39.8406 1854/T7 Ser/Server.h:531 ]: [ServerThr.1] Shutdown finished
[ N 2018-02-14 06:55:39.8406 1854/Tf Ser/Server.h:531 ]: [ServerThr.5] Shutdown finished
[ N 2018-02-14 06:55:39.8406 1854/Td Ser/Server.h:531 ]: [ServerThr.4] Shutdown finished
[ N 2018-02-14 06:55:39.8406 1854/Tt Ser/Server.h:531 ]: [ServerThr.12] Shutdown finished
[ N 2018-02-14 06:55:39.8406 1854/Tb Ser/Server.h:531 ]: [ServerThr.3] Shutdown finished
[ N 2018-02-14 06:55:39.7863 1854/Tp Ser/Server.h:886 ]: [ServerThr.10] Freed 128 spare client objects
[ N 2018-02-14 06:55:39.7726 1854/Tj Ser/Server.h:886 ]: [ServerThr.7] Freed 128 spare client objects
[ N 2018-02-14 06:55:39.8407 1854/Tp Ser/Server.h:531 ]: [ServerThr.10] Shutdown finished
[ N 2018-02-14 06:55:39.8407 1854/Tj Ser/Server.h:531 ]: [ServerThr.7] Shutdown finished
[ N 2018-02-14 06:55:39.8134 1854/Tr Ser/Server.h:886 ]: [ServerThr.11] Freed 128 spare client objects
[ N 2018-02-14 06:55:39.8407 1854/Tr Ser/Server.h:531 ]: [ServerThr.11] Shutdown finished
[ N 2018-02-14 06:55:39.8227 1854/Tl Ser/Server.h:886 ]: [ServerThr.8] Freed 128 spare client objects
[ N 2018-02-14 06:55:39.8407 1854/Tl Ser/Server.h:531 ]: [ServerThr.8] Shutdown finished
[ N 2018-02-14 06:55:39.8003 1854/Tn Ser/Server.h:886 ]: [ServerThr.9] Freed 128 spare client objects
[ N 2018-02-14 06:55:39.8407 1854/Tn Ser/Server.h:531 ]: [ServerThr.9] Shutdown finished
[ N 2018-02-14 06:55:39.8447 1854/Th Ser/Server.h:886 ]: [ServerThr.6] Freed 128 spare client objects
[ N 2018-02-14 06:55:39.8448 1854/Th Ser/Server.h:531 ]: [ServerThr.6] Shutdown finished
[ N 2018-02-14 06:55:40.2912 1854/T1 age/Cor/CoreMain.cpp:1150 ]: Passenger core shutdown finished
 
Is this Plesk installed on VPS? In this case, this issue may occur due to lack of VPS resources and signal from hardware node kernel OOM Killer.
 
Back
Top