From owner-freebsd-questions@FreeBSD.ORG Sun Feb 13 17:05:40 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AE78B16A4CE for ; Sun, 13 Feb 2005 17:05:40 +0000 (GMT) Received: from rproxy.gmail.com (rproxy.gmail.com [64.233.170.193]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3D4A943D4C for ; Sun, 13 Feb 2005 17:05:40 +0000 (GMT) (envelope-from dawgeestyle@gmail.com) Received: by rproxy.gmail.com with SMTP id a41so532698rng for ; Sun, 13 Feb 2005 09:05:39 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:references; b=tP978iYwW57a6NjR0JnE0dCKHlSVJU2g1T3ZZ3n/auOJN11u2OTVlyER2MXDx6htO8EZ8qg33F2xhL3X9KY/UzobT9NGWtXLhOyg1LDTGSYPhZWMYSBcGVVZk0K3UZkEMqL/XC404Izjp4e3DcPtwmVDMLEA57iBPTQGUxxBcNo= Received: by 10.38.149.3 with SMTP id w3mr226876rnd; Sun, 13 Feb 2005 09:05:39 -0800 (PST) Received: by 10.38.73.32 with HTTP; Sun, 13 Feb 2005 09:05:39 -0800 (PST) Message-ID: <5ae9cd55050213090527d9a4c9@mail.gmail.com> Date: Sun, 13 Feb 2005 12:05:39 -0500 From: Ben Dover To: aklist_061666 In-Reply-To: <002001c5106a$08495a90$0b01a8c0@enigmedia.net> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit References: <002001c5106a$08495a90$0b01a8c0@enigmedia.net> cc: freebsd-questions@freebsd.org Subject: Re: Newbie upgrade problem X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Ben Dover List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 13 Feb 2005 17:05:40 -0000 On Fri, 11 Feb 2005 13:46:43 -0500, aklist_061666 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