Return-Path: Delivered-To: apmail-couchdb-user-archive@www.apache.org Received: (qmail 96573 invoked from network); 3 Mar 2011 15:30:09 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 3 Mar 2011 15:30:09 -0000 Received: (qmail 14939 invoked by uid 500); 3 Mar 2011 15:30:08 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 14852 invoked by uid 500); 3 Mar 2011 15:30: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 14842 invoked by uid 99); 3 Mar 2011 15:30:07 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 Mar 2011 15:30:07 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=FREEMAIL_FROM,HTML_MESSAGE,NORMAL_HTTP_TO_IP,RCVD_IN_DNSWL_LOW,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL,WEIRD_PORT X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of rtskoo@gmail.com designates 209.85.216.180 as permitted sender) Received: from [209.85.216.180] (HELO mail-qy0-f180.google.com) (209.85.216.180) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 Mar 2011 15:30:01 +0000 Received: by qyk10 with SMTP id 10so1090998qyk.11 for ; Thu, 03 Mar 2011 07:29:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:date:message-id:subject:from:to :content-type; bh=r7h/UB8Be/P0V6ttKbn9srwzFoclgm2b6NHQg6iUXuY=; b=WmpMGj95u6iN3SqlhdjifXIr9nz8dwg/kCr4xM37tcY1Bb2wKNak4U9VvzfS9nnwr+ stRHQf2NoRnz70ZsjRLZhk+0iJRYQ7Rbe9WmU9ZOQZLavR/UnDKA2NCgzdQ3jWzANaDf LD0UnsDlQRojwDIILhi5RQzUT5pjtXT8jEzwY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=gQ3XxgRjTpTw/bMrVf1tCUWvB+GuKTMczmhbF0XCd8sh+pzv+4ENTheFDk2yhGL5wp CY4kdMIHbivrqRFJFFctmjdGP5YdYLGGpq4rUaWU11g4orGtSks5LEOAwkggIURFdybs KaIhv+Do3PcUa1PEvR9uKM051Ke1sjBLWAz8g= MIME-Version: 1.0 Received: by 10.229.239.141 with SMTP id kw13mr1042119qcb.172.1299166180800; Thu, 03 Mar 2011 07:29:40 -0800 (PST) Received: by 10.229.213.197 with HTTP; Thu, 3 Mar 2011 07:29:40 -0800 (PST) Date: Thu, 3 Mar 2011 23:29:40 +0800 Message-ID: Subject: I get error when run "couchdb start" under "rc.d" or "logrotate.d" , while run "couchdb" successfully under folder "bin" From: rtskoo rtskoo To: user@couchdb.apache.org Content-Type: multipart/alternative; boundary=0016e68b68b2b5fac3049d95b24e --0016e68b68b2b5fac3049d95b24e Content-Type: text/plain; charset=ISO-8859-1 I have successfully installed couchdb1.0.2 on CnetOS 5.5 , with erlang 5.8 . But after I input the command "couchdb start" under the folder "rc.d" or "logrotate.d" ,I cann't visit couchdb by curl http://127.0.0.1:5984 and curl was closed by host , at last I found port 5984 not opened at all! In the couchdb.log,I get the following message: [Thu, 03 Mar 2011 14:03:10 GMT] [error] [<0.85.0>] {error_report,<0.30.0>, {<0.85.0>,supervisor_report, [{supervisor,{local,couch_secondary_services}}, {errorContext,start_error}, {reason,{{badmatch,{error,eacces}}, [{couch_auth_cache,ensure_users_db_exists,2}, {couch_auth_cache,open_auth_db,0}, {couch_auth_cache,init,1}, {gen_server,init_it,6}, {proc_lib,init_p_do_apply,3}]}}, {offender,[{pid,undefined}, {name,auth_cache}, {mfargs,{couch_auth_cache,start_link,[]}}, {restart_type,permanent}, {shutdown,1000}, {child_type,worker}]}]}} [Thu, 03 Mar 2011 14:03:10 GMT] [error] [<0.87.0>] {error_report,<0.30.0>, {<0.87.0>,crash_report, [[{initial_call,{couch_auth_cache,init,['Argument__1']}}, {pid,<0.87.0>}, {registered_name,[]}, {error_info, {exit, {{badmatch,{error,eacces}}, [{couch_auth_cache,ensure_users_db_exists,2}, {couch_auth_cache,open_auth_db,0}, {couch_auth_cache,init,1}, {gen_server,init_it,6}, {proc_lib,init_p_do_apply,3}]}, [{gen_server,init_it,6},{proc_lib,init_p_do_apply,3}]}}, {ancestors,[couch_secondary_services,couch_server_sup,<0.31.0>]}, {messages,[]}, {links,[<0.85.0>]}, {dictionary,[]}, {trap_exit,false}, {status,running}, {heap_size,377}, {stack_size,24}, {reductions,149}], []]}} [Thu, 03 Mar 2011 14:03:11 GMT] [error] [<0.77.0>] {error_report,<0.30.0>, {<0.77.0>,supervisor_report, [{supervisor,{local,couch_server_sup}}, {errorContext,start_error}, {reason,shutdown}, {offender, [{pid,undefined}, {name,couch_secondary_services}, {mfargs,{couch_server_sup,start_secondary_services,[]}}, {restart_type,permanent}, {shutdown,infinity}, {child_type,supervisor}]}]}} . However ,when I run "couchdb" under folder "bin" ,erverything is ok! Is there anyone who knows the reason why I cann't run "couchdb start" under "rc.d"? --0016e68b68b2b5fac3049d95b24e--