Page 1 of 1

Upgrade from Nagios XI 2014R2.6 Errors

Posted: Wed Apr 19, 2017 10:57 am
by emartine
I attempted to do the NagiosXI upgrade from Nagios XI 2014R2.6 to the latest version via the Admin tab and it failed... so per the try doing the update manually message. I ran the update manually by downloading

wget https://assets.nagios.com/downloads/nag ... est.tar.gz
untar and ./upgrade

I still received some errors. Some assistance would be appreciated. Attaching the errors.
Repositories on the system -

repo id repo name status
custom mine RPM Repository - custom packages (signed) 540
nagios-base Nagios 159
nagiosxi-deps Nagios XI Dependencies 31
rhel-6-server-extras-rpms Red Hat Enterprise Linux 6 Server - Extras (RPMs) 65
rhel-6-server-optional-rpms Red Hat Enterprise Linux 6 Server - Optional (RPMs) 11,073
rhel-6-server-rh-common-rpms Red Hat Enterprise Linux 6 Server - RH Common (RPMs) 129
rhel-6-server-rpms Red Hat Enterprise Linux 6 Server (RPMs) 19,465
rhel-6-server-satellite-tools-6.1-rpms Red Hat Satellite Tools 6.1 (for RHEL 6 Server) (RPMs) 87
repolist: 31,549

Re: Upgrade from Nagios XI 2014R2.6 Errors

Posted: Wed Apr 19, 2017 11:22 am
by avandemore
Can you try the following:

Code: Select all

yum install -y 'perl(Test::Simple)' 'perl(Class::Accessor)' perl-Params-Validate perl-Config-Tiny perl-Math-Calc-Units
Please attempt the upgrade again after that.

Re: Upgrade from Nagios XI 2014R2.6 Errors

Posted: Wed Apr 19, 2017 12:25 pm
by emartine
yum install -y 'perl(Test::Simple)' 'perl(Class::Accessor)' perl-Params-Validate perl-Config-Tiny perl-Math-Calc-Units
Loaded plugins: package_upload, product-id, search-disabled-repos, security, subscription-manager
Setting up Install Process
rhel-6-server-extras-rpms | 1.8 kB 00:00
rhel-6-server-optional-rpms | 2.0 kB 00:00
rhel-6-server-rh-common-rpms | 2.1 kB 00:00
rhel-6-server-rpms | 2.0 kB 00:00
rhel-6-server-satellite-tools-6.1-rpms | 2.1 kB 00:00
Package perl-Test-Simple-1.001009-1.cbis.noarch already installed and latest version
Package perl-Class-Accessor-0.31-6.1.el6.noarch already installed and latest version
Package perl-Params-Validate-0.92-3.el6.x86_64 already installed and latest version
Package perl-Config-Tiny-2.12-7.1.el6.noarch already installed and latest version
No package perl-Math-Calc-Units available.
Nothing to do

Re: Upgrade from Nagios XI 2014R2.6 Errors

Posted: Wed Apr 19, 2017 3:21 pm
by avandemore
You can try this:

Code: Select all

yum install -y 'perl(Math::Calc::Units)'
or

Code: Select all

perl -MCPAN -e 'install Math::Calc::Units'