English 中文(简体)
cob 不是由候补编辑开始
原标题:couchdb not starting with alternate config directory
  • 时间:2011-08-19 15:12:46
  •  标签:
  • couchdb

我安装了1.1.0uch,在开始使用正常的集束文档时,它会受到罚款。 首先是:

couchdb

will allow me to do the usual:

curl -X GET http://127.0.0.1:5984/
{"couchdb":"Welcome","version":"1.1.0"}

现在,我需要开始编织布,另设一个编组。 为此,我向以下指挥人员开火:

couchdb -n -a test.ini

启动是成功的,库什多布正在聆听http://127.0.0.1:5984” rel=“nofollow”http://127.0.0.1:5984

然而,一旦我开展全球教育运动, co子就坠毁:

[error] [<0.196.0>] {error_report,<0.31.0>,
                     {<0.196.0>,crash_report,
                      [[{initial_call,
                         {mochiweb_acceptor,init,
                          [ Argument__1 , Argument__2 , Argument__3 ]}},
                        {pid,<0.196.0>},
                        {registered_name,[]},
                        {error_info,
                         {exit,
                          {noproc,
                           {gen_server,call,
                            [couch_httpd_vhost,
                             {match_vhost,
                              {mochiweb_request,#Port<0.2102>, GET ,"/",
                               {1,1},
                               {3,
                                {"user-agent",
                                 { User-Agent ,
                                  "curl/7.19.7 (i486-pc-linux-gnu) libcurl/7.19.7 OpenSSL/0.9.8k zlib/1.2.3.3 libidn/1.15"},
                                 {"host",
                                  { Host ,"127.0.0.1:5984"},
                                  {"accept",{ Accept ,"*/*"},nil,nil},
                                  nil},
                                 nil}}}}]}},
                          [{gen_server,call,2},
                           {couch_httpd_vhost,match_vhost,1},
                           {couch_httpd,handle_request,5},
                           {mochiweb_http,headers,5},
                           {proc_lib,init_p_do_apply,3}]}},
                        {ancestors,
                         [couch_httpd,couch_secondary_services,
                          couch_server_sup,<0.32.0>]},
                        {messages,[]},
                        {links,[<0.103.0>,#Port<0.2102>]},
                        {dictionary,[]},
                        {trap_exit,false},
                        {status,running},
                        {heap_size,610},
                        {stack_size,24},
                        {reductions,672}],
                       []]}}
=CRASH REPORT==== 19-Aug-2011::17:03:44 ===
  crasher:
    initial call: mochiweb_acceptor:init/3
    pid: <0.196.0>
    registered_name: []
    exception exit: {noproc,
                     {gen_server,call,
                      [couch_httpd_vhost,
                       {match_vhost,
                        {mochiweb_request,#Port<0.2102>, GET ,"/",
                         {1,1},
                         {3,
                          {"user-agent",
                           { User-Agent ,
                            "curl/7.19.7 (i486-pc-linux-gnu) libcurl/7.19.7 OpenSSL/0.9.8k zlib/1.2.3.3 libidn/1.15"},
                           {"host",
                            { Host ,"127.0.0.1:5984"},
                            {"accept",{ Accept ,"*/*"},nil,nil},
                            nil},
                           nil}}}}]}}
      in function  gen_server:call/2
      in call from couch_httpd_vhost:match_vhost/1
      in call from couch_httpd:handle_request/5
      in call from mochiweb_http:headers/5
    ancestors: [couch_httpd,couch_secondary_services,couch_server_sup,
                  <0.32.0>]
    messages: []
    links: [<0.103.0>,#Port<0.2102>]
    dictionary: []
    trap_exit: false
    status: running
    heap_size: 610
    stack_size: 24
    reductions: 672
  neighbours:

有什么想法可以继续下去?

最佳回答

我认为,我发现这个问题,因此我将回答我自己的问题,供参考。

我的配置文件(测试.ini)缺乏(与存货代码比较)。 The following options in the [daemon] section:

replication_manager={couch_replication_manager, start_link, []}
vhosts={couch_httpd_vhost, start_link, []}
os_daemons={couch_os_daemons, start_link, []}
问题回答

暂无回答




相关问题
couchdb for /really/ distributed replica

let s say i want to implement a distributed database (each node being the replica of the others); i hear that cdb is able to easily sync between two nodes and at least support some form of conflict ...

CouchDB View, Map, Index, and Sequence

I think read somewhere that when a View is requested the "map" is only run across documents that have been added since the last time it was requested? How is this determined? I thought I saw something ...

representing a many-to-many relationship in couchDB

Let s say I m writing a log analysis application. The main domain object would be a LogEntry. In addition. users of the application define a LogTopic which describes what log entries they are ...

couchDB , python and authentication

I have installed couchDB v 0.10.0, and am attempting to talk to it via python from Couch class downloaded from couchDB wiki. Problem is: Create database mydb : { error : unauthorized , reason : ...

Temp View Caching?

I m using CouchDB with a home-grown C# interface library. The most common method of accessing CouchDB with this library results in a temp view being created. I ve optimized the library so that it uses ...

热门标签