Page 1 of 2

Waiting for configuration verification stuck

Posted: Thu Sep 11, 2014 1:49 pm
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!

Re: Waiting for configuration verification stuck

Posted: Thu Sep 11, 2014 5:01 pm
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?

Re: Waiting for configuration verification stuck

Posted: Thu Sep 11, 2014 5:47 pm
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

Re: Waiting for configuration verification stuck

Posted: Fri Sep 12, 2014 9:58 am
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?

Re: Waiting for configuration verification stuck

Posted: Fri Sep 12, 2014 10:16 am
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.

Re: Waiting for configuration verification stuck

Posted: Fri Sep 12, 2014 1:54 pm
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.

Re: Waiting for configuration verification stuck

Posted: Fri Sep 12, 2014 2:04 pm
by vladimir_vinnik
We do not use SSL. I could not find config.inc.php .

Re: Waiting for configuration verification stuck

Posted: Fri Sep 12, 2014 3:54 pm
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.

Re: Waiting for configuration verification stuck

Posted: Fri Sep 12, 2014 3:55 pm
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

Re: Waiting for configuration verification stuck

Posted: Fri Sep 12, 2014 3:58 pm
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?