couchdb 2.0安装错误 [英] couchdb 2.0 installation error

查看:113
本文介绍了couchdb 2.0安装错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试按照以下指南在ubuntu服务器14.04上安装ouchdb2.0:
http://docs.couchdb.org/en/2.0.0/install/unix.html
https://gist.github.com/SinanGabel/eac83a2f9d0ac64e2c9d4bd936ouch9313#-file
,该过程开始,但始终出现以下错误:

I'm trying to install couchdb2.0 on ubuntu server 14.04 following these guides: http://docs.couchdb.org/en/2.0.0/install/unix.html https://gist.github.com/SinanGabel/eac83a2f9d0ac64e2c9d4bd936be9313#file-couchdb-2-0-install-L33 the process starts but it keeps giving the following errors:

couchdb@outland:/opt/couchdb/bin$ (./couchdb &)
couchdb@outland:/opt/couchdb/bin$ [info] 2017-01-09T17:26:35.870856Z couchdb@localhost <0.9.0> -------- Application couch_log started on node couchdb@localhost
[info] 2017-01-09T17:26:35.874078Z couchdb@localhost <0.9.0> -------- Application folsom started on node couchdb@localhost
[info] 2017-01-09T17:26:35.901209Z couchdb@localhost <0.9.0> -------- Application couch_stats started on node couchdb@localhost
[info] 2017-01-09T17:26:35.901354Z couchdb@localhost <0.9.0> -------- Application khash started on node couchdb@localhost
[info] 2017-01-09T17:26:35.907365Z couchdb@localhost <0.9.0> -------- Application couch_event started on node couchdb@localhost
[info] 2017-01-09T17:26:35.911510Z couchdb@localhost <0.9.0> -------- Application ibrowse started on node couchdb@localhost
[info] 2017-01-09T17:26:35.915353Z couchdb@localhost <0.9.0> -------- Application ioq started on node couchdb@localhost
[info] 2017-01-09T17:26:35.915495Z couchdb@localhost <0.9.0> -------- Application mochiweb started on node couchdb@localhost
[info] 2017-01-09T17:26:35.915630Z couchdb@localhost <0.9.0> -------- Application oauth started on node couchdb@localhost
[info] 2017-01-09T17:26:35.921324Z couchdb@localhost <0.208.0> -------- Apache CouchDB 2.0.0 is starting.

[info] 2017-01-09T17:26:35.921380Z couchdb@localhost <0.209.0> -------- Starting couch_sup
[info] 2017-01-09T17:26:36.213900Z couchdb@localhost <0.208.0> -------- Apache CouchDB has started. Time to relax.

[info] 2017-01-09T17:26:36.214019Z couchdb@localhost <0.208.0> -------- Apache CouchDB has started on http://127.0.0.1:5986/
[info] 2017-01-09T17:26:36.214177Z couchdb@localhost <0.9.0> -------- Application couch started on node couchdb@localhost
[info] 2017-01-09T17:26:36.214321Z couchdb@localhost <0.9.0> -------- Application ets_lru started on node couchdb@localhost
[info] 2017-01-09T17:26:36.223976Z couchdb@localhost <0.9.0> -------- Application rexi started on node couchdb@localhost
[info] 2017-01-09T17:26:36.281819Z couchdb@localhost <0.9.0> -------- Application mem3 started on node couchdb@localhost
[info] 2017-01-09T17:26:36.281978Z couchdb@localhost <0.9.0> -------- Application fabric started on node couchdb@localhost
[info] 2017-01-09T17:26:36.302058Z couchdb@localhost <0.9.0> -------- Application chttpd started on node couchdb@localhost
[notice] 2017-01-09T17:26:36.319236Z couchdb@localhost <0.323.0> -------- chttpd_auth_cache changes listener died database_does_not_exist at mem3_shards:load_shards_from_db/6(line:327) <= mem3_shards:load_shards_from_disk/1(line:315) <= mem3_shards:load_shards_from_disk/2(line:331) <= mem3_shards:for_docid/3(line:87) <= fabric_doc_open:go/3(line:38) <= chttpd_auth_cache:ensure_auth_ddoc_exists/2(line:187) <= chttpd_auth_cache:listen_for_changes/1(line:134)
[error] 2017-01-09T17:26:36.319444Z couchdb@localhost emulator -------- Error in process <0.324.0> on node couchdb@localhost with exit value:
{database_does_not_exist,[{mem3_shards,load_shards_from_db,"_users",[{file,"src/mem3_shards.erl"},{line,327}]},{mem3_shards,load_shards_from_disk,1,[{file,"src/mem3_shards.erl"},{line,315}]},{mem3_shards,load_shards_from_disk,2,[{file,"src/mem3_shards.erl"},{line,331}]},{mem3_shards,for_docid,3,[{file,"src/mem3_shards.erl"},{line,87}]},{fabric_doc_open,go,3,[{file,"src/fabric_doc_open.erl"},{line,38}]},{chttpd_auth_cache,ensure_auth_ddoc_exists,2,[{file,"src/chttpd_auth_cache.erl"},{line,187}]},{chttpd_auth_cache,listen_for_changes,1,[{file,"src/chttpd_auth_cache.erl"},{line,134}]}]}

[info] 2017-01-09T17:26:36.323075Z couchdb@localhost <0.9.0> -------- Application couch_index started on node couchdb@localhost
[info] 2017-01-09T17:26:36.323153Z couchdb@localhost <0.9.0> -------- Application couch_mrview started on node couchdb@localhost
[info] 2017-01-09T17:26:36.323185Z couchdb@localhost <0.9.0> -------- Application couch_plugins started on node couchdb@localhost
[info] 2017-01-09T17:26:36.359313Z couchdb@localhost <0.9.0> -------- Application couch_replicator started on node couchdb@localhost
[info] 2017-01-09T17:26:36.359344Z couchdb@localhost <0.9.0> -------- Application couch_peruser started on node couchdb@localhost
[info] 2017-01-09T17:26:36.364479Z couchdb@localhost <0.9.0> -------- Application ddoc_cache started on node couchdb@localhost
[info] 2017-01-09T17:26:36.378800Z couchdb@localhost <0.9.0> -------- Application global_changes started on node couchdb@localhost
[info] 2017-01-09T17:26:36.379083Z couchdb@localhost <0.9.0> -------- Application jiffy started on node couchdb@localhost
[info] 2017-01-09T17:26:36.383212Z couchdb@localhost <0.9.0> -------- Application mango started on node couchdb@localhost
[info] 2017-01-09T17:26:36.389163Z couchdb@localhost <0.9.0> -------- Application setup started on node couchdb@localhost
[info] 2017-01-09T17:26:36.389210Z couchdb@localhost <0.9.0> -------- Application snappy started on node couchdb@localhost
[notice] 2017-01-09T17:26:41.319862Z couchdb@localhost <0.323.0> -------- chttpd_auth_cache changes listener died database_does_not_exist at mem3_shards:load_shards_from_db/6(line:327) <= mem3_shards:load_shards_from_disk/1(line:315) <= mem3_shards:load_shards_from_disk/2(line:331) <= mem3_shards:for_docid/3(line:87) <= fabric_doc_open:go/3(line:38) <= chttpd_auth_cache:ensure_auth_ddoc_exists/2(line:187) <= chttpd_auth_cache:listen_for_changes/1(line:134)
[error] 2017-01-09T17:26:41.320369Z couchdb@localhost emulator -------- Error in process <0.450.0> on node couchdb@localhost with exit value:
{database_does_not_exist,[{mem3_shards,load_shards_from_db,"_users",[{file,"src/mem3_shards.erl"},{line,327}]},{mem3_shards,load_shards_from_disk,1,[{file,"src/mem3_shards.erl"},{line,315}]},{mem3_shards,load_shards_from_disk,2,[{file,"src/mem3_shards.erl"},{line,331}]},{mem3_shards,for_docid,3,[{file,"src/mem3_shards.erl"},{line,87}]},{fabric_doc_open,go,3,[{file,"src/fabric_doc_open.erl"},{line,38}]},{chttpd_auth_cache,ensure_auth_ddoc_exists,2,[{file,"src/chttpd_auth_cache.erl"},{line,187}]},{chttpd_auth_cache,listen_for_changes,1,[{file,"src/chttpd_auth_cache.erl"},{line,134}]}]}

我不认为这很正常,但我不知道该怎么办,这意味着什么。
有人知道吗?
谢谢

I don't think it's normal but I don't know what to do and what does it means. someone knows? thanks

推荐答案

我遇到了类似的问题,并在正在运行的同一主机上执行了以下命令,发现了此处的信息

I ran into similar issues and executed the following commands on the same host couchdb is running on , found the information here

http://docs.couchdb.org/en/2.0.0/install/index.html

在单节点设置下


curl -X PUT http://127.0.0.1:5984/_users

curl -X PUT http://127.0.0.1:5984/_replicator

curl -X PUT http://127.0.0.1:5984/_global_changes

这篇关于couchdb 2.0安装错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆