在ubuntu上使用geocouch扩展couchdb之后获取init问题

时间:2013-02-23 07:57:18

标签: couchdb couchapp couchdb-futon

env是ubuntu 12.10。 src版本是 apache-couchdb-1.2.1 和 的 geocouch-couchdb1.2.x 下, 首先尝试我只是将两者都放到下载文件夹,但当我执行make in geocouch文件夹然后得到以下问题:

ryu@ryu-Asp:~/Downloads/geocouch-couchdb1.2.x$ make
fatal: Not a git repository (or any of the parent directories): .git
fatal: Not a git repository (or any of the parent directories): .git

我没有在谷歌上找到解决方案所以只是忽略这个问题,继续 在https://github.com/couchbase/geocouch/tree/couchdb1.2.x上配置基础。 :

sudo cp etc/couchdb/default.d/geocouch.ini /usr/local/etc/couchdb/default.d/
export ERL_FLAGS="-pa /usr/local/src/geocouch/ebin"
ryu@ryu-Asp:/usr/local/bin$ sudo ./couchdb

然后得到以下错误消息:

Apache CouchDB 1.2.1 (LogLevel=info) is starting. 
[error] [<0.93.0>] {error_report,<0.31.0>,
                {<0.93.0>,supervisor_report,
                 [{supervisor,{local,couch_secondary_services}},
                  {errorContext,start_error},
                  {reason,
                   {'EXIT',
                    {undef,
                     [{couch_spatial,start_link,[],[]},
                      {supervisor,do_start_child,2,
                       [{file,"supervisor.erl"},{line,303}]},
                      {supervisor,start_children,3,
                       [{file,"supervisor.erl"},{line,287}]},
                      {supervisor,init_children,2,
                       [{file,"supervisor.erl"},{line,253}]},
                      {gen_server,init_it,6,
                       [{file,"gen_server.erl"},{line,304}]},
                      {proc_lib,init_p_do_apply,3,
                       [{file,"proc_lib.erl"},{line,227}]}]}}},
                  {offender,
                   [{pid,undefined},
                    {name,spatial_manager},
                    {mfargs,{couch_spatial,start_link,[]}},
                    {restart_type,permanent},
                    {shutdown,brutal_kill},
                    {child_type,worker}]}]}}
{"init terminating in do_boot",{{badmatch,{error,{bad_return,{{couch_app,start,[normal, ["/usr/local/etc/couchdb/default.ini","/usr/local/etc/couchdb/local.ini"]]},{'EXIT',   {{badmatch,{error,shutdown}},[{couch_server_sup,start_server,1,[{file,"couch_server_sup.erl"},{line,98}]},{application_master,start_it_old,4,[{file,"application_master.erl"},{line,274}]}]}}}}}},[{couch,start,0,[{file,"couch.erl"},{line,18}]},{init,start_it,1,[]},{init,start_em,1,[]}]}}

=SUPERVISOR REPORT==== 23-Feb-2013::16:24:04 ===
 Supervisor: {local,couch_secondary_services}
 Context:    start_error
 Reason:     {'EXIT',
                 {undef,
                     [{couch_spatial,start_link,[],[]},
                      {supervisor,do_start_child,2,
                          [{file,"supervisor.erl"},{line,303}]},
                      {supervisor,start_children,3,
                          [{file,"supervisor.erl"},{line,287}]},
                      {supervisor,init_children,2,
                          [{file,"supervisor.erl"},{line,253}]},
                      {gen_server,init_it,6,
                          [{file,"gen_server.erl"},{line,304}]},
                      {proc_lib,init_p_do_apply,3,
                          [{file,"proc_lib.erl"},{line,227}]}]}}
 Offender:   [{pid,undefined},
              {name,spatial_manager},
              {mfargs,{couch_spatial,start_link,[]}},
              {restart_type,permanent},
              {shutdown,brutal_kill},
              {child_type,worker}]

Crash dump was written to: erl_crash.dump
init terminating in do_boot ()

顺便说一句,我已经尝试了将src放在http://euroside.wordpress.com/2011/12/06/installing-geocouch/上的/ usr / local / src的方法。但它仍然不起作用。

0 个答案:

没有答案