Apply Configuration never completes

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
ChathamDaleJ
Posts: 55
Joined: Tue Jul 02, 2013 10:44 am

Apply Configuration never completes

Post by ChathamDaleJ »

Linux Distribution and version? CentOS release 6.7 (Final)
32 or 64bit? 64 bit
VMware Image or Manual Install of XI? VMware (Your image)
Are there special configurations on your system, ie; is Gnome installed? Are you using a proxy? Are you using SSL? No proxy, using SSL Running headless runlevel 3
**If you are encountering multiple issues that may not be related, start a thread for each issue

I imported a number of services.

However, now once I apply configuration, the screen never comes back. I’m not sure what it is doing, The screen says “Waiting for configuration verification” and never comes back.

I do see that it seems to be stuck in /usr/local/nagiosxi/html/includes/components/nagioscorecfg/applyconfig.php

Looping between line 177 and 266, waiting for a command result around line 183.

I suspect the Nagios database, specifically the services table. I also suspect the fix is going to be:

Mysql –u nagiosxi –p < nagios-dump-file

I’m hoping we don’t have to do something quite that radical, but I’m not hopeful.

I was told to submit a ticket, but I cannot find the URL to your ticketing system.
jolson
Attack Rabbit
Posts: 2560
Joined: Thu Feb 12, 2015 12:40 pm

Re: Apply Configuration never completes

Post by jolson »

If you'd like to submit a ticket for higher priority, you can do so by sending an email to [email protected] - or if you'd like to proceed here we can do that as well. Thank you!
Twits Blog
Show me a man who lives alone and has a perpetually clean kitchen, and 8 times out of 9 I'll show you a man with detestable spiritual qualities.
ChathamDaleJ
Posts: 55
Joined: Tue Jul 02, 2013 10:44 am

Re: Apply Configuration never completes

Post by ChathamDaleJ »

I did... yesterday. I'm getting desperate. Tomorrow I'm just going to restore the database. Is there anything in scripts to help, or just mysql to do it?
jolson
Attack Rabbit
Posts: 2560
Joined: Thu Feb 12, 2015 12:40 pm

Re: Apply Configuration never completes

Post by jolson »

The only script that we have available regarding the database are the following:
/usr/local/nagiosxi/scripts/restore_xi.sh - restore XI binaries and configuration, including the database. This is used in combination with backup files located at /store/backups/nagiosxi. This may be your quickest route to a working system.

/usr/local/nagiosxi/scripts/repair_databases.sh - this script will repair any crashed tables in your databases, but I suspect that this won't help in your situation, as the tables likely aren't crashed. There is no harm in attempting this route first if you're confident you will be restoring to the past anyway.

Let me know what you find out - thanks!

Jesse
Twits Blog
Show me a man who lives alone and has a perpetually clean kitchen, and 8 times out of 9 I'll show you a man with detestable spiritual qualities.
Locked