I just ran the install for the Linux agent for CentOS 64 bit. Below are the install errors I received. Please let me know how to proceed.
Thank you.
Code: Select all
checking for libmcrypt - version >= 2.4.11... no
*** Could not run libmcrypt test program, checking why...
*** The test program failed to compile or link. See the file config.log for the
*** exact error that occured. This usually means LIBMCRYPT was incorrectly insta lled
*** or that you have moved LIBMCRYPT since it was installed. In the latter case, you
*** may want to edit the libmcrypt-config script: no
**************************************************************
MCRYPT LIBRARY (libmcrypt) COULD NOT BE LOCATED...
The mcrypt library could not be located on your system. This
means that you will NOT be able to use any crypto algorithms
in the NSCA client or daemon.
Read the SECURITY text file for more information on why
encryption is important to ensuring that the NSCA daemon is
not abused by malicious users.
You can download libmcrypt from:
http://mcrypt.sourceforge.net/
NOTE: After you install the MCRYPT library on your system:
1. Make sure /etc/ld.so.conf has an entry for the
directory in which the MCRYPT library is installed.
2. Run 'ldconfig' to update the run-time linker options.
3. Run 'make devclean' in the NSCA distribution to clean
out any old references to your previous compile.
4. Rerun the configure script.
**************************************************************
checking for perl... /usr/bin/perl
configure: creating ./config.status
config.status: creating Makefile
config.status: creating subst
config.status: creating src/Makefile
config.status: creating include/config.h
*** Configuration summary for nsca 2.7.2 07-03-2007 ***:
General Options:
-------------------------
NSCA port: 5667
NSCA user: nagios
NSCA group: nagios
Review the options above for accuracy. If they look okay,
type 'make all' to compile the NSCA daemon and client.
cd ./src/; make all ; cd ..
make[1]: Entering directory `/tmp/linux-nrpe-agent/subcomponents/nsca/nsca-2.7.2 /src'
gcc -g -O2 -DHAVE_CONFIG_H -o nsca nsca.c netutils.c utils.c -lnsl -lwrap
gcc -g -O2 -DHAVE_CONFIG_H -o send_nsca send_nsca.c netutils.c utils.c -lnsl
make[1]: Leaving directory `/tmp/linux-nrpe-agent/subcomponents/nsca/nsca-2.7.2/ src'
*** Compile finished ***
If the compile finished without any errors, you should
find client and server binaries in the src/ subdirectory.
Read the README file for more information on installing
the binaries, creating configuration files, and using
the server and client.
Stopping xinetd: [ OK ]
Starting xinetd: [ OK ]
NSCA-POST
real 0m18.871s
user 0m5.818s
sys 0m12.589s
INSTALLING EXTRA PLUGINS...
real 0m0.081s
user 0m0.004s
sys 0m0.021s
sed: can't read /etc/xinetd.d/nrpe: No such file or directory
Allow from:
################################################################################
### ###
### NRPE is currently set to allow connections only from these IP addresses: ###
### ###
### ###
### ###
### If you would like to change this list, enter all IP addresses to allow, ###
### separated by spaces only, and then press Enter. ###
### (Put the address(es) of your Nagios XI servers(s) here.) ###
### ###
################################################################################
192.168.1.10
sed: can't read /etc/xinetd.d/nrpe: No such file or directory
Stopping xinetd: [ OK ]
Starting xinetd: [ OK ]
A-subcomponents appears to have already completed successfully. Moving on to the next step.
################################################################################
### ###
### Nagios XI Linux Agent Installation Complete! ###
### ###
################################################################################
If you experience any problems, please attach the file logs-all-steps-1334783856 .tar.gz that was just created to any support requests.