From owner-freebsd-questions@FreeBSD.ORG Sun Jun 28 13:57:22 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B91101065673 for ; Sun, 28 Jun 2009 13:57:22 +0000 (UTC) (envelope-from m.seaman@infracaninophile.co.uk) Received: from smtp.infracaninophile.co.uk (gate6.infracaninophile.co.uk [IPv6:2001:8b0:151:1::1]) by mx1.freebsd.org (Postfix) with ESMTP id 38D258FC1A for ; Sun, 28 Jun 2009 13:57:22 +0000 (UTC) (envelope-from m.seaman@infracaninophile.co.uk) Received: from happy-idiot-talk.infracaninophile.co.uk (localhost [IPv6:::1]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.14.3/8.14.3) with ESMTP id n5SDvEAL009487; Sun, 28 Jun 2009 14:57:15 +0100 (BST) (envelope-from m.seaman@infracaninophile.co.uk) X-DKIM: Sendmail DKIM Filter v2.8.3 smtp.infracaninophile.co.uk n5SDvEAL009487 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=infracaninophile.co.uk; s=200708; t=1246197435; bh=DY0yN7XIJ6210KjBJML9P1JcerMO0RpwLjh9fHPWQIM=; h=Message-ID:Date:From:MIME-Version:To:CC:Subject:References: In-Reply-To:Content-Type:Cc:Content-Type:Date:From:In-Reply-To: Message-ID:Mime-Version:References:To; z=Message-ID:=20<4A4776B3.3060503@infracaninophile.co.uk>|Date:=20S un,=2028=20Jun=202009=2014:57:07=20+0100|From:=20Matthew=20Seaman= 20|Organization:=20Infracaninophi le|User-Agent:=20Thunderbird=202.0.0.22=20(X11/20090625)|MIME-Vers ion:=201.0|To:=20Ian=20|CC:=20freebsd-quest ions@freebsd.org|Subject:=20Re:=20named=20startup=20problems=20upg rading=20from=207.1p4=20to=207.1p5=20or=207.1p6|References:=20<200 906282054.33434.no-spam@people.net.au>=20<4A475E7D.6000907@infraca ninophile.co.uk>=20<200906282204.14136.no-spam@people.net.au>|In-R eply-To:=20<200906282204.14136.no-spam@people.net.au>|X-Enigmail-V ersion:=200.95.6|Content-Type:=20multipart/signed=3B=20micalg=3Dpg p-sha256=3B=0D=0A=20protocol=3D"application/pgp-signature"=3B=0D=0 A=20boundary=3D"------------enig46E8FCAA84BAB240F8264431"; b=MSCV5vngyCFZ8YnlCTnCyhR9E2b7O7jn9a/gXM1GvygfaQiQD3UlhZv1NEH26Bghu h69ZhBTKH5VyeZoYmIp4zCAbePPww81yCkA1bgxB/+fk4IGaqJucX6LbWwx3sZMGC/ daPEl/QEhK3NljRIGR9rzpoQ/GRJR/E8gjA8zG94= X-Authentication-Warning: happy-idiot-talk.infracaninophile.co.uk: Host localhost [IPv6:::1] claimed to be happy-idiot-talk.infracaninophile.co.uk Message-ID: <4A4776B3.3060503@infracaninophile.co.uk> Date: Sun, 28 Jun 2009 14:57:07 +0100 From: Matthew Seaman Organization: Infracaninophile User-Agent: Thunderbird 2.0.0.22 (X11/20090625) MIME-Version: 1.0 To: Ian References: <200906282054.33434.no-spam@people.net.au> <4A475E7D.6000907@infracaninophile.co.uk> <200906282204.14136.no-spam@people.net.au> In-Reply-To: <200906282204.14136.no-spam@people.net.au> X-Enigmail-Version: 0.95.6 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="------------enig46E8FCAA84BAB240F8264431" X-Virus-Scanned: clamav-milter 0.95.2 at happy-idiot-talk.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-3.0 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED, DKIM_VERIFIED,NO_RELAYS autolearn=ham version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on happy-idiot-talk.infracaninophile.co.uk Cc: freebsd-questions@freebsd.org Subject: Re: named startup problems upgrading from 7.1p4 to 7.1p5 or 7.1p6 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 28 Jun 2009 13:57:23 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig46E8FCAA84BAB240F8264431 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable Ian wrote: > Well the fact that if I run /etc/rc.d/named manually after the system = has=20 > booted, the script also hangs suggests it's not the next process > I have just check however & ntpdate is the next one in the list to be s= tarted=20 > and that does start correctly - you can see it report the clock being=20 > adjusted. Also, when you do a Ctrl+C to break the named script on bootu= p, it=20 > says "Script /etc/rc.d/named interrupted". >=20 > Something I've just realised is that named stays loaded even when you '= break'=20 > the script. on bootup and DNS lookups work (I didn't think that was the= case=20 > originally, but it is). Hmmm....=20 Anything interesting from named in the system logs? You might want to enable /var/log/all.log by following the instructions in /etc/syslog.conf= and then see what output you get by bouncing named. It's usually pretty good at pointing out exactly what it thinks the problem is. You could also try running: # /bin/sh -x /etc/rc.d/named start -- make sure named isn't running when you do that. There will be quite a lot of output as the rc system loads all of the various config files, but you should be able to trace exactly where it's got to when it does ha= ng. You're using the system-supplied copy of bind aren't you? Have you got a valid /etc/named/rndc.conf or /etc/named/rndc.key file so you can use rndc(8)? If not, try running: # rndc-confgen > /etc/namedb/rndc.conf and then cut'n'paste the indicated key and controls statements from that file into named.conf, stripping out the comment characters as you do (of = course). If you're using one of the ports versions of named, do exactly the same thing, but copy or link rndc.conf into /usr/local/etc/ as well. Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW --------------enig46E8FCAA84BAB240F8264431 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.12 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEAREIAAYFAkpHdroACgkQ8Mjk52CukIxQjgCfVIxECe6MqEpm4tgw0Dwx28Wu UrQAn3cZc1kR3nhfqZAQuuJYPvaqDYJv =ME+i -----END PGP SIGNATURE----- --------------enig46E8FCAA84BAB240F8264431--