Skip to content

Instantly share code, notes, and snippets.

@afknapping
Created April 10, 2015 08:24
Show Gist options
  • Save afknapping/c675f5bd3cec571f1afe to your computer and use it in GitHub Desktop.
Save afknapping/c675f5bd3cec571f1afe to your computer and use it in GitHub Desktop.
CouchDB.app OS X – how does it stop?
- downloaded the OS X app
- it started and opened a browser tab with the Futon UI
- had no idea how to stop it:
- CouchDB.app didn't give any feedback when opening again
- didn't find anything related in the doc links
- `$ couchdb -s` replied "Apache CouchDB is not running."
- `$ couchdb` replied:
```
Apache CouchDB 1.6.1 (LogLevel=info) is starting.
Failure to start Mochiweb: eaddrinuse
{"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,{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,272}]}]}}}}}},[{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 ()
```
- had to ask a dev what to do. `$ pgrep couch` and `kill <pid>` did the job
wondering if it is a bug or if the flow ist just not yet fully implemented...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment