Waiting for configuration verification stuck

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
vladimir_vinnik
Posts: 6
Joined: Wed Sep 10, 2014 2:25 pm

Waiting for configuration verification stuck

Post by vladimir_vinnik »

Hello,

I see that the problem I am going to describe had happened many times for different people. I reviewed a few topics, but still could not find a resolution.

When I click on "Apply Configuration" on Nagios guy it is stuck with message "Waiting for configuration verification...". When I run reconfiguration script it works just fine:
cd /usr/local/nagiosxi/scripts/; ./reconfigure_nagios.sh
Also when I run pre-flght check it works fine as well.

I also update /etc/php.ini according to best practices recommendation.

We are currently exploring Nagios XI. We installed Nagios XI 2014R1.4 on CentOS virtual KVM server configured with 4 CPUs.

Please help!
User avatar
Box293
Too Basu
Posts: 5126
Joined: Sun Feb 07, 2010 10:55 pm
Location: Deniliquin, Australia
Contact:

Re: Waiting for configuration verification stuck

Post by Box293 »

Can you attach:
/var/log/httpd/error_log

How many hosts / services do you have?

Does this occur just from one web browser?
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
vladimir_vinnik
Posts: 6
Joined: Wed Sep 10, 2014 2:25 pm

Re: Waiting for configuration verification stuck

Post by vladimir_vinnik »

Hi,

Please find attached error log and pre-flight check output.

There are:

32 services.
3 hosts.

I checked with Explorer and Google Chrome.

I also noticed that /usr/local/nagiosxi/var/cmdsubsys.log does not exit. Actually:

[root@app-nagios-test var]# ls -ltr
total 16
-rw-r--r-- 1 nagios nagios 202 Sep 4 15:14 xiversion
-rw-r--r-- 1 root root 774 Sep 4 15:14 xi-sys.cfg
drwxr-xr-x 2 nagios nagios 4096 Sep 11 14:25 subsys
drwsrwsr-x 2 apache nagios 4096 Sep 11 14:34 components
You do not have the required permissions to view the files attached to this post.
User avatar
Box293
Too Basu
Posts: 5126
Joined: Sun Feb 07, 2010 10:55 pm
Location: Deniliquin, Australia
Contact:

Re: Waiting for configuration verification stuck

Post by Box293 »

The appache error_log has a quite a few entries relating to database problems.

Can you please try repairing the database as per this doc:
http://assets.nagios.com/downloads/nagi ... tabase.pdf

Do you have enough free disk space on the machine?

Do you have Nagios Fusion installed on the same server as Nagios XI?
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
vladimir_vinnik
Posts: 6
Joined: Wed Sep 10, 2014 2:25 pm

Re: Waiting for configuration verification stuck

Post by vladimir_vinnik »

I do not see any issues with the disk space. Considering this is pilot server, we have not attached too much space.

Filesystem 1K-blocks Used Available Use% Mounted on
/dev/vda2 15118728 8882460 5468268 62% /
tmpfs 8166360 0 8166360 0% /dev/shm
/dev/vda6 133450064 192004 126479132 1% /.local
/dev/vda1 99150 31808 62222 34% /boot
/dev/vda5 2015824 225580 1687844 12% /tmp

I went through repair process, but the problem still exits.

There was an attempt to install Fusion, but it wasn't completed.
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: Waiting for configuration verification stuck

Post by abrist »

Do you use ssl? If so, can you verify that you have followed all steps in the following doc:
http://assets.nagios.com/downloads/nagi ... s%20XI.pdf
Make sure your config.inc.php does not have use_https declared twice.
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.
vladimir_vinnik
Posts: 6
Joined: Wed Sep 10, 2014 2:25 pm

Re: Waiting for configuration verification stuck

Post by vladimir_vinnik »

We do not use SSL. I could not find config.inc.php .
User avatar
Box293
Too Basu
Posts: 5126
Joined: Sun Feb 07, 2010 10:55 pm
Location: Deniliquin, Australia
Contact:

Re: Waiting for configuration verification stuck

Post by Box293 »

It wouldn't hurt to perform an upgrade to the latest version of Nagios XI, even if you are currently on the latest.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Waiting for configuration verification stuck

Post by lmiltchev »

Can you run the following command and show us the output?

Code: Select all

grep https /usr/local/nagiosxi/html/config.inc.php
Be sure to check out our Knowledgebase for helpful articles and solutions!
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: Waiting for configuration verification stuck

Post by abrist »

To add to Ludmil's post:
There are a number of errors in the log. Additionally, there are a number of potential causes for this behavior (though our devs have done a great job reducing the number). Are you a client, or are you evaluating XI? If you are evaluating, you may want to pursue a quickstart if you have not done so already. If you are a current customer, you may want to open a ticket by sending an email to [email protected] .

Is this a new install, or was it an upgrade to 1.4?
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.
Locked