XI apply confuration| config verification never complets

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
strmon
Posts: 31
Joined: Mon Dec 26, 2016 3:42 am

XI apply confuration| config verification never complets

Post by strmon »

Hi,
Apply Configuration
Waiting for configuration verification......................................................................
above process never complets, i am using latest XI 5.4.3.
O/p of "cmdsubsys.log"
tailf /usr/local/nagiosxi/var/cmdsubsys.log
Checking obsessive compulsive processor commands...
Checking misc settings...

Total Warnings: 79
Total Errors: 0

Things look okay - No serious problems were detected during the pre-flight check
RET: 0
Running configuration check...
Stopping nagios:. done.
Starting nagios: done.
OUTPUT=Starting nagios: done.
RETURNCODE=0
...............................
PROCESSED 1 COMMANDS
...........................................................
PROCESSED 0 COMMANDS
............................................................
PROCESSED 0 COMMANDS
User avatar
tgriep
Madmin
Posts: 9190
Joined: Thu Oct 30, 2014 9:02 am

Re: XI apply confuration| config verification never complets

Post by tgriep »

Take a look at this KB article that may fix the issue you are having when you are Applying the Configuration.
https://support.nagios.com/kb/article.php?id=532
Be sure to check out our Knowledgebase for helpful articles and solutions!
bennyboy
Posts: 157
Joined: Thu Oct 29, 2015 9:42 am

Re: XI apply confuration| config verification never complets

Post by bennyboy »

I have the same problem and I follow the KB but the problem persist.

The reconfigure command return RET: 0 233 warning (couple servicecheck without contact or contact group) Total Warning : 233 Total Error : 0

I also make sure /etc/hosts is already configure.
bennyboy
Posts: 157
Joined: Thu Oct 29, 2015 9:42 am

Re: XI apply confuration| config verification never complets

Post by bennyboy »

If I use /usr/local/nagiosxi/scripts/reconfigure_nagios.sh as nagios it's working fine.
User avatar
tgriep
Madmin
Posts: 9190
Joined: Thu Oct 30, 2014 9:02 am

Re: XI apply confuration| config verification never complets

Post by tgriep »

Run this command in a root shell on the Nagios server.

Code: Select all

tail -f /usr/local/nagiosxi/var/cmdsubsys.log
Then Apply the Configuration and post the output of the tail command.

Also, did either of the poster's enable SSL access to the XI server?
Be sure to check out our Knowledgebase for helpful articles and solutions!
strmon
Posts: 31
Joined: Mon Dec 26, 2016 3:42 am

Re: XI apply confuration| config verification never complets

Post by strmon »

Check the attachment for cmdsubsys.log.

Yes, i've migrated from http to https and issue occurred due to it was fixed earlier.
post "https://support.nagios.com/forum/viewto ... 16&t=43051"

Now again i am facing same issue, could you have a look to logs for any clue.

Also, XI script "/usr/local/nagiosxi/scripts/reconfigure_nagios.sh", ended perfectly by "apply configuration" still keep on running.
You do not have the required permissions to view the files attached to this post.
User avatar
tgriep
Madmin
Posts: 9190
Joined: Thu Oct 30, 2014 9:02 am

Re: XI apply confuration| config verification never complets

Post by tgriep »

Login to the XI GUI and go to the Admin > System Settings menu, change both the Program and External URL's and add /nagiosxi/ on the end like the example below.

Code: Select all

https://host.egi.ericsson.com/nagiosxi/
Update the settings and see if that fixes the issue.
Be sure to check out our Knowledgebase for helpful articles and solutions!
strmon
Posts: 31
Joined: Mon Dec 26, 2016 3:42 am

Re: XI apply confuration| config verification never complets

Post by strmon »

URL updated as you suggested but still "Apply configuration " execution keep son running. Even under a separate activity we rebooted the VM.
Log file:
cmdsubsys.log
Any other suggestion ?
You do not have the required permissions to view the files attached to this post.
User avatar
tgriep
Madmin
Posts: 9190
Joined: Thu Oct 30, 2014 9:02 am

Re: XI apply confuration| config verification never complets

Post by tgriep »

Login as root to the Nagios server and run the following tail command.

Code: Select all

tail -f /var/log/httpd/*_log
Then login to the XI GUI and Apply the config and post the output of the tail command. Let it run until it times out if possible.
Be sure to check out our Knowledgebase for helpful articles and solutions!
strmon
Posts: 31
Joined: Mon Dec 26, 2016 3:42 am

Re: XI apply confuration| config verification never complets

Post by strmon »

Waited long enough before killing the "tail", operation never completes.

Attaching requested log file.
httpd_logs.txt
You do not have the required permissions to view the files attached to this post.
Locked