From owner-freebsd-questions@FreeBSD.ORG Sun Jun 28 12:14:03 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 84EAC106566C for ; Sun, 28 Jun 2009 12:14:03 +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 E455A8FC13 for ; Sun, 28 Jun 2009 12:14:02 +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 n5SCDtld063889; Sun, 28 Jun 2009 13:13:56 +0100 (BST) (envelope-from m.seaman@infracaninophile.co.uk) X-DKIM: Sendmail DKIM Filter v2.8.3 smtp.infracaninophile.co.uk n5SCDtld063889 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=infracaninophile.co.uk; s=200708; t=1246191236; bh=yKl+hCfJzi4isbjf3YbDCbwTEkuXv1//JsXPZ6F4tpk=; 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<4A475E7D.6000907@infracaninophile.co.uk>|Date:=20S un,=2028=20Jun=202009=2013:13:49=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>|In-Reply-To:=20<20090628205 4.33434.no-spam@people.net.au>|X-Enigmail-Version:=200.95.6|Conten t-Type:=20multipart/signed=3B=20micalg=3Dpgp-sha256=3B=0D=0A=20pro tocol=3D"application/pgp-signature"=3B=0D=0A=20boundary=3D"------- -----enig3252513DCA99169A601B43E4"; b=IL1sREK+T03gUcqjTFxbhNVgVOXfs5INIc+Obu+xbQFxrHm/4I0olCaOaoQZycEk7 0OvL5gGkpr8u3mux/Uh1zW/pc1OskadUAw2Jj+CKVNtsYo3U8ZHIaMGlRO7abRHLhW xMqKhpOcFCX3HEpcRQZdvNHmmC03dgTZ3RrAci5I= X-Authentication-Warning: happy-idiot-talk.infracaninophile.co.uk: Host localhost [IPv6:::1] claimed to be happy-idiot-talk.infracaninophile.co.uk Message-ID: <4A475E7D.6000907@infracaninophile.co.uk> Date: Sun, 28 Jun 2009 13:13:49 +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> In-Reply-To: <200906282054.33434.no-spam@people.net.au> X-Enigmail-Version: 0.95.6 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="------------enig3252513DCA99169A601B43E4" 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 12:14:03 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig3252513DCA99169A601B43E4 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable Ian wrote: > Hi, I've been meaning to sort this out since the release of 7.1p5, but = only=20 > just got around to it - I have an installation of 7.1 that runs bind an= d has=20 > been working fine up until I tried to update the system to 7.1p5 (using= =20 > freebsd-update). As soon as I apply the update & reboot, named loads bu= t the=20 > startup script hangs. >=20 > If I press Ctrl+C, the system continues to boot. If I then run /etc/rc.= d/named=20 > start, named starts, but again the script hangs. I can do DNS lookups w= hile=20 > named is running, so it seems to be functioning ok. > I tried adding various echo statements to /etc/rc.d/named and found tha= t the=20 > script seems to run right through. The hang occurs where /etc/rc.subr e= choes=20 > out "Starting named" after the named script has run and that's where th= ings=20 > seem to stop! Nothing else that is started by the rc.d scripts hangs, s= o I'm=20 > guessing /etc/rc.subr is ok. >=20 > I did a diff of /etc/rc.d/named before & after the upgrade from p4 to p= 5 (or=20 > p6 which has the same issue) and there are no changes to the file. > Nothing seems to be logged anywhere that shows a problem, so I really h= ave no=20 > idea what to check next. >=20 > The only named entry in rc.conf is named_enable=3D"YES". Doing a freebs= d-update=20 > rollback restores normal operation and given that bind actually loads 7= seems=20 > to work apart fromthe hanging script, I suspect there's nothing wrong w= ith my=20 > bind configuration.=20 >=20 > Any suggestions? Are you sure it's not the thing which starts immediately *after* named th= at is hanging? Try running: # rcorder /etc/rc.d/* /usr/local/etc/rc.d/*=20 and see what should come next. Note this command shows the order in whic= h all of the rc scripts in those directories would run, not just the ones y= ou have enabled in rc.conf, so you may well have to skip a few lines until you ge= t to something that is enabled. 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 --------------enig3252513DCA99169A601B43E4 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 iEYEAREIAAYFAkpHXoMACgkQ8Mjk52CukIzeyQCeMKrDsuQqW7I2tPFrcbJ1Md69 PbQAn0oe/TIgD+zJjA8N51vpgbW2ReVC =OR1b -----END PGP SIGNATURE----- --------------enig3252513DCA99169A601B43E4--