Hey Guys,
I am having an issue with Upgrading my NagiosXI 2012R2.9 to the latest version. I am running it on CentOS 6.4 (Final) x64 on a MS Hyper-V VM.
I follow the standard process to upgrade and receive the standard "UPGRADE COMPLETED!", but the version number does not change on the web (from the current one) and on logging back in and I do not receive the "Finish Upgrade" prompt.
I am not running mod_gearman (and do not have it installed or configured in nagios.cfg), I also do not have any Host or Service Dependencies configured?
Also when Running pre-flight check on configuration it returns a; "Total Warnings: 0, Total Errors: 0" which is very odd,
I have also uploaded my upgrade debug (upgrade_debug.txt) for your review.
Any advice or assistance would be appreciated, thanks in advance, Alex.
Upgrade from 2012R2.9 to 2014R1.3 - Not working?
Upgrade from 2012R2.9 to 2014R1.3 - Not working?
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: Upgrade from 2012R2.9 to 2014R1.3 - Not working?
Honestly, this sounds like you may have more than one tarnall in your temp directory and the wrong one extracted, lets run
The important line being
Code: Select all
cd /tmp
rm -rf nagiosxi xi*
wget http://assets.nagios.com/downloads/nagiosxi/xi-latest.tar.gz
tar xzf xi*.tar.gz
cd /tmp/nagiosxi
./upgrade
Code: Select all
rm -rf nagiosxi xi*Re: Upgrade from 2012R2.9 to 2014R1.3 - Not working?
Hi Scott,
Thanks for your feedback - that could have been the challenge as I am now getting a different error.
On running ./upgrade it runs for a few minutes then ends with a;
CDPATH="${ZSH_VERSION+.}:" && cd . && /bin/sh /tmp/nagiosxi/subcomponents/nagiosplugins/nagios-plugins-2.0.2/build-aux/missing --run aclocal-1.11 -I gl/m4 -I m4
cd . && /bin/sh /tmp/nagiosxi/subcomponents/nagiosplugins/nagios-plugins-2.0.2/build-aux/missing --run automake-1.11 --gnu
CDPATH="${ZSH_VERSION+.}:" && cd . && /bin/sh /tmp/nagiosxi/subcomponents/nagiosplugins/nagios-plugins-2.0.2/build-aux/missing --run autoconf
I have attached the new Upgrade Debug File, not sure what the problem is as I don't have any nagios plugins running (none I am aware of),
Thanks again, Alex.
Thanks for your feedback - that could have been the challenge as I am now getting a different error.
On running ./upgrade it runs for a few minutes then ends with a;
CDPATH="${ZSH_VERSION+.}:" && cd . && /bin/sh /tmp/nagiosxi/subcomponents/nagiosplugins/nagios-plugins-2.0.2/build-aux/missing --run aclocal-1.11 -I gl/m4 -I m4
cd . && /bin/sh /tmp/nagiosxi/subcomponents/nagiosplugins/nagios-plugins-2.0.2/build-aux/missing --run automake-1.11 --gnu
CDPATH="${ZSH_VERSION+.}:" && cd . && /bin/sh /tmp/nagiosxi/subcomponents/nagiosplugins/nagios-plugins-2.0.2/build-aux/missing --run autoconf
I have attached the new Upgrade Debug File, not sure what the problem is as I don't have any nagios plugins running (none I am aware of),
Thanks again, Alex.
You do not have the required permissions to view the files attached to this post.
-
sreinhardt
- -fno-stack-protector
- Posts: 4366
- Joined: Mon Nov 19, 2012 12:10 pm
Re: Upgrade from 2012R2.9 to 2014R1.3 - Not working?
You will need to install automake, autoconf, and libtool to resolve this. This is a specific issue with this tarball due to how we had to update the plugins package, and is not a standard dependency.
Then rerun the upgrade and you should finish up just fine, based on where you are at presently.
Code: Select all
yum install autmake autoconf libtoolNagios-Plugins maintainer exclusively, unless you have other C language bugs with open-source nagios projects, then I am happy to help! Please pm or use other communication to alert me to issues as I no longer track the forum.