[Nagios-devel] Some errors with SIGSEGV

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

[Nagios-devel] Some errors with SIGSEGV

Post by Guest »

This is a multipart message in MIME format.
--=_alternative 002951E1C1257299_=
Content-Type: text/plain; charset="US-ASCII"

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 errors all happened on a Debian Sarge 32Bit Version with the Kernel
2.6.20.1


Thanks in advance,
FliTTi
--=_alternative 002951E1C1257299_=
Content-Type: text/html; charset="US-ASCII"


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])         &

...[email truncated]...


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