Page 1 of 1

Nagios XI Installation Failed

Posted: Wed Aug 09, 2017 3:08 pm
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'

Re: Nagios XI new installation failed

Posted: Wed Aug 09, 2017 3:17 pm
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

Re: Nagios XI Installation Failed

Posted: Thu Aug 24, 2017 4:19 pm
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'

Re: Nagios XI Installation Failed

Posted: Thu Aug 24, 2017 4:37 pm
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.

Re: Nagios XI Installation Failed

Posted: Thu Aug 24, 2017 4:40 pm
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