当前位置:  开发笔记 > 编程语言 > 正文

couchdb 2.0安装错误

如何解决《couchdb2.0安装错误》经验,为你挑选了1个好方法。

我正在尝试按照以下指南在ubuntu服务器14.04上安装couchdb2.0:http : //docs.couchdb.org/en/2.0.0/install/unix.html https://gist.github.com/SinanGabel/ eac83a2f9d0ac64e2c9d4bd936be9313#file-couchdb-2-0-install-L33 进程启动但它不断发出以下错误:

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}]}]}

我不认为这是正常的,但我不知道该做什么,这意味着什么.有人知道吗?谢谢



1> 小智..:

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

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

推荐阅读
mobiledu2402851377
这个屌丝很懒,什么也没留下!
DevBox开发工具箱 | 专业的在线开发工具网站    京公网安备 11010802040832号  |  京ICP备19059560号-6
Copyright © 1998 - 2020 DevBox.CN. All Rights Reserved devBox.cn 开发工具箱 版权所有