fresh installation is hosed...
Chris Buxton
cbuxton at menandmice.com
Fri Nov 16 22:00:04 UTC 2007
It's hard to guess what's wrong without seeing the directory structure
of /var/named. If you don't have /var/named, and if named.conf is in /
etc/namedb and not /var/named/etc/namedb, then you should omit the "-
t /var/named" argument from the command line.
Note: Because you set the sysconfdir to /etc/namedb, the "-c /etc/
namedb/named.conf" argument is unnecessary. Also, "-u root" is not
necessary unless your named has been configured with a different
default user; I'm not even sure how to do that, although I know it can
be done.
Chris Buxton
Professional Services
Men & Mice
Address: Noatun 17, IS-105, Reykjavik, Iceland
Phone: +354 412 1500
Email: cbuxton at menandmice.com
www.menandmice.com
Men & Mice
We bring control and flexibility to network management
This e-mail and its attachments may contain confidential and
privileged information only intended for the person or entity to which
it is addressed. If the reader of this message is not the intended
recipient, you are hereby notified that any retention, dissemination,
distribution or copy of this e-mail is strictly prohibited. If you
have received this e-mail in error, please notify us immediately by
reply e-mail and immediately delete this message and all its attachment.
On Nov 16, 2007, at 12:12 PM, <aklist_bind at enigmedia.com> <aklist_bind at enigmedia.com
> wrote:
> Hi All: I was attempting to build a new box to run Bind on...I did the
> following:
>
> fresh install of FreeBSD 6.2
> installed openssl-0.9.8g
> installed bind-9.4.1-P1 with:
> ./configure --prefix=/usr
> --sysconfdir=/etc/namedb
> --mandir=/usr/share/man
> --localstatedir=/var
> --disable-threads
> --with-openssl=/usr
>
> ...and everything was working...then I replaced named.conf with the
> named.conf from my existing server, and all hell broke loose! <g>
>
> After much massaging of named.conf, I'm still stuck...when I try to
> start it
> with /usr/sbin/named (with or without switches) my error log says:
>
> Nov 16 15:41:14 ns1 named[38279]: starting BIND 9.4.1-P1 -u root -c
> /etc/namedb/
> named.conf -t /var/named/
> Nov 16 15:41:14 ns1 named[38279]: could not configure root hints from
> 'db.cache'
> : file not found
> Nov 16 15:41:14 ns1 named[38279]: loading configuration: file not
> found
> Nov 16 15:41:14 ns1 named[38279]: exiting (due to fatal error)
>
> Nov 16 15:48:07 ns1 named[48697]: starting BIND 9.4.1-P1
> Nov 16 15:48:07 ns1 named[48697]: could not configure root hints from
> 'db.cache'
> : file not found
> Nov 16 15:48:07 ns1 named[48697]: loading configuration: file not
> found
> Nov 16 15:48:07 ns1 named[48697]: exiting (due to fatal error)
>
> Given that this is a fresh install, I don't care about rolling back
> and
> starting over, if that's what I need to do. Or is this a simple
> pathing/permissions issue?
>
> Any insights would be appreciated.
>
>
More information about the bind-users
mailing list