ich habe hier einen Apache 2.4.10 unter debian 8 64-Bit am laufen, der jeden Tag nach dem logrotate unerreichbar ist (war).
Ich konnte den Fehler mittlerweile zwar beheben indem ich die Datei /etc/logrotate.d/apache2 geändert habe.
Ursprüngliche Konfiguration:
Code: Alles auswählen
daily
missingok
rotate 14
compress
delaycompress
notifempty
create 640 root adm
sharedscripts
postrotate
if /bin/systemctl status apache2 > /dev/null ; then \
/bin/systemctl reload apache2 > /dev/null; \
fi;
endscript
prerotate
if [ -d /etc/logrotate.d/httpd-prerotate ]; then \
run-parts /etc/logrotate.d/httpd-prerotate; \
fi; \
endscript
Code: Alles auswählen
copytruncate
daily
missingok
rotate 14
compress
delaycompress
notifempty
create 640 root adm
sharedscripts
Was mir jetzt aber nicht klar ist...
Warum funktioniert die ursprüngliche Konfiguration bei anderen Apache-Servern?
Und was könnte an meinem hier schief laufen?