Init Terminating In Do_boot Badmatch Error Bad_return
Contents |
here for a quick overview of the site Help Center Detailed answers to any questions init terminating in do_boot rabbitmq you might have Meta Discuss the workings and policies of
Failure To Start Mochiweb: Eaddrinuse
this site About Us Learn more about Stack Overflow the company Business Learn more about hiring init terminating in do_boot erlang developers or 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 couchdb error badmatch community of 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
Erl_crash.dump Location
I do not 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 52021126 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 10 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/c
Bug #1262220 reported by Hendy Irawan on 2013-12-18
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
https://bugs.launchpad.net/bugs/1262220 | couchdb (Ubuntu) | Undecid
Sign in Pricing Blog Support Search GitHub This https://github.com/Homebrew/legacy-homebrew/issues/19641 repository Watch 1,055 Star 29,523 Fork 14,070 Homebrew/legacy-homebrew Code Issues 2 Pull requests 0 Projects 0 Pulse Graphs CouchDB can't find icu4c on startup #19641 Closed natevw opened this Issue May 7, 2013 · 3 comments Projects None yet Labels None yet init terminating Milestone No milestone Assignees No one assigned 3 participants natevw commented May 7, 2013 After upgrading packages today, I could no longer start 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,{failed_to_start_child,couch_primary_services,{shutdown,{failed_to_start_child,collation_driver,"dlopen(/usr/local/Cellar/couchdb/1.2.1/lib/couchdb/erlang/lib/couch-1.2.1/priv/lib/couch_icu_driver.so, 2): Library not loaded: /usr/local/opt/icu4c/lib/libicui18n.50.1.dylib\n Referenced from: /usr/local/Cellar/couchdb/1.2.1/lib/couchdb/erlang/lib/couch-1.2.1/priv/lib/couch_icu_driver.so\n init terminating in Reason: image 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,274}]}]}}}}}},[{couch,start,0,[{file,"couch.erl"},{line,18}]},{init,start_it,1,[]},{init,start_em,1,[]}]}} Apache CouchDB crashed, restarting in 5 seconds. For old time's sake I tried using brew link --force icu4c as issue #6065 discusses, but even as a workaround it's no help. natevw referenced this issue May 7, 2013 Closed CouchDB failed to build against Erlang 16 #18256 natevw commented May 7, 2013 brew uninstall couchdb && brew install couchdb fixed it (even after unlinking icu4c) for me, once I also sorted an Erlang version issue. Seems I happened upon an unlucky order/timing of brew upgrades. adamv commented May 7, 2013 Yeah; we updated the icu4c version/bottle recently and that caused me to need to rebrew some stuff as well. adamv closed this May 7, 2013 bdcribbs commented May 1, 2015 It's time to rebrew couchdb aga |