Page 1 of 2

XI installation on CentOS 7

Posted: Thu Jan 21, 2016 8:17 pm
by gbnag
Hello,
Attempted to install XI but getting installation error:


Enabling CentOS 6 Continuous Release repo...
Loaded plugins: fastestmirror, security
Setting up Install Process
Loading mirror speeds from cached hostfile
* epel: fedora.westmancom.com
* rpmforge: mirror.teklinks.com
No package centos-release-cr available.
Error: Nothing to do
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-repos'

---------------------------------------------------------------------

Had no problem getting the latest tar.gz downloaded via wget.

It has been suggested to post to this forum for any insight.

Re: XI installation on CentOS 7

Posted: Fri Jan 22, 2016 10:23 am
by hsmith
Is this a clean system?

What's the output of these commands?

Code: Select all

cat /etc/*release*
uname -a
Are you using a proxy?

Re: XI installation on CentOS 7

Posted: Fri Jan 22, 2016 11:27 am
by rkennedy
Can you also post the install.log as well?

Re: XI installation on CentOS 7

Posted: Wed Jan 27, 2016 7:52 pm
by gbnag
Hi, sorry for the delay.

gberger-linux-centos nagiosxi]# cat /etc/*release*
CentOS release 6.7 (Final)
LSB_VERSION=base-4.0-amd64:base-4.0-noarch:core-4.0-amd64:core-4.0-noarch:graphics-4.0-amd64:graphics-4.0-noarch:printing-4.0-amd64:printing-4.0-noarch
cat: /etc/lsb-release.d: Is a directory
CentOS release 6.7 (Final)
CentOS release 6.7 (Final)
CentOS release 6.7 (Final)
cpe:/o:centos:linux:6:GA

[root@gberger-linux-centos nagiosxi]# uname -a
Linux gberger-linux-centos 2.6.32-573.el6.x86_64 #1 SMP Thu Jul 23 15:44:03 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux

[root@gberger-linux-centos nagiosxi]# cat install.log
Nagios XI Installation Log
==========================
DATE: Wed Jan 27 16:44:22 PST 2016

DISTRO INFO:
CentOS
6.7
x86_64

THIS IS A NEW INSTALL!

INSTALLING:
full=5.2.3
major=5
minor=2.3
releasedate=2015-12-07
release=514

Configuring Repos...
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, security
Setting up Install Process
Loading mirror speeds from cached hostfile
* epel: mirror.utexas.edu
* rpmforge: mirrors.neusoft.edu.cn
No package centos-release-cr available.
Error: Nothing to do
[root@gberger-linux-centos nagiosxi]


Regards,

Re: XI installation on CentOS 7

Posted: Wed Jan 27, 2016 8:51 pm
by gbnag
Forgot to answer the other 2 questions.

The system got built by our server admin team, so expect it to be as clean as possible. And we do not use proxies.

Re: XI installation on CentOS 7

Posted: Thu Jan 28, 2016 11:33 am
by hsmith
Can I please see the output of these 2 commands?

Code: Select all

yum repolist
ls /etc/yum.repos.d/

Re: XI installation on CentOS 7

Posted: Thu Jan 28, 2016 7:53 pm
by gbnag
hello,

Here is the output:


gberger@gberger-linux-centos<1> # yum repolist
Loaded plugins: fastestmirror, security
Determining fastest mirrors
epel/metalink | 13 kB 00:00
* epel: ftp.osuosl.org
* rpmforge: ftp.tu-chemnitz.de
Packages | 4.0 kB 00:00
QC.stage | 2.5 kB 00:00
Security | 2.4 kB 00:00
epel | 4.3 kB 00:00
errata | 2.4 kB 00:00
nagios-base | 1.5 kB 00:00
nagios-base 151/151
nagiosxi-deps | 1.5 kB 00:00
nagiosxi-deps 33/33
rpmforge | 1.9 kB 00:00
repo id repo name status
Packages Packages 6,575
QC.stage QC.stage 215
Security Security 0
*epel Extra Packages for Enterprise Linux 6 - x86_64 11,924
errata errata 0
nagios-base Nagios 151
nagiosxi-deps Nagios XI Dependencies 33
rpmforge RHEL 6 - RPMforge.net - dag 4,718
repolist: 23,616
-- /usr2/gberger -- 16:52

berger@gberger-linux-centos<2> # ls /etc/yum.repos.d/
disabled/ epel-testing.repo mirrors-rpmforge mirrors-rpmforge-testing Packages.repo rpmforge.repo
epel.repo errata.repo mirrors-rpmforge-extras nagios-6.repo QC.stage.repo Security.repo
-- /usr2/gberger

Re: XI installation on CentOS 7

Posted: Fri Jan 29, 2016 12:13 pm
by hsmith
This is starting to look like there are quite a few modifications on this system. Where are the CentOS repos?

Re: XI installation on CentOS 7

Posted: Mon Feb 01, 2016 3:18 pm
by gbnag
Hello,

Looks like CentOS7 is not fully supported by our admin team.
Is there a way to opt out of using the CR during the XI installation process?


Usage of the CR repository is entirely optional to a system administrator, and is based on their express actions to opt-in.

Re: XI installation on CentOS 7

Posted: Mon Feb 01, 2016 3:29 pm
by hsmith
If you're not able to use the repositories that our installation script uses by default, you can look inside of the fullinstall script and make any changes necessary to make Nagios XI work in your environment. In making those changes, it may not be a supported system anymore.

Another option you could pursue is to use our VM template, which is based on CentOS 6 and can be found here. If you need to remove the CentOS repositories from this machine, just be warned that it my not be able to be upgraded in the future.