Bug#669876: Missing authz_host module on upgrade to Apache 2.4
Package: apache2
Version: 2.4.2-1
Severity: normal
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Hi,
After upgrading from apache2 2.2, the server fails to restart:
$ sudo invoke-rc.d apache2 restart
AH00526: Syntax error on line 153 of /etc/apache2/apache2.conf:
Invalid command 'Require', perhaps misspelled or defined by a module not included in the server configuration
Action 'configtest' failed.
The Apache error log may have more information.
failed!
invoke-rc.d: initscript apache2, action "restart" failed.
One has to enable the authz_host module in order to allow the new
Require syntax.
The webserver was not restarted during the upgrade not sure if it's
expected because of the configuration file failure.
Regards
David
- -- Package-specific info:
Enabled MPM: prefork
List of enabled modules:
authz_host (by admin)
access_compat (by maint)
mpm_prefork (by admin)
filter (by maint)
authz_core (by admin)
List of enabled configurations:
charset (by maint)
serve-cgi-bin (by maint)
security (by maint)
localized-error-pages (by maint)
other-vhosts-access-log (by maint)
- -- System Information:
Debian Release: wheezy/sid
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 3.2.0-2-amd64 (SMP w/1 CPU core)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages apache2 depends on:
ii apache2-bin 2.4.2-1
ii apache2-data 2.4.2-1
ii lsb-base 4.1+Debian1
ii mime-support 3.52-1
ii perl 5.14.2-9
ii procps 1:3.3.2-3
Versions of packages apache2 recommends:
ii ssl-cert 1.0.28
Versions of packages apache2 suggests:
ii apache2-doc <none>
ii apache2-suexec-pristine | apache2-suexec-custom <none>
ii apache2-utils 2.4.2-1
ii epiphany-browser [www-browser] 3.2.1-2
ii iceweasel [www-browser] 10.0.3esr-3
ii konqueror [www-browser] 4:4.7.4-2
ii w3m [www-browser] 0.5.3-5
Versions of packages apache2-bin depends on:
ii libapr1 1.4.6-1
ii libaprutil1 1.4.1-1
ii libaprutil1-dbd-sqlite3 1.4.1-1
ii libaprutil1-ldap 1.4.1-1
ii libc6 2.13-30
ii libldap-2.4-2 2.4.28-1.2
ii liblua5.1-0 5.1.5-1
ii libpcre3 1:8.30-4
ii libssl1.0.0 1.0.1a-3
ii libxml2 2.7.8.dfsg-8
ii perl 5.14.2-9
ii zlib1g 1:1.2.6.dfsg-2
Versions of packages apache2-bin suggests:
ii apache2-doc <none>
ii apache2-suexec-pristine | apache2-suexec-custom <none>
ii epiphany-browser [www-browser] 3.2.1-2
ii iceweasel [www-browser] 10.0.3esr-3
ii konqueror [www-browser] 4:4.7.4-2
ii w3m [www-browser] 0.5.3-5
Versions of packages apache2 is related to:
ii apache2 2.4.2-1
ii apache2-bin 2.4.2-1
- -- no debconf information
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
iQIcBAEBCAAGBQJPkucNAAoJELgqIXr9/gny+VgP/2EfproKoVH4ZFUbBC21/hyx
TNJwuhuVuRhIgT7+WZ2Yl4GStrmH5a/2wdH7wypu/94GqUbOqdEvVQv+quWipC52
ouT5XBDPg83EQf5DKYNxAqTrjO3WXZarZWRSoJiscoIE+PxbpcXPZjLYO5nbvEh7
xEBmTftDF76qr5I7r93C+e9LNKFPy709z160oLvGBFfU4FwPg6gxv21fdZfag4H+
3c+/5PibHXO6x3ye2iOJvNrVyqofbdn/iz8goZmzT5/bI4gPb+dJHr7oO/rS664D
gicPN8RoGyJn2pihmHF9oLX+5lWgo2/MKHcPipQFNA30Rxev94aXK35zDmxWPunb
Uz7hrzdDmJaSxBvzDFXD+taX55K87Qrkpzx9gv4xGbg/njottz9TD1oxV+OQlpon
SAMFlI3JIBIZpszEXySvTpz9y80LmYIwCzL+nk/bBdwsmNYZ4mZ20dY6rBolsqOi
CReBfbJ6vNi988F1k/ktG9EAjP21gmDBb78KB2msDlqzmi16nnpyQKAQY2DXo9s2
jNq48VqZSNz0mgzARzjGyD6ZCFh99E/2hZOlkgoU4hYlx+qOd5WjqeLG4Vm9HZfd
+ymV0x1iRd3EQZLikYepA5VgATBro+d3c46hceJ7ED2Os1kaI3MzOAhUlswsF2ED
SVsAU0BA/RorLnaBoIaD
=f+PC
-----END PGP SIGNATURE-----
Reply to: