Page 1 of 4

Fresh install

Posted: Wed Jun 07, 2017 8:08 am
by bosecorp
I am unable to install Nagios XI on a RHEL 7 server

========================
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-repos'...
Configuring Repos...
Passed New Subscription Check
package centos-release is not installed
An error has occurred:
ERROR: can not find RHNS CA file: /usr/share/rhn/RHN-ORG-TRUSTED-SSL-CERT
See /var/log/up2date for more information
ERROR: Please add the 'Optional' channel to your Red Hat systems subscriptions.
You can do so in the Redhat Network web interface or using the rhn-channel command.
or, install the yum-utils package and use the following command:
yum-config-manager --enable rhel-7-server-optional-rpms
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'

Re: Fresh install

Posted: Wed Jun 07, 2017 9:36 am
by avandemore
This appears to be a known issue with RHEL, did you check with your vendor?

https://access.redhat.com/solutions/26435

Apparently one of the causes is incorrect system date.

Re: Fresh install

Posted: Wed Jun 07, 2017 11:11 am
by bosecorp
Now I am seem to be getting this error

I should probably mention that this is a VM on AWS. this is an EC2 instance. this is a fresh install

[root@usvanagiosdev8 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-repos'...
Configuring Repos...
Passed New Subscription Check
package centos-release is not installed
Unable to locate SystemId file. Is this system registered?
ERROR: Please add the 'Optional' channel to your Red Hat systems subscriptions.
You can do so in the Redhat Network web interface or using the rhn-channel command.
or, install the yum-utils package and use the following command:
yum-config-manager --enable rhel-7-server-optional-rpms
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'
[root@usvanagiosdev8 nagiosxi]#

Re: Fresh install

Posted: Wed Jun 07, 2017 11:26 am
by lmiltchev
Have you tried adding the Optional channel? It is required.

This issue is described in the following KB article:
https://support.nagios.com/kb/article/e ... tions.html

Re: Fresh install

Posted: Wed Jun 07, 2017 11:45 am
by bosecorp
Yes, tried that

Re: Fresh install

Posted: Wed Jun 07, 2017 11:54 am
by SteveBeauchemin
Does the AWS host have internet access? Mine do not. Just wondering...
Steve B

Re: Fresh install

Posted: Wed Jun 07, 2017 11:55 am
by avandemore
What is the output from:

Code: Select all

# yum repolist -v

Re: Fresh install

Posted: Wed Jun 07, 2017 1:00 pm
by bosecorp
attached

Re: Fresh install

Posted: Wed Jun 07, 2017 1:12 pm
by bosecorp
Yes, it does have access to the internet

Re: Fresh install

Posted: Wed Jun 07, 2017 2:44 pm
by avandemore
Doesn't look enabled. What was the full output from when you ran:

Code: Select all

# yum-config-manager --enable rhel-7-server-optional-rpms
Have you reached out to your OS vendor on how to enable their own repositories?
You can print the available list like this:

Code: Select all

# subscription-manager repos --list
or check here:
https://access.redhat.com/documentation ... repos.html