Page 1 of 1

Linux NRPE install

Posted: Wed May 21, 2014 1:31 pm
by Sbergonzi
I'm installing NRPE on a linux server (version below) and the install failed. the last part of the install notes an error trying to find NRPE in the xinetd.d directory. I've run this install on a version 4 instance, no issue. First time running on a version 5 install. I can attach the full install.log if helpful.

I'm unclear as how nrpe gets there, thinking it is part of the install. Any suggestions?

thank you as always!!

Code: Select all

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

Code: Select all

LSB Version:    :core-3.1-ia32:core-3.1-noarch:graphics-3.1-ia32:graphics-3.1-no
arch
Distributor ID: RedHatEnterpriseServer
Description:    Red Hat Enterprise Linux Server release 5.5 (Tikanga)
Release:        5.5
Codename:       Tikanga

Re: Linux NRPE install

Posted: Wed May 21, 2014 1:34 pm
by tmcdonald
Is xinetd installed on your system?

And how did you install NRPE? It looks like a yum install, but I want to make sure. Compiling from source is sometimes a bit more successful.

Re: Linux NRPE install

Posted: Wed May 21, 2014 2:47 pm
by Sbergonzi
/etc/xinetd.d does exist. A good question on NRPE, like with the 4.x implementation I simply ran the ./fullinstall from
http://assets.nagios.com/downloads/nagi ... ent.tar.gz

I haven't done anything extra.

Re: Linux NRPE install

Posted: Wed May 21, 2014 3:26 pm
by lmiltchev
Run the following command on the client machine, and show us the output:

Code: Select all

yum list installed xinetd
Also run:

Code: Select all

cd linux-nrpe-agent
./fullinstall | tee /tmp/nrpe-debug.txt
and upload the "nrpe-debug.txt" file, that was generated by running the above command in the "/tmp" directory.

Re: Linux NRPE install

Posted: Wed May 21, 2014 3:49 pm
by Sbergonzi

Code: Select all

Loaded plugins: rhnplugin, security
*Note* Red Hat Network repositories are not listed below. You must run this comm
and as root to access RHN repositories.
Installed Packages
xinetd.i386                      2:2.3.14-10.el5                       installed
/tmp/nrpe-debug.txt has nothing in it after running that command.

Re: Linux NRPE install

Posted: Wed May 21, 2014 4:06 pm
by lmiltchev
Can you show us the "install.log"?

Re: Linux NRPE install

Posted: Wed May 21, 2014 4:19 pm
by Sbergonzi
adding install.log

Re: Linux NRPE install

Posted: Wed May 21, 2014 4:53 pm
by lmiltchev
It seems like your system does not have a valid entitlement for Red Hat Network. Yum is not working correctly for you at the moment, you are missing required packages, such as "openssl-devel", etc.
Error Class Code: 31
Error Class Info:
This system does not have a valid entitlement for Red Hat Network.
Please visit https://rhn.redhat.com/rhn/systems/Syst ... lements.do
or login at https://rhn.redhat.com, and from the "Your RHN" tab,
select "Subscription Management" to enable RHN service for this system.
Explanation:
Your organization does not have enough Management entitlements to register this
system to Red Hat Network. Please notify your organization administrator of this error.
You should be able to register this system after your organization frees existing
or purchases additional entitlements. Additional entitlements may be purchased by your
organization administrator by logging into Red Hat Network and visiting
the 'Subscription Management' page in the 'Your RHN' section of RHN.
Please, register with RedHat and try the install again.

Re: Linux NRPE install

Posted: Wed May 21, 2014 5:44 pm
by Sbergonzi
ok, thank you. I saw that as well and wasn't sure if could have caused the issue.