From: Herbert Poetzl (herbert_at_13thfloor.at)
Date: Wed 03 Sep 2003 - 14:50:08 BST
On Wed, Sep 03, 2003 at 05:58:28AM -0700, Rus Foster wrote:
> > make an strace of the named process, and let
> > us have a look at the 'relevant' parts ...
> >
> > best,
> > Herbert
> >
>
> Hi,
> The relavant snippit is
[useful info zapped]
not really, but fortunately you provided the full trace
really a fascinating piece of software (bind), they
do things, nobody ever dreamed of ... ;)
1302 bind(20, {sin_family=AF_INET, sin_port=htons(53), sin_addr=inet_addr("216.17.101.51")}}, 16) = 0
1303 fcntl64(20, F_GETFL) = 0x802 (flags O_RDWR|O_NONBLOCK)
1304 socket(PF_INET, SOCK_STREAM, IPPROTO_IP) = 6
1305 fcntl64(6, F_DUPFD, 20) = 21
1306 close(6) = 0
1307 fcntl64(21, F_SETFD, FD_CLOEXEC) = 0
1308 setsockopt(21, SOL_SOCKET, SO_REUSEADDR, [1], 4) = 0
1309 bind(21, {sin_family=AF_INET, sin_port=htons(53), sin_addr=inet_addr("216.17.101.51")}}, 16) = 0
1310 fcntl64(21, F_GETFL) = 0x2 (flags O_RDWR)
1311 fcntl64(21, F_SETFL, O_RDWR|O_NONBLOCK) = 0
1312 listen(21, 50) = 0
and a few syscalls later ...
1332 bind(22, {sin_family=AF_INET, sin_port=htons(53), sin_addr=inet_addr("216.17.101.202")}}, 16) = 0
1333 fcntl64(22, F_GETFL) = 0x802 (flags O_RDWR|O_NONBLOCK)
1334 socket(PF_INET, SOCK_STREAM, IPPROTO_IP) = 6
1335 fcntl64(6, F_DUPFD, 20) = 23
1336 close(6) = 0
1337 fcntl64(23, F_SETFD, FD_CLOEXEC) = 0
1338 setsockopt(23, SOL_SOCKET, SO_REUSEADDR, [1], 4) = 0
1339 bind(23, {sin_family=AF_INET, sin_port=htons(53), sin_addr=inet_addr("216.17.101.202")}}, 16) = -1 EADDRINUSE (Address already in use)
1340 close(23) = 0
a few questions remain:
o) what kernel/ctx version do you use?
o) what bind version exactly
also could you try to change the order of the
addresses (216.17.101.51, 216.17.101.202) for bind?
best,
Herbert