Couchdb Badmatch Error Shutdown
Contents |
here for a quick overview of the site Help Center Detailed answers to any questions you couchdb error badmatch might have Meta Discuss the workings and policies of this site couchdb init terminating in do_boot badmatch error bad_return About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or failure to start mochiweb: eaddrinuse posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of init terminating in do_boot erlang 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up Unable to start CouchDB up vote 3 down vote favorite 3 Just installed CouchDb using brew on mac mountain lion. Everything went well till I hit the following issue to start the server I do not
Erl_crash.dump Location
know erlnag and could not analyze the dump file `couchdb Apache CouchDB 1.2.1 (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,[]}]}} Crash dump was written to: erl_crash.dump init terminating in do_boot ()` Any help much appreciated. I have left the configurations files as it is couchdb share|improve this question asked Jan 22 '13 at 6:50 Nandish A 52021026 default.ini and local.ini were unmodified? –ryan1234 Jan 23 '13 at 3:26 add a comment| 2 Answers 2 active oldest votes up vote 9 down vote accepted Often this is due to incorrect permissions on various configuration files & directories. It can be caused by running as a sudo / root user for example. You can try fixing this using the following, but you may need to either create/add yourself to a couchdb group, or use a different user:group combination. sudo chown -R couchdb:couchdb /etc/couchdb /var/lib/couchdb /var/run/couchdb /var/log/couchdb sudo chmod -R 770 /etc/couchdb /var/lib/couchdb /var/run/couchdb /var/log/couchdb sudo find /etc/couchdb /var/lib/couchdb /var/run/couchdb /var/lo
Like Pages Local Site Map ------------------------ Rename Page Copy Page Delete Page ------------------------ My Pages Subscribe User ------------------------
Install Couchdb Ubuntu
Remove Spam Revert to this revision Package couchdb install Pages Sync Pages ------------------------ Load Save SlideShow We have a new wiki. init terminating in do_boot rabbitmq The migration is not 100% complete. You can help out by moving pages across. This wiki will exist for http://stackoverflow.com/questions/14453082/unable-to-start-couchdb as long as there are pages left. The official documentation has moved to http://docs.couchdb.org — The transition is not 100% complete, but http://docs.couchdb.org should be seen as having the latest info. In some cases, the wiki still has some https://wiki.apache.org/couchdb/Error_messages more or older info on certain topics inside CouchDB. You need to be added to the ContributorsGroup to edit the wiki. But don't worry! Just email any Mailing List or grab us on IRC and let us know your user name. Error Messages This content has been migrated to the official CouchDB documentation. Error_messages (last edited 2016-08-27 08:03:51 by JoanTouzet) Immutable PageCommentsInfoAttachments More Actions: Raw Text Print View Render as Docbook Delete Cache ------------------------ Check Spelling Like Pages Local Site Map ------------------------ Rename Page Copy Page Delete Page ------------------------ My Pages Subscribe User ------------------------ Remove Spam Revert to this revision Package Pages Sync Pages ------------------------ Load Save SlideShow MoinMoin PoweredPython PoweredGPL licensedValid HTML 4.01
is far from easy to understand. This is my http://www.pastbedti.me/2009/04/running-couchdb-under-an-unprivileged-user-account/ way of solving it. 1234567$ couchdb kernel-poll not supported; "K" parameter ignored Apache CouchDB 0.9.0 (LogLevel=info) is starting. {"init terminating in do_boot",{{badmatch,{error,shutdown}},[{couch_server_sup,start_server,1},{erl_eval,do_apply,5},{erl_eval,exprs,5},{init,start_it,1},{init,start_em,1}]}} Crash dump https://gist.github.com/peetersn/cfdf847b27128565a1fc was written to: erl_crash.dump init terminating in do_boot () Even with debug turned on it's pretty hard to understand. 1234567891011121314151617181920212223242526272829303132333435363738394041424344kernel-poll not supported; "K" parameter init terminating ignored Apache CouchDB 0.9.0 (LogLevel=debug) is starting. Configuration Settings ["./couchdb/local.ini"]: [Couch] BindAddress="127.0.0.1" [Couch] ConsoleStartupMsg="Apache CouchDB is starting." [Couch] DbRootDir="/home/mathias/couchdb" [Couch] DocumentRoot="/home/mathias/couchdb/www" [Couch] LogFile="/home/mathias/couchdb/couch.log" [Couch] LogLevel="debug" [Couch] Port="5984" [Couch] UtilDriverDir="/usr/local/lib/couchdb/erlang/lib/couch-0.8.1-incubating/priv/lib" [Couch Query Servers] javascript="/usr/local/bin/couchjs /usr/local/share/couchdb/server/main.js" [couchdb] database_dir="/home/mathias/couchdb" [couchdb] view_index_dir="/home/mathias/couchdb" init terminating in [httpd] bind_address="127.0.0.1" [httpd] port="5984" [log] level="debug" [error] [<0.41.0>] {error_report,<0.21.0>,
{<0.41.0>,crash_report,
[[{pid,<0.41.0>}, {registered_name,couch_server}, {error_info,
{exit,
{badarg,
[{erlang,list_to_integer,[undefined]}, {couch_server,init,1}, {gen_server,init_it,6}, {proc_lib,init_p_do_apply,3}]}, [{gen_server,init_it,6},{proc_lib,init_p_do_apply,3}]}}, {initial_call,{couch_server,init,['Argument__1']}}, {ancestors,[couch_primary_services,couch_server_sup,<0.1.0>]}, {messages,[]}, {links,[<0.36.0>]}, {dictionary,[]}, {trap_exit,false}, {status,running}, {heap_size,233}, {stack_size,23}, {reductions,113}], []]}} {"init terminating in do_boot",{{badmatch,{error,shutdown}},[{couch_server_sup,start_ser
gist now Instantly share code, notes, and snippets. Star 0 Fork 0 peetersn/gist:cfdf847b27128565a1fc Last active Dec 28, 2015 Embed What would you like to do? Embed Embed this gist in your website. Embed Share Copy sharable URL for this gist. Share Clone via HTTPS Clone with Git or checkout with SVN using the repository's web address. HTTPS Learn more about clone URLs Download ZIP Code Revisions 4 Crash at startup with CouchDB 1.6.0 (on build root). Raw gistfile1.md Hi, We are seeing the following crash when trying to start CouchDB. We really have no idea where to look (it says File not found...) Any help is really appreciated. Apache CouchDB 1.6.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,{failed_to_start_child,couch_primary_services,{shutdown,{failed_to_start_child,collation_driver,"File not found"}}}}}},[{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 () Owner peetersn commented Jun 13, 2014 Strace log grepped on icu: [pid 367] open("/usr/local/lib/couchdb/erlang/lib/couch-1.6.0/priv/lib/couch_icu_driver.so", O_RDONLY) = 7 [pid 367] open("/lib/libicui18n.so.48", O_RDONLY) = -1 ENOENT (No such file or directory) [pid 367] open("/lib/libicui18n.so.48", O_RDONLY) = -1 ENOENT (No such file or directory) [pid 367] open("/usr/lib/libicui18n.so.48", O_RDONLY) = 7 [pid 367] open("/lib/libicuuc.so.48", O_RDONLY) = -1 ENOENT (No such file or directory) [pid 367] open("/li