couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeff Snider <j...@jsnider.net>
Subject Re: Unable to restart CouchDB
Date Mon, 22 Jul 2013 03:56:54 GMT
couchdb isn't a service script in the way you're trying to use it.  It is just trying to start
up again and failing because one is already running.

What you probably want is:

sudo launchctl unload /Library/LaunchDaemons/org.apache.couchdb.plist; sudo launchctl load
/Library/LaunchDaemons/org.apache.couchdb.plist


-Jeff





On Jul 21, 2013, at 5:43 PM, Yves S. Garret wrote:

> Hi, I'm currently running Mac OS 10.7.5.  I have CouchDB installed and
> would like to restart it.  The
> problem arises when I do try to do this, this is the error that I get:
> 
> % sudo ./couchdb restart
> Password:
> Apache CouchDB 1.3.1 (LogLevel=info) is starting.
> Failure to start Mochiweb: eaddrinuse
> {"init terminating in
> do_boot",{{badmatch,{error,{bad_return,{{couch_app,start,[normal,["/opt/local/etc/couchdb/default.ini","/opt/local/etc/couchdb/local.ini"]]},{'EXIT',{{badmatch,{error,{shutdown,{failed_to_start_child,couch_secondary_services,{shutdown,{failed_to_start_child,httpd,eaddrinuse}}}}}},[{couch_server_sup,start_server,1,[{file,"couch_server_sup.erl"},{line,98}]},{application_master,start_it_old,4,[{file,"application_master.erl"},{line,269}]}]}}}}}},[{couch,start,0,[{file,"couch.erl"},{line,18}]},{init,start_it,1,[]},{init,start_em,1,[]}]}}
> 
> Crash dump was written to: erl_crash.dump
> init terminating in do_boot ()
> 
> What am I doing wrong here?


Mime
View raw message