Upgrade to latest version from XI 2014R2.7 Failed

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
nms_system_support
Posts: 39
Joined: Tue Jun 17, 2014 2:58 am

Upgrade to latest version from XI 2014R2.7 Failed

Post 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:
You do not have the required permissions to view the files attached to this post.
Last edited by nms_system_support on Wed Nov 30, 2016 3:24 am, edited 2 times in total.
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

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

Post 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.
Former Nagios Employee
nms_system_support
Posts: 39
Joined: Tue Jun 17, 2014 2:58 am

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

Post by nms_system_support »

Sorry wrong file uploaded! I uploaded the upgrade.log.
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

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

Post by rkennedy »

No problem, still not seeing the upgrade.log - could you check again or PM it over?

EDIT: received.
Former Nagios Employee
nms_system_support
Posts: 39
Joined: Tue Jun 17, 2014 2:58 am

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

Post by nms_system_support »

Correct file uploaded, I will also pm it to you.
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

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

Post 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
nms_system_support
Posts: 39
Joined: Tue Jun 17, 2014 2:58 am

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

Post 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).
You do not have the required permissions to view the files attached to this post.
User avatar
tgriep
Madmin
Posts: 9190
Joined: Thu Oct 30, 2014 9:02 am

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

Post 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
Be sure to check out our Knowledgebase for helpful articles and solutions!
nms_system_support
Posts: 39
Joined: Tue Jun 17, 2014 2:58 am

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

Post by nms_system_support »

That worked, thank yo! However, after the upgrade we get no graphs, can you please advise?
You do not have the required permissions to view the files attached to this post.
User avatar
tgriep
Madmin
Posts: 9190
Joined: Thu Oct 30, 2014 9:02 am

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

Post 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
Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked