Hyperledger fabric-couchdb镜像版本的坑

Hyperledger fabric-couchdb镜像版本的坑_第1张图片

启动出现一下错误

[root@1-242 ~]# docker logs couchdb0                                                                                                                                                                                                       

[info] 2019-04-28T12:07:38.937453Z nonode@nohost <0.7.0> -------- Application couch_log started on node nonode@nohost

[info] 2019-04-28T12:07:38.946840Z nonode@nohost <0.7.0> -------- Application folsom started on node nonode@nohost

[info] 2019-04-28T12:07:39.021562Z nonode@nohost <0.7.0> -------- Application couch_stats started on node nonode@nohost

[info] 2019-04-28T12:07:39.021831Z nonode@nohost <0.7.0> -------- Application khash started on node nonode@nohost

[info] 2019-04-28T12:07:39.035627Z nonode@nohost <0.7.0> -------- Application couch_event started on node nonode@nohost

[info] 2019-04-28T12:07:39.035897Z nonode@nohost <0.7.0> -------- Application hyper started on node nonode@nohost

[info] 2019-04-28T12:07:39.047423Z nonode@nohost <0.7.0> -------- Application ibrowse started on node nonode@nohost

[info] 2019-04-28T12:07:39.058278Z nonode@nohost <0.7.0> -------- Application ioq started on node nonode@nohost

[info] 2019-04-28T12:07:39.058529Z nonode@nohost <0.7.0> -------- Application mochiweb started on node nonode@nohost

[info] 2019-04-28T12:07:39.074960Z nonode@nohost <0.195.0> -------- Apache CouchDB 2.2.0 is starting.

 

[info] 2019-04-28T12:07:39.075058Z nonode@nohost <0.196.0> -------- Starting couch_sup

[notice] 2019-04-28T12:07:39.092788Z nonode@nohost <0.82.0> -------- config: [features] pluggable-storage-engines set to true for reason nil

[notice] 2019-04-28T12:07:39.108860Z nonode@nohost <0.82.0> -------- config: [admins] admin set to -pbkdf2-632b9837f7add3a8f3ff6545811b0fef641f6fbd,751f6fdb1f7021dadb4ff469852ba307,1000 for reason nil

[notice] 2019-04-28T12:07:39.156189Z nonode@nohost <0.82.0> -------- config: [couchdb] uuid set to 493be5a377d3a6e6a8e9d8a348d51e27 for reason nil

[info] 2019-04-28T12:07:40.807006Z nonode@nohost <0.201.0> -------- open_result error {not_found,no_db_file} for _users

[error] 2019-04-28T12:07:40.809523Z nonode@nohost <0.246.0> -------- Could not open file ./data/_users.couch: permission denied

[info] 2019-04-28T12:07:40.809763Z nonode@nohost <0.201.0> -------- open_result error {error,eacces} for _users

[error] 2019-04-28T12:07:40.812138Z nonode@nohost <0.238.0> -------- CRASH REPORT Process  (<0.238.0>) with 1 neighbors exited with reason: no match of right hand value {error,eacces} at couch_auth_cache:ensure_users_db_exists/2(line:447) <= couch_auth_cache:open_auth_db/0(line:419) <= couch_auth_cache:reinit_cache/1(line:282) <= couch_auth_cache:init/1(line:164) <= gen_server:init_it/6(line:328) <= proc_lib:init_p_do_apply/3(line:240) at gen_server:init_it/6(line:352) <= proc_lib:init_p_do_apply/3(line:240); initial_call: {couch_auth_cache,init,['Argument__1']}, ancestors: [couch_secondary_services,couch_sup,<0.195.0>], messages: [], links: [<0.205.0>,<0.240.0>], dictionary: [], trap_exit: true, status: running, heap_size: 987, stack_size: 27, reductions: 366

[error] 2019-04-28T12:07:40.813160Z nonode@nohost <0.195.0> -------- Error starting Apache CouchDB:

 

    {error,{shutdown,{failed_to_start_child,couch_secondary_services,{shutdown,{failed_to_start_child,auth_cache,{{badmatch,{error,eacces}},[{couch_auth_cache,ensure_users_db_exists,2,[{file,"src/couch_auth_cache.erl"},{line,447}]},{couch_auth_cache,open_auth_db,0,[{file,"src/couch_auth_cache.erl"},{line,419}]},{couch_auth_cache,reinit_cache,1,[{file,"src/couch_auth_cache.erl"},{line,282}]},{couch_auth_cache,init,1,[{file,"src/couch_auth_cache.erl"},{line,164}]},{gen_server,init_it,6,[{file,"gen_server.erl"},{line,328}]},{proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,240}]}]}}}}}}

 

 

[error] 2019-04-28T12:07:40.816489Z nonode@nohost <0.205.0> -------- Supervisor couch_secondary_services had child auth_cache started with couch_auth_cache:start_link() at undefined exit with reason no match of right hand value {error,eacces} at couch_auth_cache:ensure_users_db_exists/2(line:447) <= couch_auth_cache:open_auth_db/0(line:419) <= couch_auth_cache:reinit_cache/1(line:282) <= couch_auth_cache:init/1(line:164) <= gen_server:init_it/6(line:328) <= proc_lib:init_p_do_apply/3(line:240) in context start_error

[error] 2019-04-28T12:07:40.817060Z nonode@nohost <0.196.0> -------- Supervisor couch_sup had child couch_secondary_services started with couch_secondary_sup:start_link() at undefined exit with reason {shutdown,{failed_to_start_child,auth_cache,{{badmatch,{error,eacces}},[{couch_auth_cache,ensure_users_db_exists,2,[{file,"src/couch_auth_cache.erl"},{line,447}]},{couch_auth_cache,open_auth_db,0,[{file,"src/couch_auth_cache.erl"},{line,419}]},{couch_auth_cache,reinit_cache,1,[{file,"src/couch_auth_cache.erl"},{line,282}]},{couch_auth_cache,init,1,[{file,"src/couch_auth_cache.erl"},{line,164}]},{gen_server,init_it,6,[{file,"gen_server.erl"},{line,328}]},{proc_lib,init_p_do_apply,3,[{file,"p..."},...]}]}}} in context start_error

[error] 2019-04-28T12:07:40.817373Z nonode@nohost <0.194.0> -------- CRASH REPORT Process  (<0.194.0>) with 0 neighbors exited with reason: {{shutdown,{failed_to_start_child,couch_secondary_services,{shutdown,{failed_to_start_child,auth_cache,{{badmatch,{error,eacces}},[{couch_auth_cache,ensure_users_db_exists,2,[{file,"src/couch_auth_cache.erl"},{line,447}]},{couch_auth_cache,open_auth_db,0,[{file,"src/couch_auth_cache.erl"},{line,419}]},{couch_auth_cache,reinit_cache,1,[{file,"src/couch_auth_cache.erl"},{line,282}]},{couch_auth_cache,init,1,[{file,"src/couch_auth_cache.erl"},{line,164}]},{gen_server,init_it,6,[{file,"gen_ser..."},...]},...]}}}}},...} at application_master:init/4(line:134) <= proc_lib:init_p_do_apply/3(line:240); initial_call: {application_master,init,['Argument__1','Argument__2',...]}, ancestors: [<0.193.0>], messages: [{'EXIT',<0.195.0>,normal}], links: [<0.193.0>,<0.7.0>], dictionary: [], trap_exit: true, status: running, heap_size: 987, stack_size: 27, reductions: 155

[info] 2019-04-28T12:07:40.817857Z nonode@nohost <0.7.0> -------- Application couch exited with reason: {{shutdown,{failed_to_start_child,couch_secondary_services,{shutdown,{failed_to_start_child,auth_cache,{{badmatch,{error,eacces}},[{couch_auth_cache,ensure_users_db_exists,2,[{file,"src/couch_auth_cache.erl"},{line,447}]},{couch_auth_cache,open_auth_db,0,[{file,"src/couch_auth_cache.erl"},{line,419}]},{couch_auth_cache,reinit_cache,1,[{file,"src/couch_auth_cache.erl"},{line,282}]},{couch_auth_cache,init,1,[{file,"src/couch_auth_cache.erl"},{line,164}]},{gen_server,init_it,6,[{file,"gen_ser..."},...]},...]}}}}},...}

[os_mon] memory supervisor port (memsup): Erlang has closed

[os_mon] cpu supervisor port (cpu_sup): Erlang has closed

{"Kernel pid terminated",application_controller,"{application_start_failure,couch,{{shutdown,{failed_to_start_child,couch_secondary_services,{shutdown,{failed_to_start_child,auth_cache,{{badmatch,{error,eacces}},[{couch_auth_cache,ensure_users_db_exists,2,[{file,\"src/couch_auth_cache.erl\"},{line,447}]},{couch_auth_cache,open_auth_db,0,[{file,\"src/couch_auth_cache.erl\"},{line,419}]},{couch_auth_cache,reinit_cache,1,[{file,\"src/couch_auth_cache.erl\"},{line,282}]},{couch_auth_cache,init,1,[{file,\"src/couch_auth_cache.erl\"},{line,164}]},{gen_server,init_it,6,[{file,\"gen_server.erl\"},{line,328}]},{proc_lib,init_p_do_apply,3,[{file,\"proc_lib.erl\"},{line,240}]}]}}}}},{couch_app,start,[normal,[]]}}}"}

你可能感兴趣的:(Fabric,区块链)