Page 1 of 1

xi-2014r1.5 install failed

Posted: Thu Jan 05, 2017 12:05 pm
by rajeshkondapalli
Hi,

Trying to install xi-2014r1.5 on a Centos 6.7 & it's failing. I do not have any proxy setup.
copied the install output & the install.log


[root@nagiostest nagiosxi]# ./fullinstall
========================
Nagios XI Full Installer
========================

This script will do a complete install of Nagios XI by executing all necessary sub-scripts.

IMPORTANT: This script should only be used on a 'clean' install of CentOS or RedHat. Do NOT use this on a system that has been tasked with other purposes or has an existing install of
Nagios Core. To create such a clean install you should have selected ONLY the 'Base' package in the OS installer.
Do you want to continue? [Y/n] y
Proceeding with installation...
Checking MySQL credentials...
MySQL not yet installed - that's okay.
Running './0-yum'...
Configuring Yum...
centos-release-6-7.el6.centos.12.3.x86_64
rpmforge-release RPM installed OK
epel-release RPM installed OK
Enabling CentOS 6 Continuous Release repo...
Loaded plugins: fastestmirror, refresh-packagekit, security
Setting up Install Process
Loading mirror speeds from cached hostfile
Could not retrieve mirrorlist http://apt.sw.be/redhat/el6/en/mirrors-rpmforge error was
14: PYCURL ERROR 22 - "The requested URL returned error: 404 Not Found"
* base: mirror.us.leaseweb.net
* epel: reflector.westga.edu
* extras: mirrors.lga7.us.voxel.net
* updates: linux.cc.lehigh.edu
http://apt.sw.be/redhat/el6/en/x86_64/r ... repomd.xml: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 404 Not Found"
Trying other mirror.
Error: Cannot retrieve repository metadata (repomd.xml) for repository: rpmforge. Please verify its path and try again
RESULT=1

===================
INSTALLATION ERROR!
===================
Installation step failed - exiting.
Check for error messages in the install log (install.log).

If you require assistance in resolving the issue, please include install.log
in your communications with Nagios XI technical support.

The script that failed was: './0-yum'
[root@nagiostest nagiosxi]#
[root@nagiostest nagiosxi]# cat install.log
Nagios XI Installation Log
==========================
DATE: Thu Jan 5 12:00:11 EST 2017

DISTRO INFO:
CentOS
6.7
x86_64

THIS IS A NEW INSTALL!

INSTALLING:
full=2014R1.5
major=2014
minor=R1.5
releasedate=2014-10-01
release=408

Configuring Yum...
centos-release-6-7.el6.centos.12.3.x86_64
rpmforge-release RPM installed OK
epel-release RPM installed OK
Enabling CentOS 6 Continuous Release repo...
Loaded plugins: fastestmirror, refresh-packagekit, security
Setting up Install Process
Loading mirror speeds from cached hostfile
Could not retrieve mirrorlist http://apt.sw.be/redhat/el6/en/mirrors-rpmforge error was
14: PYCURL ERROR 22 - "The requested URL returned error: 404 Not Found"
* base: mirror.us.leaseweb.net
* epel: reflector.westga.edu
* extras: mirrors.lga7.us.voxel.net
* updates: linux.cc.lehigh.edu
http://apt.sw.be/redhat/el6/en/x86_64/r ... repomd.xml: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 404 Not Found"
Trying other mirror.
Error: Cannot retrieve repository metadata (repomd.xml) for repository: rpmforge. Please verify its path and try again
[root@nagiostest nagiosxi]#

Re: xi-2014r1.5 install failed

Posted: Thu Jan 05, 2017 1:25 pm
by dwhitfield
If you want something from the 2014 series, why not go with https://assets.nagios.com/downloads/nag ... 2.7.tar.gz ?

If you take a look at https://assets.nagios.com/downloads/nag ... rsions.php you'll see any 2014 version is pretty old. Is there a reason you aren't using something from the 5.x series?

Re: xi-2014r1.5 install failed

Posted: Thu Jan 05, 2017 2:15 pm
by rajeshkondapalli
xi-2014r1.5 is my current production version & wanted to upgrade to latest. Is that a doable thing since we are too behind.
Want to replicate the scenario & see how upgrade goes.
Will the clients (nrpe) need any upgrade after upgrading the NagiosXI.

I do not want to break my working one with the upgrade.

Re: xi-2014r1.5 install failed

Posted: Thu Jan 05, 2017 3:44 pm
by rkennedy
I believe you'll just need to update the rpmforge repo and switch it from the apt.sw.be. Take a look at this article which should help - https://github.com/repoforge/rpms/issues/378

Code: Select all

mirrorlist = http://mirrorlist.repoforge.org/el6/mirrors-rpmforge
mirrorlist = http://mirrorlist.repoforge.org/el7/mirrors-rpmforge

Re: xi-2014r1.5 install failed

Posted: Thu Jan 05, 2017 8:55 pm
by rajeshkondapalli
It worked after updating the rpmforge repo.
Thankyou for the support.

If I upgrade the Nagiosxi, do I need to do anything with clients.

Re: xi-2014r1.5 install failed

Posted: Fri Jan 06, 2017 11:28 am
by rkennedy
Awesome, glad to hear that worked!

Depending on what client you're referring to, you may have to, but generally speaking everything is backwards compatible.