From user-return-4214-apmail-couchdb-user-archive=couchdb.apache.org@couchdb.apache.org Tue Mar 31 14:47:29 2009 Return-Path: Delivered-To: apmail-couchdb-user-archive@www.apache.org Received: (qmail 46558 invoked from network); 31 Mar 2009 14:47:28 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 31 Mar 2009 14:47:28 -0000 Received: (qmail 15115 invoked by uid 500); 31 Mar 2009 14:47:27 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 15043 invoked by uid 500); 31 Mar 2009 14:47:27 -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 15033 invoked by uid 99); 31 Mar 2009 14:47:27 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 31 Mar 2009 14:47:27 +0000 X-ASF-Spam-Status: No, hits=2.7 required=10.0 tests=NORMAL_HTTP_TO_IP,SPF_NEUTRAL,WEIRD_PORT 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; Tue, 31 Mar 2009 14:47:18 +0000 Received: from [192.168.1.100] (f053003206.adsl.alicedsl.de [::ffff:78.53.3.206]) (AUTH: LOGIN jan, TLS: TLSv1/SSLv3,128bits,AES128-SHA) by jan.prima.de with esmtp; Tue, 31 Mar 2009 14:46:55 +0000 Message-Id: <1B93420B-CCCA-48B5-87A6-BBFB1AA866DE@apache.org> From: Jan Lehnardt To: user@couchdb.apache.org In-Reply-To: <06B8755D-8E7B-445C-BAD1-27F5EB49723D@abaca.com> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v930.3) Subject: Re: error running couch 0.9 Date: Tue, 31 Mar 2009 16:46:50 +0200 References: <7d8fb81e0903301933l5c0c4135oc734f271581fe5a6@mail.gmail.com> <06B8755D-8E7B-445C-BAD1-27F5EB49723D@abaca.com> X-Mailer: Apple Mail (2.930.3) X-Virus-Checked: Checked by ClamAV on apache.org Hi, On 31 Mar 2009, at 06:39, Peter Hsu wrote: > Ran your suggestion.. > > [root@rhel4-dell 0.9.0]# su - couchdb > [couchdb@rhel4-dell ~]$ curl http://127.0.0.1:5984/_config/query_servers > {"javascript":"/usr/local/bin/couchjs /usr/local/share/couchdb/ > server/main.js"} > [couchdb@rhel4-dell ~]$ /usr/local/bin/couchjs /usr/local/share/ > couchdb/server/main.js > ["reset"] > true > > The test suite still returns the same errors. Maybe your LD_LIBRARY PATH is hosed for the CouchDB user and the couchjs process can't find the libs (libjs.so, libcurl.so) it links? Cheers Jan -- > > On Mar 30, 2009, at 8:49 PM, Chris Anderson wrote: > >> On Mon, Mar 30, 2009 at 7:33 PM, Vinubalaji Gopal > > wrote: >>> Hi all, >>> I have been trying to run couch 0.9 on RHEL 4 and I am getting >>> errors when trying to run the test suite. I installed spider monkey >>> 1.7.0 and also a newer version of curl since couchdb configure >>> script >>> complained that I needed curl >= 7.15.5. I tried almost >>> everything I >>> could think of - but I can't get rid of these errors! >>> >> >> I don't have the ability to reproduce this setup currently, but the >> error message you see looks like the couchjs process isn't launching >> >> Try running this command: >> >> curl http://127.0.0.1:5984/_config/query_servers >> >> And then run the command quoted in the output. When it's working >> properly, you should be able to type: >> >> ["reset"] >> >> and get the response: >> >> true >> >>> Here is the output when I run the basic test in the test suite: >>> Exception raised: >>> {"error":"{bad_return_value,{os_process_error,{exit_status, >>> 127}}}","reason":"{gen_server,call,[couch_query_servers, >>> {get_proc,<<\"javascript\">>}]}"} >>> >>> Reduce fails with the following exception: >>> Exception raised: >>> {"error":"badmatch","reason":"{{bad_return_value,{os_process_error, >>> {exit_status,127}}},\n >>> {gen_server,call,[couch_query_servers,{get_proc,<<\"javascript >>> \">>}]}}"} >>> >>> and a lot of tests are failing. >>> >>> Here are the last few lines from the couch.log file. >>> >>> >>> [Tue, 31 Mar 2009 02:26:44 GMT] [error] [<0.1706.0>] ** Generic >>> server >>> <0.1706.0> terminating >>> ** Last message in was {'EXIT',<0.1704.0>,killed} >>> ** When Server state == {file_descriptor,prim_file,{#Port<0.1112>, >>> 19}} >>> ** Reason for termination == >>> ** killed >>> >>> >>> [Tue, 31 Mar 2009 02:26:44 GMT] [error] [<0.36.0>] >>> {error_report,<0.22.0>, >>> {<0.36.0>,supervisor_report, >>> [{supervisor,{local,couch_server_sup}}, >>> {errorContext,child_terminated}, >>> {reason,shutdown}, >>> {offender, >>> [{pid,<0.44.0>}, >>> {name,couch_secondary_services}, >>> {mfa,{couch_server_sup,start_secondary_services,[]}}, >>> {restart_type,permanent}, >>> {shutdown,infinity}, >>> {child_type,supervisor}]}]}} >>> >>> >>> [Tue, 31 Mar 2009 02:26:44 GMT] [error] [<0.1706.0>] >>> {error_report,<0.22.0>, >>> {<0.1706.0>,crash_report, >>> [[{pid,<0.1706.0>}, >>> {registered_name,[]}, >>> {error_info,{exit,killed, >>> [{gen_server,terminate,6}, >>> {proc_lib,init_p_do_apply,3}]}}, >>> {initial_call,{couch_file,init,['Argument__1']}}, >>> {ancestors, >>> [<0.1704.0>,couch_view,couch_secondary_services, >>> couch_server_sup,<0.1.0>]}, >>> {messages,[]}, >>> {links,[#Port<0.1112>]}, >>> {dictionary,[]}, >>> {trap_exit,true}, >>> {status,running}, >>> {heap_size,987}, >>> {stack_size,23}, >>> {reductions,1472}], >>> []]}} >>> >>> Please point me to the right direction and let me know if you need >>> any >>> other information. >>> >>> >>> Thank you. >>> >>> -- >>> Vinu >>> >>> In a world without fences who needs Gates? >>> >> >> >> >> -- >> Chris Anderson >> http://jchrisa.net >> http://couch.io >