Page 1 of 1

NRPE installation error

Posted: Fri Nov 12, 2021 3:24 am
by s.diwakar1
Dear All,

I am getting error while installing NRPE. Please fine below output:

Code: Select all

============================

Nagios Linux Agent Installer

============================

 

This script will install the Nagios Linux Agent by executing all necessary

sub-scripts.

 

IMPORTANT: This script should only be used on a clean installed system:

 

    RedHat Enterprise, CentOS, Fedora, Cloud Linux or Oracle

    OpenSUSE or SUSE Enterprise

    Ubuntu or Debian

 

Do NOT use this on a system running any other distro or that

does not allow additional package installation.

 

Do you want to continue? [Y/n] y

Proceeding with installation...

Running './0-repos'...

Configuring Repos...

Enabling EPEL repo...

Loaded plugins: refresh-packagekit, rhnplugin, security, ulninfo

There was an error parsing the ULN proxy settings.

ULN support will be disabled.

Setting up Install Process

Error: Cannot retrieve repository metadata (repomd.xml) for repository: ****************************. Please verify its path and try again

epel-release RPM installed OK

Repos configured OK

RESULT=0

Running './1-prereqs'...

Installing prerequisites...

Loaded plugins: refresh-packagekit, rhnplugin, security, ulninfo

There was an error parsing the ULN proxy settings.

ULN support will be disabled.

Setting up Install Process

Error: Cannot retrieve repository metadata (repomd.xml) for repository: *****************************. Please verify its path and try again

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: './1-prereqs'

Can anyone please help me to fix this issue?

Thanks in advance!!!

Re: NRPE installation error

Posted: Fri Nov 12, 2021 11:55 am
by benjaminsmith
Hi!

What OS are you installing this on, it may not be supported by the script.

If that's the case, the install from source doc would be the recommended approach.

NRPE - How To Install NRPE v4 From Source

--Benjamin

Re: NRPE installation error

Posted: Wed Nov 17, 2021 7:31 am
by s.diwakar1
Hi @benjaminsmith,

Thanks for your reply and sorry for the late response.

OS version is Oracle Linux Server 6.10

I think script is supported on this version. Can you please suggest any solution?

Re: NRPE installation error

Posted: Wed Nov 17, 2021 5:03 pm
by gormank
Try
yum clean all
yum repolist

If there are errors in the repolist they'll need to be fixed.