Re: Newbie upgrade problem

2005-02-13 Thread Ben Dover
On Fri, 11 Feb 2005 13:46:43 -0500, aklist_061666
<[EMAIL PROTECTED]> 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 "[EMAIL PROTECTED]"
> 

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
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Newbie upgrade problem

2005-02-11 Thread Lowell Gilbert
"Joachim Dagerot" <[EMAIL PROTECTED]> writes:

> 
> May I ask if you had any guide that you followed nad if you please could post 
> a link to it here.
> 
> I'm just about to upgrade my system from 5.1 to the latest, but I don't know 
> where to start, and I haven't got any answers when asking on this list.

Hey; give it at least 24 hours for people to respond.

The directions for upgrading are part of the FreeBSD Handbook.
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/cutting-edge.html
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


re: Newbie upgrade problem

2005-02-11 Thread Joachim Dagerot

>Hi: I upgraded from freebsd 5.1 to 5.3, and the upgrade went pretty smoothly.

May I ask if you had any guide that you followed nad if you please could post a 
link to it here.

I'm just about to upgrade my system from 5.1 to the latest, but I don't know 
where to start, and I haven't got any answers when asking on this list.

Kind regards,
Joachim



___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Newbie upgrade problem

2005-02-11 Thread Hexren
a> Hi: I upgraded from freebsd 5.1 to 5.3, and the upgrade went pretty 
a> smoothly.

a> I had BIND 9.2.3 running on 5.1, and when I upgraded to 5.3, BIND 9.3.0 was 
a> installed.

a> my old named.conf file is still in /etc, but 9.3.0 doesn't seem to be 
a> reading it.

a> I tried restarting bind with /usr/sbin/named -4 -c /etc/named.conf

a> and it loaded, but for each file in etc/named.conf I received an error:

a> Feb 11 12:54:09 ns2 named[661]: starting BIND 9.3.0 -4 -c /etc/named.conf
a> Feb 11 12:54:09 ns2 named[661]: could not listen on UDP socket: address in 
a> use
a> Feb 11 12:54:09 ns2 named[661]: creating IPv4 interface xl0 failed; 
a> interface ig
a> nored
a> Feb 11 12:54:09 ns2 named[661]: could not listen on UDP socket: address in 
a> use
a> Feb 11 12:54:09 ns2 named[661]: creating IPv4 interface lo0 failed; 
a> interface ig
a> nored
a> Feb 11 12:54:09 ns2 named[661]: not listening on any interfaces
a> Feb 11 12:54:09 ns2 named[661]: command channel listening on 0.0.0.0#953
a> Feb 11 12:54:10 ns2 named[596]: client 192.168.1.40#59629: received notify 
a> for z
a> one 'climateiseverything.com': not authoritative

a> ...[lots of zones have that error

a> Feb 11 13:35:05 ns2 named[278]: zone 
a> 1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0
a> .0.0.0.0.0.0.0.0.0.0.IP6.ARPA/IN: loading master file 
a> master/localhost-v6.rev: f
a> ile not found
a> Feb 11 13:35:05 ns2 named[278]: zone 
a> 1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0
a> .0.0.0.0.0.0.0.0.0.0.IP6.INT/IN: loading master file 
a> master/localhost-v6.rev: fi
a> le not found


a> ___
a> freebsd-questions@freebsd.org mailing list
a> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
a> To unsubscribe, send any mail to "[EMAIL PROTECTED]"

-

I am really not that big in BIND but before you start BIND have you
checked if port 53 is already in use as "could not listen on UDP
socket: address in use" seems to imply that.

Hexren

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"