Page 1 of 1

Nagios xi installation is failed in amazon AWS rhel VM

Posted: Tue Mar 26, 2019 11:04 am
by grayloglearn
Hi Team,

I am trying to install the nagios xi in amazon redhat 7.5. I am getting the below error and i have followed the steps as

yum install -y yum-utils --> Done
yum-config-manager --enable rhel-7-server-optional-rpms --> Done


ERROR :
[root@ip- 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, RHEL, Ubuntu LTS, Debian, or Oracle. 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'


I have checked the install.log please find the below log also


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


Can some one help to resolve this

Re: Nagios xi installation is failed in amazon AWS rhel VM

Posted: Tue Mar 26, 2019 12:10 pm
by scottwilkerson
You need to register the RHEL system and add the optional channel before running the Nagios fullinstall script.

Additionally, here is an article on the certificate error
https://access.redhat.com/solutions/26435

Re: Nagios xi installation is failed in amazon AWS rhel VM

Posted: Tue Apr 02, 2019 11:27 am
by grayloglearn
Could you please help how to subscribe that. After what we have do to overcome this problem.

Re: Nagios xi installation is failed in amazon AWS rhel VM

Posted: Tue Apr 02, 2019 1:28 pm
by scottwilkerson
grayloglearn wrote:Could you please help how to subscribe that. After what we have do to overcome this problem.
You need to have a RHEL subscrition