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 101A6CEA9 for ; Thu, 31 May 2012 16:39:41 +0000 (UTC) Received: (qmail 80679 invoked by uid 500); 31 May 2012 16:39:39 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 80645 invoked by uid 500); 31 May 2012 16:39:39 -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 80636 invoked by uid 99); 31 May 2012 16:39:39 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 31 May 2012 16:39:39 +0000 X-ASF-Spam-Status: No, hits=3.6 required=5.0 tests=FROM_LOCAL_NOVOWEL,HK_RANDOM_ENVFROM,HK_RANDOM_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of cgsmcmlxxv@gmail.com designates 209.85.216.45 as permitted sender) Received: from [209.85.216.45] (HELO mail-qa0-f45.google.com) (209.85.216.45) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 31 May 2012 16:39:31 +0000 Received: by qaeb19 with SMTP id b19so3105693qae.11 for ; Thu, 31 May 2012 09:39:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=msZZaBwdtEBL7kUot14LL9qA9MaXEIMLbXWMjeMLNkQ=; b=xG1DZvqrl2f4UPKwpejN0tc98HAoIGLZbCQrAXx3Edy+a4HyLPAzg59M/+6BvziaLN Wkh4eXaiIGATFSlyTwZWd2yVE6F7sDjPN/tnEwLlrr/oNRb2z0nynYWleEYnxPSq8vxm hqQEcPsxzG6gEbIyaCW3kuYnMUHiPdH+C6LouVxjfRrYYcvGHGJ8oostYx4DJa+yhshD kOhzjF90PPIB05BHDoWuDYjCVY61Nd8E58LddZwW2RRxrke+i/njKaSiQc5nHLBXWj80 EW3Tlx7kAgsaAOGPVNMTH4uCsW33UyRkuRskqAI2H8cHZ2Cp0pNsE/o3vyjO370NNpvF sCDw== MIME-Version: 1.0 Received: by 10.224.220.145 with SMTP id hy17mr641883qab.85.1338482350312; Thu, 31 May 2012 09:39:10 -0700 (PDT) Received: by 10.229.49.142 with HTTP; Thu, 31 May 2012 09:39:10 -0700 (PDT) In-Reply-To: References: Date: Thu, 31 May 2012 18:39:10 +0200 Message-ID: Subject: Re: init terminating in do_boot From: CGS To: user@couchdb.apache.org Content-Type: multipart/alternative; boundary=20cf3074d758074ba704c157b558 --20cf3074d758074ba704c157b558 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable I haven't attached any COUCHDB_USER variable to my BASH session (unless the couchdb script adds it, but I see no COUCHDB_USER in that script). So, no 'su'ing away from root. Is there any known problem in between CouchDB and Erlang/OTP R15B01? Any idea, downgrading Erlang version would do any good? CGS On Thu, May 31, 2012 at 5:48 PM, Robert Newson wrote: > I don't see how that changes the contents of our startup script (where > we do ' if su $COUCHDB_USER -c "$command"; '). If you don't have that > variable declared it won't su, but this error is so often caused by > running as the wrong user that I thought I'd mention it. > > B. > > On 31 May 2012 16:40, CGS wrote: > > Very sure as I am logged in as root when I start CouchDB (the same > terminal > > session I used for make install which worked without any error). > > > > CGS > > > > > > > > > > On Thu, May 31, 2012 at 5:33 PM, Robert Newson > wrote: > > > >> Are you sure couchdb's startup script isn't "su"'ing to a different > >> user, though? > >> > >> On 31 May 2012 16:22, CGS wrote: > >> > Dear lists, > >> > > >> > I recently installed CouchDB 1.2.0 from source on CentOS 5.8 (final) > with > >> > Erlang/OTP R15B01 (installed from source with no errors at > installation). > >> > It reported no errors in configuration (not even warnings) and no > errors > >> in > >> > make && sudo make install. Still, I keep receiving the following > message > >> > when I try to start it: > >> > > >> > Apache CouchDB 1.2.0 (LogLevel=3Dinfo) is starting. > >> > {"init terminating in > >> > > >> > do_boot",{{badmatch,{error,{bad_return,{{couch_app,start,[normal,["/usr/l= ocal/etc/couchdb/default.ini","/usr/local/etc/couchdb/local.ini"]]},{'EXIT'= ,{{badmatch,{error,shutdown}},[{couch_server_sup,start_server,1,[{file,"cou= ch_server_sup.erl"},{line,98}]},{application_master,start_it_old,4,[{file,"= application_master.erl"},{line,274}]}]}}}}}},[{couch,start,0,[{file,"couch.= erl"},{line,18}]},{init,start_it,1,[]},{init,start_em,1,[]}]}} > >> > > >> > couch_server_sup.erl (line 98): {ok, Pid} =3D > supervisor:start_link({local, > >> > couch_server_sup}, couch_server_sup, BaseChildSpecs), > >> > > >> > No log entry. > >> > > >> > I know it returns {error, shutdown} instead of {ok, Pid}, but my > question > >> > is how can I find what exactly is the problem there? Log level to > debug > >> > doesn't add any other info. > >> > > >> > It's not a problem of permissions because I run couchdb as root. I > used > >> > 0.0.0.0 as IP and the default values for the rest. The erl_crash.dum= p > >> file > >> > doesn't provide other information (or I miss it, so, if anyone wants > to > >> > inspect it, I can provide it). > >> > > >> > Regards, > >> > CGS > >> > --20cf3074d758074ba704c157b558--