Upgraded my server to 7.7 today using the upgrade-tool. Appeared to go fine, as I can get into the admin gui on both ports (980 & 9090). httpd fails to start due to unknown auth in pnp4nagios.conf - ldap
Anyone else experience this?
Thanks for any assistance.
Do I understand correctly that you have an external application (Nagios) installed? This could be very tricky. AFAIK the upgrade tool is especially designed for Nethserver with offical modules only. Is there an option to remove Nagios and reinstall after upgrade? (maybe with backup of database that can be re-imported afterwards)?
[root@neth ~]# systemctl status httpd.service ● httpd.service - The Apache HTTP Server
Loaded: loaded (/usr/lib/systemd/system/httpd.service; enabled; vendor preset: disabled)
Drop-In: /etc/systemd/system/httpd.service.d
└─quick_kill.conf
Active: failed (Result: exit-code) since Mon 2020-01-27 11:17:38 CST; 1h 1min ago
Docs: man:httpd(8)
man:apachectl(8)
Main PID: 6987 (code=exited, status=1/FAILURE)
Jan 27 11:17:38 neth.qzoneinc.com systemd[1]: Starting The Apache HTTP Server…
Jan 27 11:17:38 neth.qzoneinc.com httpd[6987]: AH00526: Syntax error on line 47 of /etc/httpd/conf.d/pnp4nagios.conf:
Jan 27 11:17:38 neth.qzoneinc.com httpd[6987]: Unknown Authn provider: ldap
Jan 27 11:17:38 neth.qzoneinc.com systemd[1]: httpd.service: main process exited, code=exited, status=1/FAILURE
Jan 27 11:17:38 neth.qzoneinc.com kill[7013]: kill: cannot find process “”
Jan 27 11:17:38 neth.qzoneinc.com systemd[1]: httpd.service: control process exited, code=exited status=1
Jan 27 11:17:38 neth.qzoneinc.com systemd[1]: Failed to start The Apache HTTP Server.
Jan 27 11:17:38 neth.qzoneinc.com systemd[1]: Unit httpd.service entered failed state.
Jan 27 11:17:38 neth.qzoneinc.com systemd[1]: httpd.service failed.
Jan 27 11:17:38 neth.qzoneinc.com systemd[1]: Unit httpd.service cannot be reloaded because it is inactive.
pnp4nagios.conf states it is a system modified template…
It was required by nethserver-adagios which is not supported on NethServer7:
nethserver-ocsinventory, nethserver-adagios: due to compatibility problems with Nagios, these modules will be mantained only on NethServer 6 release
If nethserver-adagios is no longer installed (due to the upgrade), there might be some remnants that shall be safe to remove (like /etc/httpd/conf.d/pnp4nagios.conf).
It was part of system and network monitoring. Your server still has those packages installed?
rpm -qa \*nagios \*ocsinventory
If you need further help someone who upgraded from nethserver 6 shall provide better recommendations on what to do (if monitoring is required).
Regards.