Hyperledger fabric ./startFabric错误-背书人客户端无法连接到peer0.org1.example.com:7051:无法创建新连接:超出上下文截止日期

Hyperledger fabric ./startFabric错误-背书人客户端无法连接到peer0.org1.example.com:7051:无法创建新连接:超出上下文截止日期,hyperledger-fabric,hyperledger,Hyperledger Fabric,Hyperledger,过去工作得很好,但突然出现了以下错误: ➜ fabric-dev-servers sh startFabric.sh Development only script for Hyperledger Fabric control Running 'startFabric.sh' FABRIC_VERSION is unset, assuming hlfv11 FABRIC_START_TIMEOUT is unset, assuming 15 (seconds) Stopping peer0.o

过去工作得很好,但突然出现了以下错误:

➜  fabric-dev-servers sh startFabric.sh
Development only script for Hyperledger Fabric control
Running 'startFabric.sh'
FABRIC_VERSION is unset, assuming hlfv11
FABRIC_START_TIMEOUT is unset, assuming 15 (seconds)
Stopping peer0.org1.example.com ... done
Stopping orderer.example.com    ... done
Stopping ca.org1.example.com    ... done
Removing peer0.org1.example.com ... done
Removing couchdb                ... done
Removing orderer.example.com    ... done
Removing ca.org1.example.com    ... done
Removing network composer_default
Creating network "composer_default" with the default driver
Creating couchdb             ... done
Creating orderer.example.com ... done
Creating ca.org1.example.com ... done
Creating peer0.org1.example.com ... done
sleeping for 15 seconds to wait for fabric to complete start up
2018-07-26 14:55:26.080 UTC [msp] GetLocalMSP -> DEBU 001 Returning existing local MSP
2018-07-26 14:55:26.080 UTC [msp] GetDefaultSigningIdentity -> DEBU 002 Obtaining default signing identity
2018-07-26 14:55:26.082 UTC [channelCmd] InitCmdFactory -> INFO 003 Endorser and orderer connections initialized
2018-07-26 14:55:26.085 UTC [msp] GetLocalMSP -> DEBU 004 Returning existing local MSP
2018-07-26 14:55:26.085 UTC [msp] GetDefaultSigningIdentity -> DEBU 005 Obtaining default signing identity
2018-07-26 14:55:26.085 UTC [msp] GetLocalMSP -> DEBU 006 Returning existing local MSP
2018-07-26 14:55:26.085 UTC [msp] GetDefaultSigningIdentity -> DEBU 007 Obtaining default signing identity
2018-07-26 14:55:26.085 UTC [msp/identity] Sign -> DEBU 008 Sign: plaintext: 0AA2060A074F7267314D53501296062D...6D706F736572436F6E736F727469756D
2018-07-26 14:55:26.085 UTC [msp/identity] Sign -> DEBU 009 Sign: digest: 7BF1F117E07245C8759414A4D2BCB5C92CAC6B18D1E7BC1907188268080D5A63
2018-07-26 14:55:26.086 UTC [msp] GetLocalMSP -> DEBU 00a Returning existing local MSP
2018-07-26 14:55:26.086 UTC [msp] GetDefaultSigningIdentity -> DEBU 00b Obtaining default signing identity
2018-07-26 14:55:26.086 UTC [msp] GetLocalMSP -> DEBU 00c Returning existing local MSP
2018-07-26 14:55:26.086 UTC [msp] GetDefaultSigningIdentity -> DEBU 00d Obtaining default signing identity
2018-07-26 14:55:26.086 UTC [msp/identity] Sign -> DEBU 00e Sign: plaintext: 0ADF060A1B08021A0608DEC1E7DA0522...91720051DE341491FFB2F20CBD0DE43F
2018-07-26 14:55:26.086 UTC [msp/identity] Sign -> DEBU 00f Sign: digest: C40D32772EA507D8C0F5CBED2A14F596581338CDBDDFD4832BC4ACC215B58A5B
2018-07-26 14:55:26.112 UTC [msp] GetLocalMSP -> DEBU 010 Returning existing local MSP
2018-07-26 14:55:26.112 UTC [msp] GetDefaultSigningIdentity -> DEBU 011 Obtaining default signing identity
2018-07-26 14:55:26.112 UTC [msp] GetLocalMSP -> DEBU 012 Returning existing local MSP
2018-07-26 14:55:26.112 UTC [msp] GetDefaultSigningIdentity -> DEBU 013 Obtaining default signing identity
2018-07-26 14:55:26.112 UTC [msp/identity] Sign -> DEBU 014 Sign: plaintext: 0ADF060A1B08021A0608DEC1E7DA0522...9118719E23A812080A021A0012021A00
2018-07-26 14:55:26.112 UTC [msp/identity] Sign -> DEBU 015 Sign: digest: BF868154BF20E975A0456752C6D6FD46548B6B7C721FAE11EF6396B7D729B334
2018-07-26 14:55:26.113 UTC [channelCmd] readBlock -> DEBU 016 Got status: &{NOT_FOUND}
2018-07-26 14:55:26.113 UTC [msp] GetLocalMSP -> DEBU 017 Returning existing local MSP
2018-07-26 14:55:26.113 UTC [msp] GetDefaultSigningIdentity -> DEBU 018 Obtaining default signing identity
2018-07-26 14:55:26.116 UTC [channelCmd] InitCmdFactory -> INFO 019 Endorser and orderer connections initialized
2018-07-26 14:55:26.319 UTC [msp] GetLocalMSP -> DEBU 01a Returning existing local MSP
2018-07-26 14:55:26.319 UTC [msp] GetDefaultSigningIdentity -> DEBU 01b Obtaining default signing identity
2018-07-26 14:55:26.319 UTC [msp] GetLocalMSP -> DEBU 01c Returning existing local MSP
2018-07-26 14:55:26.319 UTC [msp] GetDefaultSigningIdentity -> DEBU 01d Obtaining default signing identity
2018-07-26 14:55:26.319 UTC [msp/identity] Sign -> DEBU 01e Sign: plaintext: 0ADF060A1B08021A0608DEC1E7DA0522...C7C65F59F23412080A021A0012021A00
2018-07-26 14:55:26.319 UTC [msp/identity] Sign -> DEBU 01f Sign: digest: 869D72289AFE243A3F79BB22ECEAFAE67495765F7D616116403FA23FC7CD0DFF
2018-07-26 14:55:26.323 UTC [channelCmd] readBlock -> DEBU 020 Received block: 0
2018-07-26 14:55:26.323 UTC [main] main -> INFO 021 Exiting.....
2018-07-26 14:55:26.527 UTC [msp] GetLocalMSP -> DEBU 001 Returning existing local MSP
2018-07-26 14:55:26.527 UTC [msp] GetDefaultSigningIdentity -> DEBU 002 Obtaining default signing identity
2018-07-26 14:55:26.528 UTC [grpc] Printf -> DEBU 003 grpc: addrConn.resetTransport failed to create client transport: connection error: desc = "transport: Error while dialing dial tcp 172.18.0.5:7051: getsockopt: connection refused"; Reconnecting to {peer0.org1.example.com:7051 <nil>}
2018-07-26 14:55:27.531 UTC [grpc] Printf -> DEBU 004 grpc: addrConn.resetTransport failed to create client transport: connection error: desc = "transport: Error while dialing dial tcp 172.18.0.5:7051: getsockopt: connection refused"; Reconnecting to {peer0.org1.example.com:7051 <nil>}
2018-07-26 14:55:29.238 UTC [grpc] Printf -> DEBU 005 grpc: addrConn.resetTransport failed to create client transport: connection error: desc = "transport: Error while dialing dial tcp 172.18.0.5:7051: getsockopt: connection refused"; Reconnecting to {peer0.org1.example.com:7051 <nil>}
Error: Error getting endorser client channel: endorser client failed to connect to peer0.org1.example.com:7051: failed to create new connection: context deadline exceeded
Usage:
  peer channel join [flags]

Flags:
  -b, --blockpath string   Path to file containing genesis block

Global Flags:
      --cafile string                       Path to file containing PEM-encoded trusted certificate(s) for the ordering endpoint
      --certfile string                     Path to file containing PEM-encoded X509 public key to use for mutual TLS communication with the orderer endpoint
      --clientauth                          Use mutual TLS when communicating with the orderer endpoint
      --keyfile string                      Path to file containing PEM-encoded private key to use for mutual TLS communication with the orderer endpoint
      --logging-level string                Default logging level and overrides, see core.yaml for full syntax
  -o, --orderer string                      Ordering service endpoint
      --ordererTLSHostnameOverride string   The hostname override to use when validating the TLS connection to the orderer.
      --tls                                 Use TLS when communicating with the orderer endpoint
  -v, --version                             Display current version of fabric peer server
我在docker compose.yml中尝试了
dns\u搜索:.
(不起作用):


更新:

➜  fabric-dev-servers docker ps -a
CONTAINER ID        IMAGE                                                                                                                  COMMAND                  CREATED             STATUS                        PORTS                                            NAMES
9609e59d9aae        hyperledger/fabric-peer:x86_64-1.1.0                                                                                   "peer node start"        35 minutes ago      Up 35 minutes                 0.0.0.0:7051->7051/tcp, 0.0.0.0:7053->7053/tcp   peer0.org1.example.com
0a90039cf2b4        hyperledger/fabric-orderer:x86_64-1.1.0                                                                                "orderer"                35 minutes ago      Up 35 minutes                 0.0.0.0:7050->7050/tcp                           orderer.example.com
5467fdc66163        hyperledger/fabric-ca:x86_64-1.1.0                                                                                     "sh -c 'fabric-ca-se…"   35 minutes ago      Up 35 minutes                 0.0.0.0:7054->7054/tcp                           ca.org1.example.com
3cde1ba969ec        hyperledger/fabric-couchdb:x86_64-0.4.6                                                                                "tini -- /docker-ent…"   35 minutes ago      Exited (140) 35 minutes ago                                                    couchdb

➜  fabric-dev-servers docker logs 3cde1ba969ec
****************************************************
WARNING: CouchDB is running in Admin Party mode.
         This will allow anyone with access to the
         CouchDB port to access your database. In
         Docker's default configuration, this is
         effectively any other container on the same
         system.
         Use "-e COUCHDB_USER=admin -e COUCHDB_PASSWORD=password"
         to set it in "docker run".
****************************************************
[info] 2018-07-26T16:16:44.202791Z nonode@nohost <0.7.0> -------- Application couch_log started on node nonode@nohost
[info] 2018-07-26T16:16:44.208049Z nonode@nohost <0.7.0> -------- Application folsom started on node nonode@nohost
[info] 2018-07-26T16:16:44.253376Z nonode@nohost <0.7.0> -------- Application couch_stats started on node nonode@nohost
[info] 2018-07-26T16:16:44.253597Z nonode@nohost <0.7.0> -------- Application khash started on node nonode@nohost
[info] 2018-07-26T16:16:44.264200Z nonode@nohost <0.7.0> -------- Application couch_event started on node nonode@nohost
[info] 2018-07-26T16:16:44.267901Z nonode@nohost <0.47.0> -------- alarm_handler: {set,{{disk_almost_full,"/"},[]}}
[info] 2018-07-26T16:16:44.267928Z nonode@nohost <0.47.0> -------- alarm_handler: {set,{{disk_almost_full,"/etc/hosts"},[]}}
[info] 2018-07-26T16:16:44.272716Z nonode@nohost <0.7.0> -------- Application ibrowse started on node nonode@nohost
[info] 2018-07-26T16:16:44.278981Z nonode@nohost <0.7.0> -------- Application ioq started on node nonode@nohost
[info] 2018-07-26T16:16:44.279354Z nonode@nohost <0.7.0> -------- Application mochiweb started on node nonode@nohost
[info] 2018-07-26T16:16:44.288023Z nonode@nohost <0.195.0> -------- Apache CouchDB 2.1.1 is starting.

[info] 2018-07-26T16:16:44.288096Z nonode@nohost <0.196.0> -------- Starting couch_sup
[notice] 2018-07-26T16:16:44.333379Z nonode@nohost <0.82.0> -------- config: [couchdb] uuid set to 5b1413abef87c0bc0b1309b45890afb4 for reason nil
[error] 2018-07-26T16:16:44.335982Z nonode@nohost <0.82.0> -------- gen_server config terminated with reason: no match of right hand value {error,enospc} at config_writer:save_to_file/2(line:38) <= config:handle_call/3(line:242) <= gen_server:try_handle_call/4(line:629) <= gen_server:handle_msg/5(line:661) <= proc_lib:init_p_do_apply/3(line:240)
  last msg: {set,"couchdb","uuid","5b1413abef87c0bc0b1309b45890afb4",true,nil}
     state: {config,[],["/opt/couchdb/bin/../etc/default.ini","/opt/couchdb/bin/../etc/local.ini","/opt/couchdb/bin/../etc/local.d/local.ini"],"/opt/couchdb/bin/../etc/local.d/local.ini"}
[error] 2018-07-26T16:16:44.337953Z nonode@nohost <0.82.0> -------- CRASH REPORT Process config (<0.82.0>) with 0 neighbors exited with reason: no match of right hand value {error,enospc} at config_writer:save_to_file/2(line:38) <= config:handle_call/3(line:242) <= gen_server:try_handle_call/4(line:629) <= gen_server:handle_msg/5(line:661) <= proc_lib:init_p_do_apply/3(line:240) at gen_server:terminate/7(line:826) <= proc_lib:init_p_do_apply/3(line:240); initial_call: {config,init,['Argument__1']}, ancestors: [config_sup,<0.80.0>], messages: [], links: [<0.81.0>], dictionary: [], trap_exit: false, status: running, heap_size: 17731, stack_size: 27, reductions: 86731
[error] 2018-07-26T16:16:44.339023Z nonode@nohost <0.195.0> -------- Error starting Apache CouchDB:

    {error,{shutdown,{failed_to_start_child,couch_secondary_services,{shutdown,{failed_to_start_child,httpd,{'EXIT',{{{badmatch,{error,enospc}},[{config_writer,save_to_file,2,[{file,"src/config_writer.erl"},{line,38}]},{config,handle_call,3,[{file,"src/config.erl"},{line,242}]},{gen_server,try_handle_call,4,[{file,"gen_server.erl"},{line,629}]},{gen_server,handle_msg,5,[{file,"gen_server.erl"},{line,661}]},{proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,240}]}]},{gen_server,call,[config,{set,"couchdb","uuid","5b1413abef87c0bc0b1309b45890afb4",true,nil},30000]}}}}}}}}


[error] 2018-07-26T16:16:44.341511Z nonode@nohost <0.81.0> -------- Supervisor config_sup had child config started with config:start_link(["/opt/couchdb/bin/../etc/default.ini","/opt/couchdb/bin/../etc/local.ini","/opt/couchdb/bin/../..."]) at <0.82.0> exit with reason no match of right hand value {error,enospc} at config_writer:save_to_file/2(line:38) <= config:handle_call/3(line:242) <= gen_server:try_handle_call/4(line:629) <= gen_server:handle_msg/5(line:661) <= proc_lib:init_p_do_apply/3(line:240) in context child_terminated
[error] 2018-07-26T16:16:44.341819Z nonode@nohost <0.204.0> -------- Supervisor couch_secondary_services had child httpd started with couch_httpd:start_link() at undefined exit with reason {'EXIT',{{{badmatch,{error,enospc}},[{config_writer,save_to_file,2,[{file,"src/config_writer.erl"},{line,38}]},{config,handle_call,3,[{file,"src/config.erl"},{line,242}]},{gen_server,try_handle_call,4,[{file,"gen_server.erl"},{line,629}]},{gen_server,handle_msg,5,[{file,"gen_server.erl"},{line,661}]},{proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,240}]}]},{gen_server,call,[config,{set,"couchdb","uuid","5b1413abef87c0bc0b1309b45890afb4",true,nil},30000]}}} in context start_error
[error] 2018-07-26T16:16:44.342201Z 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,httpd,{'EXIT',{{{badmatch,{error,enospc}},[{config_writer,save_to_file,2,[{file,"src/config_writer.erl"},{line,38}]},{config,handle_call,3,[{file,"src/config.erl"},{line,242}]},{gen_server,try_handle_call,4,[{file,"gen_server.erl"},{line,629}]},{gen_server,handle_msg,5,[{file,"gen_server.erl"},{line,661}]},{proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,240}]}]},{gen_server,call,[config,{set,"couchdb","uuid","5b1413abef87c0bc0b1309b45890afb4",true,nil},...]}}}}} in context start_error
[error] 2018-07-26T16:16:44.342364Z 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,httpd,{'EXIT',{{{badmatch,{error,enospc}},[{config_writer,save_to_file,2,[{file,"src/config_writer.erl"},{line,38}]},{config,handle_call,3,[{file,"src/config.erl"},{line,242}]},{gen_server,try_handle_call,4,[{file,"gen_server.erl"},{line,629}]},{gen_server,handle_msg,5,[{file,"gen_server.erl"},{line,661}]},{proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,240}]}]},{gen_server,call,[config,{set,...},...]}}}}}}},...} 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: 152
[info] 2018-07-26T16:16:44.342640Z nonode@nohost <0.7.0> -------- Application couch exited with reason: {{shutdown,{failed_to_start_child,couch_secondary_services,{shutdown,{failed_to_start_child,httpd,{'EXIT',{{{badmatch,{error,enospc}},[{config_writer,save_to_file,2,[{file,"src/config_writer.erl"},{line,38}]},{config,handle_call,3,[{file,"src/config.erl"},{line,242}]},{gen_server,try_handle_call,4,[{file,"gen_server.erl"},{line,629}]},{gen_server,handle_msg,5,[{file,"gen_server.erl"},{line,661}]},{proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,240}]}]},{gen_server,call,[config,{set,...},...]}}}}}}},...}
[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,httpd,{'EXIT',{{{badmatch,{error,enospc}},[{config_writer,save_to_file,2,[{file,\"src/config_writer.erl\"},{line,38}]},{config,handle_call,3,[{file,\"src/config.erl\"},{line,242}]},{gen_server,try_handle_call,4,[{file,\"gen_server.erl\"},{line,629}]},{gen_server,handle_msg,5,[{file,\"gen_server.erl\"},{line,661}]},{proc_lib,init_p_do_apply,3,[{file,\"proc_lib.erl\"},{line,240}]}]},{gen_server,call,[config,{set,\"couchdb\",\"uuid\",\"5b1413abef87c0bc0b1309b45890afb4\",true,nil},30000]}}}}}}},{couch_app,start,[normal,[]]}}}"}
/docker-entrypoint.sh: line 49:    13 User defined signal 2   su-exec couchdb "$@"
➜  结构开发服务器docker ps-a
容器ID映像命令已创建状态端口名称
9609e59d9aae hyperledger/fabric peer:x86_64-1.1.0“对等节点启动”35分钟前启动35分钟0.0.0.0.0:7051->7051/tcp,0.0.0.0:7053->7053/tcp peer0.org1.example.com
0a90039cf2b4 hyperledger/fabric orderer:x86_64-1.1.0“orderer”35分钟前上升35分钟0.0.0.0.0:7050->7050/tcp order.example.com
5467fdc66163 hyperledger/fabric ca:x86_64-1.1.0“sh-c”fabric ca se…”35分钟前上升35分钟0.0.0.0.0:7054->7054/tcp ca.org1.example.com
3cde1ba969ec hyperledger/fabric couchdb:x86_64-0.4.6“tini--/docker ent…”35分钟前退出(140)35分钟前couchdb
➜  结构开发服务器docker日志3cde1ba969ec
****************************************************
警告:CouchDB正在管理方模式下运行。
这将允许任何人访问
用于访问数据库的CouchDB端口。在里面
Docker的默认配置是
实际上,同一容器上的任何其他容器
系统。
使用“-e COUCHDB_USER=admin-e COUCHDB_PASSWORD=PASSWORD”
将其设置为“docker run”。
****************************************************
[信息]2018-07-26T16:16:44.202791Znonode@nohost----------已在节点上启动应用程序日志nonode@nohost
[信息]2018-07-26T16:16:44.208049Znonode@nohost-----已在节点上启动应用程序文件夹nonode@nohost
[信息]2018-07-26T16:16:44.253376Znonode@nohost----------节点上已启动应用程序统计信息nonode@nohost
[信息]2018-07-26T16:16:44.253597Znonode@nohost-----应用程序已在节点上启动nonode@nohost
[信息]2018-07-26T16:16:44.264200Znonode@nohost----------节点上已启动应用程序\u事件nonode@nohost
[信息]2018-07-26T16:16:44.267901Znonode@nohost-----报警处理程序:{set,{{disk\u几乎满,“/”},[]}
[信息]2018-07-26T16:16:44.267928Znonode@nohost-----报警处理程序:{set,{{disk\u几乎满,“/etc/hosts”},[]}
[信息]2018-07-26T16:16:44.272716Znonode@nohost-----已在节点上启动应用程序ibrowsenonode@nohost
[信息]2018-07-26T16:16:44.278981Znonode@nohost-----应用程序ioq已在节点上启动nonode@nohost
[信息]2018-07-26T16:16:44.279354Znonode@nohost-----已在节点上启动应用程序mochiwebnonode@nohost
[信息]2018-07-26T16:16:44.288023Znonode@nohost-----Apache CouchDB 2.1.1正在启动。
[信息]2018-07-26T16:16:44.288096Znonode@nohost-----启动coach_sup
[公告]2018-07-26T16:16:44.333379Znonode@nohost-----配置:[couchdb]uuid设置为5B1413ABE87C0BC0B1309B45890AFB4,原因为零
[错误]2018-07-26T16:16:44.335982Znonode@nohost-----gen_服务器配置终止,原因是:配置写入程序处的右侧值{error,enospc}不匹配:保存到文件/2(第38行)


Docker卷空间不足,这解释了为什么我突然出现错误——CouchDB无法再写入它所需的文件。我运行了
docker volume prune,它将5GB从一堆旧项目中解放出来,一切都恢复了正常

检查couchDB容器是否已启动…@yacovm它未启动并且启动时遇到问题。我用logs.ok更新了我的帖子,这就是根本原因——对等机崩溃是因为它无法连接到couchDB,然后“对等通道连接”命令中的背书人客户端无法连接到对等机。我不确定couchDB崩溃的原因,但我怀疑最重要的原因是:“gen_服务器配置终止,原因是:右侧值不匹配{error,enospc}位于配置写入器:保存到文件”感谢您在这里写下决议,供其他人查看
  peer0.org1.example.com:
    container_name: peer0.org1.example.com
    image: hyperledger/fabric-peer:$ARCH-1.1.0
    dns_search: .
➜  fabric-dev-servers docker ps -a
CONTAINER ID        IMAGE                                                                                                                  COMMAND                  CREATED             STATUS                        PORTS                                            NAMES
9609e59d9aae        hyperledger/fabric-peer:x86_64-1.1.0                                                                                   "peer node start"        35 minutes ago      Up 35 minutes                 0.0.0.0:7051->7051/tcp, 0.0.0.0:7053->7053/tcp   peer0.org1.example.com
0a90039cf2b4        hyperledger/fabric-orderer:x86_64-1.1.0                                                                                "orderer"                35 minutes ago      Up 35 minutes                 0.0.0.0:7050->7050/tcp                           orderer.example.com
5467fdc66163        hyperledger/fabric-ca:x86_64-1.1.0                                                                                     "sh -c 'fabric-ca-se…"   35 minutes ago      Up 35 minutes                 0.0.0.0:7054->7054/tcp                           ca.org1.example.com
3cde1ba969ec        hyperledger/fabric-couchdb:x86_64-0.4.6                                                                                "tini -- /docker-ent…"   35 minutes ago      Exited (140) 35 minutes ago                                                    couchdb

➜  fabric-dev-servers docker logs 3cde1ba969ec
****************************************************
WARNING: CouchDB is running in Admin Party mode.
         This will allow anyone with access to the
         CouchDB port to access your database. In
         Docker's default configuration, this is
         effectively any other container on the same
         system.
         Use "-e COUCHDB_USER=admin -e COUCHDB_PASSWORD=password"
         to set it in "docker run".
****************************************************
[info] 2018-07-26T16:16:44.202791Z nonode@nohost <0.7.0> -------- Application couch_log started on node nonode@nohost
[info] 2018-07-26T16:16:44.208049Z nonode@nohost <0.7.0> -------- Application folsom started on node nonode@nohost
[info] 2018-07-26T16:16:44.253376Z nonode@nohost <0.7.0> -------- Application couch_stats started on node nonode@nohost
[info] 2018-07-26T16:16:44.253597Z nonode@nohost <0.7.0> -------- Application khash started on node nonode@nohost
[info] 2018-07-26T16:16:44.264200Z nonode@nohost <0.7.0> -------- Application couch_event started on node nonode@nohost
[info] 2018-07-26T16:16:44.267901Z nonode@nohost <0.47.0> -------- alarm_handler: {set,{{disk_almost_full,"/"},[]}}
[info] 2018-07-26T16:16:44.267928Z nonode@nohost <0.47.0> -------- alarm_handler: {set,{{disk_almost_full,"/etc/hosts"},[]}}
[info] 2018-07-26T16:16:44.272716Z nonode@nohost <0.7.0> -------- Application ibrowse started on node nonode@nohost
[info] 2018-07-26T16:16:44.278981Z nonode@nohost <0.7.0> -------- Application ioq started on node nonode@nohost
[info] 2018-07-26T16:16:44.279354Z nonode@nohost <0.7.0> -------- Application mochiweb started on node nonode@nohost
[info] 2018-07-26T16:16:44.288023Z nonode@nohost <0.195.0> -------- Apache CouchDB 2.1.1 is starting.

[info] 2018-07-26T16:16:44.288096Z nonode@nohost <0.196.0> -------- Starting couch_sup
[notice] 2018-07-26T16:16:44.333379Z nonode@nohost <0.82.0> -------- config: [couchdb] uuid set to 5b1413abef87c0bc0b1309b45890afb4 for reason nil
[error] 2018-07-26T16:16:44.335982Z nonode@nohost <0.82.0> -------- gen_server config terminated with reason: no match of right hand value {error,enospc} at config_writer:save_to_file/2(line:38) <= config:handle_call/3(line:242) <= gen_server:try_handle_call/4(line:629) <= gen_server:handle_msg/5(line:661) <= proc_lib:init_p_do_apply/3(line:240)
  last msg: {set,"couchdb","uuid","5b1413abef87c0bc0b1309b45890afb4",true,nil}
     state: {config,[],["/opt/couchdb/bin/../etc/default.ini","/opt/couchdb/bin/../etc/local.ini","/opt/couchdb/bin/../etc/local.d/local.ini"],"/opt/couchdb/bin/../etc/local.d/local.ini"}
[error] 2018-07-26T16:16:44.337953Z nonode@nohost <0.82.0> -------- CRASH REPORT Process config (<0.82.0>) with 0 neighbors exited with reason: no match of right hand value {error,enospc} at config_writer:save_to_file/2(line:38) <= config:handle_call/3(line:242) <= gen_server:try_handle_call/4(line:629) <= gen_server:handle_msg/5(line:661) <= proc_lib:init_p_do_apply/3(line:240) at gen_server:terminate/7(line:826) <= proc_lib:init_p_do_apply/3(line:240); initial_call: {config,init,['Argument__1']}, ancestors: [config_sup,<0.80.0>], messages: [], links: [<0.81.0>], dictionary: [], trap_exit: false, status: running, heap_size: 17731, stack_size: 27, reductions: 86731
[error] 2018-07-26T16:16:44.339023Z nonode@nohost <0.195.0> -------- Error starting Apache CouchDB:

    {error,{shutdown,{failed_to_start_child,couch_secondary_services,{shutdown,{failed_to_start_child,httpd,{'EXIT',{{{badmatch,{error,enospc}},[{config_writer,save_to_file,2,[{file,"src/config_writer.erl"},{line,38}]},{config,handle_call,3,[{file,"src/config.erl"},{line,242}]},{gen_server,try_handle_call,4,[{file,"gen_server.erl"},{line,629}]},{gen_server,handle_msg,5,[{file,"gen_server.erl"},{line,661}]},{proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,240}]}]},{gen_server,call,[config,{set,"couchdb","uuid","5b1413abef87c0bc0b1309b45890afb4",true,nil},30000]}}}}}}}}


[error] 2018-07-26T16:16:44.341511Z nonode@nohost <0.81.0> -------- Supervisor config_sup had child config started with config:start_link(["/opt/couchdb/bin/../etc/default.ini","/opt/couchdb/bin/../etc/local.ini","/opt/couchdb/bin/../..."]) at <0.82.0> exit with reason no match of right hand value {error,enospc} at config_writer:save_to_file/2(line:38) <= config:handle_call/3(line:242) <= gen_server:try_handle_call/4(line:629) <= gen_server:handle_msg/5(line:661) <= proc_lib:init_p_do_apply/3(line:240) in context child_terminated
[error] 2018-07-26T16:16:44.341819Z nonode@nohost <0.204.0> -------- Supervisor couch_secondary_services had child httpd started with couch_httpd:start_link() at undefined exit with reason {'EXIT',{{{badmatch,{error,enospc}},[{config_writer,save_to_file,2,[{file,"src/config_writer.erl"},{line,38}]},{config,handle_call,3,[{file,"src/config.erl"},{line,242}]},{gen_server,try_handle_call,4,[{file,"gen_server.erl"},{line,629}]},{gen_server,handle_msg,5,[{file,"gen_server.erl"},{line,661}]},{proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,240}]}]},{gen_server,call,[config,{set,"couchdb","uuid","5b1413abef87c0bc0b1309b45890afb4",true,nil},30000]}}} in context start_error
[error] 2018-07-26T16:16:44.342201Z 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,httpd,{'EXIT',{{{badmatch,{error,enospc}},[{config_writer,save_to_file,2,[{file,"src/config_writer.erl"},{line,38}]},{config,handle_call,3,[{file,"src/config.erl"},{line,242}]},{gen_server,try_handle_call,4,[{file,"gen_server.erl"},{line,629}]},{gen_server,handle_msg,5,[{file,"gen_server.erl"},{line,661}]},{proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,240}]}]},{gen_server,call,[config,{set,"couchdb","uuid","5b1413abef87c0bc0b1309b45890afb4",true,nil},...]}}}}} in context start_error
[error] 2018-07-26T16:16:44.342364Z 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,httpd,{'EXIT',{{{badmatch,{error,enospc}},[{config_writer,save_to_file,2,[{file,"src/config_writer.erl"},{line,38}]},{config,handle_call,3,[{file,"src/config.erl"},{line,242}]},{gen_server,try_handle_call,4,[{file,"gen_server.erl"},{line,629}]},{gen_server,handle_msg,5,[{file,"gen_server.erl"},{line,661}]},{proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,240}]}]},{gen_server,call,[config,{set,...},...]}}}}}}},...} 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: 152
[info] 2018-07-26T16:16:44.342640Z nonode@nohost <0.7.0> -------- Application couch exited with reason: {{shutdown,{failed_to_start_child,couch_secondary_services,{shutdown,{failed_to_start_child,httpd,{'EXIT',{{{badmatch,{error,enospc}},[{config_writer,save_to_file,2,[{file,"src/config_writer.erl"},{line,38}]},{config,handle_call,3,[{file,"src/config.erl"},{line,242}]},{gen_server,try_handle_call,4,[{file,"gen_server.erl"},{line,629}]},{gen_server,handle_msg,5,[{file,"gen_server.erl"},{line,661}]},{proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,240}]}]},{gen_server,call,[config,{set,...},...]}}}}}}},...}
[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,httpd,{'EXIT',{{{badmatch,{error,enospc}},[{config_writer,save_to_file,2,[{file,\"src/config_writer.erl\"},{line,38}]},{config,handle_call,3,[{file,\"src/config.erl\"},{line,242}]},{gen_server,try_handle_call,4,[{file,\"gen_server.erl\"},{line,629}]},{gen_server,handle_msg,5,[{file,\"gen_server.erl\"},{line,661}]},{proc_lib,init_p_do_apply,3,[{file,\"proc_lib.erl\"},{line,240}]}]},{gen_server,call,[config,{set,\"couchdb\",\"uuid\",\"5b1413abef87c0bc0b1309b45890afb4\",true,nil},30000]}}}}}}},{couch_app,start,[normal,[]]}}}"}
/docker-entrypoint.sh: line 49:    13 User defined signal 2   su-exec couchdb "$@"