Univention Bugzilla – Bug 37792
Reload apache crash
Last modified: 2015-04-23 10:12:38 CEST
This happens on UCS: https://issues.kolab.org/show_bug.cgi?id=2050 If the kolab php modules are loaded, a apache reload results in a apache crash. As a first workaround the apache init script should recognize this situation and restart the apache, for example: if $APACHE2CTL graceful $2 ; then log_end_msg 0 if ! timeout 1 apache2ctl status >/dev/null; then pkill -9 -f '^/usr/sbin/apache2 -k' $0 restart fi else ...
The apache is now killed and restarted if a reload fails: r14378 + r14379 I've also added two basic apache tests to ucs-test: r58035 - 01_base/83apache_configtest - 01_base/84apache_reload This update will be released as erratum for UCS 4.0-0 and UCS 4.0-1. Since we added the Debian 7.8 update including a new apache package to UCS 4.0-1, this upgrade will include the Debian 7.8 apache upgrade for UCS 4.0-0. YAML: 58034
OK: Test with UCS 4.0-0 OK: Test with UCS 4.0-1 OK: Test with kolab installation OK: behaviour if apache is not running OK: behaviour during reload OK: behaviour if apache hangs during reload OK: YAML
OK: ucs-test scripts (fixed test description of 84apache_reload)
http://errata.univention.de/ucs/4.0/84.html
Created attachment 6852 [details] 01_base.99check_log_files 01_base.84apache_reload.test S4,Master UCS-4.0-1 <http://jenkins.knut.univention.de:8080/job/UCS-4.0/job/UCS-4.0-1/job/Autotest%20MultiEnv/SambaVersion=s4,Systemrolle=master/79/testReport/junit/01_base/99check_log_files/test/> <http://jenkins.knut.univention.de:8080/job/UCS-4.0/job/UCS-4.0-1/job/Autotest%20MultiEnv/SambaVersion=s4,Systemrolle=master/79/testReport/01_base/84apache_reload/test/> succeeded, so some other "apache reload" failed.