nagios in current

Jarrod Sayers jarrod at netleader.com.au
Sat May 26 04:55:08 UTC 2007


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.


More information about the freebsd-ports mailing list