couchdb 2.0安装错误
couchdb 2.0 installation error
我正在尝试按照这些指南在 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}]}]}
我认为这不正常,但我不知道该怎么办,也不知道这意味着什么。
有人知道吗?
谢谢
我 运行 遇到了类似的问题,并在 运行 上的同一主机 couchdb 上执行了以下命令,在这里找到了信息
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
除了 curl
,Fauxton CouchDB 用户界面还包括一个设置部分,它将为您创建这些数据库。
我正在尝试按照这些指南在 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}]}]}
我认为这不正常,但我不知道该怎么办,也不知道这意味着什么。 有人知道吗? 谢谢
我 运行 遇到了类似的问题,并在 运行 上的同一主机 couchdb 上执行了以下命令,在这里找到了信息
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
除了 curl
,Fauxton CouchDB 用户界面还包括一个设置部分,它将为您创建这些数据库。