[Bug 924591] New: Apache2 doesn't start with faulty config, prob from yast
http://bugzilla.opensuse.org/show_bug.cgi?id=924591 Bug ID: 924591 Summary: Apache2 doesn't start with faulty config, prob from yast Classification: openSUSE Product: openSUSE Factory Version: 201503* Hardware: armv7 OS: Other Status: NEW Severity: Normal Priority: P5 - None Component: YaST2 Assignee: yast2-maintainers@suse.de Reporter: volker3204@paradise.net.nz QA Contact: jsrain@suse.com Found By: --- Blocker: --- Running yast http-server module, making basically no changes to get basic config. No vhosts, ssl, etc. Btw a server name can't be entered, the value is going to /dev/null. Starting apache gives: Mar 27 14:37:35 cubie start_apache2[9361]: Module "authz_default" is not installed, ignoring. Mar 27 14:37:35 cubie start_apache2[9361]: Check the APACHE_MODULES setting in /etc/sysconfig/apache2. Mar 27 14:37:35 cubie start_apache2[9361]: AH00526: Syntax error on line 10 of /etc/apache2/mod_status.conf: Mar 27 14:37:35 cubie start_apache2[9361]: Invalid command 'Require', perhaps misspelled or defined by a module not included in the server configuration Mar 27 14:37:36 cubie start_apache2[9378]: Module "authz_default" is not installed, ignoring. Mar 27 14:37:36 cubie start_apache2[9378]: Check the APACHE_MODULES setting in /etc/sysconfig/apache2. Mar 27 14:37:36 cubie start_apache2[9378]: AH00526: Syntax error on line 10 of /etc/apache2/mod_status.conf: Mar 27 14:37:36 cubie start_apache2[9378]: Invalid command 'Require', perhaps misspelled or defined by a module not included in the server configuration Mar 27 14:37:36 cubie systemd[1]: Failed to start The Apache Webserver. In the yast http-server server-modules tab authz_default is listed with a description of "unknown", i.e. none. The module does not exist on disk! Editing /etc/sysconfig/apache2 adding authz_core to APACHE_MODULES makes authz_core also be shown with a description of "unknown". systemctl restart apache2 is now successful. This bnc:835484#6 basically says yast http-server module is foobared, so it's probably best to uninstall it. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=924591 Volker Kuhlmann <volker3204@paradise.net.nz> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |volker3204@paradise.net.nz --- Comment #2 from Volker Kuhlmann <volker3204@paradise.net.nz> --- Same problem exists in oS 13.2 final. /etc/sysconfig/apache2 contains: ## Type: string ## Default: "actions alias auth_basic authz_host authn_file authz_groupfile authz_default authz_user autoindex cgi dir env expires include log_config mime negotiation setenvif ssl suexec userdir php5" ... APACHE_MODULES="... There is no module authz_default! (I guess it should be authz_core.) It appears that in some circumstances the string default can end up in APACHE_MODULES, with authz_core being missing, and the server won't start. The module description in yast for both authn_core and authz_core is "unknown". -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=924591 --- Comment #3 from Volker Kuhlmann <volker3204@paradise.net.nz> --- In factory, authn_core does not show up in the list of modules in yast. It's required for all authentication, and I don't believe I removed it manually anywhere. yast2-http-server-3.1.6-2.2.noarch apache2-2.4.12-2.1.armv7hl -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=924591 --- Comment #4 from Volker Kuhlmann <volker3204@paradise.net.nz> --- OK root cause of the problem seems to be that apache modules authn_default, authz_default were renamed to authn_core, authz_core in apache 2.4 (or similar version). -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=924591 http://bugzilla.opensuse.org/show_bug.cgi?id=924591#c7 John Shand <jshand2013@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jshand2013@gmail.com --- Comment #7 from John Shand <jshand2013@gmail.com> --- (In reply to Volker Kuhlmann from comment #0)
Running yast http-server module, making basically no changes to get basic config. No vhosts, ssl, etc.
Btw a server name can't be entered, the value is going to /dev/null.
Starting apache gives: Mar 27 14:37:35 cubie start_apache2[9361]: Module "authz_default" is not installed, ignoring. Mar 27 14:37:35 cubie start_apache2[9361]: Check the APACHE_MODULES setting in /etc/sysconfig/apache2. Mar 27 14:37:35 cubie start_apache2[9361]: AH00526: Syntax error on line 10 of /etc/apache2/mod_status.conf: Mar 27 14:37:35 cubie start_apache2[9361]: Invalid command 'Require', perhaps misspelled or defined by a module not included in the server configuration Mar 27 14:37:36 cubie start_apache2[9378]: Module "authz_default" is not installed, ignoring. Mar 27 14:37:36 cubie start_apache2[9378]: Check the APACHE_MODULES setting in /etc/sysconfig/apache2. Mar 27 14:37:36 cubie start_apache2[9378]: AH00526: Syntax error on line 10 of /etc/apache2/mod_status.conf: Mar 27 14:37:36 cubie start_apache2[9378]: Invalid command 'Require', perhaps misspelled or defined by a module not included in the server configuration Mar 27 14:37:36 cubie systemd[1]: Failed to start The Apache Webserver.
In the yast http-server server-modules tab authz_default is listed with a description of "unknown", i.e. none. The module does not exist on disk!
Editing /etc/sysconfig/apache2 adding authz_core to APACHE_MODULES makes authz_core also be shown with a description of "unknown".
systemctl restart apache2 is now successful.
This bnc:835484#6 basically says yast http-server module is foobared, so it's probably best to uninstall it.
this al happens with me and i'm using tumbleweed. Here's the link to my error report, it will be similar: https://bugzilla.opensuse.org/show_bug.cgi?id=1197058 -- You are receiving this mail because: You are on the CC list for the bug.
participants (2)
-
bugzilla_noreply@novell.com
-
bugzilla_noreply@suse.com