unable to install nrp agent in debain 8
Posted: Sun Aug 09, 2020 10:25 am
I am trying to install on debain 8.
steps followed: https://assets.nagios.com/downloads/nag ... _Agent.pdf
version details
root@syd4linau:~/linux-nrpe-agent# cat /etc/os-release
PRETTY_NAME="Debian GNU/Linux 8 (jessie)"
NAME="Debian GNU/Linux"
VERSION_ID="8"
VERSION="8 (jessie)"
ID=debian
HOME_URL="http://www.debian.org/"
SUPPORT_URL="http://www.debian.org/support"
BUG_REPORT_URL="https://bugs.debian.org/"
following is the error
+++++++++++++++++++++++++++++
cd ./src/; make
make[1]: Entering directory '/root/linux-nrpe-agent/subcomponents/nrpe/nrpe-4.0.2/src'
gcc -g -O2 -I/usr/include/openssl -DHAVE_CONFIG_H -I ../include -I ./../include -o nrpe ./nrpe.c ./utils.c ./acl.c -L/usr/lib/x86_64-linux-gnu/ -lssl -lcrypto -lnsl
/tmp/cce70vH3.o: In function `get_dh2048':
/root/linux-nrpe-agent/subcomponents/nrpe/nrpe-4.0.2/src/./../include/dh.h:42: undefined reference to `DH_set0_pqg'
collect2: error: ld returned 1 exit status
Makefile:48: recipe for target 'nrpe' failed
make[1]: *** [nrpe] Error 1
make[1]: Leaving directory '/root/linux-nrpe-agent/subcomponents/nrpe/nrpe-4.0.2/src'
Makefile:65: recipe for target 'all' failed
make: *** [all] Error 2
cd ./src/; make install
make[1]: Entering directory '/root/linux-nrpe-agent/subcomponents/nrpe/nrpe-4.0.2/src'
make install-plugin
make[2]: Entering directory '/root/linux-nrpe-agent/subcomponents/nrpe/nrpe-4.0.2/src'
/usr/bin/install -c -m 755 -d /usr/local/nagios/bin
/usr/bin/install -c -m 755 ../uninstall /usr/local/nagios/bin/nrpe-uninstall
/usr/bin/install -c -m 775 -o nagios -g nagios -d /usr/local/nagios/libexec
/usr/bin/install -c -m 775 -o nagios -g nagios -d /usr/local/nagios/libexec
/usr/bin/install -c -m 775 -o nagios -g nagios check_nrpe /usr/local/nagios/libexec
/usr/bin/install: cannot stat ‘check_nrpe’: No such file or directory
Makefile:58: recipe for target 'install-plugin' failed
make[2]: *** [install-plugin] Error 1
make[2]: Leaving directory '/root/linux-nrpe-agent/subcomponents/nrpe/nrpe-4.0.2/src'
Makefile:54: recipe for target 'install' failed
make[1]: *** [install] Error 2
make[1]: Leaving directory '/root/linux-nrpe-agent/subcomponents/nrpe/nrpe-4.0.2/src'
Makefile:89: recipe for target 'install' failed
make: *** [install] Error 2
NRPE-POST
sed: can't read /etc/xinetd.d/nrpe: No such file or directory
sed: can't read /etc/xinetd.d/nrpe: No such file or directory
+++++++++++++++++++++++++++++
steps followed: https://assets.nagios.com/downloads/nag ... _Agent.pdf
version details
root@syd4linau:~/linux-nrpe-agent# cat /etc/os-release
PRETTY_NAME="Debian GNU/Linux 8 (jessie)"
NAME="Debian GNU/Linux"
VERSION_ID="8"
VERSION="8 (jessie)"
ID=debian
HOME_URL="http://www.debian.org/"
SUPPORT_URL="http://www.debian.org/support"
BUG_REPORT_URL="https://bugs.debian.org/"
following is the error
+++++++++++++++++++++++++++++
cd ./src/; make
make[1]: Entering directory '/root/linux-nrpe-agent/subcomponents/nrpe/nrpe-4.0.2/src'
gcc -g -O2 -I/usr/include/openssl -DHAVE_CONFIG_H -I ../include -I ./../include -o nrpe ./nrpe.c ./utils.c ./acl.c -L/usr/lib/x86_64-linux-gnu/ -lssl -lcrypto -lnsl
/tmp/cce70vH3.o: In function `get_dh2048':
/root/linux-nrpe-agent/subcomponents/nrpe/nrpe-4.0.2/src/./../include/dh.h:42: undefined reference to `DH_set0_pqg'
collect2: error: ld returned 1 exit status
Makefile:48: recipe for target 'nrpe' failed
make[1]: *** [nrpe] Error 1
make[1]: Leaving directory '/root/linux-nrpe-agent/subcomponents/nrpe/nrpe-4.0.2/src'
Makefile:65: recipe for target 'all' failed
make: *** [all] Error 2
cd ./src/; make install
make[1]: Entering directory '/root/linux-nrpe-agent/subcomponents/nrpe/nrpe-4.0.2/src'
make install-plugin
make[2]: Entering directory '/root/linux-nrpe-agent/subcomponents/nrpe/nrpe-4.0.2/src'
/usr/bin/install -c -m 755 -d /usr/local/nagios/bin
/usr/bin/install -c -m 755 ../uninstall /usr/local/nagios/bin/nrpe-uninstall
/usr/bin/install -c -m 775 -o nagios -g nagios -d /usr/local/nagios/libexec
/usr/bin/install -c -m 775 -o nagios -g nagios -d /usr/local/nagios/libexec
/usr/bin/install -c -m 775 -o nagios -g nagios check_nrpe /usr/local/nagios/libexec
/usr/bin/install: cannot stat ‘check_nrpe’: No such file or directory
Makefile:58: recipe for target 'install-plugin' failed
make[2]: *** [install-plugin] Error 1
make[2]: Leaving directory '/root/linux-nrpe-agent/subcomponents/nrpe/nrpe-4.0.2/src'
Makefile:54: recipe for target 'install' failed
make[1]: *** [install] Error 2
make[1]: Leaving directory '/root/linux-nrpe-agent/subcomponents/nrpe/nrpe-4.0.2/src'
Makefile:89: recipe for target 'install' failed
make: *** [install] Error 2
NRPE-POST
sed: can't read /etc/xinetd.d/nrpe: No such file or directory
sed: can't read /etc/xinetd.d/nrpe: No such file or directory
+++++++++++++++++++++++++++++