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 1C58898D7 for ; Thu, 19 Apr 2012 15:22:02 +0000 (UTC) Received: (qmail 14303 invoked by uid 500); 19 Apr 2012 15:22:00 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 14241 invoked by uid 500); 19 Apr 2012 15:22:00 -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 14232 invoked by uid 99); 19 Apr 2012 15:22:00 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 19 Apr 2012 15:22:00 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of mkimber@kana.com designates 64.95.72.241 as permitted sender) Received: from [64.95.72.241] (HELO mxout.myoutlookonline.com) (64.95.72.241) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 19 Apr 2012 15:21:52 +0000 Received: from mxout.myoutlookonline.com (localhost [127.0.0.1]) by mxout.myoutlookonline.com (Postfix) with ESMTP id 6C1B741731C for ; Thu, 19 Apr 2012 11:21:31 -0400 (EDT) X-Virus-Scanned: by SpamTitan at mail.lan Received: from HUB024.mail.lan (unknown [10.110.2.1]) by mxout.myoutlookonline.com (Postfix) with ESMTP id 138914173CC for ; Thu, 19 Apr 2012 11:18:19 -0400 (EDT) Received: from BE259.mail.lan ([10.110.32.159]) by HUB024.mail.lan ([10.110.17.24]) with mapi; Thu, 19 Apr 2012 11:18:19 -0400 From: Mike Kimber To: "user@couchdb.apache.org" Date: Thu, 19 Apr 2012 11:18:17 -0400 Subject: RE: Couchdb 1.2 installed on Centos 5.8 starts with File operation error and Test Suite fails Thread-Topic: Couchdb 1.2 installed on Centos 5.8 starts with File operation error and Test Suite fails Thread-Index: Ac0djg+yj881QuJeSaWxLzbeV0UVjgAmyNoA Message-ID: References: In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Dave,=20 Thanks for following up. I checked the permissions you listed and they match my couchdb 1.1.1 instal= l, however on both systems files under /etc/couchdb are owned by root, but = are read accessible by everyone and from the looks of them don't need to be= writable by the couchdb user, unless that changed in 1.2.0? If I run ./configure without --with-js-trunk I get: > checking whether JSOPTION_ANONFUNFIX is declared... no > configure: error: Your SpiderMonkey library is too new. > > NOTE: Check above for an error about NSPR > > Versions of SpiderMonkey after the js185-1.0.0 release remove the optiona= l > enforcement of preventing anonymous functions in a statement context. Thi= s > will most likely break your existing JavaScript code as well as render al= l > example code invalid. > > If you wish to ignore this error pass --enable-js-trunk to ./configure. I got this on 1.1.1 also.=20 With regard to Centos ISO, that's one of the issues, I have no issue with C= ouchdb 1.2 on the Centos 5.8 images I built myself from ISO, but the ones I= have an issue with are on a hosted Virtualisation environment and provided= to me so all I can provide is:=20 [kana@KCEngCI200 apache-couchdb-1.2.0]$ uname -a Linux KCEngCI200 2.6.18.8-xenU #1 SMP Wed Feb 3 11:28:48 PST 2010 x86_64 x8= 6_64 x86_64 GNU/Linux [kana@KCEngCI200 apache-couchdb-1.2.0]$ cat /etc/redhat-release CentOS release 5.8 (Final) [kana@KCEngCI200 apache-couchdb-1.2.0]$ I get them as Centos 5.3 images and then have to apply the Centos 5.8 updat= es myself (don't ask!). Mike=20 -----Original Message----- From: Dave Cottlehuber [mailto:dave@muse.net.nz]=20 Sent: 18 April 2012 19:06 To: user@couchdb.apache.org Subject: Re: Couchdb 1.2 installed on Centos 5.8 starts with File operation= error and Test Suite fails > On Tue, Apr 17, 2012 at 10:28 AM, Mike Kimber wrote: > >> Ok, I've taken a different approach and now I have a working set of >> Couchdb test. >> >> Basically I installed Couchdb 1.1.1 and confirmed that it was working >> correctly. Then I downloaded Couch 1.2 and installed that over the top o= f >> my Couchdb 1.2. I then ran the tests and they are now working. >> >> Two possibilities for the original issue seem to me: >> >> 1. It's a permissions issue as GCS suggest and the way I install 1.1.1 >> sets these correctly, but for the like of me I cant spot what they are! My checklist is: couch user has r/w to the equivalent of: /var/lib/couchdb /var/log/couchdb /var/run/couchdb /etc/couchdb & obviously read to the binaries as well. The Mac install notes >> 2. This approach does not change curl, Erl, etc and there some issue wit= h >> the later versions of these on Centos 5.8 >> >> This approach suits my end goal i.e. I'm trying to upgrade anyway, so I'= ll >> probably never get to the bottom of it. >> >> GCS thanks for the help. >> >> Mike Hi Mike, I'd rather we find a way to help you through this, the above approach is su= re to crap out on you in future in some subtle but critical fashion. My guess is that your configure is really building against a different spidermonkey than what you are actually expecting. Can you post the output from below, & resulting config.log somewhere? ./configure --with-erlang=3D/usr/local/lib/erlang/erts-5.7.5/include NB the --with-js-trunk shouldn't be used unless you know what you are doing= , it bypasses the checks that the js you are building against is actually compat= ible with couchdb. If you point me to a suitable ISO I'll whip up a centos and take a look als= o. A+ Dave