Page 1 of 1

Error install XI 5.5.8 in Centos

Posted: Tue Jul 30, 2019 10:00 am
by elade
Hi,

I’m trying to install XI 5.5.8 on Centos release 6.6 (Final) and I have the following errors:
cd ./src/; make
make[1]: Entering directory `/tmp/nagiosxi/subcomponents/nrpe/nrpe-3.2.1/src'
gcc -g -O2 -I/usr/include/krb5 -DHAVE_CONFIG_H -I ../include -I ./../include -o nrpe ./nrpe.c ./utils.c ./acl.c -lssl -lcrypto -lnsl
gcc -g -O2 -I/usr/include/krb5 -DHAVE_CONFIG_H -I ../include -I ./../include -o check_nrpe ./check_nrpe.c ./utils.c -lssl -lcrypto -lnsl
./nrpe.c: In function ‘init_ssl’:
./nrpe.c:456: warning: assignment makes pointer from integer without a cast
/tmp/ccpQQoy3.o: In function `init_ssl':
/tmp/nagiosxi/subcomponents/nrpe/nrpe-3.2.1/src/./nrpe.c:456: undefined reference to `get_dh2048'
collect2: ld returned 1 exit status
make[1]: *** [nrpe] Error 1
make[1]: Leaving directory `/tmp/nagiosxi/subcomponents/nrpe/nrpe-3.2.1/src'
make: *** [all] Error 2
ERROR: Subcomponent 'nrpe' installation failed - exiting.
Subcomponents installation failed - exiting
RESULT=1
The error appear in A-subcomponents
Any idea?

Re: Error install XI 5.5.8 in Centos

Posted: Tue Jul 30, 2019 10:10 am
by lmiltchev
Please post the entire install.log on the forum.

Is there a reason why you are installing XI 5.5.8? The latest version is 5.6.5... There are many bug fixes and added functionality in the newer versions of XI.

Re: Error install XI 5.5.8 in Centos

Posted: Tue Jul 30, 2019 11:16 am
by elade
I took you'r advice and install XI 5.6.5 still the same error.

Re: Error install XI 5.5.8 in Centos

Posted: Tue Jul 30, 2019 1:38 pm
by lmiltchev
Hmm, for some reason NRPE failed to compile. I wonder if you are using a "non-default" version of openssl or you are missing the openssl-devel package... Can you run the following command and show the output?

Code: Select all

yum list installed | grep ssl

Re: Error install XI 5.5.8 in Centos

Posted: Wed Jul 31, 2019 12:51 am
by elade
mod_ssl.x86_64 1:2.2.15-39.el6.centos @base
openssl.x86_64 1.0.1e-30.el6_6.2 @updates
openssl-devel.x86_64 1.0.1e-30.el6_6.2 @updates

Re: Error install XI 5.5.8 in Centos

Posted: Wed Jul 31, 2019 9:40 am
by lmiltchev
The version of openssl that you are using is kind of old. It's also strange that it is from the @updates repo... It's usually provided by the base repo.

Is this a "clean" system or you modified it somehow? Can you think of any configuration/customization that was done to it?

Try upgrading your system:

Code: Select all

yum update -y
then attempt installing Nagios XI. Post the new install.log in case it fails again.

Re: Error install XI 5.5.8 in Centos

Posted: Sun Aug 04, 2019 8:46 am
by elade
Hi,

You can close this topic I reinstall the server adn install new Nagios XI.
Thank you!

Re: Error install XI 5.5.8 in Centos

Posted: Mon Aug 05, 2019 8:26 am
by scottwilkerson
elade wrote:Hi,

You can close this topic I reinstall the server adn install new Nagios XI.
Thank you!
Great!

Locking