1

我正在 Ubuntu 11.10 上尝试 CouchDB。几个测试都失败了,所以我按照本文的建议尝试从build-couchdb安装,但是在成功构建后尝试启动couchdb时遇到了一些令人讨厌的错误。

  1. 有谁知道这个崩溃报告是什么意思?
  2. 有谁知道为什么要安装 1.0.1,而不是最新的构建版本 1.1.0?

谢谢!


$ build/bin/couchdb

Apache CouchDB 1.0.1 (LogLevel=info) 正在启动。

=崩溃报告==== 2012 年 1 月 8 日::22:19:54 === 崩溃者:初始调用:couch_event_sup:init/1 pid:<0.80.0> 注册名称:[] 异常退出:{{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}]} 函数 gen_server:init_it/6 祖先:[couch_primary_services,couch_server_sup,<0.32.0>] 消息: [] 链接: [<0.79​​.0>,<0.6.0>] 字典:[] trap_exit: false status: running heap_size: 377 stack_size: 24 reductions: 116 neighbors:

=SUPERVISOR REPORT==== 8-Jan-2012::22:19:54 === 主管:{local,couch_primary_services} 上下文:start_error 原因:{{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}]} 违规者:[{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 === 主管:{local,couch_server_sup} 上下文:start_error 原因:关闭 违规者:[{pid,undefined}, {name,couch_primary_services}, {mfargs,{couch_server_sup,start_primary_services,[]}}, {restart_type,permanent}, {shutdown,infinity}, {child_type,supervisor}]

=崩溃报告==== 2012 年 1 月 8 日::22:19:54 === 崩溃者:初始调用:application_master:init/4 pid:<0.31.0> 注册名称:[] 异常退出:{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 祖先:[<0.30.0>] 消息:[{'EXIT',<0.32.0> ,normal}] 链接:[<0.30.0>,<0.7.0>] 字典:[] trap_exit:真实状态:运行 heap_size:987 stack_size:24 减少:156 邻居:

=INFO REPORT==== 2012 年 1 月 8 日::22:19:54 === 应用程序:沙发退出:{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}]}} }} 类型:临时

4

1 回答 1

0

马塞洛的评论是正确的。该日志表明您以某种方式(我不确定如何)运行版本 1.0.1,但 Build CouchDB 将构建版本 1.1.1。

也许您可以使用这些命令的输出来更新您的问题?

  1. pwd
  2. ./build/bin/couchdb
于 2012-01-10T02:29:12.653 回答