From user-return-17743-apmail-couchdb-user-archive=couchdb.apache.org@couchdb.apache.org Wed Aug 31 21:09:10 2011 Return-Path: X-Original-To: apmail-couchdb-user-archive@www.apache.org Delivered-To: apmail-couchdb-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 9BE7D7DC6 for ; Wed, 31 Aug 2011 21:09:10 +0000 (UTC) Received: (qmail 46614 invoked by uid 500); 31 Aug 2011 21:09:09 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 46550 invoked by uid 500); 31 Aug 2011 21:09:08 -0000 Mailing-List: contact user-help@couchdb.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@couchdb.apache.org Delivered-To: mailing list user@couchdb.apache.org Received: (qmail 46533 invoked by uid 99); 31 Aug 2011 21:09:07 -0000 Received: from minotaur.apache.org (HELO minotaur.apache.org) (140.211.11.9) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 31 Aug 2011 21:09:07 +0000 Received: from localhost (HELO mail-iy0-f180.google.com) (127.0.0.1) (smtp-auth username rnewson, mechanism plain) by minotaur.apache.org (qpsmtpd/0.29) with ESMTP; Wed, 31 Aug 2011 21:09:07 +0000 Received: by iabz7 with SMTP id z7so1702304iab.11 for ; Wed, 31 Aug 2011 14:09:07 -0700 (PDT) MIME-Version: 1.0 Received: by 10.231.84.196 with SMTP id k4mr1490428ibl.45.1314824946985; Wed, 31 Aug 2011 14:09:06 -0700 (PDT) Received: by 10.231.155.129 with HTTP; Wed, 31 Aug 2011 14:09:06 -0700 (PDT) In-Reply-To: <201108312238.34260.markus.jelsma@openindex.io> References: <201108312125.39611.markus.jelsma@openindex.io> <201108312238.34260.markus.jelsma@openindex.io> Date: Wed, 31 Aug 2011 22:09:06 +0100 Message-ID: Subject: Re: Documents not added if bind address != used host From: Robert Newson To: user@couchdb.apache.org, markus.jelsma@openindex.io Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable Being able to run two separate couchdb instances on the same machine is considered a feature. Not being able to tell them apart is considered a bug (in wetware). :) B. On 31 August 2011 21:38, Markus Jelsma wrote: > Hi, > > Incredible. I somehow managed to start two instances running on the same = port > with a different bind address?!? > > There's only one log file and the test DB isn't listed in > /var/lib/couchdb/0.11.0. Yet i can query the test DB using localhost but = not > using the FQDN. > > I've an import running on the FQDN now so when it's finished i'll stop/ki= ll > all instances. Using lsof i now see the test DB as test.couch (deleted). > > Is it considered a feature to be able to end up in this mess - starting t= wo > instances but getting different data depending on bind address? I now rem= ember > that the restart of the first running couch on localhost failed and actua= lly > expected it to continue gracefully. It didn't stop the first running couc= h but > did start the second on the new bind address. > > Thanks > >> It sounds as though when you access localhost you=92re reaching a _diffe= rent_ >> CouchDB instance. Are you sure the machine doesn=92t already have a Couc= hDB >> running, perhaps bound only to the loopback interface? For instance, GNO= ME >> desktop, at least on Ubuntu, uses a local CouchDB to manage the user=92s >> address book/calendar data. Maybe you=92re hitting that one. >> >> Try looking at and see if your missing >> documents are showing up there. >> >> =97Jens >