ERROR: unable to read system id.

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
kooshals
Posts: 6
Joined: Mon Sep 15, 2014 6:21 am

ERROR: unable to read system id.

Post by kooshals »

I am trying to install nagios XI.

System Configuration
Red Hat Enterprise Linux Server release 6.2 (Santiago)

I am trying to run this command.
What is going wrong?

[root@xxxxxxxx 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-yum'...
Configuring Yum...
ERROR: unable to read system id.
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-yum'
sreinhardt
-fno-stack-protector
Posts: 4366
Joined: Mon Nov 19, 2012 12:10 pm

Re: ERROR: unable to read system id.

Post by sreinhardt »

It looks like you have two possible issues, 1) your server may not be registered with RHEL servers for yum access, and 2) you don't appear to have the optional channel enabled which is also mandatory.

Do you happen to be using internal satellite servers or anything of that nature, or is this a standard rhel install? More than likely if you got to the optional channel check, you should be subscribed\registered properly, I just wanted to make sure it was mentioned as well. Looking at your log there, I just noticed the 6.2 version, this should be fine, but you will have to use rhn_check or rhn_register commands for registration, if you have not, and the command to enable optional channels looks like:

Code: Select all

yum-config-manager --enable rhel-6-server-optional-rpms
You may need the yum-utils package to make this work properly.
Nagios-Plugins maintainer exclusively, unless you have other C language bugs with open-source nagios projects, then I am happy to help! Please pm or use other communication to alert me to issues as I no longer track the forum.
kooshals
Posts: 6
Joined: Mon Sep 15, 2014 6:21 am

Re: ERROR: unable to read system id.

Post by kooshals »

sreinhardt wrote:It looks like you have two possible issues, 1) your server may not be registered with RHEL servers for yum access, and 2) you don't appear to have the optional channel enabled which is also mandatory.

Do you happen to be using internal satellite servers or anything of that nature, or is this a standard rhel install? More than likely if you got to the optional channel check, you should be subscribed\registered properly, I just wanted to make sure it was mentioned as well. Looking at your log there, I just noticed the 6.2 version, this should be fine, but you will have to use rhn_check or rhn_register commands for registration, if you have not, and the command to enable optional channels looks like:

Code: Select all

yum-config-manager --enable rhel-6-server-optional-rpms
You may need the yum-utils package to make this work properly.
Hi

I ran the command you mentioned. Here is the output.
Anything else?

[root@XXXXXXXXX abcdef]# yum-config-manager --enable rhel-6-server-optional-rpms
Loaded plugins: product-id, refresh-packagekit

[root@XXXXXXXXX abcdef]# yum install yum-utils
Loaded plugins: product-id, refresh-packagekit, security, subscription-manager
Updating certificate-based repositories.
base | 1.3 kB 00:00
Setting up Install Process
Package yum-utils-1.1.30-10.el6.noarch already installed and latest version
Nothing to do
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: ERROR: unable to read system id.

Post by slansing »

Alright, try running through the install again, now that you have enabled the optional channel. If you continue to get that error you're going to want to talk to your RHEL admin in-house and figure out how to register those systems.
Locked