Can't Apply Configuration in Core Config Manager
Can't Apply Configuration in Core Config Manager
I'm having some problems deploying a newly built Nagios XI server.
I've built a clean CentOS 6.3 (64 bit) server and did a fresh install of Nagios XI (2012R1.6). I've customized my setup with 2 changes. I added LDAP integration via Active Directory Integration under Managed Components and I forced all http connections to go through https. At this point everything looks good however when I tried to add my first server via Monitoring Wizard, I ran into a Backend Login to the Core Config Manager failed error. I've tried the solutions presented in other threads with similar problems but so far have had no success. I've included the error_log.
David
I've built a clean CentOS 6.3 (64 bit) server and did a fresh install of Nagios XI (2012R1.6). I've customized my setup with 2 changes. I added LDAP integration via Active Directory Integration under Managed Components and I forced all http connections to go through https. At this point everything looks good however when I tried to add my first server via Monitoring Wizard, I ran into a Backend Login to the Core Config Manager failed error. I've tried the solutions presented in other threads with similar problems but so far have had no success. I've included the error_log.
David
You do not have the required permissions to view the files attached to this post.
Re: Can't Apply Configuration in Core Config Manager
First, lets go to Admin -> Reset Security Credentials
Then click update credentials
Try applying configuration again
If that doesn't work, go to
Configure -> CCM -> Config Manager Admin -> Manage Config Access
and make sure you do in fact have an username that is nagiosxi and it is active
Then click update credentials
Try applying configuration again
If that doesn't work, go to
Configure -> CCM -> Config Manager Admin -> Manage Config Access
and make sure you do in fact have an username that is nagiosxi and it is active
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
Re: Can't Apply Configuration in Core Config Manager
Yep, I reran those steps and all messages returned says successful. I also changed the password to CCM and verified log in was successful. However, it is still failing when I try to apply the configuration. (Confugre>CCM>Apply Configuration as well as trying to add a host).
-
slansing
- Posts: 7698
- Joined: Mon Apr 23, 2012 4:28 pm
- Location: Travelling through time and space...
Re: Can't Apply Configuration in Core Config Manager
Have you ran through the following section of our Wiki?:
http://support.nagios.com/wiki/index.ph ... n_Problems
Please post the text files that are shown in that section.
Also, please run the following:
And try to apply configuration again, if not, are you able to do so through the legacy CCM?
http://support.nagios.com/wiki/index.ph ... n_Problems
Please post the text files that are shown in that section.
Also, please run the following:
Code: Select all
chown nagios:nagios /usr/local/nagiosxi/scripts/nagiosql*Code: Select all
service nagios stop
killall -9 nagios
service httpd stop
service mysqld stop
service nagios start
service httpd start
service mysqld startRe: Can't Apply Configuration in Core Config Manager
No luck with the service shutdowns, and the legacy CCM has the same results Here are the 2 files.
You do not have the required permissions to view the files attached to this post.
Re: Can't Apply Configuration in Core Config Manager
Can you verify that a nagiosxi user exists in the Core Config Manager Admin->Manage Config Access page?
Also, can you post the contents of the /usr/local/nagiosxi/scripts/nagiosql.login file? That should contain info on why the login is failing.
Also, can you post the contents of the /usr/local/nagiosxi/scripts/nagiosql.login file? That should contain info on why the login is failing.
Re: Can't Apply Configuration in Core Config Manager
Yes, nagiosxi does exist and is active. Here's the nagiosql.login file. Is there any chance this problem could caused by the use https instead of http?
David
David
You do not have the required permissions to view the files attached to this post.
Re: Can't Apply Configuration in Core Config Manager
Yeah, can you make sure you have the following config variable set in /usr/local/nagiosxi/html/config.inc.php
It won't be there by default, so you'll have to add it. Also, you may want to review the following document just to make sure you covered all of the steps. You may want to leave port 80 open until you've verified each of the steps.
http://library.nagios.com/library/produ ... -nagios-xi
Code: Select all
$cfg['use_https'] = true;http://library.nagios.com/library/produ ... -nagios-xi
Re: Can't Apply Configuration in Core Config Manager
I've just double checked my settings and they look good per the docs you sent. So https does not look like the culprit.
Re: Can't Apply Configuration in Core Config Manager
We need to double check something. When you "reset security credentials", did you change any of the fields? I ask because usually that procedure resets the nagiosql password, but your logs show that it is still trying the old password. Could you try resetting the credentials again without changing any of the text fields?
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.