This is a multipart message in MIME format.
--=_alternative 00260640C12572A6_=
Content-Type: text/plain; charset="US-ASCII"
I compiled nagios on a cleanly system. And I don't use NDOUtils, but this
SIGSEGV happens nevertheless.
What can I do to run nagios.
Thanks in advance
FliTTi
> Message: 8
> Date: Wed, 21 Mar 2007 11:14:33 -0600
> From: Ethan Galstad
> Subject: Re: [Nagios-devel] Some errors with SIGSEGV
> To: Nagios Developers List
> Message-ID:
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>
> [email protected] wrote:
> >
> > If I'm running Nagios 3.0a1 it crashes always after a few seconds.
> >
> > In the log I only found:
> > Mar 8 15:35:18 nagios: Nagios 3.0a1 starting... (PID=24492)
> > Mar 8 15:35:18 nagios: LOG VERSION: 2.0
> > Mar 8 15:35:18 nagios: Finished daemonizing... (New PID=24493)
> > Mar 8 15:35:28 nagios: HOST ALERT: localhost;UP;SOFT;2;PING OK -
Packet
> > loss = 0%, RTA = 0.05 ms
> >
> >
> >
> >
> > Here the last signs of life captured by strace:
> > rename("/usr/local/nagios/var/nagios.tmpNdmpn0",
> > "/usr/local/nagios/var/status.dat") = 0
> > gettimeofday({1173359616, 173629}, NULL) = 0
> > time([1173359616]) = 1173359616
> > gettimeofday({1173359616, 173998}, NULL) = 0
> > time([1173359616]) = 1173359616
> > gettimeofday({1173359616, 174363}, NULL) = 0
> > gettimeofday({1173359616, 174552}, NULL) = 0
> > time([1173359616]) = 1173359616
> > gettimeofday({1173359616, 174968}, NULL) = 0
> > time([1173359616]) = 1173359616
> > time([1173359616]) = 1173359616
> > gettimeofday({1173359616, 175746}, NULL) = 0
> > umask(077) = 02
> > gettimeofday({1173359616, 176092}, NULL) = 0
> > getpid() = 3459
> > open("/tmp/nagiosYBuC2d", O_RDWR|O_CREAT|O_EXCL, 0600) = 7
> > fcntl64(7, F_GETFL) = 0x2 (flags O_RDWR)
> > fstat64(7, {st_mode=S_IFREG|0600, st_size=0, ...}) = 0
> > mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,
> > 0) = 0xb7fcf000
> > _llseek(7, 0, [0], SEEK_CUR) = 0
> > umask(02) = 077
> > gettimeofday({1173359616, 177807}, NULL) = 0
> > time([1173359616]) = 1173359616
> > clone(child_stack=0,
> > flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD,
> > child_tidptr=0xb7e610c8) = 3467
> > --- SIGCHLD (Child exited) @ 0 (0) ---
> > close(7) = 0
> > munmap(0xb7fcf000, 4096) = 0
> > waitpid(3467, NULL, 0) = 3467
> > time([1173359616]) = 1173359616
> > time(NULL) = 1173359616
> > gettimeofday({1173359616, 183489}, NULL) = 0
> > gettimeofday({1173359616, 183686}, NULL) = 0
> > nanosleep({0, 250000000}, 0) = ? ERESTART_RESTARTBLOCK (To
be
> > restarted)
> > +++ killed by SIGSEGV +++
> >
> >
> >
> > This error captured bei gdb
> > nagios1:/usr/local/nagios/bin# gdb nagios
> > GNU gdb 6.3-debian
> > Copyright 2004 Free Software Foundation, Inc.
> > GDB is free software, covered by the GNU General Public License, and
you are
> > welcome to change it and/or distribute copies of it under certain
> > conditions.
> > Type "show copying" to see the conditions.
> > There is absolutely no warranty for GDB. Type "show warranty" for
details.
> > This GDB was configured as "i386-linux"...Using host libthread_db
> > library "/lib/tls/libthread_db.so.1".
> >
> > (gdb) r /usr/local/nagios/etc/nagios.cfg
> > Starting program: /usr/local/nagios/bin/nagios
> > /usr/local/nagios/etc/nagios.cfg
> > [Thread debugging using libthread_db enabled]
> > [New Thread -1209560960 (LWP 931)]
> >
> > Nagios 3.0a1
> > Copyright (c) 1999-2007 Ethan Galstad (http://www.nagios.org)
> > Last Modified: 03-06-2007
> > License: GPL
> >
> > Nagios 3.0a1 starting... (PID=931
...[email truncated]...
This post was automatically imported from historical nagios-devel mailing list archives
Original poster: [email protected]