Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 9 Jul 2011 07:49:43 -0600
From:      Dan Busarow <dan@buildingonline.com>
To:        Gary Kline <kline@thought.org>
Cc:        freebsd-questions@freebsd.org, Gary Kline <kline@magnesium.net>
Subject:   Re: DNS and file system messed up...
Message-ID:  <46E4A1B3-12D7-42B1-8D34-4F6B2BEC6693@buildingonline.com>
In-Reply-To: <20110709035430.GA31019@thought.org>
References:  <20110707180041.GA90387@thought.org> <20110708055837.GA21564@thought.org> <CDA23F69-BA47-4D83-856E-1DE15F135243@lafn.org> <4E16C779.6000607@infracaninophile.co.uk> <2A8AFE06-FC2C-4FCC-A4B1-4FEE8689E958@buildingonline.com> <20110709035430.GA31019@thought.org>

next in thread | previous in thread | raw e-mail | index | archive | help

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


> 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
>




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?46E4A1B3-12D7-42B1-8D34-4F6B2BEC6693>