Return-Path: Delivered-To: apmail-couchdb-dev-archive@www.apache.org Received: (qmail 59199 invoked from network); 16 Sep 2009 14:18:06 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 16 Sep 2009 14:18:06 -0000 Received: (qmail 78462 invoked by uid 500); 16 Sep 2009 14:18:06 -0000 Delivered-To: apmail-couchdb-dev-archive@couchdb.apache.org Received: (qmail 78408 invoked by uid 500); 16 Sep 2009 14:18:05 -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 78310 invoked by uid 99); 16 Sep 2009 14:18:05 -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 14:18:05 +0000 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [83.97.50.139] (HELO jan.prima.de) (83.97.50.139) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 16 Sep 2009 14:17:55 +0000 Received: from [10.0.1.5] (f053044196.adsl.alicedsl.de [::ffff:78.53.44.196]) (AUTH: LOGIN jan, TLS: TLSv1/SSLv3,128bits,AES128-SHA) by jan.prima.de with esmtp; Wed, 16 Sep 2009 13:32:30 +0000 Content-Type: text/plain; charset=us-ascii; format=flowed; delsp=yes Mime-Version: 1.0 (Apple Message framework v1076) Subject: Re: CouchDB failing to open socket 5984 ? From: Jan Lehnardt In-Reply-To: Date: Wed, 16 Sep 2009 15:31:59 +0200 Content-Transfer-Encoding: 7bit Message-Id: References: <5F4F0CBE-451F-4548-A682-50B968163B26@apache.org> <20090916080042.GB11478@uk.tiscali.com> <86C24C65-9493-4D41-86E1-C60BBB632F66@apache.org> To: dev@couchdb.apache.org X-Mailer: Apple Mail (2.1076) X-Virus-Checked: Checked by ClamAV on apache.org On 16 Sep 2009, at 15:24, Adam Kocoloski wrote: > On Sep 16, 2009, at 8:44 AM, Jan Lehnardt wrote: > >> On 16 Sep 2009, at 14:21, Adam Kocoloski wrote: >> >>> On Sep 16, 2009, at 4:00 AM, Brian Candler wrote: >>> >>>> 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 (?!). >>> >>> Bingo, there's the problem. It looks like Erlang's code loader >>> wasn't prepared for double-digit minor versions, and it considers >>> 0.9.* as newer than 0.1* (including 0.10 and 0.11). >>> >>> This may be a serious problem for the 0.10 release, as anyone who >>> upgrades from 0.9.x to 0.10.0 using the same install prefix may >>> end up with a crash. Thanks again, >> >> We had this popping up on IRC today, again. I agree this is >> serious. Is there anything we can do on install time that checks >> for older versions? > > After some more thought I realized that this isn't a problem for > 0.10. In 0.10 we use the old startup procedure that explicitly adds > individual ebin directories to the code path. In trunk we switched > to adding the entire PREFIX/lib/couchdb/erlang/lib directory to > ERL_LIBS, and thus triggered the issue with the code loader and our > versioning system. FWIW, the IRC incident update to trunk, which is 0.11.0a. Should we open a ticket for this? Cheers Jan --