Page 1 of 1

Nagios XI trying to write to certs dir

Posted: Tue Oct 31, 2017 9:37 am
by markmerchant
I have imported the cert I need into the web interface ( though I can see
that it has already been pre-installed in /etc/openldap/cacerts ). What is XI
trying to write there? Why isn't it using the pre-installed cert? And, what
perms or sudoers do I need to get sLDAP working?

Thx.

[Tue Oct 31 09:50:48.319993 2017] [:error] [pid 18649] [client xxx.xxx.20.108:54818]
PHP Warning: file_put_contents(/etc/openldap/certs/59f87fb84e1b8.crt):
failed to open stream: Permission denied in
/usr/local/nagiosxi/html/includes/components/ldap_ad_integration/ajax.php on
line 91, referer:
http://xxxlqnagios01/nagiosxi/includes/ ... manage.php

Re: Nagios XI trying to write to certs dir

Posted: Tue Oct 31, 2017 3:35 pm
by npolovenko
Hello, @markmerchant .

What manual did you use to get your LDAP server to work with XI? I suggest going over our manual below to make sure you got all the steps right:
https://assets.nagios.com/downloads/nag ... gIGjfD_BwE

Also, does your password contain any special characters? If it does I I'd probably change it for testing purposes.
I'd also recommend running the commands from this troubleshooting guide: https://support.nagios.com/kb/article.php?id=524

So let us know if you're able to resolve the issue using the above articles, and if that doesn't help I will attempt to replicate this problem myself.