How do I properly install CouchDB using build-couchdb?

542 views Asked by At

I'm trying CouchDB on Ubuntu 11.10. Several tests were failing, so I followed this article's advice and tried to install from build-couchdb, but I'm getting some nasty errors trying to start couchdb after a successful build.

  1. Does anyone know what this crash report means?
  2. Does anyone know why 1.0.1 would be installed, and not the latest build version 1.1.0?

Thanks!


$ build/bin/couchdb

Apache CouchDB 1.0.1 (LogLevel=info) is starting.

=CRASH REPORT==== 8-Jan-2012::22:19:54 === crasher: initial call: couch_event_sup:init/1 pid: <0.80.0> registered_name: [] exception exit: {{badmatch, {'EXIT', {{badmatch,{error,enoent}}, [{couch_log,init,1}, {gen_event,server_add_handler,4}, {gen_event,handle_msg,5}, {proc_lib,init_p_do_apply,3}]}}}, [{couch_event_sup,init,1}, {gen_server,init_it,6}, {proc_lib,init_p_do_apply,3}]} in function gen_server:init_it/6 ancestors: [couch_primary_services,couch_server_sup,<0.32.0>] messages: [] links: [<0.79.0>,<0.6.0>] dictionary: [] trap_exit: false status: running heap_size: 377 stack_size: 24 reductions: 116 neighbours:

=SUPERVISOR REPORT==== 8-Jan-2012::22:19:54 === Supervisor: {local,couch_primary_services} Context: start_error Reason: {{badmatch,{'EXIT',{{badmatch,{error,enoent}}, [{couch_log,init,1}, {gen_event,server_add_handler,4}, {gen_event,handle_msg,5}, {proc_lib,init_p_do_apply,3}]}}}, [{couch_event_sup,init,1}, {gen_server,init_it,6}, {proc_lib,init_p_do_apply,3}]} Offender: [{pid,undefined}, {name,couch_log}, {mfargs,{couch_log,start_link,[]}}, {restart_type,permanent}, {shutdown,brutal_kill}, {child_type,worker}]

=SUPERVISOR REPORT==== 8-Jan-2012::22:19:54 === Supervisor: {local,couch_server_sup} Context: start_error Reason: shutdown Offender: [{pid,undefined}, {name,couch_primary_services}, {mfargs,{couch_server_sup,start_primary_services,[]}}, {restart_type,permanent}, {shutdown,infinity}, {child_type,supervisor}]

=CRASH REPORT==== 8-Jan-2012::22:19:54 === crasher: initial call: application_master:init/4 pid: <0.31.0> registered_name: [] exception exit: {bad_return, {{couch_app,start, [normal, ["/etc/couchdb/default.ini", "/etc/couchdb/local.ini"]]}, {'EXIT', {{badmatch,{error,shutdown}}, [{couch_server_sup,start_server,1}, {application_master,start_it_old,4}]}}}} in function application_master:init/4 ancestors: [<0.30.0>] messages: [{'EXIT',<0.32.0>,normal}] links: [<0.30.0>,<0.7.0>] dictionary: [] trap_exit: true status: running heap_size: 987 stack_size: 24 reductions: 156 neighbours:

=INFO REPORT==== 8-Jan-2012::22:19:54 === application: couch exited: {bad_return,{{couch_app,start, [normal, ["/etc/couchdb/default.ini", "/etc/couchdb/local.ini"]]}, {'EXIT',{{badmatch,{error,shutdown}}, [{couch_server_sup,start_server,1}, {application_master,start_it_old,4}]}}}} type: temporary

1

There are 1 answers

1
JasonSmith On BEST ANSWER

Marcello is right in his comment. The log indicates that you are somehow (I'm not sure how) running version 1.0.1 but Build CouchDB would be building version 1.1.1.

Perhaps you could update your question with the output of these commands?

  1. pwd
  2. ./build/bin/couchdb