[Bug 859439] apache2 reload fails
http://bugzilla.opensuse.org/show_bug.cgi?id=859439 --- Comment #31 from patrick shanahan <pat@indy.rr.com> --- (In reply to patrick shanahan from comment #30)
(In reply to Bruno Friedmann from comment #29)
The first changelog is pure apache2 for 13.1 with updates. (the second one is coming from apache2 obs devel repository, so you can forget it)
Yes, saw it wasn't the main-stream version
Since April my servers run those fixed service file and the rotate work perfectly (Next one is next sunday, so I've to wait to confirm it again)
It seems wired that you've seen again a failure. ExecReload=/usr/sbin/start_apache2 -D SYSTEMD -DFOREGROUND -k graceful being almost identical to a apache2ctl -k graceful direct command.
Can you check the content of /etc/logrotate/apache2 file and post here.
the contain of mine working is now (adjusted to my needs) .. list of log files to rotate ... { monthly compress dateext maxage 365 rotate 99 # size=+4096k notifempty missingok create 644 root root postrotate /usr/bin/systemctl reload apache2.service endscript }
I edited mine to remove logs I do not keep/track:
/var/log/apache2/access_log { compress dateext maxage 365 rotate 99 size=+4096k notifempty missingok create 644 root root postrotate /usr/bin/systemctl reload apache2.service endscript }
/var/log/apache2/error_log { compress dateext maxage 365 rotate 99 size=+1024k notifempty missingok create 644 root root postrotate /usr/bin/systemctl reload apache2.service endscript }
This is the first failure for some time. I did have one about a month ago, but memory is very suspect at my age. During soccer seasons, I have a rotation normally 3-5 days.
Rotated this morning correctly, apache2 active and logs recording. -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com