Question
Graceful restart requested, doing restart
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
×These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
×Hi. Im having the same problem, but in my case, the apache restart is restarting frequently, see my error log:
[Sun Nov 15 00:11:36.895033 2020] [core:notice] [pid 13438] AH00094: Command line: '/usr/sbin/apache2'
[Sun Nov 15 00:12:47.058426 2020] [mpm_prefork:notice] [pid 13438] AH00171: Graceful restart requested, doing restart
[Sun Nov 15 00:12:47.598797 2020] [ssl:warn] [pid 13438] AH01909: www.universonoobz.com.br:443:0 server certificate does NOT include an ID which matches the server name
[Sun Nov 15 00:12:48.003024 2020] [mpm_prefork:notice] [pid 13438] AH00163: Apache/2.4.29 (Ubuntu) OpenSSL/1.1.1 configured -- resuming normal operations
[Sun Nov 15 00:12:48.003055 2020] [core:notice] [pid 13438] AH00094: Command line: '/usr/sbin/apache2'
[Sun Nov 15 00:12:54.820531 2020] [mpm_prefork:notice] [pid 13438] AH00171: Graceful restart requested, doing restart
[Sun Nov 15 00:12:55.221861 2020] [ssl:warn] [pid 13438] AH01909: www.universonoobz.com.br:443:0 server certificate does NOT include an ID which matches the server name
[Sun Nov 15 00:12:55.455911 2020] [ssl:warn] [pid 13438] AH01909: www.familiafooddelivery.com:443:0 server certificate does NOT include an ID which matches the server name
[Sun Nov 15 00:12:55.571234 2020] [mpm_prefork:notice] [pid 13438] AH00163: Apache/2.4.29 (Ubuntu) OpenSSL/1.1.1 configured -- resuming normal operations
[Sun Nov 15 00:12:55.571263 2020] [core:notice] [pid 13438] AH00094: Command line: '/usr/sbin/apache2'
[Sun Nov 15 00:13:17.307437 2020] [core:error] [pid 13438] AH00546: no record of generation 24 of exiting child 30316
[Sun Nov 15 00:13:43.954317 2020] [core:error] [pid 13438] AH00546: no record of generation 6 of exiting child 24369
[Sun Nov 15 00:13:57.977622 2020] [core:error] [pid 13438] AH00546: no record of generation 8 of exiting child 25018
[Sun Nov 15 00:14:02.987831 2020] [core:error] [pid 13438] AH00546: no record of generation 20 of exiting child 28441
[Sun Nov 15 00:14:05.495595 2020] [mpm_prefork:notice] [pid 13438] AH00171: Graceful restart requested, doing restart
[Sun Nov 15 00:14:06.213564 2020] [ssl:warn] [pid 13438] AH01909: www.universonoobz.com.br:443:0 server certificate does NOT include an ID which matches the server name
[Sun Nov 15 00:14:06.455696 2020] [ssl:warn] [pid 13438] AH01909: www.familiafooddelivery.com:443:0 server certificate does NOT include an ID which matches the server name
[Sun Nov 15 00:14:06.637107 2020] [mpm_prefork:notice] [pid 13438] AH00163: Apache/2.4.29 (Ubuntu) OpenSSL/1.1.1 configured -- resuming normal operations
[Sun Nov 15 00:14:06.637159 2020] [core:notice] [pid 13438] AH00094: Command line: '/usr/sbin/apache2'
[Sun Nov 15 00:14:13.450406 2020] [mpm_prefork:notice] [pid 13438] AH00171: Graceful restart requested, doing restart
[Sun Nov 15 00:14:14.097504 2020] [ssl:warn] [pid 13438] AH01909: www.familiafooddelivery.com:443:0 server certificate does NOT include an ID which matches the server name
[Sun Nov 15 00:14:14.211056 2020] [mpm_prefork:notice] [pid 13438] AH00163: Apache/2.4.29 (Ubuntu) OpenSSL/1.1.1 configured -- resuming normal operations
[Sun Nov 15 00:14:14.211132 2020] [core:notice] [pid 13438] AH00094: Command line: '/usr/sbin/apache2'
[Sun Nov 15 00:14:36.925862 2020] [core:error] [pid 13438] AH00546: no record of generation 26 of exiting child 30450
Please, help me. Thanks.
Hi there @paraogabriel,
Can you share the content of your logrotate config file here? Also how often is it set to run?
Regards,
Bobby
logrotate content:
# see "man logrotate" for details
# rotate log files weekly
weekly
# use the syslog group by default, since this is the owning group
# of /var/log/syslog.
su root syslog
# keep 4 weeks worth of backlogs
rotate 4
# create new (empty) log files after rotating old ones
create
# uncomment this if you want your log files compressed
#compress
# packages drop log rotation information into this directory
include /etc/logrotate.d
# no packages own wtmp, or btmp -- we'll rotate them here
/var/log/wtmp {
missingok
monthly
create 0664 root utmp
rotate 1
}
/var/log/btmp {
missingok
monthly
create 0660 root utmp
rotate 1
}
# system-specific logs may be configured here
Could the cause of this problem be the fact that I am calling date_default_timezone_set()
at times?
Thanks!