Page 2 of 3

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

Posted: Mon Feb 01, 2016 9:33 am
by tgriep
Can you edit this file

Code: Select all

/etc/yum.repos.d/epel.repo
Change the following line from

Code: Select all

mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=epel-debug-6&arch=$basearch
to

Code: Select all

mirrorlist=http://mirrors.fedoraproject.org/metalink?repo=epel-debug-6&arch=$basearch
Save the file and run the following to clear out the yum cache

Code: Select all

yum clean all
Then install the missing perl module by running the following.

Code: Select all

yum install -y  perl-Config-Tiny
If you receive any errors, please post them.

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

Posted: Mon Feb 01, 2016 2:25 pm
by jfoshier
Performed the steps requested, when I ran yum install command the result was
Package perl-Config-Tiny-2.12-7.1.e16.noarch already installed and latest version
Nothing to Do

I then ran the /tmp/nagiosxi/fullinstall and received a similar error as before, install.log has been attached.

Thank you for your patience, hope something stands out in what is missing.

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

Posted: Mon Feb 01, 2016 6:16 pm
by tgriep
Can you run the following on the server as root and post the output?

Code: Select all

yum list installed
cpan -l

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

Posted: Tue Feb 02, 2016 6:32 am
by jfoshier
Attached output from yum list, tried the cpan -l and response was "unknown option: l and nothing to install!

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

Posted: Tue Feb 02, 2016 10:45 am
by lmiltchev
I can see the following error in the "install.log":
Error: Base class package "Class::Accessor" is empty.
Run the following command:

Code: Select all

yum -y install perl-Class-Accessor
then try upgrading one more time. Post back if you see more errors.

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

Posted: Tue Feb 02, 2016 11:13 am
by jfoshier
This last perl install took me much further to the point where I am failing with:

nagiosql.login
NagiosQL Login Fialed
Result = 1

The script that failed was './E-importnagiosql'

I have no record that we changed the SQL login credentials.

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

Posted: Tue Feb 02, 2016 12:55 pm
by lmiltchev
Run the following command and show the output:

Code: Select all

ll /usr/local/nagiosxi/scripts/nagiosql*
Are you by chance using a proxy? If you are, please configure it as described in our FAQ wiki post here:

https://support.nagios.com/wiki/index.p ... th_Proxies

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

Posted: Tue Feb 02, 2016 3:14 pm
by jfoshier
I have attached the results of the query as requested. In terms of are we using a proxy not on the nagios VM appliance. We only use a proxy, websense, via plugins which are not on the nagiosxi appliance VM.

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

Posted: Tue Feb 02, 2016 3:40 pm
by lmiltchev
Run the following command to begin capturing log output:

Code: Select all

tail -f /usr/local/nagiosxi/var/cmdsubsys.log &> /tmp/cmd.txt
Attempt to Apply Configuration from the web interface. After the browser has returned some output to the screen, press "Ctrl+c" to stop the log tail, and post the cmd.txt file that was generated in the "/tmp/" directory by the above instructions.

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

Posted: Thu Feb 04, 2016 3:16 pm
by jfoshier
I need some clarification, I have the tail of the log as requested, am I then to start the web session to:
https:nn.n.nnn.nnn/nagiosxi and click on the "Install" button? Once some change noted on the webpage then stop the tail and post the output? Will this overwrite or cause an issue on our system or does it matter at this time? Sorry, newbie in terms of the upgrade process.