Return-Path: Delivered-To: apmail-couchdb-user-archive@www.apache.org Received: (qmail 2803 invoked from network); 30 Aug 2010 15:07:52 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 30 Aug 2010 15:07:52 -0000 Received: (qmail 97262 invoked by uid 500); 30 Aug 2010 15:07:51 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 96898 invoked by uid 500); 30 Aug 2010 15:07:48 -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 96885 invoked by uid 99); 30 Aug 2010 15:07:47 -0000 Received: from Unknown (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 30 Aug 2010 15:07:47 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of Whimsica@aol.com designates 205.188.105.146 as permitted sender) Received: from [205.188.105.146] (HELO imr-da04.mx.aol.com) (205.188.105.146) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 30 Aug 2010 15:07:21 +0000 Received: from imo-ma04.mx.aol.com (imo-ma04.mx.aol.com [64.12.78.139]) by imr-da04.mx.aol.com (8.14.1/8.14.1) with ESMTP id o7UF6t1I005664 for ; Mon, 30 Aug 2010 11:06:55 -0400 Received: from Whimsica@aol.com by imo-ma04.mx.aol.com (mail_out_v42.9.) id o.ebb.16f9536 (34989) for ; Mon, 30 Aug 2010 11:06:53 -0400 (EDT) Received: from smtprly-dc03.mx.aol.com (smtprly-dc03.mx.aol.com [205.188.170.3]) by cia-db01.mx.aol.com (v129.4) with ESMTP id MAILCIADB012-d3a24c7bc90727d; Mon, 30 Aug 2010 11:06:53 -0400 Received: from webmail-d011 (webmail-d011.sim.aol.com [205.188.180.146]) by smtprly-dc03.mx.aol.com (v129.4) with ESMTP id MAILSMTPRLYDC032-d3a24c7bc90727d; Mon, 30 Aug 2010 11:06:47 -0400 References: <8CD1620A3F736CE-1F88-1B7EF@webmail-m023.sysops.aol.com> To: user@couchdb.apache.org Subject: Re: get couchdb to startup with server Date: Mon, 30 Aug 2010 11:06:46 -0400 X-AOL-IP: 75.31.41.117 In-Reply-To: X-MB-Message-Source: WebUI MIME-Version: 1.0 From: whimsica@aol.com X-MB-Message-Type: User Content-Type: multipart/alternative; boundary="--------MB_8CD166C198262BB_2654_31B8E_webmail-d011.sysops.aol.com" X-Mailer: AOL Webmail 32447-STANDARD Received: from 75.31.41.117 by webmail-d011.sysops.aol.com (205.188.180.146) with HTTP (WebMailUI); Mon, 30 Aug 2010 11:06:46 -0400 Message-Id: <8CD166C190DBE97-2654-21DC8@webmail-d011.sysops.aol.com> X-AOL-SENDER: Whimsica@aol.com X-Virus-Checked: Checked by ClamAV on apache.org X-Old-Spam-Flag: NO ----------MB_8CD166C198262BB_2654_31B8E_webmail-d011.sysops.aol.com Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="us-ascii" ubuntu 1.0.1 from couchio 64 is the distribution I have to sudo ./couchdb start at the directory. Because ./couchdb start fails. userdan@ubuntu:~/couchdb-1.0.1/bin$ ./couchdb start Apache CouchDB 1.0.1 (LogLevel=3Dinfo) is starting. =3DCRASH REPORT=3D=3D=3D=3D 30-Aug-2010::08:06:17 =3D=3D=3D crasher: initial call: couch_event_sup:init/1 pid: <0.80.0> registered_name: [] exception exit: {{badmatch, {'EXIT', {{badmatch,{error,eacces}}, [{couch_log,init,1}, {gen_event,server_add_handler,4}, {gen_event,handle_msg,5}, {proc_lib,init_p_do_apply,3}]}}}, [{couch_event_sup,init,1}, {gen_server,init_it,6}, {proc_lib,init_p_do_apply,3}]} in function gen_server:init_it/6 ancestors: [couch_primary_services,couch_server_sup,<0.33.0>] messages: [] links: [<0.79.0>,<0.6.0>] dictionary: [] trap_exit: false status: running heap_size: 377 stack_size: 24 reductions: 117 neighbours: =3DSUPERVISOR REPORT=3D=3D=3D=3D 30-Aug-2010::08:06:17 =3D=3D=3D Supervisor: {local,couch_primary_services} Context: start_error Reason: {{badmatch,{'EXIT',{{badmatch,{error,eacces}}, [{couch_log,init,1}, {gen_event,server_add_handler,4}, {gen_event,handle_msg,5}, {proc_lib,init_p_do_apply,3}]}}}, [{couch_event_sup,init,1}, {gen_server,init_it,6}, {proc_lib,init_p_do_apply,3}]} Offender: [{pid,undefined}, {name,couch_log}, {mfa,{couch_log,start_link,[]}}, {restart_type,permanent}, {shutdown,brutal_kill}, {child_type,worker}] =3DSUPERVISOR REPORT=3D=3D=3D=3D 30-Aug-2010::08:06:17 =3D=3D=3D Supervisor: {local,couch_server_sup} Context: start_error Reason: shutdown Offender: [{pid,undefined}, {name,couch_primary_services}, {mfa,{couch_server_sup,start_primary_services,[]}}, {restart_type,permanent}, {shutdown,infinity}, {child_type,supervisor}] =3DCRASH REPORT=3D=3D=3D=3D 30-Aug-2010::08:06:17 =3D=3D=3D crasher: initial call: application_master:init/4 pid: <0.32.0> registered_name: [] exception exit: {bad_return, {{couch_app,start, [normal, ["/home/userdan/couchdb-1.0.1/etc/couchdb/de= fault.ini", "/home/userdan/couchdb-1.0.1/etc/couchdb/lo= cal.ini"]]}, {'EXIT', {{badmatch,{error,shutdown}}, [{couch_server_sup,start_server,1}, {application_master,start_it_old,4}]}}}} in function application_master:init/4 ancestors: [<0.31.0>] messages: [{'EXIT',<0.33.0>,normal}] links: [<0.31.0>,<0.7.0>] dictionary: [] trap_exit: true status: running heap_size: 987 stack_size: 24 reductions: 164 neighbours: =3DINFO REPORT=3D=3D=3D=3D 30-Aug-2010::08:06:17 =3D=3D=3D application: couch exited: {bad_return,{{couch_app,start, [normal, ["/home/userdan/couchdb-1.0.1/etc/cou= chdb/default.ini", "/home/userdan/couchdb-1.0.1/etc/cou= chdb/local.ini"]]}, {'EXIT',{{badmatch,{error,shutdown}}, [{couch_server_sup,start_server,1}, {application_master,start_it_old,4}]}}}= } type: temporary Dan =20 =20 =20 =20 -----Original Message----- From: Mikhail A. Pokidko To: user@couchdb.apache.org Sent: Mon, Aug 30, 2010 12:13 am Subject: Re: get couchdb to startup with server On Mon, Aug 30, 2010 at 10:06 AM, wrote: > I am running couchdb manually. > > How do I get it to startup with the server if it restarts. You should add init-script to default run-level. (Init-script can be found inside the package you`ve installed from). Take a look at http://github.com/apache/couchdb/blob/trunk/etc/init/couchd= b.tpl.in Whats your distro? > Also the couch version 1.0.1 has permission problems. > I cannot start it without sudo first > How do I make sure all permissions are correct? What exactly permissions are incorrect and what sudo command do you execut= e? --=20 xmpp: pma AT altlinux DOT org =20 ----------MB_8CD166C198262BB_2654_31B8E_webmail-d011.sysops.aol.com--