Page 1 of 3

Trying to upgrade our NagiosXI from 2014R1 to 5.2.3 failed

Posted: Thu Jan 28, 2016 2:26 pm
by jfoshier
Our upgrade failed with message "The script that failed was: 'A-subcomponents

Please email or call:

515.281.4994 or [email protected]

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

Posted: Thu Jan 28, 2016 2:59 pm
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.

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

Posted: Thu Jan 28, 2016 3:55 pm
by jfoshier
How do I install perl? is this just a yum install perl command on our NagiosXI?

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

Posted: Thu Jan 28, 2016 4:09 pm
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.

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

Posted: Thu Jan 28, 2016 4:30 pm
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.

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

Posted: Fri Jan 29, 2016 6:30 am
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.

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

Posted: Fri Jan 29, 2016 11:29 am
by lmiltchev
It seems like another package needs to be installed. Try:

Code: Select all

yum -y install perl-Math-Calc-Units

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

Posted: Fri Jan 29, 2016 12:19 pm
by jfoshier
I installed the perl component and ran the upgrade, still failed. Attached current install log.

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

Posted: Fri Jan 29, 2016 2:15 pm
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

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

Posted: Fri Jan 29, 2016 3:23 pm
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.