NRPE on IA64-linux
Mooney, Ryan
ryan.mooney at pnl.gov
Fri Apr 9 18:09:49 CEST 2004
Err, umm if your getting IA32 syscalls you have IA32 code.
Check the resulting NRPE binary to make sure that it is IA64
Try running "file /?path?/nrpe" where ?path? is the path to
where you installed nrpe.
The output should look something like:
ELF 64-bit LSB executable, IA-64, version 1, dynamically linked
(uses shared libs), not stripped
If its IA32 you will see something like
ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), for
GNU/Linux 2.2.5, dynamically linked (uses shared libs), not stripped
If your getting IA32 code then you need to check your compiler tool
chain. IA32 runs several times slower on IA64 than native code (and
yes there is an IA32 compat for IA64 regardless of what the gelato
page says, the compat libs are part of the x86-compat-libs package).
> -----Original Message-----
> From: Taiji Otsuki [mailto:otsuki at x-trans.jp]
> Sent: Thursday, April 08, 2004 4:22 PM
> To: nagios-users at lists.sourceforge.net
> Subject: Re: [Nagios-users] NRPE on IA64-linux
>
>
> Thanks, Andreas
>
>
> > Taiji Otsuki wrote:
> > > Hi all,
> > >
> > > Is there anyone who has experienced successfuly installed nrpe
> > > daemon in IA64-Linux(Itanium2) ? The OS is Redhat
> Enterprise Linux
> > > AS3.0. After I complied and installed the nrpe daemon first with
> > > --enable-commands-args option, I started nrpe daemon like below.
> (snip)
> > > However, lot's of same messages appeared in the IA-64's
> > > /var/log/messages,
> > > ---------------------------------------------------------------
> > > kernel : IA32 syscall #252 issued, maybe we should implement it.
> > > ---------------------------------------------------------------
> >
> > Syscall #252 is the asm function exit_group (which is
> undocumented but
> > called when a process group leader is created or exits).
> > To get around this, you either need to update your kernel
> to one that
> > better supports the 64-bit architecture (2.6.x is working
> hard on this)
> > or modify nrpe to utilize pthread_create() instead of fork().
> Unfortunately, this time I have no privilege to update this
> server's kernel. So, I would like to try the latter one....
>
>
> > If you go with the latter solution, you will need the posix-threads
> > library (-lpthread), which should be included by default
> with any linux
> > distro worth mentioning. NRPE is actually pretty nicely
> suited to do
> > this (since it handles everything in handle_connection(),
> as opposed to
> > serializing a bunch of function calls).
> Sounds fine! How should I edit some nrpe source files? Could you give
> me some other clues?
>
>
> > > Normally, it is said IA-64 system needs IA-32 Execution Layer or
> > > something emulation software to run IA-32 application.
> How can I run
> > > NRPE daemon propperly in the IA64-Linux? Are there any compiling
> > > option or patches available?
> > >
> > Tha IA-32 execution layer for Linux doesn't seem to be
> about any time
> > soon, according to this.
> > http://www.gelato.unsw.edu.au/linux-ia64/0309/6649.html
> Thanks this info.
>
>
>
>
> > --
> > Mvh / Best Regards
> > Sourcerer / Andreas Ericsson
> > OP5 AB
> > +46 (0)733 709032
> > andreas.ericsson at op5.se
> >
>
>
> X----------------------------------------X
> Taiji Otsuki <otsuki at x-trans.jp>
> X----------------------------------------X
>
>
>
>
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by: IBM Linux Tutorials
> Free Linux tutorial presented by Daniel Robbins, President and CEO of
> GenToo technologies. Learn everything from fundamentals to system
> administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&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
>
-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id70&alloc_id638&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