Nagios/Plugins on AIX 5.2 - reply
Chrietzberg, Aletha
Alethad at unch.unc.edu
Thu Dec 8 16:28:00 CET 2005
Got it.
Here's what I'm getting now.
----------------------------------------------------------------------------
------------------
$ make all
cd ./base && make
gcc -O2 -I/usr/local/lib -D_ALL_SOURCE -D_ANSI_C_SOURCE
-D_POSIX_SOURCE -qmaxmem=16384 -qnoansialias -DUSE_NATIVE_DLOPEN
-DNEED_PTHREAD_INIT -q32 -D_LARGE_FILES -qlonglong
-I/usr/opt/perl5/lib/5.8.0/aix-thread-multi/CORE -DHAVE_CONFIG_H -DNSCORE
-c broker.c
gcc: unrecognized option `-qmaxmem=16384'
gcc: unrecognized option `-qnoansialias'
gcc: unrecognized option `-q32'
gcc: unrecognized option `-qlonglong'
In file included from ../include/config.h:228,
from broker.c:26:
/usr/include/pthread.h:556: error: parse error before '*' token
/usr/include/pthread.h:559: error: parse error before '*' token
/usr/include/pthread.h:563: error: parse error before '*' token
/usr/include/pthread.h:566: error: parse error before '*' token
/usr/include/pthread.h:569: error: parse error before '*' token
/usr/include/pthread.h:572: error: parse error before '*' token
/usr/include/pthread.h:575: error: parse error before '*' token
/usr/include/pthread.h:578: error: parse error before '*' token
/usr/include/pthread.h:581: error: parse error before '*' token
/usr/include/pthread.h:585: error: parse error before '*' token
/usr/include/pthread.h:588: error: parse error before '*' token
In file included from broker.c:27:
../include/common.h:31:1: unterminated #ifdef
In file included from ../include/nagios.h:26,
from broker.c:29:
../include/common.h:31:1: unterminated #ifdef
In file included from ../include/objects.h:31,
from ../include/nagios.h:28,
from broker.c:29:
../include/common.h:31:1: unterminated #ifdef
make: 1254-004 The error code from the last command is 1.
Stop.
----------------------------------------------------------------------------
-----------------------
I edited common.h as your notes instruct. I haven't changed anything else
in it.
Are the gcc errors something I can correct or ignore?
Any suggestions on the the pthread header?
-----Original Message-----
From: Charles Dee Rice [mailto:cdrice at pobox.com]
Sent: Wednesday, December 07, 2005 5:41 PM
To: Chrietzberg, Aletha
Subject: RE: Nagios/Plugins on AIX 5.2 - reply
I've attached two files --
install-notes-aix-server.txt
install-logs-aix-server.txt
I converted them to DOS format (CR+LF), since I didn't know if your mail
client is on a PC.
The "notes" file is a crib sheet listing the commands and configuration
options I used when building the components on AIX and Linux. I've hidden
hostnames and internal network info with X's. Note that I have moved around
a few things from the standard installation model, so be sure to "un-modify"
things before you cut-and-paste anything from here. :)
I also change the nagios user and group to "infr", an internal account we
use
here for non-privlidged sysadmin tasks.
All the RPMs I refer to are the IBM-supplied RPMS for AIX52 as part of the
Linux Affinity project. Let me know if you don't have the URL and I'll send
you the link.
We are in the process updating our SSL libs here, so you'll see some notes
about things to change for different versions of SSL. Take whatever actions
are appropriate for your libraries.
Some of the mkitab lines only apply if you are not using tcpwrappers. If
you
are using tcpwrappers, configure nrpe and ncsu through tcpwrappers.
In the log file, you'll see the command lines are truncated because they are
a literal cut-and-paste from the xterm windows where I ran the commands,
rather than scripts generated by the script command.
Let me know if you have questions or are still having trouble!
- Chuck
--- "Chrietzberg, Aletha" <Alethad at unch.unc.edu> wrote:
> Hey Chuck,
> Yes, I'm still having trouble.
> That would be awesome if you have any notes. I'll take anything I can get
> my hands on at this point. I'm trying to install the Nagios and the
> plugins.
>
> Which version of Nagios did you install? 1.2 or 2.0b4?
> Just send me whatever you can.
>
> Thanks.
>
> Never let the fear of striking out get in your way.
> Babe Ruth
>
>
> Aletha D Chrietzberg
> UNC Healthcare
> ISD - AIX Tech Services
> (919) 966-4888
>
>
>
> -----Original Message-----
> From: Charles Dee Rice [mailto:cdrice at pobox.com]
> Sent: Wednesday, December 07, 2005 3:10 PM
> To: Alethad at unch.unc.edu
> Subject: Nagios/Plugins on AIX 5.2
>
>
>
> Hi, this is Chuck in Apache Junction, AZ. I saw a recent post you sent to
> the nagios-users mailing list concerning having some trouble building
> nagios
> on AIX 5.2.
>
> I have nagios, nagios-plugins, nrpe and ncsa all built on AIX 5.2 ML04
with
> detailed notes and build logs -- I'd be happy to send them to you if
you're
> still having trouble.
>
> Drop me a note or give me a call at 480-235-8069 if you want.
>
> - Chuck
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.
::: Messages without supporting info will risk being sent to /dev/null
More information about the Users
mailing list