Bind 9.3.1 (Address Already in use!)
Otis Surratt Jr.
listacc at ocosa.com
Fri Nov 25 14:51:13 UTC 2005
Hello,
My problem with the rndc key stuff is fixed :) I figured it out. But I
did a named -g and got this output:
ns1# named -g
25-Nov-2005 02:46:03.045 starting BIND 9.3.1 -g
25-Nov-2005 02:46:03.045 found 1 CPU, using 1 worker thread
25-Nov-2005 02:46:03.050 loading configuration from '/etc/namedb/named.conf'
25-Nov-2005 02:46:03.066 listening on IPv4 interface lo0, 127.0.0.1#53
25-Nov-2005 02:46:03.066 could not listen on UDP socket: address in use
25-Nov-2005 02:46:03.066 creating IPv4 interface lo0 failed; interface
ignored
25-Nov-2005 02:46:03.067 not listening on any interfaces
25-Nov-2005 02:46:03.086 /etc/namedb/named.conf:119: couldn't add
command channel 127.0.0.1#953: address in use
25-Nov-2005 02:46:03.086 ignoring config file logging statement due to
-g option
25-Nov-2005 02:46:03.098 additionally listening on IPv4 interface lo0,
127.0.0.1#53
25-Nov-2005 02:46:03.098 could not listen on UDP socket: address in use
then I did a sockstat
ns1# sockstat
USER COMMAND PID FD PROTO LOCAL ADDRESS FOREIGN ADDRESS
otis sshd 1360 3 stream -> ??
otis sshd 1360 5 tcp4 192.168.30.2:22 65.38.9.195:10004
root sshd 1357 4 stream -> ??
root sshd 1357 5 tcp4 192.168.30.2:22 65.38.9.195:10004
root inetd 475 4 tcp4 *:514 *:*
root inetd 475 5 dgram -> /var/run/logpriv
smmsp sendmail 417 3 dgram -> /var/run/log
root sendmail 413 3 tcp4 127.0.0.1:25 *:*
root sendmail 413 4 dgram -> /var/run/logpriv
root sshd 407 3 tcp6 *:22 *:*
root sshd 407 4 tcp4 *:22 *:*
root perl5.8.6 371 4 dgram -> /var/run/log
root perl5.8.6 371 5 tcp4 *:10000 *:*
root perl5.8.6 371 6 udp4 *:10000 *:*
root rpcbind 292 4 udp6 *:* *:*
root rpcbind 292 5 stream /var/run/rpcbind.sock
root rpcbind 292 6 udp6 *:111 *:*
root rpcbind 292 7 udp6 *:1023 *:*
root rpcbind 292 8 tcp6 *:111 *:*
root rpcbind 292 9 udp4 *:111 *:*
root rpcbind 292 10 udp4 *:875 *:*
root rpcbind 292 11 tcp4 *:111 *:*
bind named 282 3 dgram -> /var/run/logpriv
bind named 282 20 udp4 127.0.0.1:53 *:*
bind named 282 21 tcp4 127.0.0.1:53 *:*
bind named 282 22 udp4 *:62763 *:*
bind named 282 23 udp6 *:62764 *:*
bind named 282 24 tcp4 127.0.0.1:953 *:*
root syslogd 267 3 dgram /var/run/log
root syslogd 267 4 dgram /var/run/logpriv
root syslogd 267 5 dgram /var/run/log
root syslogd 267 6 dgram /var/named/var/run/log
root syslogd 267 7 udp6 *:514 *:*
root syslogd 267 8 udp4 *:514 *:*
root devd 245 4 stream /var/run/devd.pipe
Can someone tell me how to fix this problem. Bind doesn't work b/c it
can bind to an address! it says udp socket already in use!
My named.conf is telling it to listen on 127.0.0.1 and the rndc.conf
says 127.0.0.1. I have tried using the actual network card address not
look. I had have a second card in the server still not look rndc doesn't
not see those address or something!
-----------------------------------------
Otis Surratt Jr. / otis at ocosa.com
-----------------------------------------
More information about the bind-users
mailing list