I am having an issue with both of my Nagios instances where it will not get past "Waiting for Configuration Verification" on the Apply Configuration page. It just sits there adding more dots to the screen. At first I thought it was due to the new release, but I rolled back a snapshot on one of them to before the update and it's still doing it.
Please advise where I need to look in order to troubleshoot this issue.
Thanks.
Stuck at Apply Configuration Waiting for Config Verification
Re: Stuck at Apply Configuration Waiting for Config Verifica
Does running the reconfigure_nagios.sh script produce any telling results/errors?
If my memory serves right, it should be located here:
If my memory serves right, it should be located here:
Code: Select all
/usr/local/nagiosxi/scripts/reconfigure_nagios.shFormer Nagios employee
https://www.mcapra.com/
https://www.mcapra.com/
Re: Stuck at Apply Configuration Waiting for Config Verifica
Here is the output:
If I'm reading this correctly, it says that my CA is bad? If that's the case, I'm really confused. I can log into the webpage just fine. But when I write a config it fails? And the DB is on the localhost, according to the attached screenshot.URL: http://localhost/nagiosxi/includes/components/ccm/
CMDLINE
/usr/bin/wget --save-cookies nagiosql.cookies --keep-session-cookies http://localhost/nagiosxi/includes/components/ccm/ --no-check-certificate --post-data 'submit=Login&hidelog=true&loginSubmitted=true&backend=1&username=nagiosxi&password=@sup3Rs3cuR3!' -O nagiosql.login--2017-07-10 10:13:12-- http://localhost/nagiosxi/includes/components/ccm/
Resolving localhost (localhost)... 127.0.0.1
Connecting to localhost (localhost)|127.0.0.1|:80... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://localhost/nagiosxi/includes/components/ccm/ [following]
--2017-07-10 10:13:12-- https://localhost/nagiosxi/includes/components/ccm/
Connecting to localhost (localhost)|127.0.0.1|:443... connected.
WARNING: cannot verifificate subject alternative name matches
requested host name ‘localhost’.
HTTP request senty localhost's certificate, issued by ‘/C=US/O=DigiCert Inc/CN=DigiCert SHA2 Secure Server CA’:
Unable to locally verify the issuer's authority.
WARNING: no cert, awaiting response... 302 Found
Location: https://localhost/nagiosxi/login.php?re ... f&noauth=1 [following]
--2017-07-10 10:13:13-- https://localhost/nagiosxi/login.php?re ... f&noauth=1
Reusing existing connection to localhost:443.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/html]
Saving to: ‘nagiosql.login’
0K .......... .......... ..... 2.45M=0.01s
2017-07-10 10:13:13 (2.45 MB/s) - ‘nagiosql.login’ saved [26032]
NAGIOSQL LOGIN FAILED!
You do not have the required permissions to view the files attached to this post.
Re: Stuck at Apply Configuration Waiting for Config Verifica
Login to the XU GUI and go to the Core Config Manager > Settings menu, then select the Database tab.
Change the Database Password to the following
Then click on the Save Settings button and see if the Apply Config works for you.
If it still fails, go to the Admin > Security Credentials menu and click on the Update Credentials button but do not update any of the fields.
Then try to Apply the Config again.
Change the Database Password to the following
Code: Select all
n@gwebIf it still fails, go to the Admin > Security Credentials menu and click on the Update Credentials button but do not update any of the fields.
Then try to Apply the Config again.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: Stuck at Apply Configuration Waiting for Config Verifica
Sadly, neither of these worked.
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Stuck at Apply Configuration Waiting for Config Verifica
This looks like you are not going to https from the beginning and being re-directed.
This will happen if you miss the step on page 8 updating the config.inc.php when setting up SSL
https://assets.nagios.com/downloads/nagiosxi/docs/Configuring-SSL-with-Nagios%20XI.pdf
set
This will happen if you miss the step on page 8 updating the config.inc.php when setting up SSL
https://assets.nagios.com/downloads/nagiosxi/docs/Configuring-SSL-with-Nagios%20XI.pdf
set
Code: Select all
$cfg['use_https']=true;Re: Stuck at Apply Configuration Waiting for Config Verifica
*BOOM* That did it. The "use_https" line wasn't in the config at all. I added it and made sure the other steps were don. Now they both work.
Thanks! You may close this thread.
Thanks! You may close this thread.
Re: Stuck at Apply Configuration Waiting for Config Verifica
I'll be closing this thread now, but feel free to open another if you need anything in the future!
Former Nagios employee