From owner-freebsd-questions@FreeBSD.ORG Fri Jul 8 09:01:49 2011 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 DA4FA106566B for ; Fri, 8 Jul 2011 09:01:49 +0000 (UTC) (envelope-from m.seaman@infracaninophile.co.uk) Received: from smtp.infracaninophile.co.uk (smtp6.infracaninophile.co.uk [IPv6:2001:8b0:151:1:3fd3:cd67:fafa:3d78]) by mx1.freebsd.org (Postfix) with ESMTP id 436408FC16 for ; Fri, 8 Jul 2011 09:01:49 +0000 (UTC) Received: from seedling.black-earth.co.uk (seedling.black-earth.co.uk [81.187.76.163]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.14.5/8.14.5) with ESMTP id p6891jLm081835 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO) for ; Fri, 8 Jul 2011 10:01:45 +0100 (BST) (envelope-from m.seaman@infracaninophile.co.uk) X-DKIM: Sendmail DKIM Filter v2.8.3 smtp.infracaninophile.co.uk p6891jLm081835 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=infracaninophile.co.uk; s=201001-infracaninophile; t=1310115705; bh=60SPAgFcKACLs/YPYz6kQ/DuPbMbr102jy5+v3hLBIY=; h=Message-ID:Date:From:MIME-Version:To: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<4E16C779.6000607@infracaninophile.co.uk>|Date:=20F ri,=2008=20Jul=202011=2010:01:45=20+0100|From:=20Matthew=20Seaman= 20|User-Agent:=20Mozilla/5.0=20(M acintosh=3B=20Intel=20Mac=20OS=20X=2010.6=3B=20rv:5.0)=20Gecko/201 10624=20Thunderbird/5.0|MIME-Version:=201.0|To:=20freebsd-question s@freebsd.org|Subject:=20Re:=20DNS=20and=20file=20system=20messed= 20up...|References:=20<20110707180041.GA90387@thought.org>=20<2011 0708055837.GA21564@thought.org>=20|In-Reply-To:=20|X-Enigmail-Version:=201.2|OpenPGP:=20id=3D60AE908C|Co ntent-Type:=20multipart/signed=3B=20micalg=3Dpgp-sha1=3B=0D=0A=20p rotocol=3D"application/pgp-signature"=3B=0D=0A=20boundary=3D"----- -------enigF0EC9228353100C5462CFDCF"; b=D6+3mo2uH8U35MnH3BB+SZEZHUB/oIXNrfaCfSqv7pY7COymgOozbvNwPOn4KSZ+U SYYDCYK1m/KeabA7Y3+Jf/twiUdcDU+SQvU8kTPisZcqpRTHdok2vId8NgwuJNTD5a 7EA0uM6blzW/wHnlwmyy1z2XDqSIWMkFj7yDqY2c= Message-ID: <4E16C779.6000607@infracaninophile.co.uk> Date: Fri, 08 Jul 2011 10:01:45 +0100 From: Matthew Seaman User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:5.0) Gecko/20110624 Thunderbird/5.0 MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <20110707180041.GA90387@thought.org> <20110708055837.GA21564@thought.org> In-Reply-To: X-Enigmail-Version: 1.2 OpenPGP: id=60AE908C Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enigF0EC9228353100C5462CFDCF" X-Virus-Scanned: clamav-milter 0.97 at lucid-nonsense.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-0.1 required=5.0 tests=BAYES_20,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,SPF_FAIL autolearn=no version=3.3.2 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on lucid-nonsense.infracaninophile.co.uk Subject: Re: DNS and file system messed up... 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: Fri, 08 Jul 2011 09:01:49 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigF0EC9228353100C5462CFDCF Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 08/07/2011 08:25, Doug Hardie wrote: > On 7 July 2011, at 22:58, Gary Kline wrote: >=20 >>> >> Jul 7 10:16:33 ethic named[54366]: none:0: open: /etc/named.conf:= file not found >>> >> Jul 7 10:17:56 ethic named[54371]: starting BIND 9.3.6-P1 -c /var= /named/etc/namedb/named.conf > The first one that fails is looking for /etc/named.conf. The second > one shows its in /var/named/etc/named/named.conf > Those are different locations. I suspect you have named_flags setup > in rc.conf pointing to /etc/namedb/named.conf rather than the right > location. Its also possible that its not set in rc.conf but defaults > in either the rc script or /etc/rc.d/named. On my system it appears > to default in /etc/rc.d/named. FreeBSD defaults to running named chrooted. /etc/namedb is actually a symbolic link: % ls -la /etc/namedb lrwxr-xr-x 1 root wheel 21 Jul 6 06:24 /etc/namedb@ -> /var/named/etc/namedb so the files referenced are in fact exactly the same file. However, the flags from the log extract don't look like the defaults to me. (I'm running the dns/bind98 port, and the equivalent info from the log line is '-t /var/named -u bind') Gary, what named related settings do you have in /etc/rc.conf? You almost certainly don't need anything more than: named_enable=3D"YES" and perhaps syslogd_flags=3D"-ss -l /var/named/var/run/log" so named can log to the system syslog. Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate JID: matthew@infracaninophile.co.uk Kent, CT11 9PW --------------enigF0EC9228353100C5462CFDCF Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.16 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk4Wx3kACgkQ8Mjk52CukIzqkwCfeROV89zopb3W193ReU/9XE9e dhEAnRkntFbpaJ1Gu0epnqx5+TjRDlga =2N11 -----END PGP SIGNATURE----- --------------enigF0EC9228353100C5462CFDCF--