From owner-freebsd-net Thu Apr 12 10: 4: 4 2001 Delivered-To: freebsd-net@freebsd.org Received: from mx.databus.com (p101-44.acedsl.com [160.79.101.44]) by hub.freebsd.org (Postfix) with ESMTP id 4B74337B42C for ; Thu, 12 Apr 2001 10:04:01 -0700 (PDT) (envelope-from barney@mx.databus.com) Received: (from barney@localhost) by mx.databus.com (8.11.3/8.11.3) id f3CH3YP33045; Thu, 12 Apr 2001 13:03:34 -0400 (EDT) (envelope-from barney) Date: Thu, 12 Apr 2001 13:03:34 -0400 From: Barney Wolff To: Peter Brezny Cc: freebsd-net@FreeBSD.ORG Subject: Re: running two instances of bind Message-ID: <20010412130334.A33006@mx.databus.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i In-Reply-To: ; from peter@black.purplecat.net on Thu, Apr 12, 2001 at 12:58:04PM -0400 Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org That's the named control channel, used to pass commands to it, replacing the old way of using signals. Check the docs, there must be a way to tell it to listen on a different Unix-domain socket. Barney Wolff On Thu, Apr 12, 2001 at 12:58:04PM -0400, Peter Brezny wrote: > 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 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message