Page 1 of 2
NRPE RHEL 5.7 Installation step failed - exiting.
Posted: Thu Jun 27, 2013 4:21 pm
by nyoung
I'm trying to install NRPE on a Red Hat Enterprise Linux Server release 5.7 (Tikanga) box and I am coming across with this error below. I typically work in a windows environment and the few linux machines that have NRPE are centos 5 (never had any problems following the instructions in the pdf). Is there a workaround?
Code: Select all
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
Code: Select all
INSTALLING EXTRA PLUGINS...
real 0m0.005s
user 0m0.002s
sys 0m0.003s
sed: can't read /etc/xinetd.d/nrpe: No such file or directory
Subcomponents installation failed - exiting
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: './A-subcomponents'
Re: NRPE RHEL 5.7 Installation step failed - exiting.
Posted: Thu Jun 27, 2013 4:45 pm
by abrist
Are you installing this as root? These directories should be created during the install, but you need to run the ./fullinstall from the /tmp directory as root.
Re: NRPE RHEL 5.7 Installation step failed - exiting.
Posted: Thu Jun 27, 2013 5:55 pm
by nyoung
Yes, I am doing this as root. I have successfully followed these steps many times with Centos.
I do see NSCA but not NRPE. (not even /usr/local/nagios/bin/nrpe)
Re: NRPE RHEL 5.7 Installation step failed - exiting.
Posted: Thu Jun 27, 2013 8:11 pm
by scottwilkerson
Can you run the following on the server and report what happens
Re: NRPE RHEL 5.7 Installation step failed - exiting.
Posted: Fri Jun 28, 2013 1:45 pm
by nyoung
Code: Select all
[root@hqdw1 upgrade]# yum install xinetd
Loaded plugins: product-id, security, subscription-manager
Updating Red Hat repositories.
epel | 3.6 kB 00:00
Setting up Install Process
Nothing to do
[root@hqdw1 upgrade]#
Re: NRPE RHEL 5.7 Installation step failed - exiting.
Posted: Fri Jun 28, 2013 2:53 pm
by sreinhardt
OK, it seems that it tried to install, but isn't listing what steps it has taken. Just to be 100% sure try:
yum list installed xinitd
rpm -qa | grep xinetd
Re: NRPE RHEL 5.7 Installation step failed - exiting.
Posted: Fri Jun 28, 2013 3:20 pm
by nyoung
Code: Select all
[root@hqdw1 ~]# yum list installed xinitd
Loaded plugins: product-id, security, subscription-manager
Updating Red Hat repositories.
epel | 3.6 kB 00:00
Error: No matching Packages to list
[root@hqdw1 ~]# rpm -qa | grep xinetd
xinetd-2.3.14-13.el5
Re: NRPE RHEL 5.7 Installation step failed - exiting.
Posted: Mon Jul 01, 2013 10:26 am
by sreinhardt
There is definitely something wrong with yum, have your registered your redhat installation?
Code: Select all
subscription-manager list | grep Status:
rhn_check
Then lets check what channels you are subscribed to:
Re: NRPE RHEL 5.7 Installation step failed - exiting.
Posted: Mon Jul 01, 2013 1:26 pm
by nyoung
Does this mean that the system is not registered? It is a dev box purchased from ibm.
Code: Select all
[root@hqdw1 ~]# subscription-manager list
Error: You need to register this system by running `register` command before using this option.
Code: Select all
[root@hqdw1 ~]# yum repolist all
Loaded plugins: product-id, security, subscription-manager
Updating Red Hat repositories.
epel | 3.6 kB 00:00
epel/primary_db | 3.8 MB 00:03
repo id repo name status
epel Extra Packages for Enterprise Linux 5 - x8 enabled: 7,363
epel-debuginfo Extra Packages for Enterprise Linux 5 - x8 disabled
epel-source Extra Packages for Enterprise Linux 5 - x8 disabled
epel-testing Extra Packages for Enterprise Linux 5 - Te disabled
epel-testing-debuginfo Extra Packages for Enterprise Linux 5 - Te disabled
epel-testing-source Extra Packages for Enterprise Linux 5 - Te disabled
rhel-debuginfo Red Hat Enterprise Linux 5Server - x86_64 disabled
rhel-debuginfo-beta Red Hat Enterprise Linux 5Server Beta - x8 disabled
rhel-source Red Hat Enterprise Linux 5Server - Source disabled
repolist: 7,363
[root@hqdw1 ~]#
Re: NRPE RHEL 5.7 Installation step failed - exiting.
Posted: Mon Jul 01, 2013 1:43 pm
by slansing
Yes the system should have to be registered before you have access to certain "if not all" repos from your RHEL server.
https://access.redhat.com/site/document ... ments.html