From owner-freebsd-sparc Tue Oct 1 3:55:17 2002 Delivered-To: freebsd-sparc@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4286F37B401; Tue, 1 Oct 2002 03:55:14 -0700 (PDT) Received: from madlen.mts.ru (madlen.mts.ru [212.44.140.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7875143E88; Tue, 1 Oct 2002 03:55:12 -0700 (PDT) (envelope-from tiamat@komi.mts.ru) Received: from cache2.inside.mts.ru ([192.168.10.3]) by madlen.mts.ru with SMTP id g91At9G19372; Tue, 1 Oct 2002 14:55:10 +0400 (MSD) Received: from stella.komi.mts.ru ([10.50.1.1]) by cache2.inside.mts.ru (NAVGW 2.5.2.12) with SMTP id M2002100114550627708 ; Tue, 01 Oct 2002 14:55:07 +0400 Received: from sunny.komi.mts.ru (sunny.komi.mts.ru [10.50.7.1]) (user=smmta mech=CRAM-MD5 bits=0) by stella.komi.mts.ru (MTS Komi/Smtp) with ESMTP id g91At47U033537; Tue, 1 Oct 2002 14:55:04 +0400 (MSD) (envelope-from tiamat@komi.mts.ru) Received: from komi.mts.ru (dav.komi.mts.ru [10.50.1.99]) (user=tiamat mech=PLAIN bits=0) by sunny.komi.mts.ru (MTS Komi/Smtp) with ESMTP id g91At2IW091832; Tue, 1 Oct 2002 14:55:04 +0400 (MSD) (envelope-from tiamat@komi.mts.ru) Message-ID: <3D997F22.8010507@komi.mts.ru> Date: Tue, 01 Oct 2002 14:55:30 +0400 From: Deiter Alex Organization: Mobile TeleSystems, Komi Republic User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.0.1) Gecko/20020823 Netscape/7.0 X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-sparc@FreeBSD.ORG Cc: Robert Watson Subject: Re: named: Can't assign requested address References: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-freebsd-sparc@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Robert Watson wrote: >If you set up named using identical named configuration files on i386, do >you have the same problem? I.e., are we sure this is a sparc64 problem? > Yes. on i386 bind work fine: # uname -a FreeBSD samba.komi.mts.ru 5.0-CURRENT FreeBSD 5.0-CURRENT #0: Tue Oct 1 13:19:59 MSD 2002 root@samba.komi.mts.ru:/usr/obj/usr/src/sys/GENERIC i386 # named -v named 8.3.3-REL Tue Oct 1 12:28:25 MSD 2002 root@samba.komi.mts.ru:/usr/obj/usr/src/usr.sbin/named # cat named.conf options { directory "/etc/namedb"; pid-file "/var/run/named/pid"; forward only; forwarders { 10.50.1.1; }; }; zone "0.0.127.IN-ADDR.ARPA" { type master; file "localhost.rev"; }; # /usr/sbin/named -d 999 Oct 1 14:45:57 samba named[1295]: starting (/etc/namedb/named.conf). named 8.3.3-REL Tue Oct 1 12:28:25 MSD 2002 root@samba.komi.mts.ru:/usr/obj/usr/src/usr.sbin/named Oct 1 14:45:57 samba named[1295]: limit files set to fdlimit (1024) Oct 1 14:45:57 samba named[1296]: Ready to answer queries. # netstat -a | grep LISTEN | grep domain tcp4 0 0 localhost.domain *.* LISTEN tcp4 0 0 samba.domain *.* LISTEN named.run: getnetconf(generation 1033469095) getnetconf: SIOCGIFCONF: ifc_len = 412 fxp0 sa_len = 56 getnetconf: fxp0 AF 18 != INET fxp0 sa_len = 28 getnetconf: fxp0 AF 28 != INET fxp0 sa_len = 16 getnetconf: considering fxp0 [10.50.1.14] ifp->addr [10.50.1.14].53 d_dfd 20 evSelectFD(ctx 0x813e000, fd 20, mask 0x1, func 0x8064b70, uap 0x810918c) evSelectFD(fd 20, mask 0x1): new masks: 0x100040 0x0 0x0 evSelectFD(ctx 0x813e000, fd 21, mask 0x1, func 0x8094770, uap 0x80fe0c4) evSelectFD(fd 21, mask 0x1): new masks: 0x300040 0x0 0x0 listening on [10.50.1.14].53 (fxp0) lp0 sa_len = 56 on sparc named don't listen on ethernet interface: # uname -a FreeBSD selma.komi.mts.ru 5.0-CURRENT FreeBSD 5.0-CURRENT #0: Mon Sep 30 15:14:10 MSD 2002 root@selma.komi.mts.ru:/usr/obj/usr/src/sys/GENERIC sparc64 # named -v named 8.3.3-REL Mon Sep 30 17:16:47 MSD 2002 root@selma.komi.mts.ru:/usr/obj/usr/src/usr.sbin/named # cat named.conf options { directory "/etc/namedb"; pid-file "/var/run/named/pid"; forward only; forwarders { 10.50.1.1; }; }; zone "0.0.127.IN-ADDR.ARPA" { type master; file "localhost.rev"; }; # /usr/sbin/named -d 999 Oct 1 14:50:11 selma named[2622]: starting (/etc/namedb/named.conf). named 8.3.3-REL Mon Sep 30 17:16:47 MSD 2002 root@selma.komi.mts.ru:/usr/obj/usr/src/usr.sbin/named Oct 1 14:50:11 selma named[2622]: limit files set to fdlimit (1024) Oct 1 14:50:11 selma named[2622]: bind(dfd=20, [10.50.1.10].53): Can't assign requested address Oct 1 14:50:11 selma named[2622]: deleting interface [10.50.1.10].53 Oct 1 14:50:11 selma named[2623]: Ready to answer queries. # netstat -a | grep LISTEN | grep domain tcp4 0 0 localhost.domain *.* LISTEN named.run: getnetconf(generation 1033469528) getnetconf: SIOCGIFCONF: ifc_len = 340 gem0 sa_len = 56 getnetconf: gem0 AF 18 != INET gem0 sa_len = 16 getnetconf: considering gem0 [10.50.1.10] ifp->addr [10.50.1.10].53 d_dfd 20 bind(dfd=20, [10.50.1.10].53): Can't assign requested address deleting interface [10.50.1.10].53 not listening on addr [10.50.1.10] (gem0) gem0 sa_len = 28 Thanks! -- Deiter Alex, Mobile TeleSystems, Komi Republic To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-sparc" in the body of the message