We have Foreman/Katello installed on the same machine as Zabbix and we find that Foreman is "greedy" - it blows away /etc/httpd and replaces it afresh at every upgrade.

So - you either have to set up another system or as we have done, automated putting the zabbix httpd conf back into /etc/httpd.

It's annoying, but I would imagine that is the issue.

As Rob noted, I don't think either project has tested if any other web configurations exist - but I do know that Foreman would fail that test. They *presume* they are the only software using the httpd service on a system.

Cheers
L.

------
"The antidote to apocalypticism is apocalyptic civics. Apocalyptic civics is the insistence that we cannot ignore the truth, nor should we panic about it. It is a shared consciousness that our institutions have failed and our ecosystem is collapsing, yet we are still here — and we are creative agents who can shape our destinies. Apocalyptic civics is the conviction that the only way out is through, and the only way through is together. "

Greg Bloom @greggish https://twitter.com/greggish/status/873177525903609857

On 26 July 2017 at 04:25, Anthony Clark via FreeIPA-users <freeipa-users@lists.fedorahosted.org> wrote:
It looks like you don't have mod_nss installed.  "NSSPassPhraseDialog" is used by that module.

On Tue, Jul 25, 2017 at 1:57 PM, Andrew Meyer via FreeIPA-users <freeipa-users@lists.fedorahosted.org> wrote:
So I just installed foreman on my puppet and ansible instance and got it working.  After I installed it and got it working.  I joined the server to the my FreeIPA domain.  

I now get the following error whenever I try to restart apache.

By the way this is CentOS 7 latest.  Has any one else run into this?

sudo systemctl status httpd -l
● httpd.service - The Apache HTTP Server
   Loaded: loaded (/usr/lib/systemd/system/httpd.service; enabled; vendor preset: disabled)
   Active: failed (Result: exit-code) since Tue 2017-07-25 06:57:03 CDT; 9s ago
     Docs: man:httpd(8)
           man:apachectl(8)
  Process: 12422 ExecStop=/bin/kill -WINCH ${MAINPID} (code=exited, status=1/FAILURE)
  Process: 12421 ExecStart=/usr/sbin/httpd $OPTIONS -DFOREGROUND (code=exited, status=1/FAILURE)
 Main PID: 12421 (code=exited, status=1/FAILURE)

Jul 25 06:57:03 asm-automation01.borg.local systemd[1]: Starting The Apache HTTP Server...
Jul 25 06:57:03 asm-automation01.borg.local httpd[12421]: AH00526: Syntax error on line 38 of /etc/httpd/conf.d/nss.conf:
Jul 25 06:57:03 asm-automation01.borg.local httpd[12421]: Invalid command 'NSSPassPhraseDialog', perhaps misspelled or defined by a module not included in the server configuration
Jul 25 06:57:03 asm-automation01.borg.local systemd[1]: httpd.service: main process exited, code=exited, status=1/FAILURE
Jul 25 06:57:03 asm-automation01.borg.local kill[12422]: kill: cannot find process ""
Jul 25 06:57:03 asm-automation01.borg.local systemd[1]: httpd.service: control process exited, code=exited status=1
Jul 25 06:57:03 asm-automation01.borg.local systemd[1]: Failed to start The Apache HTTP Server.
Jul 25 06:57:03 asm-automation01.borg.local systemd[1]: Unit httpd.service entered failed state.
Jul 25 06:57:03 asm-automation01.meyer.local systemd[1]: httpd.service failed.

_______________________________________________
FreeIPA-users mailing list -- freeipa-users@lists.fedorahosted.org
To unsubscribe send an email to freeipa-users-leave@lists.fedorahosted.org



_______________________________________________
FreeIPA-users mailing list -- freeipa-users@lists.fedorahosted.org
To unsubscribe send an email to freeipa-users-leave@lists.fedorahosted.org