Subject: Re: telnet -4 command switches on IPv4 mode for other apps
To: Matthias Scheler <tron@zhadum.org.uk>
From: Alasdair <alasdair@iprimus.com.au>
List: netbsd-users
Date: 02/14/2007 23:19:23
On Tue, Feb 13, 2007 at 10:18:20PM +0000, Matthias Scheler wrote:
> On Wed, Feb 14, 2007 at 08:16:50AM +1100, Alasdair wrote:
> > localhost named [255] could not configure root hosts from 'root cache':file
> > not found
> > local host named [255]loading config file : file not found
> > local host named [255] exiting due to fatal error
> > I checked and double checked that all the suggested changes had been successfuly carried out, all the files are in the right places.
> 
> It looks like you didn't copy the directory "/etc/namedb" (and all the
> files in it) to "/var/chroot/named/etc".
> 
> 	Kind regards
> 
> -- 
> Matthias Scheler                                  http://zhadum.org.uk/

Hi Matthias,

I copied it ok as far as I can tell. Here is the output from a cd to these files, perhaps i missed something. File permissions or something, your suggestion would certainly seem to make sense, given the error message, but the files seem to be in the right place (?). 


$ cd /var/chroot/named/etc
$ ls
localtime  named.conf namedb
$ cd namedb
$ ls
cache  namedb
$ cd namedb
$ ls
127          localhost    loopback.v6  root.cache
$ ls -l
total 20
-rw-r--r--  1 root  wheel   259 Feb 12 23:34 127
-rw-r--r--  1 root  wheel   286 Feb 12 23:34 localhost
-rw-r--r--  1 root  wheel   262 Feb 12 23:34 loopback.v6
-rw-r--r--  1 root  wheel  2583 Feb 12 23:34 root.cache

The name of my machine is localhost.local
st.net could this be confusing something somewhere?

Many thanks.

Regards,

Alasdair