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?
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
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'
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.
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
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)
[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]#
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
Nagios-Plugins maintainer exclusively, unless you have other C language bugs with open-source nagios projects, then I am happy to help! Please pm or use other communication to alert me to issues as I no longer track the forum.
Nagios-Plugins maintainer exclusively, unless you have other C language bugs with open-source nagios projects, then I am happy to help! Please pm or use other communication to alert me to issues as I no longer track the forum.
[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 ~]#