Page 1 of 1

nrpe agent installation

Posted: Tue Jul 28, 2015 4:06 am
by avijit_bhardwaj
Hi,
Trying to install agent on linux machines getting below error:

Loaded plugins: downloadonly, product-id, rhnplugin, security, subscription-
: manager
This system is receiving updates from RHN Classic or RHN Satellite.
Repository 'rhel-cd' is missing name in configuration, using id
Error: Cannot retrieve repository metadata (repomd.xml) for repository: epel. Please verify its path and try again
epel-release RPM installed OK
Repos configured OK
Installing prerequisites...
Loaded plugins: downloadonly, product-id, rhnplugin, security, subscription-
: manager
This system is receiving updates from RHN Classic or RHN Satellite.
Repository 'rhel-cd' is missing name in configuration, using id
Setting up Install Process
Error: Cannot retrieve repository metadata (repomd.xml) for repository: epel. Please verify its path and try again

Can anyone let me know how to get it fixed.

Re: nrpe agent installation

Posted: Tue Jul 28, 2015 9:54 am
by jolson
What version of Red Hat is your linux box running?

Code: Select all

cat /etc/*release*

Code: Select all

uname -a

Re: nrpe agent installation

Posted: Tue Jul 28, 2015 10:21 am
by avijit_bhardwaj
2.6.32-504.el6.x86_64
Red Hat Enterprise Linux Server release 6.6 (Santiago)

Re: nrpe agent installation

Posted: Tue Jul 28, 2015 10:50 am
by jolson
Let's see a list of your repositories:

Code: Select all

yum repolist all
Error: Cannot retrieve repository metadata (repomd.xml) for repository: epel. Please verify its path and try again
I found this stack exchange post regarding the above error string: https://stackoverflow.com/questions/267 ... y-its-path

Try the following:
You just needed to update ca-certificates package. Before that just disable all repos with https that are failing. That's why sollution with commenting mirrorlist or using http instead https would work also.

For example if you need to disable only epel repo:

yum --disablerepo=epel -y update ca-certificates

This will also help wget, curl, and anything else that uses SSL certificates.