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 <[email protected]> wrote: > Are you sure couchdb's startup script isn't "su"'ing to a different > user, though? > > On 31 May 2012 16:22, CGS <[email protected]> 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=info) is starting. > > {"init terminating in > > > do_boot",{{badmatch,{error,{bad_return,{{couch_app,start,[normal,["/usr/local/etc/couchdb/default.ini","/usr/local/etc/couchdb/local.ini"]]},{'EXIT',{{badmatch,{error,shutdown}},[{couch_server_sup,start_server,1,[{file,"couch_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} = 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.dump > file > > doesn't provide other information (or I miss it, so, if anyone wants to > > inspect it, I can provide it). > > > > Regards, > > CGS >
