Still problems with Nagios 2.9 and NDO under Solaris 8

Masopust, Christian christian.masopust at siemens.com
Fri Sep 14 12:49:06 CEST 2007


> > i'm still having problems with ndoutils under Solaris 9.
> >  
> > When i'm activating it (event_broker_options=-1) in nagios.cfg
> > my nagios won't start anymore !!   it always stops with a 
> segmentation fault!
> >  
> > here's the traceback of the dump:
> >  
> > (gdb) bt
> > #0  0xff1b3288 in strlen () from /usr/lib/libc.so.1
> > #1  0xff10bcbc in ndo_escape_buffer (buffer=Cannot access 
> memory at address 0x44
> > ) at io.c:424
> > #2  0xff104788 in ndomod_write_object_config 
> (config_type=1) at ndomod.c:3183
> > #3  0xff103d30 in ndomod_write_config (config_type=1) at 
> ndomod.c:2999
> > #4  0xff103b44 in ndomod_broker_data (event_type=7, 
> data=0xffbef954) at ndomod.c:2940
> > #5  0x0001d038 in neb_make_callbacks ()
> > #6  0x0001ca38 in broker_program_state ()
> > #7  0x0001b67c in main ()
> > 
> > is there anyone who could shed a little lite on this ??
> >  
> 
> Not really. The program receives a SIGSEGV in 
> ndo_escape_buffer because it gets
> passed an invalid pointer (memory address 0x44 is not 
> available to programs).
> 
> Why it gets passed a bogus address on Solaris is a mystery to me, as
> contact_struct->name is located at relative address 0 within 
> the contact_struct
> data structure (unless your compiler re-arranges it ofcourse).
> 
Hello Andreas,

that's real funny.... i tried yesterday the same sources on a RHEL 4
system and it works perfectly !

and also funny is that the SIGSEGV on Solaris 8 is there whether i
compile Nagios and NDO with gcc (4.1.2) or Sun-Studio 11 ...

isn't there anyone who also has Nagios running on Solaris 8 ??  :-))

christian

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/




More information about the Developers mailing list