Error yum but yum is installed

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
clarosystemmgm
Posts: 7
Joined: Thu Apr 26, 2018 3:23 pm

Error yum but yum is installed

Post by clarosystemmgm »

This thread seems to be a duplicate:
https://support.nagios.com/forum/viewto ... 66#p250366

hi, i'm new in the Nagios's world. I'm trying to install Nagios XI, but when i execute "./fullinstall" i get the next 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-6-server-optional-rpms

So, i checked if yum was installed, and it yes installed. Paste a copy of the secuence i did to try install the Nagios XI.


[root@polvaredas nagiosxi]# yum install yum-utils
Loaded plugins: product-id, security, subscription-manager
Updating certificate-based repositories.
Setting up Install Process
Package yum-utils-1.1.30-10.el6.noarch already installed and latest version
Nothing to do

[root@polvaredas nagiosxi]# yum-config-manager --enable rhel-6-server-optional-rpms
Loaded plugins: product-id

[root@polvaredas 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-6-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'


Thanks experts!!
Locked