Page 1 of 1

NRPE compiling and installing on AIX 7.1

Posted: Fri Feb 28, 2014 2:29 pm
by akrishnan
Hello,

I downloaded the nrpe code (2.15). When I compile and install on AIX (v7.1) platform, which directories are used when "make install" command is executed? I used the defaults. I see the /usr/local/nagios directory being used. Besides this default directory, which are the other directory/directories are used?

Thanks,
Krishnan

Re: NRPE compiling and installing on AIX 7.1

Posted: Fri Feb 28, 2014 3:01 pm
by slansing
/usr/local/nagios is where everything should be installed to.

Re: NRPE compiling and installing on AIX 7.1

Posted: Fri Feb 28, 2014 4:03 pm
by akrishnan
Thanks for the reply. I requested the information since I get a weird error when I start the nrpe deamon. The error message is below:

/etc# exec(): 0509-036 Cannot load program /usr/local/nagios/bin/nrpe because of the following errors:
0509-150 Dependent module /usr/lib/libcrypto.a(libcrypto.so.1.0.1) could not be loaded.
0509-152 Member libcrypto.so.1.0.1 is not found in archive


Please note that I used the following command to start the nrpe daemon:
/usr/local/nagios/bin/nrpe -n -c /usr/local/nagios/nrpe.cfg -d &

Re: NRPE compiling and installing on AIX 7.1

Posted: Fri Feb 28, 2014 4:07 pm
by abrist
Is openSSL installed on this system?

Re: NRPE compiling and installing on AIX 7.1

Posted: Fri Feb 28, 2014 5:08 pm
by akrishnan
Yes. I do have the following packages installed:
openssl.base
openssl.man.en_US
openssl.base
openssh.base.client
openssh.base.server
openssh.man.en_US
openssh.msg.EN_US
openssh.msg.en_US
openssh.base.client
openssh.base.server

Re: NRPE compiling and installing on AIX 7.1

Posted: Mon Mar 03, 2014 10:33 am
by slansing
Can you provide the output of the following if you are running 64 bit:

Code: Select all

ls -la /lib64/libcrypt*
ls -la /usr/lib64/libcrypt*
ls -la /usr/lib64/.libcrypt*
ls -la /lib64/.libcrypt*
Or if you are running 32 bit:

Code: Select all

ls -la /lib/libcrypt*
ls -la /usr/lib/libcrypt*
ls -la /usr/lib/.libcrypt*
ls -la /lib/.libcrypt*

Re: NRPE compiling and installing on AIX 7.1

Posted: Mon Mar 03, 2014 5:29 pm
by akrishnan
AIXv7.x is 64 bit kernel but has 32 bit related libraries too:

/home/root# ls -la /lib64/libcrypt*
ls: 0653-341 The file /lib64/libcrypt* does not exist.

/home/root# ls -la /usr/lib64/libcrypt*
ls: 0653-341 The file /usr/lib64/libcrypt* does not exist.


/home/root# ls -la /lib64/.libcrypt*
ls: 0653-341 The file /lib64/.libcrypt* does not exist.


/home/root# ls -la /lib64/.libcrypt*
ls: 0653-341 The file /lib64/.libcrypt* does not exist.


For the 32bit part:
/home/root# ls -la /lib/libcrypt*
-r-xr-xr-x 1 bin bin 11575 Apr 12 2011 /lib/libcrypt.a
-r-xr-xr-x 1 root system 5184466 Mar 12 2013 /lib/libcrypto.a


/home/root# ls -la /usr/lib/libcrypt*
-r-xr-xr-x 1 bin bin 11575 Apr 12 2011 /usr/lib/libcrypt.a
-r-xr-xr-x 1 root system 5184466 Mar 12 2013 /usr/lib/libcrypto.a

/home/root# ls -la /usr/lib/.libcrypt*
ls: 0653-341 The file /usr/lib/.libcrypt* does not exist.

/home/root# ls -la /lib/.libcrypt*
ls: 0653-341 The file /lib/.libcrypt* does not exist.

Re: NRPE compiling and installing on AIX 7.1

Posted: Tue Mar 04, 2014 10:32 am
by slansing
Hmm, lets do the following next:

Use your favorite package manager on the AIX server to remote openssh, and openssl-devel, and then re-install them. Make sure they install with no errors, and then recompile NRPE for good measure, this time, please record all the commands you run, and the directories you are in so we can see how you are doing it.

Re: NRPE compiling and installing on AIX 7.1

Posted: Fri Sep 26, 2014 12:18 pm
by abrist
Locking due to necros.