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 E24969084 for ; Thu, 31 May 2012 15:33:09 +0000 (UTC) Received: (qmail 50858 invoked by uid 500); 31 May 2012 15:33:08 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 50825 invoked by uid 500); 31 May 2012 15:33: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 50816 invoked by uid 99); 31 May 2012 15:33:07 -0000 Received: from minotaur.apache.org (HELO minotaur.apache.org) (140.211.11.9) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 31 May 2012 15:33:07 +0000 Received: from localhost (HELO mail-gg0-f180.google.com) (127.0.0.1) (smtp-auth username rnewson, mechanism plain) by minotaur.apache.org (qpsmtpd/0.29) with ESMTP; Thu, 31 May 2012 15:33:06 +0000 Received: by ggnf1 with SMTP id f1so1050845ggn.11 for ; Thu, 31 May 2012 08:33:05 -0700 (PDT) MIME-Version: 1.0 Received: by 10.43.49.201 with SMTP id vb9mr1845237icb.35.1338478385184; Thu, 31 May 2012 08:33:05 -0700 (PDT) Received: by 10.42.106.199 with HTTP; Thu, 31 May 2012 08:33:05 -0700 (PDT) In-Reply-To: References: Date: Thu, 31 May 2012 16:33:05 +0100 Message-ID: Subject: Re: init terminating in do_boot From: Robert Newson To: user@couchdb.apache.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable 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({loca= l, > 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.dump fil= e > doesn't provide other information (or I miss it, so, if anyone wants to > inspect it, I can provide it). > > Regards, > CGS