nagiosql write configs failed

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
mcwhorts
Posts: 60
Joined: Fri Oct 07, 2011 11:59 am

nagiosql write configs failed

Post by mcwhorts »

I just finished upgrading nagios xi from 2.1 to 3.2 and I think there might be a problem with the upgrade. I got the error "NAGIOSQL WRITE CONFIGS FAILED" at the end of the process. I logged into nagios and finished the upgrade but the status icon for the system is red for monitoring engine not running. When I try to start it from the gui, I get an error "An error occurred processing your request." I've attached my system profile.
profile.txt
Any ideas?
You do not have the required permissions to view the files attached to this post.
Last edited by mcwhorts on Wed Aug 15, 2012 11:25 am, edited 1 time in total.
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: NAGIOSQL WRITE CONFIGS FAILED

Post by lmiltchev »

Try following the steps outlined here:

http://support.nagios.com/wiki/index.ph ... n_Problems

Also, run the following command and post the output:

Code: Select all

ll /usr/local/nagiosxi/scripts
Be sure to check out our Knowledgebase for helpful articles and solutions!
mcwhorts
Posts: 60
Joined: Fri Oct 07, 2011 11:59 am

Re: NAGIOSQL WRITE CONFIGS FAILED

Post by mcwhorts »

Here are the outputs you asked for.

Thanks
cmd.txt
reconfig.txt
scripts.txt
You do not have the required permissions to view the files attached to this post.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: nagiosql write configs failed

Post by scottwilkerson »

This looks like it may be caused by php reaching a max execution time

Increasing this is outlined here
http://support.nagios.com/wiki/index.ph ... _Completes
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
mcwhorts
Posts: 60
Joined: Fri Oct 07, 2011 11:59 am

Re: nagiosql write configs failed

Post by mcwhorts »

I believe that was the problem. I am able to write configs now and do apply configurations. Thanks for all your help.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: nagiosql write configs failed

Post by scottwilkerson »

Glad to hear you got it working.
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Locked