Date: Tue, 01 Oct 2002 14:55:30 +0400 From: Deiter Alex <tiamat@komi.mts.ru> To: freebsd-sparc@FreeBSD.ORG Cc: Robert Watson <rwatson@FreeBSD.ORG> Subject: Re: named: Can't assign requested address Message-ID: <3D997F22.8010507@komi.mts.ru> References: <Pine.NEB.3.96L.1020930122639.15622L-100000@fledge.watson.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3D997F22.8010507>