Compiling nrpe on AIXv6.1
Compiling nrpe on AIXv6.1
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.
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
You may want to add those directories to your $PATH.
Code: Select all
export PATH =$PATH:/usrkrb5/bin:/usrkrb5/lib/:/usrkrb5/sbinFormer 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: Compiling nrpe on AIXv6.1
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.
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
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.
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: Compiling nrpe on AIXv6.1
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
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)
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)
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: Compiling nrpe on AIXv6.1
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.
-
slansing
- Posts: 7698
- Joined: Mon Apr 23, 2012 4:28 pm
- Location: Travelling through time and space...
Re: Compiling nrpe on AIXv6.1
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
Contacted the vendor (IBM). Yet to get their reply.
Re: Compiling nrpe on AIXv6.1
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.
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.