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

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

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

Post by Guest »


--Apple-Mail-17-328457801
Content-Type: text/plain;
charset=US-ASCII;
format=flowed;
delsp=yes
Content-Transfer-Encoding: 7bit


On 27 Feb 2008, at 13:18, Michael Prochaska wrote:

> truss of ndo2db (the -f option follows all children created by
> fork() or
> vfork()):

> root@nagios_1 # truss -f -p 6405
> 6405: accept(5, 0xFFBFF554, 0xFFBFF564, SOV_DEFAULT) (sleeping...)
> 6405: accept(5, 0xFFBFF554, 0xFFBFF564, SOV_DEFAULT) = 6
> 6405: schedctl() = 0xFECA8000
> 6405: fork1() = 6419
[snipped]


>
> 6405: lwp_sigmask(SIG_SETMASK, 0x00000000, 0x00000000) = 0xFFBFFEFF
> [0x0000FFFF]
> 6419: fork1() (returning as child ...) = 6405
> 6419: getpid() = 6419 [6405]
> 6405: close(6) = 0
> 6419: lwp_self() = 1
> 6419: lwp_sigmask(SIG_SETMASK, 0x00000000, 0x00000000) = 0xFFBFFEFF
> [0x0000FFFF]
> 6419: llseek(3, 0, SEEK_CUR) = 0
> 6419: close(3) = 0
> 6419: open("/usr/local/nagios/var/ndo2db.debug",
> O_RDWR|O_APPEND|O_CREAT, 0666) = 3
> 6419: sigaction(SIGQUIT, 0xFFBFED80, 0xFFBFEE20) = 0
> 6419: sigaction(SIGTERM, 0xFFBFED80, 0xFFBFEE20) = 0
> 6419: sigaction(SIGINT, 0xFFBFED80, 0xFFBFEE20) = 0
> 6419: sigaction(SIGSEGV, 0xFFBFED80, 0xFFBFEE20) = 0
> 6419: sigaction(SIGFPE, 0xFFBFED80, 0xFFBFEE20) = 0
> 6419: open("/etc/netconfig", O_RDONLY|O_LARGEFILE) = 7
> 6419: fcntl(7, F_DUPFD, 0x00000100) Err#22 EINVAL
> 6419: read(7, " # p r a g m a i d e n".., 1024) = 1024
> 6419: read(7, " t s t p i _ c".., 1024) = 215
> 6419: read(7, 0x000400E0, 1024) = 0
> 6419: lseek(7, 0, SEEK_SET) = 0
> 6419: read(7, " # p r a g m a i d e n".., 1024) = 1024
> 6419: read(7, " t s t p i _ c".., 1024) = 215
> 6419: read(7, 0x000400E0, 1024) = 0
> 6419: close(7) = 0
> 6419: open("/dev/udp", O_RDONLY) = 7
> 6419: ioctl(7, SIOCGLIFNUM, 0xFFBFEBD4) = 0
> 6419: close(7) = 0
> 6419: getuid() = 100 [100]
> 6419: getuid() = 100 [100]
> 6419: door_info(4, 0xFFBFE8E0) = 0
> 6419: door_call(4, 0xFFBFE988) = 0
> 6419: sigaction(SIGPIPE, 0xFFBFEC40, 0xFFBFECE0) = 0
> 6419: so_socket(PF_INET, SOCK_STREAM, IPPROTO_IP, "", SOV_DEFAULT)
> = 7
> 6419: brk(0x00041AF8) = 0
> 6419: brk(0x00045AF8) = 0
> 6419: fcntl(7, F_SETFL, (no flags)) = 0
> 6419: fcntl(7, F_GETFL) = 2
> 6419: connect(7, 0xFFBFED20, 16, SOV_DEFAULT) = 0
> 6419: setsockopt(7, SOL_SOCKET, SO_RCVTIMEO, 0xFFBFE1B8, 8,
> SOV_DEFAULT)
> Err#99 ENOPROTOOPT
> 6419: setsockopt(7, SOL_SOCKET, SO_SNDTIMEO, 0xFFBFE1B8, 8,
> SOV_DEFAULT)
> Err#99 ENOPROTOOPT
> 6419: brk(0x00045AF8) = 0
> 6419: brk(0x00047AF8) = 0
> 6419: setsockopt(7, ip, 3, 0xFFBFE29C, 4, SOV_DEFAULT) = 0
> 6419: setsockopt(7, tcp, TCP_NODELAY, 0xFFBFE298, 4, SOV_DEFAULT)
> = 0
> 6419: setsockopt(7, SOL_SOCKET, SO_KEEPALIVE, 0xFFBFE30C, 4,
> SOV_DEFAULT) = 0
> 6419: read(7, " 4\0\0\0\n 5 . 0 . 5 1\0".., 16384) = 56
> 6419: brk(0x00047AF8) = 0
> 6419: brk(0x00049AF8) = 0
> 6419: brk(0x00049AF8) = 0
> 6419: brk(0x0004BAF8) = 0
> 6419: stat64("/usr/local/mysql/share/mysql/charsets/Index.xml",
> 0xFFBFDB08) = 0
> 6419: brk(0x0004BAF8) = 0
>

...[email truncated]...


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