New Installation Error

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
phani.kolli
Posts: 24
Joined: Tue Nov 19, 2013 2:49 pm

New Installation Error

Post by phani.kolli »

I am trying to stall NagiosXI on RH:Linux. Getting following error. I am new bee to this area.Any heal would be really great

Logged in as root and Ran ./fullinstall ,

[root@xxxxxx 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...
Stored MySQL 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'
[root@xxxxxnagiosxi]# timed out waiting for input: auto-logout
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: New Installation Error

Post by slansing »

This is the answer right here:
Your Red Hat Installation is not registered or does not have proper entitlements.
Please register or enable entitlements at rhn.redhat.com
You will need to activate your RHN license, and get access to the proper repositories.
phani.kolli
Posts: 24
Joined: Tue Nov 19, 2013 2:49 pm

Re: New Installation Error - 2

Post by phani.kolli »

Thank You for the reply.

Now I am getting following error.

Creating role and database...
ERROR: role "nagiosxi" already exists
ERROR: database "nagiosxi" already exists
ERROR: Nagios XI database was not setup properly - exiting.
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: './B-installxi'
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: New Installation Error

Post by lmiltchev »

You need to install XI on a clean system (registered to Red Hat). The install script is bailing out because "nagiosxi" already exists in the database (from the previous, failed install). I would recommend starting with a clean system (minimal install).
Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked