From owner-freebsd-questions@FreeBSD.ORG Sat Jul 9 18:33:56 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 193571065672 for ; Sat, 9 Jul 2011 18:33:56 +0000 (UTC) (envelope-from kline@thought.org) Received: from thought.org (plato.thought.org [209.180.213.209]) by mx1.freebsd.org (Postfix) with ESMTP id D35C58FC17 for ; Sat, 9 Jul 2011 18:33:55 +0000 (UTC) Received: by thought.org (Postfix, from userid 1001) id 01CAAE8067E; Sat, 9 Jul 2011 11:33:54 -0700 (PDT) Date: Sat, 9 Jul 2011 11:33:54 -0700 From: Gary Kline To: Dan Busarow Message-ID: <20110709183354.GA3798@thought.org> References: <20110707180041.GA90387@thought.org> <20110708055837.GA21564@thought.org> <4E16C779.6000607@infracaninophile.co.uk> <2A8AFE06-FC2C-4FCC-A4B1-4FEE8689E958@buildingonline.com> <20110709035430.GA31019@thought.org> <46E4A1B3-12D7-42B1-8D34-4F6B2BEC6693@buildingonline.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <46E4A1B3-12D7-42B1-8D34-4F6B2BEC6693@buildingonline.com> Organization: Thought Unlimited. Public service Unix since 1986. Of_Interest: With 24++ years of service to the Unix community. User-Agent: Mutt/1.5.21 (2010-09-15) Cc: freebsd-questions@freebsd.org, Gary Kline 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: Sat, 09 Jul 2011 18:33:56 -0000 On Sat, Jul 09, 2011 at 07:49:43AM -0600, Dan Busarow wrote: > Date: Sat, 9 Jul 2011 07:49:43 -0600 > From: Dan Busarow > Subject: Re: DNS and file system messed up... > To: Gary Kline > Cc: freebsd-questions@freebsd.org, Gary Kline > X-Mailer: Apple Mail (2.753.1) > > > On Jul 8, 2011, at 9:54 PM, Gary Kline wrote: > > >On Fri, Jul 08, 2011 at 07:27:12AM -0600, Dan Busarow wrote: > >> > >> > >>Gary, add > >> > >>named_flags="-c /etc/namedb/named.conf" > >> > >>to /etc/rc.conf. Or change /etc/namedb/named.conf to the /var > >>version if you like/there is no symlink. > >> > >>Dan > >> > > > > > > Dan! I think you fixed something. I haven't figured this > > out yet, and would be grateful if you could decode this in > > /var/log/messages:: > > > > > >Jul 8 20:39:32 ethic named[83003]: stopping command channel on ::1#953 > >Jul 8 20:39:32 ethic named[83003]: exiting > >Jul 8 20:39:37 ethic named[84090]: starting BIND 9.3.6-P1 > >-c /etc/namedb/named.conf -t /var/named -u bind > >Jul 8 20:39:37 ethic named[84090]: none:0: open: /etc/rndc.key: > >file not found > > Gary, > > Theres probably an /etc/rc.conf line to fix these but what I always > do is simply symlink /etc/namedb/rndc.key to /etc/rndc.key > > # ln -s /etc/namedb/rndc.key /etc/rndc.key > > I actually use rndc.conf on my systems but I think the names and > files are interchangeable. > > Dan No joy. I just tried that from /etc: lrwxr-xr-x 1 root wheel 21 Jul 9 11:18 namedb -> /var/named/etc/namedb lrwxr-xr-x 1 root wheel 20 Jul 9 11:17 rndc.key -> /etc/namedb/rndc.key and I find the same warnings/complainnts as earlier. The good news, still, is that bin9 works. But I still get a lookup error from the -questions list in /var/log/maillog, so nothing is getting thru to the list from here at thought.org. FWIW: Yesterday, I got the latest 7.3 upgrade and compiled it. I habe NOT yet installed anything new because the last thing i want to do is lose my own link with the "real world" ..... :-) * 0.5 your thoughts what I should try next, please? gary > > > >Jul 8 20:39:37 ethic named[84090]: couldn't add command channel > >127.0.0.1#953: file not found > >Jul 8 20:39:37 ethic named[84090]: none:0: open: /etc/rndc.key: > >file not found > >Jul 8 20:39:37 ethic named[84090]: couldn't add command channel > >::1#953: file not found > >Jul 8 20:39:37 ethic named[84090]: the working directory is not > >writable > >Jul 8 20:39:37 ethic named[84090]: running > > > > This, after I added your named_flags line into /etc/rc.conf. > > Where I get lost is *what* gives me that "none:0" lines?? > > I see the same or worse err when I drop in bind98. IIRC, > > named does run, but the messages log is fulll of rndc.key > > error messages that I just cannot understand. _Now_, having > > dropped in your named_flags line, I am seeing something > > similar. > > > > I haved grepped thru the entire /etc/ tree and haven't found > > anything that explains where I messed up.... > > > > Ideas? > > > > thanks to you or anybody else onlist. > > > > gary > > > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" -- Gary Kline kline@thought.org http://www.thought.org Public Service Unix Journey Toward the Dawn, E-Book: http://www.thought.org The 8.51a release of Jottings: http://jottings.thought.org