[prev in list] [next in list] [prev in thread] [next in thread]
List: freebsd-sparc64
Subject: named: solution of a problem
From: Deiter Alex <tiamat () komi ! mts ! ru>
Date: 2002-10-04 5:32:37
[Download RAW message or body]
I found a reason of an error:
named[5785]: bind(dfd , [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ˆ43<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€49<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 , [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ˆ43<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€49<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
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic