如何使用build-couchdb正确安装CouchDB?

时间:2012-01-09 03:27:46

标签: build couchdb ubuntu-11.10

我在Ubuntu 11.10上尝试CouchDB。有几个测试失败了,所以我跟着this article's advice尝试从build-couchdb安装,但是在成功构建之后我尝试启动 couchdb 时遇到了一些令人讨厌的错误。

  1. 有谁知道此崩溃报告的含义?
  2. 有谁知道为什么要安装1.0.1,而不是最新的构建版本1.1.0?
  3. 谢谢!


    $ build/bin/couchdb

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

    = CRASH REPORT ==== 2012年1月8日:: 22:19:54 ===   不速之客:     初始调用:couch_event_sup:init / 1     pid:< 0.80.0>     registered_name:[]     异常退出:{{badmatch,                          {'出口',                              {{badmatch,{错误,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     状态:正在运行     heap_size:377     stack_size:24     减少:116   邻居:

    =主管报告==== 2012年1月8日:: 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},                   {名,couch_log},                   {mfargs,{couch_log,START_LINK,[]}},                   {启动Restart_type,永久},                   {关机,brutal_kill}                   {CHILD_TYPE,工人}]

    =主管报告==== 2012年1月8日:: 22:19:54 ===      主管:{local,couch_server_sup}      上下文:start_error      原因:关机      罪犯:[{pid,undefined},                   {名,couch_primary_services},                   {mfargs,{couch_server_sup,start_primary_services,[]}},                   {启动Restart_type,永久},                   {关机,无限}                   {CHILD_TYPE,监}]

    = CRASH REPORT ==== 2012年1月8日:: 22:19:54 ===   不速之客:     初始调用:application_master:init / 4     pid:< 0.31.0>     registered_name:[]     异常退出:{bad_return,                         {{couch_app,启动,                              [正常,                               [ “/etc/couchdb/default.ini”,                                “/etc/couchdb/local.ini”]]},                          {'出口',                              {{badmatch,{错误,关机}},                               [{couch_server_sup,START_SERVER,1},                                {application_master,start_it_old,4}]}}}}       在函数application_master:init / 4中     祖先:[< 0.30.0>]     消息:[{'EXIT',< 0.32.0>,normal}]     链接:[< 0.30.0>,< 0.7.0>]     字典:[]     trap_exit:true     状态:正在运行     heap_size:987     stack_size:24     减少:156   邻居:

    = INFO REPORT ==== 2012年1月8日:: 22:19:54 ===     应用:沙发     退出:{bad_return,{{couch_app,start,                                     [正常,                                      [ “/etc/couchdb/default.ini”,                                       “/etc/couchdb/local.ini”]]},                          { '退出',{{badmatch,{错误,关机}},                                   [{couch_server_sup,START_SERVER,1},                                    {application_master,start_it_old,4}]}}}}     类型:临时

1 个答案:

答案 0 :(得分:0)

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

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

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