Page 1 of 2

Upgrade to latest version from XI 2014R2.7 Failed

Posted: Fri Nov 25, 2016 7:04 am
by nms_system_support
I have tried to upgrade from the GUI as well as manually but it is not possible. SystemInfo: Linux nagios-nms.wind.gr 2.6.32-642.el6.x86_64 #1 SMP Wed Apr 13 00:51:26 EDT 2016 x86_64 x86_64 x86_64 GNU/Linux

Please find attached the upgrade log:

Re: Upgrade to latest version from XI 2014R2.7 Failed

Posted: Mon Nov 28, 2016 10:27 am
by rkennedy
Can you show us the output or log file that was shown when you attempted to upgrade? The attached file just seems to be the upgrade script.

Re: Upgrade to latest version from XI 2014R2.7 Failed

Posted: Tue Nov 29, 2016 3:07 am
by nms_system_support
Sorry wrong file uploaded! I uploaded the upgrade.log.

Re: Upgrade to latest version from XI 2014R2.7 Failed

Posted: Tue Nov 29, 2016 10:16 am
by rkennedy
No problem, still not seeing the upgrade.log - could you check again or PM it over?

EDIT: received.

Re: Upgrade to latest version from XI 2014R2.7 Failed

Posted: Wed Nov 30, 2016 3:24 am
by nms_system_support
Correct file uploaded, I will also pm it to you.

Re: Upgrade to latest version from XI 2014R2.7 Failed

Posted: Wed Nov 30, 2016 2:41 pm
by ssax
Please run this command and then try again:

Code: Select all

yum install -y 'perl(Test::Simple)' 'perl(Class::Accessor)' perl-Params-Validate perl-Config-Tiny perl-Math-Calc-Units
Send us the full output of this command (as well as your upgrade.log file) if you are still having issues.

Let us know the results.


Thank you

Re: Upgrade to latest version from XI 2014R2.7 Failed

Posted: Thu Dec 01, 2016 4:11 am
by nms_system_support
No Luck. Please see the attachment for the full log (As well as the output from the command you sent me).

Re: Upgrade to latest version from XI 2014R2.7 Failed

Posted: Thu Dec 01, 2016 1:21 pm
by tgriep
It looks like the epel repository is not installed on your server and that is where the missing package is from.

Enable the epel repo by running the following as root.

Code: Select all

cd /tmp
wget https://dl.fedoraproject.org/pub/epel/epel-release-latest-6.noarch.rpm
sudo rpm -Uvh epel-release-6*.rpm
Them run this to install the missing required package for the XI upgrade.

Code: Select all

yum install perl-Math-Calc-Units
I also saw that you have a proxy server. Take a look at this link to configure the XI server to use a proxy server.
https://support.nagios.com/kb/article.php?id=147

Re: Upgrade to latest version from XI 2014R2.7 Failed

Posted: Fri Dec 02, 2016 7:32 am
by nms_system_support
That worked, thank yo! However, after the upgrade we get no graphs, can you please advise?

Re: Upgrade to latest version from XI 2014R2.7 Failed

Posted: Fri Dec 02, 2016 11:33 am
by tgriep
Are you seeing that message for every graph or for certain ones?

Can you login as root to the XI server, run the following command

Code: Select all

tail -f /var/log/httpd/*_log
Then go to the XI GUI and view a graph and post the output from the tail command.
Also, run this as root and post the output here as well.

Code: Select all

ps -ef --cols=300