NRPE INSTALLATION ERROR!

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
RIDS_I2MP
Posts: 751
Joined: Thu Mar 13, 2014 9:25 am

NRPE INSTALLATION ERROR!

Post by RIDS_I2MP »

Hello Team,

We were trying to install NRPE agent on Ubuntu 16.0.4 LTS server.

We were using below document:
https://assets.nagios.com/downloads/nag ... _Agent.pdf

The installation got failed with the below error:

root@C00XAPL055:/tmp/linux-nrpe-agent# ./fullinstall
============================
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...
Repos configured OK
RESULT=0
Running './1-prereqs'...
Installing prerequisites...
Err:1 http://gb.archive.ubuntu.com/ubuntu xenial InRelease
Temporary failure resolving 'gb.archive.ubuntu.com'
Err:2 http://security.ubuntu.com/ubuntu xenial-security InRelease
Temporary failure resolving 'security.ubuntu.com'
Err:3 http://gb.archive.ubuntu.com/ubuntu xenial-updates InRelease
Temporary failure resolving 'gb.archive.ubuntu.com'
Err:4 http://gb.archive.ubuntu.com/ubuntu xenial-backports InRelease
Temporary failure resolving 'gb.archive.ubuntu.com'
Reading package lists...
W: Failed to fetch http://gb.archive.ubuntu.com/ubuntu/dis ... /InRelease Temporary failure resolving 'gb.archive.ubuntu.com'
W: Failed to fetch http://gb.archive.ubuntu.com/ubuntu/dis ... /InRelease Temporary failure resolving 'gb.archive.ubuntu.com'
W: Failed to fetch http://gb.archive.ubuntu.com/ubuntu/dis ... /InRelease Temporary failure resolving 'gb.archive.ubuntu.com'
W: Failed to fetch http://security.ubuntu.com/ubuntu/dists ... /InRelease Temporary failure resolving 'security.ubuntu.com'
W: Some index files failed to download. They have been ignored, or old ones used instead.
Reading package lists...
Building dependency tree...
Reading state information...
gawk is already the newest version (1:4.1.3+dfsg-0.1).
make is already the newest version (4.1-6).
make set to manually installed.
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
gcc : Depends: cpp (>= 4:5.3.1-1ubuntu1) but it is not going to be installed
Depends: gcc-5 (>= 5.3.1-3~) but it is not going to be installed
Recommends: libc6-dev but it is not going to be installed or
libc-dev
libmail-spf-perl : Depends: libnet-dns-perl but it is not going to be installed
Depends: libnetaddr-ip-perl but it is not going to be installed
Depends: liburi-perl but it is not going to be installed
libmailutils4 : Depends: mailutils-common (= 1:2.99.99-1ubuntu2) but it is not going to be installed
Depends: guile-2.0-libs but it is not going to be installed
Depends: libgsasl7 (>= 1.1) but it is not going to be installed
Depends: libkyotocabinet16v5 (>= 1.2.76) but it is not going to be installed
Depends: libltdl7 (>= 2.4.6) but it is not going to be installed
Depends: libmysqlclient20 (>= 5.7.11) but it is not going to be installed
Depends: libpython2.7 (>= 2.7) but it is not going to be installed
libmcrypt-dev : Depends: libmcrypt4 (= 2.5.8-3.3) but it is not going to be installed
libssl-dev : Depends: libssl1.0.0 (= 1.0.2g-1ubuntu4.8) but 1.0.2g-1ubuntu4.6 is to be installed
Depends: zlib1g-dev but it is not going to be installed
Recommends: libssl-doc but it is not going to be installed
mailutils : Depends: mailutils-common (= 1:2.99.99-1ubuntu2) but it is not going to be installed
Depends: guile-2.0-libs but it is not going to be installed
sysstat : Depends: libsensors4 (>= 1:3.0.0) but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
RESULT=100

===================
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'
root@C00XAPL055:/tmp/linux-nrpe-agent#


Please check and suggest!!
Thanks & Regards,
I2MP Team.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: NRPE INSTALLATION ERROR!

Post by scottwilkerson »

this looks like the system could not reach out to the repositories to download the required packages.

Is this system behind a proxy? Does it have proper DNS resolution setup?
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
RIDS_I2MP
Posts: 751
Joined: Thu Mar 13, 2014 9:25 am

Re: NRPE INSTALLATION ERROR!

Post by RIDS_I2MP »

Hello,

I am not sure about the answer to your questions.
I will check with the server owner and get back to you.

Thanks for your reply!!
Thanks & Regards,
I2MP Team.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: NRPE INSTALLATION ERROR!

Post by scottwilkerson »

RIDS_I2MP wrote:Hello,

I am not sure about the answer to your questions.
I will check with the server owner and get back to you.

Thanks for your reply!!
Sounds good!
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Locked