Trying to upgrade our NagiosXI from 2014R1 to 5.2.3 failed

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
jfoshier
Posts: 23
Joined: Thu Apr 24, 2014 6:15 am

Trying to upgrade our NagiosXI from 2014R1 to 5.2.3 failed

Post by jfoshier »

Our upgrade failed with message "The script that failed was: 'A-subcomponents

Please email or call:

515.281.4994 or [email protected]
You do not have the required permissions to view the files attached to this post.
jomann
Development Lead
Posts: 611
Joined: Mon Apr 22, 2013 10:06 am
Location: Nagios Enterprises

Re: Trying to upgrade our NagiosXI from 2014R1 to 5.2.3 fail

Post by jomann »

For some reason it looks like it did not install perl(Test::More) and/or perl(Test::Simple) can you try installing that via yum and running it again. We've seen a couple issues with perl modules from different repos so if you have any non-standard repos besides EPEL that you've added you should disable them before install.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
jfoshier
Posts: 23
Joined: Thu Apr 24, 2014 6:15 am

Re: Trying to upgrade our NagiosXI from 2014R1 to 5.2.3 fail

Post by jfoshier »

How do I install perl? is this just a yum install perl command on our NagiosXI?
jfoshier
Posts: 23
Joined: Thu Apr 24, 2014 6:15 am

Re: Trying to upgrade our NagiosXI from 2014R1 to 5.2.3 fail

Post by jfoshier »

I have installed perl via yum, I am not sure about any non-standard repos, I am not aware of any non-standard repos installed. I reran the ./fullinstall and ended with what appears to be the same error. I will attach the new install.log as well.
You do not have the required permissions to view the files attached to this post.
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Trying to upgrade our NagiosXI from 2014R1 to 5.2.3 fail

Post by lmiltchev »

Run the following command:

Code: Select all

yum -y install perl-Test-Simple
If the installation succeeds, re-run the upgrade script. Let us know if this fixed your issue.
Be sure to check out our Knowledgebase for helpful articles and solutions!
jfoshier
Posts: 23
Joined: Thu Apr 24, 2014 6:15 am

Re: Trying to upgrade our NagiosXI from 2014R1 to 5.2.3 fail

Post by jfoshier »

Performed the yum install as requested and the install of perl-Test-Simple was successful I then ran the upgrade script and again failed 32 or 33 subtests failed. ./A-subcomponents
Attached the related install log.
You do not have the required permissions to view the files attached to this post.
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Trying to upgrade our NagiosXI from 2014R1 to 5.2.3 fail

Post by lmiltchev »

It seems like another package needs to be installed. Try:

Code: Select all

yum -y install perl-Math-Calc-Units
Be sure to check out our Knowledgebase for helpful articles and solutions!
jfoshier
Posts: 23
Joined: Thu Apr 24, 2014 6:15 am

Re: Trying to upgrade our NagiosXI from 2014R1 to 5.2.3 fail

Post by jfoshier »

I installed the perl component and ran the upgrade, still failed. Attached current install log.
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: Trying to upgrade our NagiosXI from 2014R1 to 5.2.3 fail

Post by tgriep »

Lets try and install the modules like below. if you get any errors, please post them here.

Code: Select all

yum install -y 'perl(Test::Simple)' 'perl(Class::Accessor)' perl-Params-Validate perl-Config-Tiny perl-Math-Calc-Units
Be sure to check out our Knowledgebase for helpful articles and solutions!
jfoshier
Posts: 23
Joined: Thu Apr 24, 2014 6:15 am

Re: Trying to upgrade our NagiosXI from 2014R1 to 5.2.3 fail

Post by jfoshier »

I ran the yum installs per request, still the same error per the attached install log. In terms of the yum installs all were already installed and current with the exception of "perl-Config-Tiny.noarch" which did install. The only error(s) I would see in runnning each perl is the could not get metalink https://mirrors.fedoraproject.org/metalink?repo=epel -6&arch=x86_64 error was 14: problem making ssl connection
the process continues with other mirrors and installs.
You do not have the required permissions to view the files attached to this post.
Locked