Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 26 May 2007 14:24:58 +0930
From:      Jarrod Sayers <jarrod@netleader.com.au>
To:        Randy Bush <randy@psg.com>
Cc:        freebsd ports <freebsd-ports@freebsd.org>
Subject:   Re: nagios in current
Message-ID:  <46A0B9BE-FDC8-4B29-8E60-16C318C770F9@netleader.com.au>
In-Reply-To: <4657B99C.9070307@psg.com>
References:  <46575D6E.1070604@psg.com> <7F2539EE-501A-49C5-BA64-AF74494163CB@netleader.com.au> <4657B99C.9070307@psg.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 26/05/2007, at 2:07 PM, Randy Bush wrote:
> # /usr/local/libexec/nagios/check_dns -H www.netleader.com.au
> DNS CRITICAL - '/usr/local/bin/nslookup -sil' msg parsing exited  
> with no address
> # ktrace -dit+ /usr/local/libexec/nagios/check_dns -H  
> www.netleader.com.au
> DNS CRITICAL - '/usr/local/bin/nslookup -sil' msg parsing exited  
> with no address

Try running the following:
wallace> /usr/local/bin/nslookup -sil www.netleader.com.au
wallace> ldd /usr/local/bin/nslookup
wallace> /usr/bin/nslookup -sil www.netleader.com.au
wallace> ldd /usr/bin/nslookup

The output from pkg_info may help here too...

> http://rip.psg.com/~randy/ktrace.out

Looks like nslookup is crashing out with a missing symbol,  
__udivdi3.  The first command I have above, should confirm this.   
I'll have to do some digging to work out where that function lives as  
it doesn't ring any bells with me and isn't a part of the base system  
from what I could quickly see.

  61371 nslookup CALL  write(0x2,0xbfbfe63c,0x16)
61371 nslookup GIO   fd 2 wrote 22 bytes
        "/libexec/ld-elf.so.1: "
61371 nslookup RET   write 22/0x16
61371 nslookup CALL  write(0x2,0xbfbfe66c,0x35)
61371 nslookup GIO   fd 2 wrote 53 bytes
        "/usr/local/bin/nslookup: Undefined symbol "__udivdi3""
61371 nslookup RET   write 53/0x35
61371 nslookup CALL  write(0x2,0x28174033,0x1)
61371 nslookup GIO   fd 2 wrote 1 byte
        "
        "
61371 nslookup RET   write 1
61371 nslookup CALL  exit(0x1)

Jarrod.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?46A0B9BE-FDC8-4B29-8E60-16C318C770F9>