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.
- Does anyone know what this crash report means?
- 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
build-couchdbby default compiles CouchDB-1.1.1. The first row in your log saysApache CouchDB 1.0.1. - Marcello Nuccio./to run a command from the current folder. In your case it should probably be./build/bin/couchdb. - Marcello Nuccio