2017-01-09 20 views
2

Я пытаюсь установить couchdb2.0 на Ubuntu Server 14.04 следующие эти руководства: http://docs.couchdb.org/en/2.0.0/install/unix.html https://gist.github.com/SinanGabel/eac83a2f9d0ac64e2c9d4bd936be9313#file-couchdb-2-0-install-L33 запускается процесс, но он продолжает давать следующие ошибки:CouchDB 2,0 установка ошибка

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

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

[info] 2017-01-09T17:26:36.214019Z [email protected] <0.208.0> -------- Apache CouchDB has started on http://127.0.0.1:5986/ 
[info] 2017-01-09T17:26:36.214177Z [email protected] <0.9.0> -------- Application couch started on node [email protected] 
[info] 2017-01-09T17:26:36.214321Z [email protected] <0.9.0> -------- Application ets_lru started on node [email protected] 
[info] 2017-01-09T17:26:36.223976Z [email protected] <0.9.0> -------- Application rexi started on node [email protected] 
[info] 2017-01-09T17:26:36.281819Z [email protected] <0.9.0> -------- Application mem3 started on node [email protected] 
[info] 2017-01-09T17:26:36.281978Z [email protected] <0.9.0> -------- Application fabric started on node [email protected] 
[info] 2017-01-09T17:26:36.302058Z [email protected] <0.9.0> -------- Application chttpd started on node [email protected] 
[notice] 2017-01-09T17:26:36.319236Z [email protected] <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 [email protected] emulator -------- Error in process <0.324.0> on node [email protected] 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 [email protected] <0.9.0> -------- Application couch_index started on node [email protected] 
[info] 2017-01-09T17:26:36.323153Z [email protected] <0.9.0> -------- Application couch_mrview started on node [email protected] 
[info] 2017-01-09T17:26:36.323185Z [email protected] <0.9.0> -------- Application couch_plugins started on node [email protected] 
[info] 2017-01-09T17:26:36.359313Z [email protected] <0.9.0> -------- Application couch_replicator started on node [email protected] 
[info] 2017-01-09T17:26:36.359344Z [email protected] <0.9.0> -------- Application couch_peruser started on node [email protected] 
[info] 2017-01-09T17:26:36.364479Z [email protected] <0.9.0> -------- Application ddoc_cache started on node [email protected] 
[info] 2017-01-09T17:26:36.378800Z [email protected] <0.9.0> -------- Application global_changes started on node [email protected] 
[info] 2017-01-09T17:26:36.379083Z [email protected] <0.9.0> -------- Application jiffy started on node [email protected] 
[info] 2017-01-09T17:26:36.383212Z [email protected] <0.9.0> -------- Application mango started on node [email protected] 
[info] 2017-01-09T17:26:36.389163Z [email protected] <0.9.0> -------- Application setup started on node [email protected] 
[info] 2017-01-09T17:26:36.389210Z [email protected] <0.9.0> -------- Application snappy started on node [email protected] 
[notice] 2017-01-09T17:26:41.319862Z [email protected] <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 [email protected] emulator -------- Error in process <0.450.0> on node [email protected] 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}]}]} 

Я не» Я думаю, что это нормально, но я не знаю, что делать и что это значит. Кто-нибудь знает? благодаря

ответ

6

я столкнулся с подобными проблемами и выполняются следующие команды на том же хосте 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 
+0

I» м собирается попробовать. спасибо – user1658162

+0

, когда я делаю это, я получаю, что вы не авторизованы, и мне еще не пришло в голову – Chris

+0

@ Попробуйте указать имя пользователя и пароль администратора в вашей команде следующим образом: curl -X PUT http: // admin_name: password @ 127.0.0.1:5984/_users –