Re: [Nagios-devel] ndoutils segfault

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
Guest

Re: [Nagios-devel] ndoutils segfault

Post by Guest »

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1



Am 23.07.2009 10:59 Uhr, schrieb Jelle Smet:
> Hi all,
>
> I'm trying to get ndoutils working. I'm compiling from source but I keep
> getting a segfault.
>
> My platform: sles 10 SP2 x86_64
>

cut off

> nagios: ndomod: Successfully flushed 73 queued items to data sink.
> kernel: ndo2db[12491]: segfault at 00007fffe1fa8ff0 rip 00002b44c8b69d0d
> rsp 00007fffe1fa8fc0 error 6
> nagios: ndomod: Error writing to data sink! Some output may get lost...
>
> It appears to be a known issue here and there, but suggested solution
> was to compile against /usr/lib64/mysql if you're running 64bit, but
> it's not a solution for me.
>
> Anyone an idea?

ndo2db shouldn't segfault and runs fine on my 64bit system (Debian 5,
MySQL 5.s.th).

Could you please run a short session with gdb?

gdb --args /path/to/ndoutils-1.4b8/src/ndo2db-3x -c
/path/to/nagios/etc/ndo2db.cfg

Within gdb type 'r'
Wait until the segfault occurs and now type 'bt'
'k' to kill the program
'q' to exit gdb

Please post the output on list.

- -
Hendrik
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Darwin)

iEYEARECAAYFAkpoddMACgkQlI0PwfxLQjmIlQCggIJCvkEKSZbfW1qTWzVDEFOl
SaQAn0J14CBFVkrxzpvHxN+aEQqO0wcU
=DwVE
-----END PGP SIGNATURE-----





This post was automatically imported from historical nagios-devel mailing list archives
Original poster: [email protected]
Locked