Page 1 of 2

upgrading from Nagios XI 2009R1.3E to 2009R1.4B problems

Posted: Wed Feb 23, 2011 1:32 pm
by microdata.dk
Hi.

I tried to upgrad my Nagios XI, today but i keeps failing. I use the wget command from command line and then the ./upgrade. It's starts to upgrade but at some point
it stops when it's tries to stop nagios and start it again. It runs on CentOS 5.5. in a VMware setup. Anyone have any ideas.

THX

Dennis

Re: upgrading from Nagios XI 2009R1.3E to 2009R1.4B problems

Posted: Wed Feb 23, 2011 1:46 pm
by tonyyarusso
Could you paste the terminal output from around where it errors out?

Re: upgrading from Nagios XI 2009R1.3E to 2009R1.4B problems

Posted: Wed Feb 23, 2011 1:58 pm
by microdata.dk
Things look okay - No serious problems were detected during the pre-flight check
RET: 0
Running configuration check...done.
Stopping nagios: .done.
Starting nagios:

and here it hangs

Re: upgrading from Nagios XI 2009R1.3E to 2009R1.4B problems

Posted: Thu Feb 24, 2011 10:57 am
by tonyyarusso
Interesting. That's certainly not something I've seen before, so I'm not sure what's going on there. I'll see if I can reproduce that on any test systems here and get back to you.

Re: upgrading from Nagios XI 2009R1.3E to 2009R1.4B problems

Posted: Thu Feb 24, 2011 1:03 pm
by tonyyarusso
Well, a 1.3E to 1.4B upgrade worked perfectly here. Can you restart the nagios daemon manually, outside of the upgrade script? Does rebooting and trying again help at all?

Re: upgrading from Nagios XI 2009R1.3E to 2009R1.4B problems

Posted: Mon Feb 28, 2011 7:56 am
by microdata.dk
We did manage to upgrade. It took 4 hours, because the mysql DB was huge.

New problem after upgrade. Reboot helps in about 5 in then it's back

/Dennis

Re: upgrading from Nagios XI 2009R1.3E to 2009R1.4B problems

Posted: Mon Feb 28, 2011 8:01 am
by microdata.dk
more info about fault

Feb 28 14:00:44 ASPMON01 ndo2db: mysql_error: 'Table './nagios/nagios_logentries' is marked as crashed and last (automatic?) repair failed'

Re: upgrading from Nagios XI 2009R1.3E to 2009R1.4B problems

Posted: Mon Feb 28, 2011 10:28 am
by mguthrie
Can you try running a manual repair with the following script:

/usr/local/nagiosxi/scripts/repairmysql.sh nagios nagios_logentries

Version 1.4b also lets you specify the maintenance of your DB tables in the Admin->Performance Settings page.

Re: upgrading from Nagios XI 2009R1.3E to 2009R1.4B problems

Posted: Mon Feb 28, 2011 11:27 am
by microdata.dk
will try that now

Re: upgrading from Nagios XI 2009R1.3E to 2009R1.4B problems

Posted: Mon Feb 28, 2011 12:03 pm
by microdata.dk
The command helped, but the XI system component status "Event Data" keeps turning RED