nagios 1.1 SegFaults

Lombardo Federico egopfe at hotmail.com
Thu Jun 19 12:59:56 CEST 2003


I've correctly compiled and installed my Nagios 1.1 under my debian running
kernel 2.4.21, when I start with -v option, or without any option it i
receive a segfault!
Starting normal mode, -d /etc/nagios.cfg will work.

Best Regards,

Federico

Here the strace process:

execve("./nagios", ["./nagios"], [/* 15 vars */]) = 0

uname({sys="Linux", node="tbox", ...}) = 0

brk(0) = 0x8090ed0

open("/etc/ld.so.preload", 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=43905, ...}) = 0

old_mmap(NULL, 43905, PROT_READ, MAP_PRIVATE, 3, 0) = 0x40012000

close(3) = 0

open("/usr/lib/libmysqlclient.so.10", 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\210\200"..., 1024)
= 1024

fstat64(3, {st_mode=S_IFREG|0644, st_size=214344, ...}) = 0

old_mmap(NULL, 213792, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x4001d000

mprotect(0x40039000, 99104, PROT_NONE) = 0

old_mmap(0x40039000, 102400, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3,
0x1c000) = 0x40039000

close(3) = 0

open("/usr/lib/libperl.so.5.8", 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\370\366"..., 1024)
= 1024

fstat64(3, {st_mode=S_IFREG|0644, st_size=1044008, ...}) = 0

old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0)
= 0x40052000

old_mmap(NULL, 1051328, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x40053000

mprotect(0x40148000, 47808, PROT_NONE) = 0

old_mmap(0x40148000, 40960, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3,
0xf5000) = 0x40148000

old_mmap(0x40152000, 6848, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x40152000

close(3) = 0

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\0S\27\0\000"...,
1024) = 1024

fstat64(3, {st_mode=S_IFREG|0644, st_size=7992, ...}) = 0

old_mmap(NULL, 10924, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x40154000

mprotect(0x40156000, 2732, PROT_NONE) = 0

old_mmap(0x40156000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3,
0x1000) = 0x40156000

close(3) = 0

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\2605\0"..., 1024) =
1024

fstat64(3, {st_mode=S_IFREG|0644, st_size=131156, ...}) = 0

old_mmap(NULL, 133712, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x40157000

mprotect(0x40177000, 2640, PROT_NONE) = 0

old_mmap(0x40177000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3,
0x1f000) = 0x40177000

close(3) = 0

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\224D\0"..., 1024) =
1024

fstat64(3, {st_mode=S_IFREG|0644, st_size=81959, ...}) = 0

old_mmap(NULL, 323104, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x40178000

mprotect(0x40184000, 273952, PROT_NONE) = 0

old_mmap(0x40184000, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3,
0xc000) = 0x40184000

old_mmap(0x40187000, 261664, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x40187000

close(3) = 0

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\275Z\1"..., 1024) =
1024

fstat64(3, {st_mode=S_IFREG|0755, st_size=1103880, ...}) = 0

old_mmap(NULL, 1113636, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x401c7000

mprotect(0x402cf000, 32292, PROT_NONE) = 0

old_mmap(0x402cf000, 24576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3,
0x107000) = 0x402cf000

old_mmap(0x402d5000, 7716, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x402d5000

close(3) = 0

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\0p\t\0\000"..., 1024)
= 1024

fstat64(3, {st_mode=S_IFREG|0644, st_size=18120, ...}) = 0

old_mmap(NULL, 180928, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x402d7000

mprotect(0x402dc000, 160448, PROT_NONE) = 0

old_mmap(0x402dc000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3,
0x4000) = 0x402dc000

old_mmap(0x402dd000, 156352, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x402dd000

close(3) = 0

open("/lib/libz.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\0D\30\0\000"...,
1024) = 1024

fstat64(3, {st_mode=S_IFREG|0644, st_size=51352, ...}) = 0

old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0)
= 0x40304000

old_mmap(NULL, 50316, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x40305000

mprotect(0x40310000, 5260, PROT_NONE) = 0

old_mmap(0x40310000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3,
0xb000) = 0x40310000

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\0d;\0\000"..., 1024)
= 1024

fstat64(3, {st_mode=S_IFREG|0644, st_size=69132, ...}) = 0

old_mmap(NULL, 76448, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x40312000

mprotect(0x40322000, 10912, PROT_NONE) = 0

old_mmap(0x40322000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3,
0x10000) = 0x40322000

old_mmap(0x40323000, 6816, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x40323000

close(3) = 0

munmap(0x40012000, 43905) = 0

getrlimit(RLIMIT_STACK, {rlim_cur=8192*1024, rlim_max=RLIM_INFINITY}) = 0

setrlimit(RLIMIT_STACK, {rlim_cur=2044*1024, rlim_max=RLIM_INFINITY}) = 0

getpid() = 10179

rt_sigaction(SIGRTMIN, {0x4017fc2a, [], SA_RESTORER, 0x401ed9c8}, NULL, 8) =
0

rt_sigaction(SIGRT_1, {0x4017fc62, [], SA_RESTORER, 0x401ed9c8}, NULL, 8) =
0

rt_sigaction(SIGRT_2, {0x4017fd15, [], SA_RESTORER, 0x401ed9c8}, NULL, 8) =
0

rt_sigprocmask(SIG_BLOCK, [RTMIN], NULL, 8) = 0

_sysctl({{CTL_KERN, KERN_VERSION}, 2, 0xbffff9dc, 32, (nil), 0}) = 0

--- SIGSEGV (Segmentation fault) @ 0 (0) ---

+++ killed by SIGSEGV +++


-------------------------------------------------------
This SF.Net email is sponsored by: INetU
Attention Web Developers & Consultants: Become An INetU Hosting Partner.
Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission!
INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list