Return-Path: Delivered-To: apmail-couchdb-dev-archive@www.apache.org Received: (qmail 45279 invoked from network); 16 Sep 2009 08:01:25 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 16 Sep 2009 08:01:25 -0000 Received: (qmail 12068 invoked by uid 500); 16 Sep 2009 08:01:24 -0000 Delivered-To: apmail-couchdb-dev-archive@couchdb.apache.org Received: (qmail 12000 invoked by uid 500); 16 Sep 2009 08:01:24 -0000 Mailing-List: contact dev-help@couchdb.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@couchdb.apache.org Delivered-To: mailing list dev@couchdb.apache.org Received: (qmail 11985 invoked by uid 99); 16 Sep 2009 08:01:24 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 16 Sep 2009 08:01:24 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of b.candler@pobox.com designates 64.74.157.62 as permitted sender) Received: from [64.74.157.62] (HELO sasl.smtp.pobox.com) (64.74.157.62) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 16 Sep 2009 08:01:10 +0000 Received: from sasl.smtp.pobox.com (unknown [127.0.0.1]) by a-pb-sasl-sd.pobox.com (Postfix) with ESMTP id 2C09E5309D; Wed, 16 Sep 2009 04:00:48 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=pobox.com; h=date:from:to :cc:subject:message-id:references:mime-version:content-type :in-reply-to; s=sasl; bh=L24KFsBVTmb0r1RCBQA74Qs+/a0=; b=tzs2827 tSyMHYAEe+tvMymRcLcXS8In6kbySZKw9A3WIBWU+WAmLdVrxMt9vsqdKoWZBQMB jblI+UhPMon4bpWcTk+Lz0f2Y9q/ioLRhSNN9CUDrRySqJ2VlD0TR8nddEH2zqpP hT1FTeLQD6u8jQj/Be5NUroP/afY3yRC/hI0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=pobox.com; h=date:from:to:cc :subject:message-id:references:mime-version:content-type :in-reply-to; q=dns; s=sasl; b=qiSjEY6oDSTfCzwLSYvF7iVcA/UPf51TE ysBPJw6xi8q8/DLqLhQWk7ZzF8F3tbJ9PfPLj/Mga94PIXM/7M6B2bXWkn56vSDU 2GCUzr/u5ZALETjXKLw/STD0rOiiMXC6ddxcuy1By93zj9v2qgrGbRQkiIpKrQQp kg9kyKI69Q= Received: from a-pb-sasl-sd.pobox.com (unknown [127.0.0.1]) by a-pb-sasl-sd.pobox.com (Postfix) with ESMTP id 1A6AF5309C; Wed, 16 Sep 2009 04:00:47 -0400 (EDT) Received: from mappit (unknown [80.45.95.114]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by a-pb-sasl-sd.pobox.com (Postfix) with ESMTPSA id B54985309B; Wed, 16 Sep 2009 04:00:44 -0400 (EDT) Received: from brian by mappit with local (Exim 4.69) (envelope-from ) id 1MnpRS-0007GJ-R9; Wed, 16 Sep 2009 09:00:42 +0100 Date: Wed, 16 Sep 2009 09:00:42 +0100 From: Brian Candler To: Adam Kocoloski Cc: dev@couchdb.apache.org Subject: Re: CouchDB failing to open socket 5984 ? Message-ID: <20090916080042.GB11478@uk.tiscali.com> References: <5F4F0CBE-451F-4548-A682-50B968163B26@apache.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <5F4F0CBE-451F-4548-A682-50B968163B26@apache.org> User-Agent: Mutt/1.5.17+20080114 (2008-01-14) X-Pobox-Relay-ID: 0AADA2E0-A297-11DE-B74B-8B19076EA04E-28021239!a-pb-sasl-sd.pobox.com X-Virus-Checked: Checked by ClamAV on apache.org On Tue, Sep 15, 2009 at 10:46:06AM -0400, Adam Kocoloski wrote: > The first thing I'd wonder is whether > those couch-0.XX.0aXXXXXX were accidentally named in such a way (by us) > that the Erlang code loader was searching older builds with higher > priority Unfortunately I didn't keep a copy of the directory listing. But I do have a similar workstation that I hadn't updated. So I've just updated it, and it suffers the same problem. Looking at its erlang lib dir: $ ls /usr/local/lib/couchdb/erlang/lib/ couch-0.10.0a couch-0.10.0a787002 couch-0.9.0a766377 couch-0.10.0a767851 couch-0.10.0a787654 couch-0.9.0a766689 couch-0.10.0a768591 couch-0.10.0a790597 couch-0.9.0a767067 couch-0.10.0a769730 couch-0.11.0a815641 couch-0.9.0a767213 couch-0.10.0a769794 couch-0.9.0 erlang-oauth couch-0.10.0a771737 couch-0.9.0a757147 ibrowse-1.4.1 couch-0.10.0a772530 couch-0.9.0a762247 ibrowse-1.5.2 couch-0.10.0a778641 couch-0.9.0a765499 mochiweb-r97 I have very little erlang fu, but I had a look at the OS level by adding 'strace' in front of '/usr/bin/erl' in the startup script. This gives the following. $ sudo -i -u couchdb /home/brian/svn/couchdb/start-couchdb 2>xxx ^C $ grep couch- xxx stat64("/usr/local/lib/couchdb/erlang/lib/couch-0.9.0/ebin", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 access("/usr/local/lib/couchdb/erlang/lib/couch-0.9.0/ebin", R_OK) = 0 access("/usr/local/lib/couchdb/erlang/lib/couch-0.9.0/ebin", W_OK) = -1 EACCES (Permission denied) stat64("/usr/local/lib/couchdb/erlang/lib/couch-0.10.0a/ebin", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 access("/usr/local/lib/couchdb/erlang/lib/couch-0.10.0a/ebin", R_OK) = 0 access("/usr/local/lib/couchdb/erlang/lib/couch-0.10.0a/ebin", W_OK) = -1 EACCES (Permission denied) stat64("/usr/local/lib/couchdb/erlang/lib/couch-0.10.0a767851/ebin", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 access("/usr/local/lib/couchdb/erlang/lib/couch-0.10.0a767851/ebin", R_OK) = 0 access("/usr/local/lib/couchdb/erlang/lib/couch-0.10.0a767851/ebin", W_OK) = -1 EACCES (Permission denied) stat64("/usr/local/lib/couchdb/erlang/lib/couch-0.10.0a768591/ebin", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 access("/usr/local/lib/couchdb/erlang/lib/couch-0.10.0a768591/ebin", R_OK) = 0 access("/usr/local/lib/couchdb/erlang/lib/couch-0.10.0a768591/ebin", W_OK) = -1 EACCES (Permission denied) stat64("/usr/local/lib/couchdb/erlang/lib/couch-0.10.0a769730/ebin", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 access("/usr/local/lib/couchdb/erlang/lib/couch-0.10.0a769730/ebin", R_OK) = 0 access("/usr/local/lib/couchdb/erlang/lib/couch-0.10.0a769730/ebin", W_OK) = -1 EACCES (Permission denied) stat64("/usr/local/lib/couchdb/erlang/lib/couch-0.10.0a769794/ebin", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 access("/usr/local/lib/couchdb/erlang/lib/couch-0.10.0a769794/ebin", R_OK) = 0 access("/usr/local/lib/couchdb/erlang/lib/couch-0.10.0a769794/ebin", W_OK) = -1 EACCES (Permission denied) stat64("/usr/local/lib/couchdb/erlang/lib/couch-0.10.0a771737/ebin", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 access("/usr/local/lib/couchdb/erlang/lib/couch-0.10.0a771737/ebin", R_OK) = 0 access("/usr/local/lib/couchdb/erlang/lib/couch-0.10.0a771737/ebin", W_OK) = -1 EACCES (Permission denied) stat64("/usr/local/lib/couchdb/erlang/lib/couch-0.10.0a772530/ebin", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 access("/usr/local/lib/couchdb/erlang/lib/couch-0.10.0a772530/ebin", R_OK) = 0 access("/usr/local/lib/couchdb/erlang/lib/couch-0.10.0a772530/ebin", W_OK) = -1 EACCES (Permission denied) stat64("/usr/local/lib/couchdb/erlang/lib/couch-0.10.0a778641/ebin", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 access("/usr/local/lib/couchdb/erlang/lib/couch-0.10.0a778641/ebin", R_OK) = 0 access("/usr/local/lib/couchdb/erlang/lib/couch-0.10.0a778641/ebin", W_OK) = -1 EACCES (Permission denied) stat64("/usr/local/lib/couchdb/erlang/lib/couch-0.10.0a787002/ebin", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 access("/usr/local/lib/couchdb/erlang/lib/couch-0.10.0a787002/ebin", R_OK) = 0 access("/usr/local/lib/couchdb/erlang/lib/couch-0.10.0a787002/ebin", W_OK) = -1 EACCES (Permission denied) stat64("/usr/local/lib/couchdb/erlang/lib/couch-0.10.0a787654/ebin", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 access("/usr/local/lib/couchdb/erlang/lib/couch-0.10.0a787654/ebin", R_OK) = 0 access("/usr/local/lib/couchdb/erlang/lib/couch-0.10.0a787654/ebin", W_OK) = -1 EACCES (Permission denied) stat64("/usr/local/lib/couchdb/erlang/lib/couch-0.10.0a790597/ebin", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 access("/usr/local/lib/couchdb/erlang/lib/couch-0.10.0a790597/ebin", R_OK) = 0 access("/usr/local/lib/couchdb/erlang/lib/couch-0.10.0a790597/ebin", W_OK) = -1 EACCES (Permission denied) stat64("/usr/local/lib/couchdb/erlang/lib/couch-0.11.0a815641/ebin", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 access("/usr/local/lib/couchdb/erlang/lib/couch-0.11.0a815641/ebin", R_OK) = 0 access("/usr/local/lib/couchdb/erlang/lib/couch-0.11.0a815641/ebin", W_OK) = -1 EACCES (Permission denied) stat64("/usr/local/lib/couchdb/erlang/lib/couch-0.9.0a757147/ebin", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 access("/usr/local/lib/couchdb/erlang/lib/couch-0.9.0a757147/ebin", R_OK) = 0 access("/usr/local/lib/couchdb/erlang/lib/couch-0.9.0a757147/ebin", W_OK) = -1 EACCES (Permission denied) stat64("/usr/local/lib/couchdb/erlang/lib/couch-0.9.0a762247/ebin", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 access("/usr/local/lib/couchdb/erlang/lib/couch-0.9.0a762247/ebin", R_OK) = 0 access("/usr/local/lib/couchdb/erlang/lib/couch-0.9.0a762247/ebin", W_OK) = -1 EACCES (Permission denied) stat64("/usr/local/lib/couchdb/erlang/lib/couch-0.9.0a765499/ebin", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 access("/usr/local/lib/couchdb/erlang/lib/couch-0.9.0a765499/ebin", R_OK) = 0 access("/usr/local/lib/couchdb/erlang/lib/couch-0.9.0a765499/ebin", W_OK) = -1 EACCES (Permission denied) stat64("/usr/local/lib/couchdb/erlang/lib/couch-0.9.0a766377/ebin", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 access("/usr/local/lib/couchdb/erlang/lib/couch-0.9.0a766377/ebin", R_OK) = 0 access("/usr/local/lib/couchdb/erlang/lib/couch-0.9.0a766377/ebin", W_OK) = -1 EACCES (Permission denied) stat64("/usr/local/lib/couchdb/erlang/lib/couch-0.9.0a766689/ebin", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 access("/usr/local/lib/couchdb/erlang/lib/couch-0.9.0a766689/ebin", R_OK) = 0 access("/usr/local/lib/couchdb/erlang/lib/couch-0.9.0a766689/ebin", W_OK) = -1 EACCES (Permission denied) stat64("/usr/local/lib/couchdb/erlang/lib/couch-0.9.0a767067/ebin", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 access("/usr/local/lib/couchdb/erlang/lib/couch-0.9.0a767067/ebin", R_OK) = 0 access("/usr/local/lib/couchdb/erlang/lib/couch-0.9.0a767067/ebin", W_OK) = -1 EACCES (Permission denied) stat64("/usr/local/lib/couchdb/erlang/lib/couch-0.9.0a767213/ebin", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 access("/usr/local/lib/couchdb/erlang/lib/couch-0.9.0a767213/ebin", R_OK) = 0 access("/usr/local/lib/couchdb/erlang/lib/couch-0.9.0a767213/ebin", W_OK) = -1 EACCES (Permission denied) stat64("/usr/local/lib/couchdb/erlang/lib/couch-0.9.0a767213/ebin", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 access("/usr/local/lib/couchdb/erlang/lib/couch-0.9.0a767213/ebin", R_OK) = 0 access("/usr/local/lib/couchdb/erlang/lib/couch-0.9.0a767213/ebin", W_OK) = -1 EACCES (Permission denied) stat64("/usr/local/lib/couchdb/erlang/lib/couch-0.9.0a767067/ebin", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 access("/usr/local/lib/couchdb/erlang/lib/couch-0.9.0a767067/ebin", R_OK) = 0 access("/usr/local/lib/couchdb/erlang/lib/couch-0.9.0a767067/ebin", W_OK) = -1 EACCES (Permission denied) stat64("/usr/local/lib/couchdb/erlang/lib/couch-0.9.0a766689/ebin", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 access("/usr/local/lib/couchdb/erlang/lib/couch-0.9.0a766689/ebin", R_OK) = 0 access("/usr/local/lib/couchdb/erlang/lib/couch-0.9.0a766689/ebin", W_OK) = -1 EACCES (Permission denied) stat64("/usr/local/lib/couchdb/erlang/lib/couch-0.9.0a766377/ebin", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 access("/usr/local/lib/couchdb/erlang/lib/couch-0.9.0a766377/ebin", R_OK) = 0 access("/usr/local/lib/couchdb/erlang/lib/couch-0.9.0a766377/ebin", W_OK) = -1 EACCES (Permission denied) stat64("/usr/local/lib/couchdb/erlang/lib/couch-0.9.0a765499/ebin", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 access("/usr/local/lib/couchdb/erlang/lib/couch-0.9.0a765499/ebin", R_OK) = 0 access("/usr/local/lib/couchdb/erlang/lib/couch-0.9.0a765499/ebin", W_OK) = -1 EACCES (Permission denied) stat64("/usr/local/lib/couchdb/erlang/lib/couch-0.9.0a762247/ebin", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 access("/usr/local/lib/couchdb/erlang/lib/couch-0.9.0a762247/ebin", R_OK) = 0 access("/usr/local/lib/couchdb/erlang/lib/couch-0.9.0a762247/ebin", W_OK) = -1 EACCES (Permission denied) stat64("/usr/local/lib/couchdb/erlang/lib/couch-0.9.0a757147/ebin", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 access("/usr/local/lib/couchdb/erlang/lib/couch-0.9.0a757147/ebin", R_OK) = 0 access("/usr/local/lib/couchdb/erlang/lib/couch-0.9.0a757147/ebin", W_OK) = -1 EACCES (Permission denied) stat64("/usr/local/lib/couchdb/erlang/lib/couch-0.11.0a815641/ebin", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 access("/usr/local/lib/couchdb/erlang/lib/couch-0.11.0a815641/ebin", R_OK) = 0 access("/usr/local/lib/couchdb/erlang/lib/couch-0.11.0a815641/ebin", W_OK) = -1 EACCES (Permission denied) stat64("/usr/local/lib/couchdb/erlang/lib/couch-0.10.0a790597/ebin", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 access("/usr/local/lib/couchdb/erlang/lib/couch-0.10.0a790597/ebin", R_OK) = 0 access("/usr/local/lib/couchdb/erlang/lib/couch-0.10.0a790597/ebin", W_OK) = -1 EACCES (Permission denied) stat64("/usr/local/lib/couchdb/erlang/lib/couch-0.10.0a787654/ebin", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 access("/usr/local/lib/couchdb/erlang/lib/couch-0.10.0a787654/ebin", R_OK) = 0 access("/usr/local/lib/couchdb/erlang/lib/couch-0.10.0a787654/ebin", W_OK) = -1 EACCES (Permission denied) stat64("/usr/local/lib/couchdb/erlang/lib/couch-0.10.0a787002/ebin", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 access("/usr/local/lib/couchdb/erlang/lib/couch-0.10.0a787002/ebin", R_OK) = 0 access("/usr/local/lib/couchdb/erlang/lib/couch-0.10.0a787002/ebin", W_OK) = -1 EACCES (Permission denied) stat64("/usr/local/lib/couchdb/erlang/lib/couch-0.10.0a778641/ebin", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 access("/usr/local/lib/couchdb/erlang/lib/couch-0.10.0a778641/ebin", R_OK) = 0 access("/usr/local/lib/couchdb/erlang/lib/couch-0.10.0a778641/ebin", W_OK) = -1 EACCES (Permission denied) stat64("/usr/local/lib/couchdb/erlang/lib/couch-0.10.0a772530/ebin", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 access("/usr/local/lib/couchdb/erlang/lib/couch-0.10.0a772530/ebin", R_OK) = 0 access("/usr/local/lib/couchdb/erlang/lib/couch-0.10.0a772530/ebin", W_OK) = -1 EACCES (Permission denied) stat64("/usr/local/lib/couchdb/erlang/lib/couch-0.10.0a771737/ebin", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 access("/usr/local/lib/couchdb/erlang/lib/couch-0.10.0a771737/ebin", R_OK) = 0 access("/usr/local/lib/couchdb/erlang/lib/couch-0.10.0a771737/ebin", W_OK) = -1 EACCES (Permission denied) stat64("/usr/local/lib/couchdb/erlang/lib/couch-0.10.0a769794/ebin", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 access("/usr/local/lib/couchdb/erlang/lib/couch-0.10.0a769794/ebin", R_OK) = 0 access("/usr/local/lib/couchdb/erlang/lib/couch-0.10.0a769794/ebin", W_OK) = -1 EACCES (Permission denied) stat64("/usr/local/lib/couchdb/erlang/lib/couch-0.10.0a769730/ebin", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 access("/usr/local/lib/couchdb/erlang/lib/couch-0.10.0a769730/ebin", R_OK) = 0 access("/usr/local/lib/couchdb/erlang/lib/couch-0.10.0a769730/ebin", W_OK) = -1 EACCES (Permission denied) stat64("/usr/local/lib/couchdb/erlang/lib/couch-0.10.0a768591/ebin", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 access("/usr/local/lib/couchdb/erlang/lib/couch-0.10.0a768591/ebin", R_OK) = 0 access("/usr/local/lib/couchdb/erlang/lib/couch-0.10.0a768591/ebin", W_OK) = -1 EACCES (Permission denied) stat64("/usr/local/lib/couchdb/erlang/lib/couch-0.10.0a767851/ebin", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 access("/usr/local/lib/couchdb/erlang/lib/couch-0.10.0a767851/ebin", R_OK) = 0 access("/usr/local/lib/couchdb/erlang/lib/couch-0.10.0a767851/ebin", W_OK) = -1 EACCES (Permission denied) stat64("/usr/local/lib/couchdb/erlang/lib/couch-0.10.0a/ebin", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 access("/usr/local/lib/couchdb/erlang/lib/couch-0.10.0a/ebin", R_OK) = 0 access("/usr/local/lib/couchdb/erlang/lib/couch-0.10.0a/ebin", W_OK) = -1 EACCES (Permission denied) stat64("/usr/local/lib/couchdb/erlang/lib/couch-0.9.0/ebin", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 access("/usr/local/lib/couchdb/erlang/lib/couch-0.9.0/ebin", R_OK) = 0 access("/usr/local/lib/couchdb/erlang/lib/couch-0.9.0/ebin", W_OK) = -1 EACCES (Permission denied) stat64("/usr/local/lib/couchdb/erlang/lib/couch-0.9.0.ez", 0xbfc88990) = -1 ENOENT (No such file or directory) stat64("/usr/local/lib/couchdb/erlang/lib/couch-0.10.0a.ez", 0xbfc88990) = -1 ENOENT (No such file or directory) stat64("/usr/local/lib/couchdb/erlang/lib/couch-0.10.0a767851.ez", 0xbfc88990) = -1 ENOENT (No such file or directory) stat64("/usr/local/lib/couchdb/erlang/lib/couch-0.10.0a768591.ez", 0xbfc88990) = -1 ENOENT (No such file or directory) stat64("/usr/local/lib/couchdb/erlang/lib/couch-0.10.0a769730.ez", 0xbfc88990) = -1 ENOENT (No such file or directory) stat64("/usr/local/lib/couchdb/erlang/lib/couch-0.10.0a769794.ez", 0xbfc88990) = -1 ENOENT (No such file or directory) stat64("/usr/local/lib/couchdb/erlang/lib/couch-0.10.0a771737.ez", 0xbfc88990) = -1 ENOENT (No such file or directory) stat64("/usr/local/lib/couchdb/erlang/lib/couch-0.10.0a772530.ez", 0xbfc88990) = -1 ENOENT (No such file or directory) stat64("/usr/local/lib/couchdb/erlang/lib/couch-0.10.0a778641.ez", 0xbfc88990) = -1 ENOENT (No such file or directory) stat64("/usr/local/lib/couchdb/erlang/lib/couch-0.10.0a787002.ez", 0xbfc88990) = -1 ENOENT (No such file or directory) stat64("/usr/local/lib/couchdb/erlang/lib/couch-0.10.0a787654.ez", 0xbfc88990) = -1 ENOENT (No such file or directory) stat64("/usr/local/lib/couchdb/erlang/lib/couch-0.10.0a790597.ez", 0xbfc88990) = -1 ENOENT (No such file or directory) stat64("/usr/local/lib/couchdb/erlang/lib/couch-0.11.0a815641.ez", 0xbfc88990) = -1 ENOENT (No such file or directory) stat64("/usr/local/lib/couchdb/erlang/lib/couch-0.9.0a757147.ez", 0xbfc88990) = -1 ENOENT (No such file or directory) stat64("/usr/local/lib/couchdb/erlang/lib/couch-0.9.0a762247.ez", 0xbfc88990) = -1 ENOENT (No such file or directory) stat64("/usr/local/lib/couchdb/erlang/lib/couch-0.9.0a765499.ez", 0xbfc88990) = -1 ENOENT (No such file or directory) stat64("/usr/local/lib/couchdb/erlang/lib/couch-0.9.0a766377.ez", 0xbfc88990) = -1 ENOENT (No such file or directory) stat64("/usr/local/lib/couchdb/erlang/lib/couch-0.9.0a766689.ez", 0xbfc88990) = -1 ENOENT (No such file or directory) stat64("/usr/local/lib/couchdb/erlang/lib/couch-0.9.0a767067.ez", 0xbfc88990) = -1 ENOENT (No such file or directory) stat64("/usr/local/lib/couchdb/erlang/lib/couch-0.9.0a767213.ez", 0xbfc88990) = -1 ENOENT (No such file or directory) stat64("/usr/local/lib/couchdb/erlang/lib/couch-0.9.0a767213/ebin/couch.beam", 0xbfc88974) = -1 ENOENT (No such file or directory) open("/usr/local/lib/couchdb/erlang/lib/couch-0.9.0a767213/ebin/couch.beam", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory) stat64("/usr/local/lib/couchdb/erlang/lib/couch-0.9.0a767067/ebin/couch.beam", 0xbfc88974) = -1 ENOENT (No such file or directory) open("/usr/local/lib/couchdb/erlang/lib/couch-0.9.0a767067/ebin/couch.beam", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory) stat64("/usr/local/lib/couchdb/erlang/lib/couch-0.9.0a766689/ebin/couch.beam", 0xbfc88974) = -1 ENOENT (No such file or directory) open("/usr/local/lib/couchdb/erlang/lib/couch-0.9.0a766689/ebin/couch.beam", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory) stat64("/usr/local/lib/couchdb/erlang/lib/couch-0.9.0a766377/ebin/couch.beam", 0xbfc88974) = -1 ENOENT (No such file or directory) open("/usr/local/lib/couchdb/erlang/lib/couch-0.9.0a766377/ebin/couch.beam", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory) stat64("/usr/local/lib/couchdb/erlang/lib/couch-0.9.0a765499/ebin/couch.beam", 0xbfc88974) = -1 ENOENT (No such file or directory) open("/usr/local/lib/couchdb/erlang/lib/couch-0.9.0a765499/ebin/couch.beam", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory) stat64("/usr/local/lib/couchdb/erlang/lib/couch-0.9.0a762247/ebin/couch.beam", 0xbfc88974) = -1 ENOENT (No such file or directory) open("/usr/local/lib/couchdb/erlang/lib/couch-0.9.0a762247/ebin/couch.beam", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory) stat64("/usr/local/lib/couchdb/erlang/lib/couch-0.9.0a757147/ebin/couch.beam", 0xbfc88974) = -1 ENOENT (No such file or directory) open("/usr/local/lib/couchdb/erlang/lib/couch-0.9.0a757147/ebin/couch.beam", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory) stat64("/usr/local/lib/couchdb/erlang/lib/couch-0.11.0a815641/ebin/couch.beam", {st_mode=S_IFREG|0644, st_size=960, ...}) = 0 open("/usr/local/lib/couchdb/erlang/lib/couch-0.11.0a815641/ebin/couch.beam", O_RDONLY|O_LARGEFILE) = 8 open("/usr/local/lib/couchdb/erlang/lib/couch-0.9.0a767213/ebin", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY|0x80000) = 8 stat64("/usr/local/lib/couchdb/erlang/lib/couch-0.9.0a767213/ebin/couch.app", {st_mode=S_IFREG|0644, st_size=1119, ...}) = 0 open("/usr/local/lib/couchdb/erlang/lib/couch-0.9.0a767213/ebin/couch.app", O_RDONLY|O_LARGEFILE) = 8 $ Does this make any sense to you? It looks like it's reading couch.beam from couch-0.11.0a815641 (correct), but couch.app from couch-0.9.0a767213 (?!). At that point, it seems to die, because no further files are being loaded from couch-* directories. FYI, here are the available versions of those files: $ find /usr/local/lib/couchdb/erlang/lib -name couch.beam /usr/local/lib/couchdb/erlang/lib/couch-0.11.0a815641/ebin/couch.beam $ find /usr/local/lib/couchdb/erlang/lib -name couch.app /usr/local/lib/couchdb/erlang/lib/couch-0.9.0a757147/ebin/couch.app /usr/local/lib/couchdb/erlang/lib/couch-0.9.0/ebin/couch.app /usr/local/lib/couchdb/erlang/lib/couch-0.9.0a762247/ebin/couch.app /usr/local/lib/couchdb/erlang/lib/couch-0.9.0a765499/ebin/couch.app /usr/local/lib/couchdb/erlang/lib/couch-0.9.0a766377/ebin/couch.app /usr/local/lib/couchdb/erlang/lib/couch-0.9.0a766689/ebin/couch.app /usr/local/lib/couchdb/erlang/lib/couch-0.9.0a767067/ebin/couch.app /usr/local/lib/couchdb/erlang/lib/couch-0.9.0a767213/ebin/couch.app /usr/local/lib/couchdb/erlang/lib/couch-0.10.0a767851/ebin/couch.app /usr/local/lib/couchdb/erlang/lib/couch-0.10.0a768591/ebin/couch.app /usr/local/lib/couchdb/erlang/lib/couch-0.10.0a769730/ebin/couch.app /usr/local/lib/couchdb/erlang/lib/couch-0.10.0a769794/ebin/couch.app /usr/local/lib/couchdb/erlang/lib/couch-0.10.0a771737/ebin/couch.app /usr/local/lib/couchdb/erlang/lib/couch-0.10.0a772530/ebin/couch.app /usr/local/lib/couchdb/erlang/lib/couch-0.10.0a778641/ebin/couch.app /usr/local/lib/couchdb/erlang/lib/couch-0.10.0a787002/ebin/couch.app /usr/local/lib/couchdb/erlang/lib/couch-0.10.0a787654/ebin/couch.app /usr/local/lib/couchdb/erlang/lib/couch-0.10.0a790597/ebin/couch.app /usr/local/lib/couchdb/erlang/lib/couch-0.10.0a/ebin/couch.app /usr/local/lib/couchdb/erlang/lib/couch-0.11.0a815641/ebin/couch.app $ Any thoughts? Brian.