[Bug 859439] New: apache2 reload fails
https://bugzilla.novell.com/show_bug.cgi?id=859439 https://bugzilla.novell.com/show_bug.cgi?id=859439#c0 Summary: apache2 reload fails Classification: openSUSE Product: openSUSE 13.1 Version: Final Platform: Other OS/Version: openSUSE 13.1 Status: NEW Severity: Major Priority: P5 - None Component: Apache AssignedTo: bnc-team-apache@forge.provo.novell.com ReportedBy: rosenberger@taoweb.at QAContact: qa-bugs@suse.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:22.0) Gecko/20100101 Firefox/22.0 Hello /etc/init.d/apache2 reload or systemctl reload apache2.service not reading the new config file or graceful restart the web server. Also the logrotate uses /etc/init.d/apache2 reload but after running logrotate apache2 didn't write any more to the logfiles. BR/Torsten Reproducible: Always Steps to Reproduce: 1.change a apache config file 2./etc/init.d/apache2 reload 3. Actual Results: nothing happen, apache didn't reload also if logrotate runs and have to reload apache ther where no log entrys after restarting apache. Expected Results: apache should renew the readed in config file. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=859439
https://bugzilla.novell.com/show_bug.cgi?id=859439#c1
Christian Boltz
Also the logrotate uses /etc/init.d/apache2 reload but after running logrotate apache2 didn't write any more to the logfiles.
I just tested this and apache still writes to the old logfile even after it's renamed. In other words: apache doesn't close (and re-open) the logfiles on reload. rcapache2 restart is a workaround - but AFAIK that closes all connections, which is especially annoying for large downloads... On the positive side: this only affects 13.1 (and maybe factory). On 12.3 (which still had the old initscript), rcapache2 reload works as expected. I just did some testing - the missing part seems to be killproc -USR1 /usr/sbin/httpd2-prefork When I run this manually, apache closes and re-opens the log (even without "rcapache2 reload" ;-) -> Please make sure "rcapache2 reload" sends the USR1 signal to apache, and release an update for 13.1. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=859439
https://bugzilla.novell.com/show_bug.cgi?id=859439#c2
--- Comment #2 from Torsten Rosenberger
https://bugzilla.novell.com/show_bug.cgi?id=859439
https://bugzilla.novell.com/show_bug.cgi?id=859439#c3
Michael Buchau
https://bugzilla.novell.com/show_bug.cgi?id=859439
https://bugzilla.novell.com/show_bug.cgi?id=859439#c4
--- Comment #4 from Christian Boltz
https://bugzilla.novell.com/show_bug.cgi?id=859439
https://bugzilla.novell.com/show_bug.cgi?id=859439#c5
--- Comment #5 from Peter Poeml
https://bugzilla.novell.com/show_bug.cgi?id=859439
https://bugzilla.novell.com/show_bug.cgi?id=859439#c6
--- Comment #6 from Christian Boltz
We always ran a syntax check before reloading Apache automatically in rcapache2. (Somebody migrating to systemd didn't understand that and copied the wrong line from rcapache2.)
;-) I know about the syntaxcheck in the initscript, and it saved me more than once ;-) Maybe you can use (untested!) ExecReload=/usr/sbin/start_apache2 -D SYSTEMD -DFOREGROUND -t -k graceful && /usr/sbin/start_apache2 -D SYSTEMD -DFOREGROUND -k graceful (and a similar line for ExecRestart) Nevertheless, my SR fixes "rcapache2 reload" - without the syntax check, but at least the new config is read ;-) -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=859439
https://bugzilla.novell.com/show_bug.cgi?id=859439#c7
Christian Boltz
https://bugzilla.novell.com/show_bug.cgi?id=859439
https://bugzilla.novell.com/show_bug.cgi?id=859439#c8
Bruno Friedmann
https://bugzilla.novell.com/show_bug.cgi?id=859439
https://bugzilla.novell.com/show_bug.cgi?id=859439#c9
--- Comment #9 from Walter Haidinger
https://bugzilla.novell.com/show_bug.cgi?id=859439
https://bugzilla.novell.com/show_bug.cgi?id=859439#c10
Miuku Mauku
This bug is more than 2 months old. Will there be an update package?
I'm voting for adding this bug to the "most annoying bugs" page.
I agree, this one needs an 'official' update and not one in the Apache repos. I lost few weeks worth of log files due to this issue already and I'm really not a happy camper now. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=859439
https://bugzilla.novell.com/show_bug.cgi?id=859439#c11
--- Comment #11 from Bruno Friedmann
https://bugzilla.novell.com/show_bug.cgi?id=859439
https://bugzilla.novell.com/show_bug.cgi?id=859439#c12
--- Comment #12 from Bruno Friedmann
https://bugzilla.novell.com/show_bug.cgi?id=859439
https://bugzilla.novell.com/show_bug.cgi?id=859439#c13
Bruno Friedmann
https://bugzilla.novell.com/show_bug.cgi?id=859439
https://bugzilla.novell.com/show_bug.cgi?id=859439#c14
--- Comment #14 from Christian Boltz
https://bugzilla.novell.com/show_bug.cgi?id=859439
https://bugzilla.novell.com/show_bug.cgi?id=859439#c16
--- Comment #16 from Bernhard Wiedemann
https://bugzilla.novell.com/show_bug.cgi?id=859439
https://bugzilla.novell.com/show_bug.cgi?id=859439#c17
--- Comment #17 from Swamp Workflow Management
https://bugzilla.novell.com/show_bug.cgi?id=859439
https://bugzilla.novell.com/show_bug.cgi?id=859439#c18
--- Comment #18 from patrick shanahan
https://bugzilla.novell.com/show_bug.cgi?id=859439
https://bugzilla.novell.com/show_bug.cgi?id=859439#c19
--- Comment #19 from patrick shanahan
https://bugzilla.novell.com/show_bug.cgi?id=859439
https://bugzilla.novell.com/show_bug.cgi?id=859439#c20
Bruno Friedmann
https://bugzilla.novell.com/show_bug.cgi?id=859439
https://bugzilla.novell.com/show_bug.cgi?id=859439#c21
--- Comment #21 from Bruno Friedmann
https://bugzilla.novell.com/show_bug.cgi?id=859439
https://bugzilla.novell.com/show_bug.cgi?id=859439#c22
Bruno Friedmann
https://bugzilla.novell.com/show_bug.cgi?id=859439
https://bugzilla.novell.com/show_bug.cgi?id=859439#c
Swamp Workflow Management
https://bugzilla.novell.com/show_bug.cgi?id=859439
https://bugzilla.novell.com/show_bug.cgi?id=859439#c23
--- Comment #23 from Swamp Workflow Management
https://bugzilla.novell.com/show_bug.cgi?id=859439
https://bugzilla.novell.com/show_bug.cgi?id=859439#c24
--- Comment #24 from Swamp Workflow Management
http://bugzilla.novell.com/show_bug.cgi?id=859439
Swamp Workflow Management
http://bugzilla.novell.com/show_bug.cgi?id=859439
Swamp Workflow Management
http://bugzilla.novell.com/show_bug.cgi?id=859439
--- Comment #36 from Swamp Workflow Management
http://bugzilla.novell.com/show_bug.cgi?id=859439
C. Holm
http://bugzilla.novell.com/show_bug.cgi?id=859439
Tomáš Chvátal
participants (1)
-
bugzilla_noreply@novell.com