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
NRPE compiling and installing on AIX 7.1
-
slansing
- Posts: 7698
- Joined: Mon Apr 23, 2012 4:28 pm
- Location: Travelling through time and space...
Re: NRPE compiling and installing on AIX 7.1
/usr/local/nagios is where everything should be installed to.
Re: NRPE compiling and installing on AIX 7.1
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 &
/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
Is openSSL installed on this system?
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
Re: NRPE compiling and installing on AIX 7.1
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
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
-
slansing
- Posts: 7698
- Joined: Mon Apr 23, 2012 4:28 pm
- Location: Travelling through time and space...
Re: NRPE compiling and installing on AIX 7.1
Can you provide the output of the following if you are running 64 bit:
Or if you are running 32 bit:
Code: Select all
ls -la /lib64/libcrypt*
ls -la /usr/lib64/libcrypt*
ls -la /usr/lib64/.libcrypt*
ls -la /lib64/.libcrypt*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
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.
/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.
-
slansing
- Posts: 7698
- Joined: Mon Apr 23, 2012 4:28 pm
- Location: Travelling through time and space...
Re: NRPE compiling and installing on AIX 7.1
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.
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
Locking due to necros.
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.