Page 1 of 1

Nagios Installation issue

Posted: Thu Jan 26, 2012 3:30 am
by srikanth
We are installing Ngaios XI on RHEL5 update 3, we dont have RHN subsription for this.

Then when we are installing ./fullinstall getting the below error. Please help us on this. Thanks in advance.

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...
Enter the MySQL root password to continue...
MySQL Root Password: Welcome1
Password validated.
Running './0-yum'...
Configuring Yum...
ERROR: unable to read system id.
Your Red Hat Installation is not registered or does not have proper entitlements.
Please register or enable entitlements at rhn.redhat.com.
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'

Re: Nagios Installation issue

Posted: Thu Jan 26, 2012 11:09 am
by mguthrie
RHN registration is a requirement for XI installation on Redhat. If you're not able to register your copy of Redhat, we recommend using CentOS.

Re: Nagios Installation issue

Posted: Fri Jan 27, 2012 12:02 pm
by srikanth
Thanks for your Reply, But is there way we can edit the script to not ask for the RHN registration.

Re: Nagios Installation issue

Posted: Fri Jan 27, 2012 12:39 pm
by scottwilkerson
srikanth wrote:Thanks for your Reply, But is there way we can edit the script to not ask for the RHN registration.
No.

You could edit the script to not ask, but then it would fail because it couldn't install required components.

Re: Nagios Installation issue

Posted: Fri Sep 07, 2012 5:05 am
by ukggupta
yes, you can change the 0-yum script and comment registration related lines.

Thanks
Mahesh

Re: Nagios Installation issue

Posted: Fri Sep 07, 2012 9:50 am
by mguthrie
Yes, but then there will be several subcomponents in XI that will not work because the prerequisites aren't being installed. We're not putting that sanity check in the RHEL installer just because we want you to register. The install will be BROKEN from day one.