Error install XI 5.5.8 in Centos

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
elade
Posts: 144
Joined: Wed Mar 28, 2018 6:23 am

Error install XI 5.5.8 in Centos

Post 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?
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Error install XI 5.5.8 in Centos

Post 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.
Be sure to check out our Knowledgebase for helpful articles and solutions!
elade
Posts: 144
Joined: Wed Mar 28, 2018 6:23 am

Re: Error install XI 5.5.8 in Centos

Post by elade »

I took you'r advice and install XI 5.6.5 still the same error.
You do not have the required permissions to view the files attached to this post.
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Error install XI 5.5.8 in Centos

Post 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
Be sure to check out our Knowledgebase for helpful articles and solutions!
elade
Posts: 144
Joined: Wed Mar 28, 2018 6:23 am

Re: Error install XI 5.5.8 in Centos

Post 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
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Error install XI 5.5.8 in Centos

Post 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.
Be sure to check out our Knowledgebase for helpful articles and solutions!
elade
Posts: 144
Joined: Wed Mar 28, 2018 6:23 am

Re: Error install XI 5.5.8 in Centos

Post by elade »

Hi,

You can close this topic I reinstall the server adn install new Nagios XI.
Thank you!
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Error install XI 5.5.8 in Centos

Post by scottwilkerson »

elade wrote:Hi,

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

Locking
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Locked