<br><font size=2 face="sans-serif">If I'm running Nagios 3.0a1 it crashes
always after a few seconds. </font>
<br>
<br><font size=2 face="sans-serif">In the log I only found:</font>
<br>
<table border width=100%>
<tr valign=top>
<td width=100%><font size=2><tt>Mar  8 15:35:18 nagios: Nagios 3.0a1
starting... (PID=24492)<br>
Mar  8 15:35:18 nagios: LOG VERSION: 2.0<br>
Mar  8 15:35:18 nagios: Finished daemonizing... (New PID=24493)<br>
Mar  8 15:35:28 nagios: HOST ALERT: localhost;UP;SOFT;2;PING OK -
Packet loss = 0%, RTA = 0.05 ms</tt></font><a href="http://dict.leo.org/ende?lp=ende&p=/gQPU.&search=always"></a></table>
<br>
<br><font size=2 face="sans-serif">Here the last signs of life captured
by strace:</font>
<br>
<table border width=100%>
<tr valign=top>
<td width=100%><font size=2><tt>rename("/usr/local/nagios/var/nagios.tmpNdmpn0",
"/usr/local/nagios/var/status.dat") = 0<br>
gettimeofday({1173359616, 173629}, NULL) = 0<br>
time([1173359616])                
     = 1173359616<br>
gettimeofday({1173359616, 173998}, NULL) = 0<br>
time([1173359616])                
     = 1173359616<br>
gettimeofday({1173359616, 174363}, NULL) = 0<br>
gettimeofday({1173359616, 174552}, NULL) = 0<br>
time([1173359616])                
     = 1173359616<br>
gettimeofday({1173359616, 174968}, NULL) = 0<br>
time([1173359616])                
     = 1173359616<br>
time([1173359616])                
     = 1173359616<br>
gettimeofday({1173359616, 175746}, NULL) = 0<br>
umask(077)                  
           = 02<br>
gettimeofday({1173359616, 176092}, NULL) = 0<br>
getpid()                  
             = 3459<br>
open("/tmp/nagiosYBuC2d", O_RDWR|O_CREAT|O_EXCL, 0600) = 7<br>
fcntl64(7, F_GETFL)                
    = 0x2 (flags O_RDWR)<br>
fstat64(7, {st_mode=S_IFREG|0600, st_size=0, ...}) = 0<br>
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,
0) = 0xb7fcf000<br>
_llseek(7, 0, [0], SEEK_CUR)            =
0<br>
umask(02)                  
            = 077<br>
gettimeofday({1173359616, 177807}, NULL) = 0<br>
time([1173359616])                
     = 1173359616<br>
clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD,
child_tidptr=0xb7e610c8) = 3467<br>
--- SIGCHLD (Child exited) @ 0 (0) ---<br>
close(7)                  
             = 0<br>
munmap(0xb7fcf000, 4096)              
 = 0<br>
waitpid(3467, NULL, 0)              
   = 3467<br>
time([1173359616])                
     = 1173359616<br>
time(NULL)                  
           = 1173359616<br>
gettimeofday({1173359616, 183489}, NULL) = 0<br>
gettimeofday({1173359616, 183686}, NULL) = 0<br>
nanosleep({0, 250000000}, 0)            =
? ERESTART_RESTARTBLOCK (To be restarted)<br>
+++ killed by SIGSEGV +++</tt></font></table>
<br>
<br><font size=2 face="sans-serif">This error captured bei gdb</font>
<br>
<table border width=100%>
<tr valign=top>
<td width=100%><font size=2><tt>nagios1:/usr/local/nagios/bin# gdb nagios<br>
GNU gdb 6.3-debian<br>
Copyright 2004 Free Software Foundation, Inc.<br>
GDB is free software, covered by the GNU General Public License, and you
are<br>
welcome to change it and/or distribute copies of it under certain conditions.<br>
Type "show copying" to see the conditions.<br>
There is absolutely no warranty for GDB.  Type "show warranty"
for details.<br>
This GDB was configured as "i386-linux"...Using host libthread_db
library "/lib/tls/libthread_db.so.1".<br>
<br>
(gdb) r /usr/local/nagios/etc/nagios.cfg<br>
Starting program: /usr/local/nagios/bin/nagios /usr/local/nagios/etc/nagios.cfg<br>
[Thread debugging using libthread_db enabled]<br>
[New Thread -1209560960 (LWP 931)]<br>
<br>
Nagios 3.0a1<br>
Copyright (c) 1999-2007 Ethan Galstad (http://www.nagios.org)<br>
Last Modified: 03-06-2007<br>
License: GPL<br>
<br>
Nagios 3.0a1 starting... (PID=931)<br>
[New Thread -1209775184 (LWP 934)]<br>
[New Thread -1218163792 (LWP 935)]<br>
<br>
Program received signal SIGSEGV, Segmentation fault.<br>
[Switching to Thread -1218163792 (LWP 935)]<br>
0xb7eed215 in mallopt () from /lib/tls/libc.so.6<br>
(gdb) bt<br>
#0  0xb7eed215 in mallopt () from /lib/tls/libc.so.6<br>
#1  0xb7eebf02 in realloc () from /lib/tls/libc.so.6<br>
#2  0x0807785e in dbuf_strcat (db=0x80c6680,<br>
    buf=0xb76448c0 "1=1\n2=localhost\n3=\n4=0\n5=1\n6=1\n7=/tmp/nagiosUJ95U0\n8=nan\n9=1173431091.188930\n10=1173431095.208425\n11=0\n12=1\n13=0\n\n")<br>
    at utils.c:4924<br>
#3  0x08077d70 in check_result_worker_thread (arg=0x0) at utils.c:5373<br>
#4  0xb7fb6b63 in start_thread () from /lib/tls/libpthread.so.0<br>
#5  0xb7f5218a in clone () from /lib/tls/libc.so.6</tt></font></table>
<br>
<br>
<br>
<br><font size=2 face="sans-serif">This errors all happened on a Debian
Sarge 32Bit Version with the Kernel  2.6.20.1</font>
<br>
<br><font size=2 face="sans-serif"><br>
Thanks in advance,</font>
<br><font size=2 face="sans-serif">FliTTi</font>