From owner-freebsd-sparc Thu Oct 3 22:32:19 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 D5FB937B401 for ; Thu, 3 Oct 2002 22:32:17 -0700 (PDT) Received: from madlen.mts.ru (madlen.mts.ru [212.44.140.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id 810C243E3B for ; Thu, 3 Oct 2002 22:32:15 -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 g945WBv07766 for ; Fri, 4 Oct 2002 09:32:13 +0400 (MSD) X-Envelope-To: Received: from stella.komi.mts.ru ([10.50.1.1]) by cache2.inside.mts.ru (NAVGW 2.5.2.12) with SMTP id M2002100409320828019 for ; Fri, 04 Oct 2002 09:32:09 +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 g945W6YJ027208 for ; Fri, 4 Oct 2002 09:32:06 +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 g945W4IW073124 for ; Fri, 4 Oct 2002 09:32:06 +0400 (MSD) (envelope-from tiamat@komi.mts.ru) Message-ID: <3D9D27F5.7060205@komi.mts.ru> Date: Fri, 04 Oct 2002 09:32:37 +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 Subject: named: solution of a problem Content-Type: text/plain; charset=KOI8-R; 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 I found a reason of an error: named[5785]: bind(dfd=20, [10.50.1.10].53): Can't assign requested address The error appears if obviously to set mediaopt on the network interface: in /etc/rc.conf: ifconfig_gem0="inet 10.50.1.10 netmask 255.255.255.0 media 100BaseTX mediaopt full-duplex" # ifconfig gem0: flags=8843 mtu 1500 inet 10.50.1.10 netmask 0xffffff00 broadcast 10.50.1.255 ether 00:03:ba:13:22:05 media: Ethernet 100baseTX status: active lo0: flags=8049 mtu 16384 inet 127.0.0.1 netmask 0xff000000 # ndc start new pid is 177 Oct 4 09:23:54 selma named[176]: starting (/etc/namedb/named.conf). named 8.3.3-REL Thu Oct 3 19:21:53 MSD 2002 root@selma.komi.mts.ru:/usr/obj/usr/src/usr.sbin/named Oct 4 09:23:54 selma named[176]: limit files set to fdlimit (1024) Oct 4 09:23:54 selma named[176]: bind(dfd=20, [10.50.1.10].53): Can't assign requested adress Oct 4 09:23:54 selma named[176]: deleting interface [10.50.1.10].53 Oct 4 09:23:54 selma named[177]: Ready to answer queries. # netstat -a | grep LISTEN | grep domain tcp4 0 0 localhost.domain *.* LISTEN named works without errors if not to set speed and the duplex: in /etc/rc.conf: ifconfig_gem0="inet 10.50.1.10 netmask 255.255.255.0" # ifconfig gem0: flags=8843 mtu 1500 inet 10.50.1.10 netmask 0xffffff00 broadcast 10.50.1.255 ether 00:03:ba:13:22:05 media: Ethernet autoselect (100baseTX) status: active lo0: flags=8049 mtu 16384 inet 127.0.0.1 netmask 0xff000000 # ndc start new pid is 1552 Oct 4 09:20:39 selma named[1551]: starting (/etc/namedb/named.conf). named 8.3.3-REL Thu Oct 3 19:21:53 MSD 2002 root@selma.komi.mts.ru:/usr/obj/usr/src/usr.sbin/named Oct 4 09:20:39 selma named[1551]: limit files set to fdlimit (1024) Oct 4 09:20:39 selma named[1552]: Ready to answer queries. # netstat -a | grep LISTEN|grep domain tcp4 0 0 localhost.domain *.* LISTEN tcp4 0 0 selma.domain *.* LISTEN hardware: server netra T1 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