Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 13 Feb 2005 12:05:39 -0500
From:      Ben Dover <dawgeestyle@gmail.com>
To:        aklist_061666 <aklist_061666@enigmedia.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Newbie upgrade problem
Message-ID:  <5ae9cd55050213090527d9a4c9@mail.gmail.com>
In-Reply-To: <002001c5106a$08495a90$0b01a8c0@enigmedia.net>
References:  <002001c5106a$08495a90$0b01a8c0@enigmedia.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 11 Feb 2005 13:46:43 -0500, aklist_061666
<aklist_061666@enigmedia.com> wrote:
> Hi: I upgraded from freebsd 5.1 to 5.3, and the upgrade went pretty
> smoothly.
> 
> I had BIND 9.2.3 running on 5.1, and when I upgraded to 5.3, BIND 9.3.0 was
> installed.
> 
> my old named.conf file is still in /etc, but 9.3.0 doesn't seem to be
> reading it.
> 
> I tried restarting bind with /usr/sbin/named -4 -c /etc/named.conf
> 
> and it loaded, but for each file in etc/named.conf I received an error:
> 
> Feb 11 12:54:09 ns2 named[661]: starting BIND 9.3.0 -4 -c /etc/named.conf
> Feb 11 12:54:09 ns2 named[661]: could not listen on UDP socket: address in
> use
> Feb 11 12:54:09 ns2 named[661]: creating IPv4 interface xl0 failed;
> interface ig
> nored
> Feb 11 12:54:09 ns2 named[661]: could not listen on UDP socket: address in
> use
> Feb 11 12:54:09 ns2 named[661]: creating IPv4 interface lo0 failed;
> interface ig
> nored
> Feb 11 12:54:09 ns2 named[661]: not listening on any interfaces
> Feb 11 12:54:09 ns2 named[661]: command channel listening on 0.0.0.0#953
> Feb 11 12:54:10 ns2 named[596]: client 192.168.1.40#59629: received notify
> for z
> one 'climateiseverything.com': not authoritative
> 
> ...[lots of zones have that error
> 
> Feb 11 13:35:05 ns2 named[278]: zone
> 1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0
> .0.0.0.0.0.0.0.0.0.0.IP6.ARPA/IN: loading master file
> master/localhost-v6.rev: f
> ile not found
> Feb 11 13:35:05 ns2 named[278]: zone
> 1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0
> .0.0.0.0.0.0.0.0.0.0.IP6.INT/IN: loading master file
> master/localhost-v6.rev: fi
> le not found
> 
> _______________________________________________
> 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"
> 

I believe you have to regenerate your localhost files.  cd to
/var/named/etc/namedb and /bin/sh make-localhost  This should stop at
least the above error.

Take a look at the following link, there is a section on what you have
to do with named during an upgrade. 
http://www.freebsd.org/releases/5.3R/migration-guide.html
Note that your config files need to be moved from /var/named to
/var/named/etc/namedb
FYI i start BIND 9 in sandbox with "/etc/rc.d/named start" It looks
easier than typing all that you typed ;)  Hope this helps



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5ae9cd55050213090527d9a4c9>