AIX ver 7.1

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
cmontalvo80
Posts: 4
Joined: Thu Apr 13, 2017 11:02 am

AIX ver 7.1

Post by cmontalvo80 »

Moderator Edit: This thread has been split from another - https://support.nagios.com/forum/viewto ... f=6&t=8979
In the future, please create a new thread and link to the old one instead of adding on.


Hi Everyone, not sure if anyone here is still available to maybe help me out with and issue I'm coming across in trying to compile and install NRPE version: nrpe-3.1.0. Here are the steps I have followed so far, my environment and the issues I'm coming across:

Environment:
AIX 7.1

Code: Select all

 oslevel -s
7100-04-03-1642
Accomplished so far:
So far I successfully installed Nagios Plugin version 2.2.0. The next step in the documentation I'm following is to install the NRPE (https://github.com/NagiosEnterprises/nr ... s/NRPE.pdf)

Issue:
I've attempted to run the ./configure command with different parameters. The latest I tried was the following:

Code: Select all

./configure --enable-command-args
I'm including a document of the output from this command
Once that runs successfully, I am attempting to either run:

Code: Select all

make all
OR

Code: Select all

make nrpe
This is where I come across an issue. I am including the output from the make call, it has the same problem with both make calls I've attempted, the main source of the problem seems to happen within the utils.c code:
./utils.c:479:51: error: 'O_NOFOLLOW' undeclared (first use in this function)
if ((fh = open(log_file, O_RDWR|O_APPEND|O_CREAT|O_NOFOLLOW, S_IRUSR|S_IWUSR|S_IRGRP|S_IROTH)) == -1) {
^
./utils.c:479:51: note: each undeclared identifier is reported only once for each function it appears in
make: The error code from the last command is 1.


Stop.
make: The error code from the last command is 2.


Stop.
You do not have the required permissions to view the files attached to this post.
jfrickson

Re: AIX ver 7.1

Post by jfrickson »

The problem with O_NOFOLLOW has been fixed in the "maint" branch. Try https://github.com/NagiosEnterprises/nr ... int.tar.gz and see if that works.
cmontalvo80
Posts: 4
Joined: Thu Apr 13, 2017 11:02 am

Re: AIX ver 7.1

Post by cmontalvo80 »

Post by jfrickson » Fri Apr 21, 2017 8:55 am

The problem with O_NOFOLLOW has been fixed in the "maint" branch. Try https://github.com/NagiosEnterprises/nr ... int.tar.gz and see if that works.
Thanks so much for your help! That allowed me to get past this issue.
User avatar
cdienger
Support Tech
Posts: 5045
Joined: Tue Feb 07, 2017 11:26 am

Re: AIX ver 7.1

Post by cdienger »

Glad to hear. Did you have any additional questions?
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
cmontalvo80
Posts: 4
Joined: Thu Apr 13, 2017 11:02 am

Re: AIX ver 7.1

Post by cmontalvo80 »

Post by cdienger » Fri Apr 21, 2017 11:09 am

Glad to hear. Did you have any additional questions?
I do but I've created a new thread for it: https://support.nagios.com/forum/viewto ... =6&t=43577
Locked