Univention Bugzilla – Bug 53302
[upgrade to 5.0-0]: Syntax error on line 59 of /etc/apache2/sites-enabled/univention.conf: Invalid command 'WSGIScriptAlias'
Last modified: 2021-05-25 15:59:18 CEST
There are error messages during the upgrade of apache2 to UCS 5.0: apache2 (2.4.38-3+deb10u4A~5.0.0.202009030844) wird eingerichtet ...^M Neue Version der Konfigurationsdatei /etc/apache2/mods-available/deflate.conf wird installiert ...^M Neue Version der Konfigurationsdatei /etc/apache2/mods-available/mime.conf wird installiert ...^M Neue Version der Konfigurationsdatei /etc/init.d/apache-htcacheclean wird installiert ...^M Neue Version der Konfigurationsdatei /etc/init.d/apache2 wird installiert ...^M Neue Version der Konfigurationsdatei /etc/logrotate.d/apache2 wird installiert ...^M info: Executing deferred 'a2enmod authnz_pam' for package libapache2-mod-authnz-pam^M Job for apache2.service failed because the control process exited with error code.^M See "systemctl status apache2.service" and "journalctl -xe" for details.^M invoke-rc.d: initscript apache2, action "restart" failed.^M ^[[0;1;31m●^[[0m apache2.service - The Apache HTTP Server^M Loaded: loaded (^[]8;;file://nissedal/lib/systemd/system/apache2.service^G/lib/systemd/system/apache2.service^[]8;;^G; enabled; vendor preset: enabled)^M Active: ^[[0;1;31mfailed^[[0m (Result: exit-code) since Thu 2021-05-20 21:13:46 CEST; 13ms ago^M Docs: ^[]8;;https://httpd.apache.org/docs/2.4/^Ghttps://httpd.apache.org/docs/2.4/^[]8;;^G^M Process: 1380 ExecStart=/usr/sbin/apachectl start ^[[0;1;31m(code=exited, status=1/FAILURE)^[[0m^M ^M Mai 20 21:13:46 nissedal systemd[1]: Starting The Apache HTTP Server...^M Mai 20 21:13:46 nissedal apachectl[1380]: [Thu May 20 21:13:46.519916 2021] [so:warn] [pid 1383] AH01574: module dav_module is already loaded, skipping^M Mai 20 21:13:46 nissedal apachectl[1380]: AH00526: Syntax error on line 59 of /etc/apache2/sites-enabled/univention.conf:^M Mai 20 21:13:46 nissedal apachectl[1380]: Invalid command 'WSGIScriptAlias', perhaps misspelled or defined by a module not included in the server configuration^M Mai 20 21:13:46 nissedal apachectl[1380]: Action 'start' failed.^M Mai 20 21:13:46 nissedal apachectl[1380]: The Apache error log may have more information.^M Mai 20 21:13:46 nissedal systemd[1]: ^[[0;1;39m^[[0;1;31m^[[0;1;39mapache2.service: Control process exited, code=exited, status=1/FAILURE^[[0m^M Mai 20 21:13:46 nissedal systemd[1]: ^[[0;1;39m^[[0;1;31m^[[0;1;39mapache2.service: Failed with result 'exit-code'.^[[0m^M Mai 20 21:13:46 nissedal systemd[1]: ^[[0;1;31m^[[0;1;39m^[[0;1;31mFailed to start The Apache HTTP Server.^[[0m^M insserv: warning: current start runlevel(s) (empty) of script `apache-htcacheclean' overrides LSB defaults (2 3 4 5).^M insserv: warning: current stop runlevel(s) (0 1 2 3 4 5 6) of script `apache-htcacheclean' overrides LSB defaults (0 1 6).^M libglusterfs-dev (5.5-3) wird eingerichtet ...^M libapache2-mod-svn (1.10.4-1+deb10u2) wird eingerichtet ...^M Neue Version der Konfigurationsdatei /etc/apache2/mods-available/dav_svn.conf wird installiert ...^M apache2_invoke dav_svn: already enabled^M apache2_reload: Your configuration is broken. Not restarting Apache 2^M apache2_reload: [Thu May 20 21:13:47.853568 2021] [so:warn] [pid 1436] AH01574: module dav_module is already loaded, skipping^M apache2_reload: AH00526: Syntax error on line 59 of /etc/apache2/sites-enabled/univention.conf:^M apache2_reload: Invalid command 'WSGIScriptAlias', perhaps misspelled or defined by a module not included in the server configuration^M apache2_invoke authz_svn: already enabled^M apache2_reload: Your configuration is broken. Not restarting Apache 2^M apache2_reload: [Thu May 20 21:13:48.033847 2021] [so:warn] [pid 1453] AH01574: module dav_module is already loaded, skipping^M apache2_reload: AH00526: Syntax error on line 59 of /etc/apache2/sites-enabled/univention.conf:^M apache2_reload: Invalid command 'WSGIScriptAlias', perhaps misspelled or defined by a module not included in the server configuration^M
My understand is: This Traceback occures only during upgrade and has no consequences for the system (apache config is correct at the end of the upgrade). Effort which needs to be spend for a fix is way higher than the benefit. -> WONTFIX Please reopen in case you disagree.
Yes, after the upgrade everything is okay.
UCS 5.0 has been released: https://docs.software-univention.de/release-notes-5.0-0-en.html https://docs.software-univention.de/release-notes-5.0-0-de.html If this error occurs again, please use "Clone This Bug".