Nagios on SuSE 8.1 terminates with Segmentation fault

Marc Meessen m.meessen at kiel-montagebau.de
Thu Oct 24 11:17:16 CEST 2002


Hi...

I installed and configured nagios on my SuSE 8.1. But when I try to start 
nagios it won't work. Then I tried nagios -v /etc/nagios/nagios.cfg. I did 
not get an error message, only a Segmentation fault. I tired strace nagios 
-v /etc/nagios/nagios.cfg, and I think the resulting output indicated that 
the segmentation fault occured prior to opening any configuration file.
Below this message is the output of the strace. Could anyone tell me what 
is happening here, and what I should do to correct this issue?


So long,
	     Marc...

---cut---
execve("/usr/sbin/nagios", ["nagios", "-v", "/etc/nagios/nagios.cfg", "2"], 
[/* 51 vars */]) = 0
uname({sys="Linux", node="kmwelx01", ...}) = 0
brk(0)                                  = 0x8090fc4
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 
0x40013000
open("/etc/ld.so.preload", O_RDONLY)    = -1 ENOENT (No such file or 
directory)
open("/usr/lib/perl5/5.8.0/i586-linux-thread-multi/CORE/i686/mmx/libperl  
.so", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/perl5/5.8.0/i586-linux-thread-multi/CORE/i686/mmx", 
0xbfffe94c) = -1 ENOENT (No such file or directory)
open("/usr/lib/perl5/5.8.0/i586-linux-thread-multi/CORE/i686/libperl.so", 
O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/perl5/5.8.0/i586-linux-thread-multi/CORE/i686", 
0xbfffe94c) = -1 ENOENT (No such file or directory)
open("/usr/lib/perl5/5.8.0/i586-linux-thread-multi/CORE/mmx/libperl.so", 
O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/perl5/5.8.0/i586-linux-thread-multi/CORE/mmx", 0xbfffe94c) 
= -1 ENOENT (No such file or directory)
open("/usr/lib/perl5/5.8.0/i586-linux-thread-multi/CORE/libperl.so", 
O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0P\360\1"..., 1024) 
= 1024
fstat64(3, {st_mode=S_IFREG|0555, st_size=1271317, ...}) = 0
mmap2(NULL, 1142720, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x40014000
mprotect(0x4011f000, 49088, PROT_NONE)  = 0
mmap2(0x4011f000, 40960, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 
0x10a) = 0x4011f000
mmap2(0x40129000, 8128, PROT_READ|PROT_WRITE, 
MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x40129000
close(3)                                = 0
open("/usr/lib/perl5/5.8.0/i586-linux-thread-multi/CORE/libnsl.so.1", 
O_RDONLY) = -1 ENOENT (No such file or directory)
open("/etc/ld.so.cache", O_RDONLY)      = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=53904, ...}) = 0
mmap2(NULL, 53904, PROT_READ, MAP_PRIVATE, 3, 0) = 0x4012b000
close(3)                                = 0
open("/lib/libnsl.so.1", O_RDONLY)      = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0P<\0\000"..., 1024) 
= 1024
fstat64(3, {st_mode=S_IFREG|0755, st_size=87569, ...}) = 0
mmap2(NULL, 85024, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x40139000
mprotect(0x4014b000, 11296, PROT_NONE)  = 0
mmap2(0x4014b000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 
0x11) = 0x4014b000
mmap2(0x4014c000, 7200, PROT_READ|PROT_WRITE, 
MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x4014c000
close(3)                                = 0
open("/usr/lib/perl5/5.8.0/i586-linux-thread-multi/CORE/libdl.so.2", 
O_RDONLY) = -1 ENOENT (No such file or directory)
open("/lib/libdl.so.2", O_RDONLY)       = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0`\31\0\000"..., 
1024) = 1024
fstat64(3, {st_mode=S_IFREG|0755, st_size=11832, ...}) = 0
mmap2(NULL, 11544, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x4014e000
mprotect(0x40150000, 3352, PROT_NONE)   = 0
mmap2(0x40150000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 
0x1) = 0x40150000
close(3)                                = 0
open("/usr/lib/perl5/5.8.0/i586-linux-thread-multi/CORE/libm.so.6", 
O_RDONLY) = -1 ENOENT (No such file or directory)
open("/lib/libm.so.6", O_RDONLY)        = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0 at 7\0\000"..., 1024) 
= 1024
fstat64(3, {st_mode=S_IFREG|0755, st_size=176463, ...}) = 0
mmap2(NULL, 140960, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x40151000
mprotect(0x40173000, 1696, PROT_NONE)   = 0
mmap2(0x40173000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 
0x21) = 0x40173000
close(3)                                = 0
open("/usr/lib/perl5/5.8.0/i586-linux-thread-multi/CORE/libpthread.so.0", 
O_RDONLY) = -1 ENOENT (No such file or directory)
open("/lib/libpthread.so.0", O_RDONLY)  = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\300B\0"..., 1024) 
= 1024
fstat64(3, {st_mode=S_IFREG|0755, st_size=106013, ...}) = 0
mmap2(NULL, 85328, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x40174000
mprotect(0x40182000, 27984, PROT_NONE)  = 0
mmap2(0x40182000, 28672, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 
0xe) = 0x40182000
close(3)                                = 0
open("/usr/lib/perl5/5.8.0/i586-linux-thread-multi/CORE/libc.so.6", 
O_RDONLY) = -1 ENOENT (No such file or directory)
open("/lib/libc.so.6", O_RDONLY)        = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\300\205"..., 1024) 
= 1024
fstat64(3, {st_mode=S_IFREG|0755, st_size=1312470, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 
0x40189000
mmap2(NULL, 1169856, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x4018a000
mprotect(0x4029e000, 39360, PROT_NONE)  = 0
mmap2(0x4029e000, 24576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 
0x113) = 0x4029e000
mmap2(0x402a4000, 14784, PROT_READ|PROT_WRITE, 
MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x402a4000
close(3)                                = 0
open("/usr/lib/perl5/5.8.0/i586-linux-thread-multi/CORE/libcrypt.so.1", 
O_RDONLY) = -1 ENOENT (No such file or directory)
open("/lib/libcrypt.so.1", O_RDONLY)    = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\360\n\0"..., 1024) 
= 1024
fstat64(3, {st_mode=S_IFREG|0755, st_size=43371, ...}) = 0
mmap2(NULL, 197692, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x402a8000
mprotect(0x402b0000, 164924, PROT_NONE) = 0
mmap2(0x402b0000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 
0x8) = 0x402b0000
mmap2(0x402b2000, 156732, PROT_READ|PROT_WRITE, 
MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x402b2000
close(3)                                = 0
open("/usr/lib/perl5/5.8.0/i586-linux-thread-multi/CORE/libutil.so.1", 
O_RDONLY) = -1 ENOENT (No such file or directory)
open("/lib/libutil.so.1", O_RDONLY)     = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0p\16\0\000"..., 
1024) = 1024
fstat64(3, {st_mode=S_IFREG|0755, st_size=10710, ...}) = 0
mmap2(NULL, 10788, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x402d9000
mprotect(0x402db000, 2596, PROT_NONE)   = 0
mmap2(0x402db000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 
0x1) = 0x402db000
close(3)                                = 0
munmap(0x4012b000, 53904)               = 0
getrlimit(0x3, 0xbffff46c)              = 0
setrlimit(RLIMIT_STACK, {rlim_cur=2044*1024, rlim_max=RLIM_INFINITY}) = 0
getpid()                                = 23779
rt_sigaction(SIGRTMIN, {0x4017c8b0, [], 0x4000000}, NULL, 8) = 0
rt_sigaction(SIGRT_1, {0x4017c950, [], 0x4000000}, NULL, 8) = 0
rt_sigaction(SIGRT_2, {0x4017ca80, [], 0x4000000}, NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, [RTMIN], NULL, 8) = 0
_sysctl({{CTL_KERN, KERN_VERSION}, 2, 0xbffff26c, 31, (nil), 0}) = 0
--- SIGSEGV (Segmentation fault) ---
+++ killed by SIGSEGV +++


-------------------------------------------------------
This sf.net email is sponsored by: Influence the future 
of Java(TM) technology. Join the Java Community 
Process(SM) (JCP(SM)) program now. 
http://ad.doubleclick.net/clk;4729346;7592162;s?http://www.sun.com/javavote




More information about the Users mailing list