Fresh install

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
bosecorp
Posts: 929
Joined: Thu Jun 26, 2014 1:00 pm

Fresh install

Post by bosecorp »

I am unable to install Nagios XI on a RHEL 7 server

========================
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
An error has occurred:
ERROR: can not find RHNS CA file: /usr/share/rhn/RHN-ORG-TRUSTED-SSL-CERT
See /var/log/up2date for more information
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'
avandemore
Posts: 1597
Joined: Tue Sep 27, 2016 4:57 pm

Re: Fresh install

Post by avandemore »

This appears to be a known issue with RHEL, did you check with your vendor?

https://access.redhat.com/solutions/26435

Apparently one of the causes is incorrect system date.
Previous Nagios employee
bosecorp
Posts: 929
Joined: Thu Jun 26, 2014 1:00 pm

Re: Fresh install

Post by bosecorp »

Now I am seem to be getting this error

I should probably mention that this is a VM on AWS. this is an EC2 instance. this is a fresh install

[root@usvanagiosdev8 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-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'
[root@usvanagiosdev8 nagiosxi]#
User avatar
lmiltchev
Former Nagios Staff
Posts: 13587
Joined: Mon May 23, 2011 12:15 pm

Re: Fresh install

Post by lmiltchev »

Have you tried adding the Optional channel? It is required.

This issue is described in the following KB article:
https://support.nagios.com/kb/article/e ... tions.html
Be sure to check out our Knowledgebase for helpful articles and solutions!
bosecorp
Posts: 929
Joined: Thu Jun 26, 2014 1:00 pm

Re: Fresh install

Post by bosecorp »

Yes, tried that
SteveBeauchemin
Posts: 524
Joined: Mon Oct 14, 2013 7:19 pm

Re: Fresh install

Post by SteveBeauchemin »

Does the AWS host have internet access? Mine do not. Just wondering...
Steve B
XI 5.7.3 / Core 4.4.6 / NagVis 1.9.8 / LiveStatus 1.5.0p11 / RRDCached 1.7.0 / Redis 3.2.8 /
SNMPTT / Gearman 0.33-7 / Mod_Gearman 3.0.7 / NLS 2.0.8 / NNA 2.3.1 /
NSClient 0.5.0 / NRPE Solaris 3.2.1 Linux 3.2.1 HPUX 3.2.1
avandemore
Posts: 1597
Joined: Tue Sep 27, 2016 4:57 pm

Re: Fresh install

Post by avandemore »

What is the output from:

Code: Select all

# yum repolist -v
Previous Nagios employee
bosecorp
Posts: 929
Joined: Thu Jun 26, 2014 1:00 pm

Re: Fresh install

Post by bosecorp »

attached
You do not have the required permissions to view the files attached to this post.
bosecorp
Posts: 929
Joined: Thu Jun 26, 2014 1:00 pm

Re: Fresh install

Post by bosecorp »

Yes, it does have access to the internet
avandemore
Posts: 1597
Joined: Tue Sep 27, 2016 4:57 pm

Re: Fresh install

Post by avandemore »

Doesn't look enabled. What was the full output from when you ran:

Code: Select all

# yum-config-manager --enable rhel-7-server-optional-rpms
Have you reached out to your OS vendor on how to enable their own repositories?
You can print the available list like this:

Code: Select all

# subscription-manager repos --list
or check here:
https://access.redhat.com/documentation ... repos.html
Previous Nagios employee
Locked