Newbie upgrade problem
Ben Dover
dawgeestyle at gmail.com
Sun Feb 13 17:05:40 GMT 2005
On Fri, 11 Feb 2005 13:46:43 -0500, aklist_061666
<aklist_061666 at 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 at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at 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
More information about the freebsd-questions
mailing list