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.
Red Hat Enterprise 7.6 agent install failed...
-
lee.krause
- Posts: 86
- Joined: Wed Jan 20, 2016 8:38 am
Red Hat Enterprise 7.6 agent install failed...
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...
Hello @lee.krause,
Make sure you have the prerequisites installed on your system and try again:
NRPE - How To Install NRPE v3 From Source
https://support.nagios.com/kb/article.php?id=515#RHEL]
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
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!
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...
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
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...
Hi @lee.krause,
Normally, this error is due to a missing a package. Is xinetd installed and running on your system?
Are you installing as root?
Let me know if that works for you. Thanks.
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
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!
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...
Looks like that worked. Maybe I was using an old agent.
Thanks!
You can close this thread.
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...
Hello @lee.krause,
Thank you for using the Nagios Support Forum.
Thanks for the update and glad you got it working. Closing.Looks like that worked. Maybe I was using an old agent.
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!
Be sure to check out our Knowledgebase for helpful articles and solutions!