Nagios XI Installation Failed

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
Chai5
Posts: 2
Joined: Tue Aug 08, 2017 2:57 pm

Nagios XI Installation Failed

Post by Chai5 »

I am a new customer and would like to evaluate Nagios XI product.
Installation always failed with this error.

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

I need help with add channel command.
Thank you.

install.log here.

=====================================================================================
========================
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...
package centos-release is not installed
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'
Last edited by Chai5 on Thu Aug 24, 2017 4:20 pm, edited 2 times in total.
bolson

Re: Nagios XI new installation failed

Post by bolson »

This document will guide you through the process of adding the RHEL Optional channel.

https://support.nagios.com/kb/article.php?id=155

Let us know if we can be of additional assistance.

Thank you for your interest in NagiosXI
Chai5
Posts: 2
Joined: Tue Aug 08, 2017 2:57 pm

Re: Nagios XI Installation Failed

Post by Chai5 »

Chai5 wrote:I am a new customer and would like to evaluate Nagios XI product.
Installation always failed with this error.

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

I need help with add channel command.
Thank you.

install.log here.

=====================================================================================
========================
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...
package centos-release is not installed
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'
dwhitfield
Former Nagios Staff
Posts: 4583
Joined: Wed Sep 21, 2016 10:29 am
Location: NoLo, Minneapolis, MN
Contact:

Re: Nagios XI Installation Failed

Post by dwhitfield »

@bolson gave you the link he did because of the following line:
ERROR: Please add the 'Optional' channel to your Red Hat systems subscriptions.
You added no new information to your post, so we really can't make any additional comments. If you do not have a Red Hat subscription, then you can run XI on CentOS instead.
bolson

Re: Nagios XI Installation Failed

Post by bolson »

Hello Chai5, are you saying that you followed the steps in this guide and you're still getting the same result?

https://support.nagios.com/kb/article.php?id=155
Locked