Bug 43241 - nagios2 prevents apache restart - AuthPAM_Enabled
nagios2 prevents apache restart - AuthPAM_Enabled
Status: CLOSED FIXED
Product: UCS
Classification: Unclassified
Component: Monitoring (Prometheus or Nagios)
UCS 4.2
Other Linux
: P5 normal (vote)
: UCS 4.2
Assigned To: Philipp Hahn
Felix Botner
: interim-1
: 43149 (view as bug list)
Depends on: 43287
Blocks:
  Show dependency treegraph
 
Reported: 2016-12-21 17:33 CET by Philipp Hahn
Modified: 2019-08-29 15:25 CEST (History)
3 users (show)

See Also:
What kind of report is it?: Development Internal
What type of bug is this?: ---
Who will be affected by this bug?: ---
How will those affected feel about the bug?: ---
User Pain:
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional):
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Philipp Hahn univentionstaff 2016-12-21 17:33:17 CET
During the upgrade to UCS-4.2-0:

Reloading web server: apache2 failed!
The apache2 configtest failed. Not doing anything. ... (warning).
Output of config test was:
AH00526: Syntax error on line 40 of /etc/apache2/conf-enabled/nagios3.conf:
Invalid command 'AuthPAM_Enabled', perhaps misspelled or defined by a module not included in the server configuration
Action 'configtest' failed.
The Apache error log may have more information.
Comment 1 Philipp Hahn univentionstaff 2017-01-04 14:52:38 CET
*** Bug 43149 has been marked as a duplicate of this bug. ***
Comment 2 Philipp Hahn univentionstaff 2017-01-04 16:24:29 CET
# dpkg-query -W libapache2-mod-auth-pam
libapache2-mod-auth-pam 1.1.1-9.27.201408261725

# a2enmod auth_pam
# apachectl configtest
apache2: Syntax error on line 140 of /etc/apache2/apache2.conf: Syntax error on line 1 of /etc/apache2/mods-enabled/auth_pam.load: Cannot load /usr/lib/apache2/modules/mod_auth_pam.so into server: /usr/lib/apache2/modules/mod_auth_pam.so: undefined symbol: ap_log_rerror

# repo_admin.py -U -p libapache2-mod-auth-pam -d jessie -r 4.2
<https://packages.debian.org/search?keywords=libapache2-mod-auth-pam&searchon=sourcenames&suite=all&section=all>
→ libapache2-mod-authnz-pam

r75580 | Bug #43241 nagios: style
r75579 | Bug #43241 nagios: UCR bool
r75578 | Bug #43241 nagios: Transition to libapache2

Package: univention-nagios
Version: 10.0.0-1A~4.2.0.201701041550
Branch: ucs_4.2-0

No changelog as this is yet another micro update:
 The Apache configuration of <package>nagios</package> has been adapted to the newer <package>libapache2-mod-authnz-pam</package> (<u:bug>43241</u:bug>).
Comment 3 Felix Botner univentionstaff 2017-02-01 13:55:35 CET
OK - installation u-nagios-server
OK - nagios logon as Administrator
Comment 4 Stefan Gohmann univentionstaff 2017-04-04 18:29:27 CEST
UCS 4.2 has been released:
 https://docs.software-univention.de/release-notes-4.2-0-en.html
 https://docs.software-univention.de/release-notes-4.2-0-de.html

If this error occurs again, please use "Clone This Bug".
Comment 5 martha simons 2019-08-29 15:24:37 CEST
Thanks 
Package: univention-nagios
Version: 10.0.0-1A~4.2.0.201701041550 https://www.stepcalculator.com/gpa-calculator.html ucs_4.2-0
"Clone This Bug".
Comment 6 martha simons 2019-08-29 15:25:01 CEST
Thanks 
Package: univention-nagios
Version: 10.0.0-1A~4.2.0.201701041550 https://www.stepcalculator.com/gpa-calculator.html ucs_4.2-0
"Clone This Bug".