[Apache2] Mod_authz_core not loaded


>journalctl -xn
-- Logs begin at Thu 2015-02-19 17:13:23 CET, end at Fri 2015-03-20 17:19:21 CET. --
Mar 20 17:19:20 linux.site start_apache2[5855]: Module "authz_default" is not installed, ignoring.
Mar 20 17:19:20 linux.site start_apache2[5855]: Check the APACHE_MODULES setting in /etc/sysconfig/apache2.
Mar 20 17:19:21 linux.site start_apache2[5855]: [Fri Mar 20 17:19:21.012002 2015] [so:warn] [pid 5855] AH01574: module rewrite_module is already loaded, skipping
Mar 20 17:19:21 linux.site start_apache2[5855]: AH00526: Syntax error on line 10 of /etc/apache2/mod_status.conf:
Mar 20 17:19:21 linux.site start_apache2[5855]: Invalid command 'Require', perhaps misspelled or defined by a module not included in the server configuration
Mar 20 17:19:21 linux.site start_apache2[5873]: Module "authz_default" is not installed, ignoring.
Mar 20 17:19:21 linux.site start_apache2[5873]: Check the APACHE_MODULES setting in /etc/sysconfig/apache2.
Mar 20 17:19:21 linux.site start_apache2[5873]: [Fri Mar 20 17:19:21.130746 2015] [so:warn] [pid 5873] AH01574: module rewrite_module is already loaded, skipping
Mar 20 17:19:21 linux.site start_apache2[5873]: AH00526: Syntax error on line 10 of /etc/apache2/mod_status.conf:
Mar 20 17:19:21 linux.site start_authz_defaultapache2[5873]: Invalid command 'Require', perhaps misspelled or defined by a module not included in the server configuration

As you can see, the module authz_default(or authz_core) is not installed. I’m trying to install it by Yast, but when typing auth not apache2-mod-auth* is present. How to install required modules?

There’s no need to install mod_authz_core, it is part of the standard apache2 package. And why is mod_authz_default being loaded? That doesn’t exist any more in Apache 2.4, see also http://httpd.apache.org/docs/trunk/en/upgrading.html#compile-time.

These modules have been removed: mod_authn_default, mod_authz_default, mod_mem_cache.

What does your APACHE2_MODULES setting in /etc/sysconfig/apache2 say?
If it contains authz_default, replace that with authz_core.

If authz_core is missing, something seems to be wrong with your installation. Try to reinstall apache2:

sudo zypper in -f apache2

Or did you install Apache from somewhere else? (self-compiled e.g.)