Univention Bugzilla – Bug 45893
Apache does not start at UCS 4.3 installation
Last modified: 2018-03-14 14:38:47 CET
root@unassigned-hostname:~# /etc/init.d/apache2 restart [FAIL] Restarting Apache httpd web server: apache2 failed! [warn] The apache2 configtest failed. ... (warning). Output of config test was: AH00526: Syntax error on line 14 of /etc/apache2/conf-enabled/univention-web.conf: Invalid command 'ExpiresActive', perhaps misspelled or defined by a module not included in the server configuration Action 'configtest' failed. The Apache error log may have more information. root@unassigned-hostname:~#
The (post)installation of univention-web shows: ERROR: Module expires does not exists!
The following things have been done: * the postinst of univention-web-js restarts apache2 on a new installation of the package. * univention-web explicit depends on univention-apache * univention-apache explicit depends on apache2 univention-web (2.0.0-2) be085ffea1f5 | Bug #45893: fix starting of apache during Installation univention-apache (10.0.0-3) 6af50552b67f | Bug #45893: add explicit dependency on apache2 The new packages are currently building.
I tested it and it works.
Yes, it works. Please add a changelog entry.
Changelog has been added.
OK - apache/UMC works during installation OK - changelog
univention-web-js (2.0.0-4A~4.3.0.201801171728) wird eingerichtet ... File: /usr/share/univention-web/js/umc/hooks.json File: /var/www/univention/languages.json File: /etc/apache2/conf-available/univention-web.conf Conf univention-web already enabled Module expires already enabled Not updating ucs/server/languages/en_US Not updating ucs/server/languages/de_DE Not updating ucs/server/languages/en_GB Not updating ucs/server/languages/de_AT Not updating ucs/server/languages/de_CH Not updating umc/web/hooks/univention-web-js /var/lib/dpkg/info/univention-web-js.postinst: Zeile 51: [: Fehlende `]' -if [ "$1" = "configure" && -z "$2" ]; then +if [ "$1" = "configure" -a -z "$2" ]; then
Thanks, fixed in d49141d0.
OK
UCS 4.3 has been released: https://docs.software-univention.de/release-notes-4.3-0-en.html https://docs.software-univention.de/release-notes-4.3-0-de.html If this error occurs again, please use "Clone This Bug".