https://bugzilla.novell.com/show_bug.cgi?id=813705
https://bugzilla.novell.com/show_bug.cgi?id=813705#c1
Christian Boltz changed:
What |Removed |Added
----------------------------------------------------------------------------
Summary|apache fails to start - |apache 2.4 fails to start -
|Invalid command 'User' |Invalid command 'User'
--- Comment #1 from Christian Boltz 2013-04-05 21:08:05 CEST ---
Looks like some 2.2 -> 2.4 upgrade problem, it's even mentioned on
http://httpd.apache.org/docs/trunk/upgrading.html
After running
a2enmod unixd
a2enmod access_compat
a2enmod authn_core
apache starts again. (That's basically the "common problems on upgrading"
section.)
-> I'd recommend to do this automatically in %post
The only remaining part at startup is:
Apr 05 20:35:23 geeko.boltz systemd[1]:
Started The Apache Webserver.
Apr 05 20:35:23 geeko.boltz start_apache2[6612]:
Module "authz_default" is not installed, ignoring.
Apr 05 20:35:23 geeko.boltz start_apache2[6612]:
Check the APACHE_MODULES setting in /etc/sysconfig/apache2.
running
a2dismod authz_default
helps - also a candidate for %post.
Unfortunately, I can't access anything on localhost - the error log says
[Fri Apr 05 20:47:28.286661 2013] [core:error] [pid 6913] [client
127.0.0.1:42798] AH00027: No authentication done but request not allowed
without authentication for /. Authentication not configured?
[Fri Apr 05 20:47:28.286744 2013] [core:error] [pid 6913] [client
127.0.0.1:42798] AH00027: No authentication done but request not allowed
without authentication for /error/HTTP_INTERNAL_SERVER_ERROR.html.var.
Authentication not configured?
Any idea what could be wrong?
Note: At the moment, I'm testing with the _default config as packaged_.
(I reverted my changes in /etc/apache2/ - rpm -V doesn't show modified files,
and rpm -qf `find` doesn't list files not owned by a package except
sysconfig.d/{global,include,loadmodule}.conf).
With the default config, I still get the same error message.
/etc/sysconfig/apache2 without comments:
APACHE_CONF_INCLUDE_FILES=""
APACHE_CONF_INCLUDE_DIRS=""
APACHE_MODULES="actions alias auth_basic authn_file authz_host authz_groupfile
authz_user authn_dbm autoindex cgi dir env expires include log_config mime
negotiation setenvif ssl suexec userdir php5 rewrite proxy proxy_http
reqtimeout unixd access_compat authn_core"
APACHE_SERVER_FLAGS=""
APACHE_HTTPD_CONF=""
APACHE_MPM=""
APACHE_SERVERADMIN=""
APACHE_SERVERNAME=""
APACHE_START_TIMEOUT="2"
APACHE_SERVERSIGNATURE="on"
APACHE_LOGLEVEL="warn"
APACHE_ACCESS_LOG="/var/log/apache2/access_log combined"
APACHE_USE_CANONICAL_NAME="off"
APACHE_SERVERTOKENS="OS"
APACHE_EXTENDED_STATUS="off"
DOC_SERVER="no"
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.