Page 1 of 2

Compiling nrpe on AIXv6.1

Posted: Fri Mar 15, 2013 1:58 pm
by akrishnan
Hello,

I downloaded nrpe-2.4. I am trying to compile the code on AIX platform (AIX 6.1-TL7-SP5). During the execution of "configure" command, I am seeing an issue which is pasted below:

*** Generating DH Parameters for SSL/TLS ***
Generating DH parameters, 512 bit long safe prime, generator 2
This is going to take a long time
...+.............................+......+........................+.................................
...+......................................+...+.+..................................................
...+...........+................................+......................................+...........
.+............+......+.............................................................................
........................................+...........+..........................................+...
..+......+...+.....................................................................................
..+..............+..................+...+..........................................................
..........+.................................................+........++*++*++*++*++*++*
checking for Kerberos include files... could not find include files


Server (where nrpe is being compiled) enviroment details:
Actually the Kerberos related files are already installed in the server and their paths are:
#ls /usrkrb5/lib/
libgssapi_krb5.a libk5profile.a libkdb5.a libksvc.a
libgssrpc.a libkadm5clnt.a libkrb5.a libss.a


#ls /usrkrb5/bin
kdestroy kinit klist kpasswd ksu kvno

#ls /usrkrb5/sbin
config.krb5 kadmin ksetup ktutil setpagname start.krb5 stop.krb5 unconfig.krb5


Given the above details, I would like to know what config changes need to be applied for a successful run of "configure"? Please let me know if there is any available information on the HowTo compile nrpe on AIX platform?

Any help is appreciated.

Thanks.
Krishnan.

Re: Compiling nrpe on AIXv6.1

Posted: Fri Mar 15, 2013 2:05 pm
by abrist
You may want to add those directories to your $PATH.

Code: Select all

export PATH =$PATH:/usrkrb5/bin:/usrkrb5/lib/:/usrkrb5/sbin

Re: Compiling nrpe on AIXv6.1

Posted: Fri Mar 15, 2013 2:31 pm
by akrishnan
I did those directories to the $PATH. I also added the directory "/usr/include/openssl" to the $PATH. I am still having the same issue (pasted below). Wondering if anyone can let me know what header files are needed now.

checking for SSL libraries... SSL libraries found in /usr/lib

*** Generating DH Parameters for SSL/TLS ***
Generating DH parameters, 512 bit long safe prime, generator 2
This is going to take a long time
...................+..............+.........................+......+...........................
....................+......+.....................................................+..+..........
.........+....+.......................+........................................................
.+..........................+........................+...................+.....................
............................................++*++*++*++*++*++*
checking for Kerberos include files... could not find include files
checking for perl... /bin/perl
configure: creating ./config.status


Thanks.

Re: Compiling nrpe on AIXv6.1

Posted: Fri Mar 15, 2013 2:37 pm
by abrist
Have you installed the kerberos header/devel files? We do not have an AIX server in the office to test against, so I will do what I can with google, but I will not be able to reproduce the problem.

Re: Compiling nrpe on AIXv6.1

Posted: Fri Mar 15, 2013 3:05 pm
by akrishnan
Thanks for your reply. You are correct. Only the krb5_client.rte is installed. If I install the development libraries and compile the nrpe executables, Would it be possible to copy the nrpe executable to another server (I am little hesitant to change the software environment in the production server)? Thanks once again.

Re: Compiling nrpe on AIXv6.1

Posted: Fri Mar 15, 2013 3:38 pm
by abrist
You should be able to copy the binary over - you will need the init-script and configs as well. You will also need to install ssl on the box if it does not have it already.
Alternatively, you could make all, and then copy the source directory over and "make install", which will install the binary. (this will still require ssl though)

Re: Compiling nrpe on AIXv6.1

Posted: Fri Mar 15, 2013 5:25 pm
by akrishnan
Appears to me that the AIX (6.1) release DVDs don't have the development and libs packages for krb5. SSL is not a problem. Is there a website that hosts these ones? Thanks once again.

Re: Compiling nrpe on AIXv6.1

Posted: Mon Mar 18, 2013 10:07 am
by slansing
You should be able to reach them through your package manager, what repo's do you have set up on the server?

Re: Compiling nrpe on AIXv6.1

Posted: Mon Mar 18, 2013 4:32 pm
by akrishnan
Contacted the vendor (IBM). Yet to get their reply.

Re: Compiling nrpe on AIXv6.1

Posted: Tue Mar 19, 2013 9:58 am
by abrist
Fair enough. Many people have compiled nrpe for AIX previously, but I have yet to hear of success, let alone an attempt at building it with kerberos. Best of luck.