Date: Fri, 04 Oct 2002 09:32:37 +0400 From: Deiter Alex <tiamat@komi.mts.ru> To: freebsd-sparc@FreeBSD.ORG Subject: named: solution of a problem Message-ID: <3D9D27F5.7060205@komi.mts.ru>
next in thread | raw e-mail | index | archive | help
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<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 inet 10.50.1.10 netmask 0xffffff00 broadcast 10.50.1.255 ether 00:03:ba:13:22:05 media: Ethernet 100baseTX <full-duplex> status: active lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> 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<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> 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<UP,LOOPBACK,RUNNING,MULTICAST> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3D9D27F5.7060205>