Red Hat Enterprise 7.6 agent install failed...

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
lee.krause
Posts: 86
Joined: Wed Jan 20, 2016 8:38 am

Red Hat Enterprise 7.6 agent install failed...

Post by lee.krause »

OS Version: Red Hat Enterprise Linux Server release 7.6

When trying to install the NRPE agent we received the following error on a failed install.

sed: can't read /etc/xinetd.d/nrpe: No such file or directory
Subcomponents installation failed - exiting

I have attached the full log.
install.log
You do not have the required permissions to view the files attached to this post.
benjaminsmith
Posts: 5324
Joined: Wed Aug 22, 2018 4:39 pm
Location: saint paul

Re: Red Hat Enterprise 7.6 agent install failed...

Post by benjaminsmith »

Hello @lee.krause,

Make sure you have the prerequisites installed on your system and try again:

Code: Select all

yum install -y gcc glibc glibc-common openssl openssl-devel perl wget
NRPE - How To Install NRPE v3 From Source
https://support.nagios.com/kb/article.php?id=515#RHEL]
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.

Be sure to check out our Knowledgebase for helpful articles and solutions!
lee.krause
Posts: 86
Joined: Wed Jan 20, 2016 8:38 am

Re: Red Hat Enterprise 7.6 agent install failed...

Post by lee.krause »

All of them are installed:
gcc.x86_64 4.8.5-36.el7 @rhel-7-server-rpms
gcc-c++.x86_64 4.8.5-36.el7 @rhel-7-server-rpms
gcc-gfortran.x86_64 4.8.5-36.el7 @rhel-7-server-rpms
glib2.x86_64 2.56.1-2.el7 @rhel-7-server-rpms
glibc.x86_64 2.17-260.el7 @rhel-7-server-rpms
glibc-common.x86_64 2.17-260.el7 @rhel-7-server-rpms
glibc-devel.x86_64 2.17-260.el7 @rhel-7-server-rpms
glibc-headers.x86_64 2.17-260.el7 @rhel-7-server-rpms
openssl.x86_64 1:1.0.2k-16.el7 @rhel-7-server-rpms
openssl-devel.x86_64 1:1.0.2k-16.el7 @rhel-7-server-rpms
openssl-libs.x86_64 1:1.0.2k-16.el7 @rhel-7-server-rpms
perl.x86_64 4:5.16.3-293.el7 @rhel-7-server-rpms
wget.x86_64 1.14-18.el7 @rhel-7-server-rpms
benjaminsmith
Posts: 5324
Joined: Wed Aug 22, 2018 4:39 pm
Location: saint paul

Re: Red Hat Enterprise 7.6 agent install failed...

Post by benjaminsmith »

Hi @lee.krause,

Normally, this error is due to a missing a package. Is xinetd installed and running on your system?

Code: Select all

 rpm -qa | grep xinetd
service xinetd status
Are you installing as root?

Code: Select all

#Log in as root and run the following:
cd /tmp
wget http://assets.nagios.com/downloads/nagiosxi/agents/linux-nrpe-agent.tar.gz
tar xzf linux-nrpe-agent.tar.gz
cd linux-nrpe-agent
./fullinstall

Let me know if that works for you. Thanks.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.

Be sure to check out our Knowledgebase for helpful articles and solutions!
lee.krause
Posts: 86
Joined: Wed Jan 20, 2016 8:38 am

Re: Red Hat Enterprise 7.6 agent install failed...

Post by lee.krause »

Looks like that worked. Maybe I was using an old agent.

Thanks!

You can close this thread.
benjaminsmith
Posts: 5324
Joined: Wed Aug 22, 2018 4:39 pm
Location: saint paul

Re: Red Hat Enterprise 7.6 agent install failed...

Post by benjaminsmith »

Hello @lee.krause,
Looks like that worked. Maybe I was using an old agent.
Thanks for the update and glad you got it working. Closing.

Thank you for using the Nagios Support Forum.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.

Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked