Project

General

Profile

Actions

Bug #12246

closed

Package rudder-server-relay fails to start apache2

Added by Janos Mattyasovszky about 6 years ago. Updated over 5 years ago.

Status:
Rejected
Priority:
N/A
Assignee:
-
Category:
Packaging
Target version:
-
Severity:
Trivial - no functional impact | cosmetic
UX impact:
User visibility:
Getting started - demo | first install | level 1 Techniques
Effort required:
Priority:
43
Name check:
Fix check:
Regression:

Description

On a SLES12 SP3, during the installation of rudder-server-root, it fails to start apache:

(40/43) Installing: rudder-server-relay-1398866025:4.3.0.rc1-1.SLES.12.x86_64 ....[done]
Additional rpm output:
INFO: Creating group rudder... Done
INFO: Creating group rudder-policy-reader... Done
INFO: Creating the rudder user... Done
INFO: Setting Apache HTTPd as a boot service... Done
INFO: Stopping Apache HTTPd... Done
INFO: No usable SSL certificate detected for Rudder HTTP/S support, generating one autom
atically... Done
INFO: Starting Apache HTTPd...Job for apache2.service failed because the control process
 exited with error code. See "systemctl status apache2.service" and "journalctl -xe" for
 details.
INFO: rudder-server-relay setup complete.

****************************************************************************************
*
INFO: Now run on your root server:

INFO:   '/opt/rudder/bin/rudder-node-to-relay 643c9407-0864-4930-9a66-13c4ecc122a7
INFO: Please look at the documentation for details (Section 'Relay servers')
****************************************************************************************
*

Apache shows following error:

# systemctl status apache2.service -l
● apache2.service - The Apache Webserver
   Loaded: loaded (/usr/lib/systemd/system/apache2.service; disabled; vendor preset: disabled)
   Active: failed (Result: exit-code) since Tue 2018-03-20 13:44:38 CET; 28s ago
 Main PID: 5752 (code=exited, status=1/FAILURE)

Mar 20 13:44:38 sles12sp3 start_apache2[5761]: [Tue Mar 20 13:44:38.309754 2018] [so:warn] [pid 5761] AH01574: module dav_module is already loaded, skipping
Mar 20 13:44:38 sles12sp3 start_apache2[5761]: [Tue Mar 20 13:44:38.309759 2018] [so:warn] [pid 5761] AH01574: module dav_fs_module is already loaded, skipping
Mar 20 13:44:38 sles12sp3 start_apache2[5761]: [Tue Mar 20 13:44:38.310076 2018] [so:warn] [pid 5761] AH01574: module ssl_module is already loaded, skipping
Mar 20 13:44:38 sles12sp3 start_apache2[5761]: [Tue Mar 20 13:44:38.310085 2018] [so:warn] [pid 5761] AH01574: module version_module is already loaded, skipping
Mar 20 13:44:38 sles12sp3 start_apache2[5761]: AH00526: Syntax error on line 38 of /opt/rudder/etc/rudder-apache-relay-common.conf:
Mar 20 13:44:38 sles12sp3 start_apache2[5761]: Invalid command 'AuthName', perhaps misspelled or defined by a module not included in the server configuration
Mar 20 13:44:38 sles12sp3 systemd[1]: apache2.service: Control process exited, code=exited status=1
Mar 20 13:44:38 sles12sp3 systemd[1]: Failed to start The Apache Webserver.
Mar 20 13:44:38 sles12sp3 systemd[1]: apache2.service: Unit entered failed state.
Mar 20 13:44:38 sles12sp3 systemd[1]: apache2.service: Failed with result 'exit-code'.

It looks like it was missing some modules during loading.

I did not pursue this issue further, nor did I try to recreate it a second time.
Since apache was restarted during the installation of later packages, it was in a working state after the whole zypper transaction went through, I still had the urge to report it due to optical reasons O:-)

Actions #1

Updated by Benoît PECCATTE about 6 years ago

It is surprising since AuthName comes from mod_authn_core which should always be there

Actions #2

Updated by Benoît PECCATTE almost 6 years ago

  • Priority changed from 47 to 46

We cannot reproduce, can you help us trigger the bug somehow ?

Actions #3

Updated by Benoît PECCATTE over 5 years ago

  • Status changed from New to Rejected
  • Priority changed from 46 to 43

Closing as cannot reproduce.
Feel free to reopen if it happens again.

Actions

Also available in: Atom PDF