Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 12 Apr 2001 12:58:04 -0400 (EDT)
From:      Peter Brezny <peter@black.purplecat.net>
To:        freebsd-net@freebsd.org
Subject:   running two instances of bind
Message-ID:  <Pine.BSF.4.05.10104121222240.6017-100000@black.purplecat.net>

next in thread | raw e-mail | index | archive | help
I'm attempting to get two instances of bind running on the same machine.

When I start the second instance, i get this error:

named[15794]: ctl_server: bind: /var/run/ndc: Address already in use

However it each instance of named can be found with a ps wax|grep named,
and it appears that each can answer queries.

I've got separate configurations in separate directories.  The named.conf
files specify separate ip addresses for the two instances to listen on.

I'm starting the instances as follows:

named -u bind -c /path/to/named.conf1
named -u bind -c /path/to/named.conf2

Any ideas as to why i'm gettin this error?  I don't believe that it's
because the ip address is already in use (that error message went away
when i added the 'listen-on { ;}; statements in each named.conf file)...

TIA

pb



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-net" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.05.10104121222240.6017-100000>