From owner-freebsd-ports@FreeBSD.ORG Sat May 26 04:55:08 2007 Return-Path: X-Original-To: freebsd-ports@freebsd.org Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 327A416A41F for ; Sat, 26 May 2007 04:55:08 +0000 (UTC) (envelope-from jarrod@netleader.com.au) Received: from wallace.netleader.com.au (wallace.netleader.com.au [203.122.246.247]) by mx1.freebsd.org (Postfix) with ESMTP id 8EC4B13C448 for ; Sat, 26 May 2007 04:55:07 +0000 (UTC) (envelope-from jarrod@netleader.com.au) Received: from [192.168.0.3] (gromit.local [192.168.0.3]) by wallace.netleader.com.au (8.13.8/8.13.8) with ESMTP id l4Q4t34n015734 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO); Sat, 26 May 2007 14:25:05 +0930 (CST) (envelope-from jarrod@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> Mime-Version: 1.0 (Apple Message framework v752.3) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <46A0B9BE-FDC8-4B29-8E60-16C318C770F9@netleader.com.au> Content-Transfer-Encoding: 7bit From: Jarrod Sayers Date: Sat, 26 May 2007 14:24:58 +0930 To: Randy Bush X-Mailer: Apple Mail (2.752.3) Cc: freebsd ports Subject: Re: nagios in current X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 26 May 2007 04:55:08 -0000 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.