Page 1 of 1

Nagios XI installation error

Posted: Mon Apr 20, 2015 1:05 pm
by JakeHatMacys
I think this is a new one for me:

Error when installing Nagios:

Installing prerequisites...
Loaded plugins: product-id, rhnplugin, security, subscription-manager
This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.
This system is receiving updates from RHN Classic or RHN Satellite.
Setting up Local Package Process
Examining /tmp/nagiosxi/packages/php-pear-HTML-Template-IT-1.3.0-2.el5.noarch.rpm: php-pear-HTML-Template-IT-1.3.0-2.el5.noarch
Marking /tmp/nagiosxi/packages/php-pear-HTML-Template-IT-1.3.0-2.el5.noarch.rpm to be installed
Error: Cannot retrieve repository metadata (repomd.xml) for repository: epel. Please verify its path and try ag ain
RESULT=1

===================
INSTALLATION ERROR!
===================
Installation step failed - exiting.

Any work around for this?

Re: Nagios XI installation error

Posted: Mon Apr 20, 2015 1:08 pm
by abrist
Are you installing in an offline environment?
Is your copy of RHEL registered?
JakeHatMacys wrote:This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.
Is the "Optional" channel enabled?

Re: Nagios XI installation error

Posted: Mon Apr 20, 2015 1:54 pm
by JakeHatMacys
abrist wrote:Are you installing in an offline environment?
Is your copy of RHEL registered?
JakeHatMacys wrote:This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.
Is the "Optional" channel enabled?
I have the optional package installed:

Code: Select all

[root@esu2v237 nagiosxi]# rhn-channel -l
macys-clone-rhel-x86_64-server-6.3
macys-clone-rhel-x86_64-server-optional-6
macys-clone-rhel-x86_64-server-supplementary-6
macys-clone-rhn-tools-rhel-x86_64-server-6
[root@esu2v237 nagiosxi]#
I'm not sure if that satisfies the needs.

Re: Nagios XI installation error

Posted: Mon Apr 20, 2015 2:15 pm
by abrist
JakeHatMacys wrote:I have the optional package installed:
Alright.
JakeHatMacys wrote:I'm not sure if that satisfies the needs.
Well, the installer still needs to be able to fetch packages from the repo. Does this server have access to the internet?

Re: Nagios XI installation error

Posted: Mon Apr 20, 2015 2:18 pm
by JakeHatMacys
abrist wrote:
JakeHatMacys wrote:I have the optional package installed:
Alright.
JakeHatMacys wrote:I'm not sure if that satisfies the needs.
Well, the installer still needs to be able to fetch packages from the repo. Does this server have access to the internet?
I got it opened to http://assets.nagios.com for wget.... do you have a list of domains the install needs access to for a complete an installation?

Re: Nagios XI installation error

Posted: Mon Apr 20, 2015 2:19 pm
by lmiltchev
Error: Cannot retrieve repository metadata (repomd.xml) for repository: epel. Please verify its path and try ag ain
RESULT=1
You machine needs to have access to the epel repo.

http://www.rackspace.com/knowledge_cent ... nd-red-hat

Re: Nagios XI installation error

Posted: Mon Apr 20, 2015 2:20 pm
by abrist
JakeHatMacys wrote:do you have a list of domains the install needs access to for a complete an installation?
assets.nagios.com is the only one, other than making sure your server has access to the RHEl repos (like epel). . .