Page 1 of 1

Re: [Nagios-devel] ndo2db problems on solaris 10 (ndoutils 1.4b7)

Posted: Thu Mar 06, 2008 1:46 am
by Guest
hello,

i've applied the two patches you sent out yesterday:

ndoutils_remove_multiple_children.patch
ndoutils_retry_on_soft_read_errors.patch

but the SIGSEGV error is still there. besides i've seen a SIGBUS error.
sometimes the nagios process dies when this signal occurs (not in this
trace).

is there anything else i can trace or try to get more useful information?

any hints or ideas?


best regards,
michael


nagios.log:
[1204796396] ndomod: Successfully reconnected to data sink! 0 items lost,
290 queued items to flush.
[1204796396] ndomod: Error writing to data sink! Some output may get
lost. 273 queued items to flush.
[1204796412] ndomod: Successfully reconnected to data sink! 0 items lost,
353 queued items to flush.
[1204796412] ndomod: Error writing to data sink! Some output may get
lost. 329 queued items to flush.




truss:
4252: accept(5, 0xFFBFF4F4, 0xFFBFF504, SOV_DEFAULT) = 6
4252: fork1() = 4622
4252: lwp_sigmask(SIG_SETMASK, 0x00000000, 0x00000000) = 0xFFBFFEFF
[0x0000FFFF]
4622: fork1() (returning as child ...) = 4252
4622: getpid() = 4622 [4252]
4252: close(6) = 0
4622: lwp_self() = 1
4622: lwp_sigmask(SIG_SETMASK, 0x00000000, 0x00000000) = 0xFFBFFEFF
[0x0000FFFF]
4622: llseek(3, 0, SEEK_CUR) = 0
4622: close(3) = 0
4622: open("/usr/local/nagios/var/ndo2db.debug",
O_RDWR|O_APPEND|O_CREAT, 0666) = 3
4622: sigaction(SIGQUIT, 0xFFBFED20, 0xFFBFEDC0) = 0
4622: sigaction(SIGTERM, 0xFFBFED20, 0xFFBFEDC0) = 0
4622: sigaction(SIGINT, 0xFFBFED20, 0xFFBFEDC0) = 0
4622: sigaction(SIGSEGV, 0xFFBFED20, 0xFFBFEDC0) = 0
4622: sigaction(SIGFPE, 0xFFBFED20, 0xFFBFEDC0) = 0
4622: open("/etc/netconfig", O_RDONLY|O_LARGEFILE) = 7
4622: fcntl(7, F_DUPFD, 0x00000100) Err#22 EINVAL
4622: read(7, " # p r a g m a i d e n".., 1024) = 1024
4622: read(7, " t s t p i _ c".., 1024) = 215
4622: read(7, 0x00040338, 1024) = 0
4622: lseek(7, 0, SEEK_SET) = 0
4622: read(7, " # p r a g m a i d e n".., 1024) = 1024
4622: read(7, " t s t p i _ c".., 1024) = 215
4622: read(7, 0x00040338, 1024) = 0
4622: close(7) = 0
4622: open("/dev/udp", O_RDONLY) = 7
4622: ioctl(7, SIOCGLIFNUM, 0xFFBFEB74) = 0
4622: close(7) = 0
4622: getuid() = 100 [100]
4622: getuid() = 100 [100]
4622: door_info(4, 0xFFBFE880) = 0
4622: door_call(4, 0xFFBFE928) = 0
4622: sigaction(SIGPIPE, 0xFFBFEBE0, 0xFFBFEC80) = 0
4622: so_socket(PF_INET, SOCK_STREAM, IPPROTO_IP, "", SOV_DEFAULT) = 7
4622: brk(0x00041D20) = 0
4622: brk(0x00045D20) = 0
4622: fcntl(7, F_SETFL, (no flags)) = 0
4622: fcntl(7, F_GETFL) = 2
4622: connect(7, 0xFFBFECC0, 16, SOV_DEFAULT) = 0
4622: setsockopt(7, SOL_SOCKET, SO_RCVTIMEO, 0xFFBFE158, 8, SOV_DEFAULT)
Err#99 ENOPROTOOPT
4622: setsockopt(7, SOL_SOCKET, SO_SNDTIMEO, 0xFFBFE158, 8, SOV_DEFAULT)
Err#99 ENOPROTOOPT
4622: brk(0x00045D20) = 0
4622: brk(0x00047D20) = 0
4622: setsockopt(7, ip, 3, 0xFFBFE23C, 4, SOV_DEFAULT) = 0
4622: setsockopt(7, tcp, TCP_NODELAY, 0xFFBFE238, 4, SOV_DEFAULT) = 0
4622: setsockopt(7, SOL_SOCKET, SO_KEEPALIVE, 0xFFBFE2AC, 4,
SOV_DEFAULT) = 0
4622: read(7, " 4\0\0\0\n 5 . 0 . 5 1\0".., 16384) = 56
4622: brk(0x00047D20) = 0
4622: brk(0x00049D20) = 0
4622:

...[email truncated]...


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