Page 1 of 2
XI apply confuration| config verification never complets
Posted: Thu Apr 06, 2017 4:32 am
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
Re: XI apply confuration| config verification never complets
Posted: Thu Apr 06, 2017 8:59 am
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
Re: XI apply confuration| config verification never complets
Posted: Thu Apr 06, 2017 9:56 am
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.
Re: XI apply confuration| config verification never complets
Posted: Thu Apr 06, 2017 10:33 am
by bennyboy
If I use /usr/local/nagiosxi/scripts/reconfigure_nagios.sh as nagios it's working fine.
Re: XI apply confuration| config verification never complets
Posted: Thu Apr 06, 2017 12:16 pm
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?
Re: XI apply confuration| config verification never complets
Posted: Fri Apr 07, 2017 12:34 am
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.
Re: XI apply confuration| config verification never complets
Posted: Fri Apr 07, 2017 9:08 am
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.
Re: XI apply confuration| config verification never complets
Posted: Sun Apr 09, 2017 11:43 pm
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 ?
Re: XI apply confuration| config verification never complets
Posted: Mon Apr 10, 2017 8:56 am
by tgriep
Login as root to the Nagios server and run the following tail command.
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.
Re: XI apply confuration| config verification never complets
Posted: Tue Apr 11, 2017 12:01 am
by strmon
Waited long enough before killing the "tail", operation never completes.
Attaching requested log file.
httpd_logs.txt