设为首页 收藏本站
查看: 877|回复: 0

[经验分享] Hyperledger Fabric安装问题备忘(一)

[复制链接]

尚未签到

发表于 2018-9-21 08:10:19 | 显示全部楼层 |阅读模式
  在阿里云上安装时出现的报错:
  Recreating peer1.org2.example.com
  Recreating peer0.org1.example.com
  Recreating orderer.example.com
  Recreating peer0.org2.example.com
  Recreating peer1.org1.example.com
  Recreating cli
  / | | | /   |    |_ | | _| |___   | ____|
  ___   | | / _   | |) | | | ____ | | ) | | |
  ) | | | / __   | _ < | | |_____| | |___ / / | |_
  |____/ || // _ || _  || |_____| |_____| |_____|
  Channel name : mychannel
  Creating channel...
  CORE_PEER_TLS_ROOTCERT_FILE=/opt/gopath/src/github.com/hyperledger/fabric/peer/crypto/peerOrganizations/org1.example.com/peers/peer0.org1.example.com/tls/ca.crt
  CORE_PEER_TLS_KEY_FILE=/opt/gopath/src/github.com/hyperledger/fabric/peer/crypto/peerOrganizations/org1.example.com/peers/peer0.org1.example.com/tls/server.key
  CORE_PEER_LOCALMSPID=Org1MSP
  CORE_VM_ENDPOINT=unix:///host/var/run/docker.sock
  CORE_PEER_TLS_CERT_FILE=/opt/gopath/src/github.com/hyperledger/fabric/peer/crypto/peerOrganizations/org1.example.com/peers/peer0.org1.example.com/tls/server.crt
  CORE_PEER_TLS_ENABLED=true
  CORE_PEER_MSPCONFIGPATH=/opt/gopath/src/github.com/hyperledger/fabric/peer/crypto/peerOrganizations/org1.example.com/users/Admin@org1.example.com/msp
  CORE_PEER_ID=cli
  CORE_LOGGING_LEVEL=DEBUG
  CORE_PEER_ADDRESS=peer0.org1.example.com:7051
  2017-11-15 05:18:58.518 UTC [msp] GetLocalMSP -> DEBU 001 Returning existing local MSP

  2017-11-15 05:18:58.518 UTC [msp] GetDefaultSigningIdentity -> DEBU 002 Obtaining default signing>  2017-11-15 05:18:58.522 UTC [channelCmd] InitCmdFactory -> INFO 003 Endorser and orderer connections initialized
  2017-11-15 05:18:58.522 UTC [msp] GetLocalMSP -> DEBU 004 Returning existing local MSP

  2017-11-15 05:18:58.522 UTC [msp] GetDefaultSigningIdentity -> DEBU 005 Obtaining default signing>  2017-11-15 05:18:58.522 UTC [msp] GetLocalMSP -> DEBU 006 Returning existing local MSP

  2017-11-15 05:18:58.522 UTC [msp] GetDefaultSigningIdentity -> DEBU 007 Obtaining default signing>  2017-11-15 05:18:58.522 UTC [msp/identity] Sign -> DEBU 008 Sign: plaintext: 0A88060A074F7267314D535012FC052D...53616D706C65436F6E736F727469756D
  2017-11-15 05:18:58.522 UTC [msp/identity] Sign -> DEBU 009 Sign: digest: 3C4932E3FD6C1F1E9038B71A2F27115D5F91D6B9271D54F72D91940B731C2E95
  2017-11-15 05:18:58.522 UTC [msp] GetLocalMSP -> DEBU 00a Returning existing local MSP

  2017-11-15 05:18:58.522 UTC [msp] GetDefaultSigningIdentity -> DEBU 00b Obtaining default signing>  2017-11-15 05:18:58.522 UTC [msp] GetLocalMSP -> DEBU 00c Returning existing local MSP

  2017-11-15 05:18:58.522 UTC [msp] GetDefaultSigningIdentity -> DEBU 00d Obtaining default signing>  2017-11-15 05:18:58.522 UTC [msp/identity] Sign -> DEBU 00e Sign: plaintext: 0ABF060A1508021A0608C29CAFD00522...C834841A8DF0B1F0A1CFB1C2547CCE86
  2017-11-15 05:18:58.522 UTC [msp/identity] Sign -> DEBU 00f Sign: digest: B6482A9E7C5B0CD88869BA0804089031C9E3ADD4774439F55083898BE2EE30ED
  2017-11-15 05:18:58.571 UTC [msp] GetLocalMSP -> DEBU 010 Returning existing local MSP

  2017-11-15 05:18:58.571 UTC [msp] GetDefaultSigningIdentity -> DEBU 011 Obtaining default signing>  2017-11-15 05:18:58.571 UTC [msp] GetLocalMSP -> DEBU 012 Returning existing local MSP

  2017-11-15 05:18:58.571 UTC [msp] GetDefaultSigningIdentity -> DEBU 013 Obtaining default signing>  2017-11-15 05:18:58.571 UTC [msp/identity] Sign -> DEBU 014 Sign: plaintext: 0ABF060A1508021A0608C29CAFD00522...D158C5DC267A12080A021A0012021A00
  2017-11-15 05:18:58.571 UTC [msp/identity] Sign -> DEBU 015 Sign: digest: A9CA275066F81A28F86CA3178128C3E041EE058EE0F5BEB2690689D3A8AC9283
  2017-11-15 05:18:58.576 UTC [channelCmd] readBlock -> DEBU 016 Got status: &{NOT_FOUND}
  2017-11-15 05:18:58.576 UTC [msp] GetLocalMSP -> DEBU 017 Returning existing local MSP

  2017-11-15 05:18:58.576 UTC [msp] GetDefaultSigningIdentity -> DEBU 018 Obtaining default signing>  fatal error: unexpected signal during runtime execution
  [signal SIGSEGV: segmentation violation code=0x1 addr=0x63 pc=0x7f1ed5f24259]
  runtime stack:
  runtime.throw(0xdd863e, 0x2a)
  /opt/go/src/runtime/panic.go:566 +0x95
  runtime.sigpanic()
  /opt/go/src/runtime/sigpanic_unix.go:12 +0x2cc
  goroutine 34 [syscall, locked to thread]:
  runtime.cgocall(0xb1b240, 0xc420020df8, 0xc400000000)
  /opt/go/src/runtime/cgocall.go:131 +0x110 fp=0xc420020db0 sp=0xc420020d70
  net._C2func_getaddrinfo(0x2720d60, 0x0, 0xc420357110, 0xc420028878, 0x0, 0x0, 0x0)
  ??:0 +0x68 fp=0xc420020df8 sp=0xc420020db0
  net.cgoLookupIPCNAME(0x7ffcab798a2e, 0x13, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0)
  /opt/go/src/net/cgo_unix.go:146 +0x37c fp=0xc420020f18 sp=0xc420020df8
  net.cgoIPLookup(0xc420370540, 0x7ffcab798a2e, 0x13)
  /opt/go/src/net/cgo_unix.go:198 +0x4d fp=0xc420020fa8 sp=0xc420020f18
  runtime.goexit()
  /opt/go/src/runtime/asm_amd64.s:2086 +0x1 fp=0xc420020fb0 sp=0xc420020fa8
  created by net.cgoLookupIP
  /opt/go/src/net/cgo_unix.go:208 +0xb4
  goroutine 1 [select]:
  github.com/hyperledger/fabric/vendor/google.golang.org/grpc.(addrConn).wait(0xc4200d1c00, 0x7f1ed6947a10, 0xc420357050, 0xc420130100, 0x805590, 0x7f1ed6947a10, 0xc420357050, 0x0)
  /opt/gopath/src/github.com/hyperledger/fabric/vendor/google.golang.org/grpc/clientconn.go:1032 +0x183
  github.com/hyperledger/fabric/vendor/google.golang.org/grpc.(ClientConn).getTransport(0xc4201bdd40, 0x7f1ed6947a10, 0xc420357050, 0xc420357000, 0x7f1ed6947a10, 0xc420357020, 0x19, 0x0, 0xc420135900)
  /opt/gopath/src/github.com/hyperledger/fabric/vendor/google.golang.org/grpc/clientconn.go:724 +0x2f7
  github.com/hyperledger/fabric/vendor/google.golang.org/grpc.newClientStream(0x7f1ed6947a10, 0xc420357050, 0x13fe3c0, 0xc4201bdd40, 0xdccc11, 0x20, 0x0, 0x0, 0x0, 0x0, ...)
  /opt/gopath/src/github.com/hyperledger/fabric/vendor/google.golang.org/grpc/stream.go:189 +0x599
  github.com/hyperledger/fabric/vendor/google.golang.org/grpc.NewClientStream(0x7f1ed6947990, 0xc420012290, 0x13fe3c0, 0xc4201bdd40, 0xdccc11, 0x20, 0x0, 0x0, 0x0, 0x18, ...)
  /opt/gopath/src/github.com/hyperledger/fabric/vendor/google.golang.org/grpc/stream.go:105 +0x162
  github.com/hyperledger/fabric/protos/orderer.(atomicBroadcastClient).Deliver(0xc420028868, 0x7f1ed6947990, 0xc420012290, 0x0, 0x0, 0x0, 0x0, 0x0, 0x3, 0x60)
  /opt/gopath/src/github.com/hyperledger/fabric/protos/orderer/ab.pb.go:499 +0xba
  github.com/hyperledger/fabric/peer/channel.InitCmdFactory(0xc420310100, 0x0, 0x0, 0x140a680)
  /opt/gopath/src/github.com/hyperledger/fabric/peer/channel/channel.go:179 +0x2c0
  github.com/hyperledger/fabric/peer/channel.getGenesisBlock(0xc4202ddf40, 0x0, 0x0, 0x0)
  /opt/gopath/src/github.com/hyperledger/fabric/peer/channel/deliverclient.go:141 +0x11c
  github.com/hyperledger/fabric/peer/channel.executeCreate(0xc4202ddf40, 0xc4202ddf40, 0x0)
  /opt/gopath/src/github.com/hyperledger/fabric/peer/channel/create.go:183 +0x50
  github.com/hyperledger/fabric/peer/channel.create(0xc4202066c0, 0xc4201c5a40, 0x1, 0xa, 0xc4202ddf40, 0xdb23b0, 0x5)
  /opt/gopath/src/github.com/hyperledger/fabric/peer/channel/create.go:213 +0x45
  github.com/hyperledger/fabric/peer/channel.createCmd.func1(0xc4202066c0, 0xc4201c5a40, 0x1, 0xa, 0x0, 0x0)
  /opt/gopath/src/github.com/hyperledger/fabric/peer/channel/create.go:59 +0x52
  github.com/hyperledger/fabric/vendor/github.com/spf13/cobra.(Command).execute(0xc4202066c0, 0xc4201c5900, 0xa, 0xa, 0xc4202066c0, 0xc4201c5900)
  /opt/gopath/src/github.com/hyperledger/fabric/vendor/github.com/spf13/cobra/command.go:599 +0x234
  github.com/hyperledger/fabric/vendor/github.com/spf13/cobra.(Command).ExecuteC(0x1401d40, 0xf, 0xc420010035, 0x7)
  /opt/gopath/src/github.com/hyperledger/fabric/vendor/github.com/spf13/cobra/command.go:689 +0x367
  github.com/hyperledger/fabric/vendor/github.com/spf13/cobra.(Command).Execute(0x1401d40, 0x7d, 0xc420010035)
  /opt/gopath/src/github.com/hyperledger/fabric/vendor/github.com/spf13/cobra/command.go:648 +0x2b
  main.main()
  /opt/gopath/src/github.com/hyperledger/fabric/peer/main.go:118 +0x54e
  goroutine 17 [syscall, locked to thread]:
  runtime.goexit()
  /opt/go/src/runtime/asm_amd64.s:2086 +0x1
  goroutine 33 [select]:
  net.cgoLookupIP(0x1418f40, 0xc420370480, 0x7ffcab798a2e, 0x13, 0xc420110780, 0xc420020668, 0x0, 0x0, 0x1438000, 0xc420020658)
  /opt/go/src/net/cgo_unix.go:209 +0x2f5
  net.lookupIP(0x1418f40, 0xc420370480, 0x7ffcab798a2e, 0x13, 0xc4202ff7a0, 0xce7140, 0xc420020740, 0x4099c4, 0x40005)
  /opt/go/src/net/lookup_unix.go:70 +0xf9
  net.glob..func11(0x1418f40, 0xc420370480, 0xe40da0, 0x7ffcab798a2e, 0x13, 0xc4200206c8, 0x7204c9, 0xc420020708, 0xc420020718, 0x455cc0)
  /opt/go/src/net/hook.go:19 +0x52
  net.lookupIPContext.func1(0xc4201bdd40, 0x7ffcab798a2e, 0x18, 0x0)
  /opt/go/src/net/lookup.go:119 +0x5c
  internal/singleflight.(Group).doCall(0x1435e20, 0xc42034f680, 0x7ffcab798a2e, 0x13, 0xc4203570b0)
  /opt/go/src/internal/singleflight/singleflight.go:93 +0x3c
  created by internal/singleflight.(Group).DoChan
  /opt/go/src/internal/singleflight/singleflight.go:86 +0x339
  goroutine 10 [syscall]:
  os/signal.signal_recv(0x0)
  /opt/go/src/runtime/sigqueue.go:116 +0x157
  os/signal.loop()
  /opt/go/src/os/signal/signal_unix.go:22 +0x22
  created by os/signal.init.1
  /opt/go/src/os/signal/signal_unix.go:28 +0x41
  goroutine 32 [select]:
  net.lookupIPContext(0x1418f40, 0xc420370480, 0x7ffcab798a2e, 0x13, 0x0, 0x0, 0x0, 0x0, 0x1f2a8b01)
  /opt/go/src/net/lookup.go:122 +0x7bc
  net.internetAddrList(0x1418f40, 0xc420370480, 0xdb177f, 0x3, 0x7ffcab798a2e, 0x18, 0x0, 0x0, 0x0, 0x1418f40, ...)
  /opt/go/src/net/ipsock.go:241 +0x5e0
  net.resolveAddrList(0x1418f40, 0xc420370480, 0xdb1d7f, 0x4, 0xdb177f, 0x3, 0x7ffcab798a2e, 0x18, 0x0, 0x0, ...)
  /opt/go/src/net/dial.go:179 +0x106
  net.(Dialer).DialContext(0xc4200496c8, 0x1418f40, 0xc420370480, 0xdb177f, 0x3, 0x7ffcab798a2e, 0x18, 0x0, 0x0, 0x0, ...)
  /opt/go/src/net/dial.go:329 +0x238
  github.com/hyperledger/fabric/vendor/google.golang.org/grpc.dialContext(0x1418f40, 0xc420370480, 0xdb177f, 0x3, 0x7ffcab798a2e, 0x18, 0x0, 0x0, 0xc420106e10, 0xc420347800)
  /opt/gopath/src/github.com/hyperledger/fabric/vendor/google.golang.org/grpc/go17.go:53 +0xaa
  github.com/hyperledger/fabric/vendor/google.golang.org/grpc.DialContext.func1(0x7f1ed6947a50, 0xc420370480, 0x7ffcab798a2e, 0x18, 0x1, 0x0, 0x140a680, 0xc42011de50)
  /opt/gopath/src/github.com/hyperledger/fabric/vendor/google.golang.org/grpc/clientconn.go:341 +0x86
  github.com/hyperledger/fabric/vendor/google.golang.org/grpc.newProxyDialer.func1(0x7f1ed6947a50, 0xc420370480, 0x7ffcab798a2e, 0x18, 0x13, 0x7f1ed694cf60, 0x0, 0x0)
  /opt/gopath/src/github.com/hyperledger/fabric/vendor/google.golang.org/grpc/proxy.go:136 +0x143
  github.com/hyperledger/fabric/vendor/google.golang.org/grpc/transport.dial(0x7f1ed6947a50, 0xc420370480, 0xc420351b30, 0x7ffcab798a2e, 0x18, 0x410a5e, 0xc4203355e0, 0xa0, 0x98)
  /opt/gopath/src/github.com/hyperledger/fabric/vendor/google.golang.org/grpc/transport/http2_client.go:135 +0x5a
  github.com/hyperledger/fabric/vendor/google.golang.org/grpc/transport.newHTTP2Client(0x7f1ed6947a50, 0xc420370480, 0x7ffcab798a2e, 0x18, 0x0, 0x0, 0xdbd7a1, 0x11, 0x0, 0x0, ...)
  /opt/gopath/src/github.com/hyperledger/fabric/vendor/google.golang.org/grpc/transport/http2_client.go:173 +0xbf
  github.com/hyperledger/fabric/vendor/google.golang.org/grpc/transport.NewClientTransport(0x7f1ed6947a50, 0xc420370480, 0x7ffcab798a2e, 0x18, 0x0, 0x0, 0xdbd7a1, 0x11, 0x0, 0x0, ...)
  /opt/gopath/src/github.com/hyperledger/fabric/vendor/google.golang.org/grpc/transport/transport.go:463 +0xae
  github.com/hyperledger/fabric/vendor/google.golang.org/grpc.(addrConn).resetTransport(0xc4200d1c00, 0xc42033d700, 0x70e43c, 0x0)
  /opt/gopath/src/github.com/hyperledger/fabric/vendor/google.golang.org/grpc/clientconn.go:876 +0x282
  github.com/hyperledger/fabric/vendor/google.golang.org/grpc.(ClientConn).resetAddrConn.func1(0xc4200d1c00)
  /opt/gopath/src/github.com/hyperledger/fabric/vendor/google.golang.org/grpc/clientconn.go:648 +0x34
  created by github.com/hyperledger/fabric/vendor/google.golang.org/grpc.(ClientConn).resetAddrConn
  /opt/gopath/src/github.com/hyperledger/fabric/vendor/google.golang.org/grpc/clientconn.go:657 +0x756
  !!!!!!!!!!!!!!! Channel creation failed !!!!!!!!!!!!!!!!
  ================== ERROR !!! FAILED to execute End-2-End Scenario ==================
  解决方法:
  vim docker-compose-cli.yaml
  添加
DSC0000.png



运维网声明 1、欢迎大家加入本站运维交流群:群②:261659950 群⑤:202807635 群⑦870801961 群⑧679858003
2、本站所有主题由该帖子作者发表,该帖子作者与运维网享有帖子相关版权
3、所有作品的著作权均归原作者享有,请您和我们一样尊重他人的著作权等合法权益。如果您对作品感到满意,请购买正版
4、禁止制作、复制、发布和传播具有反动、淫秽、色情、暴力、凶杀等内容的信息,一经发现立即删除。若您因此触犯法律,一切后果自负,我们对此不承担任何责任
5、所有资源均系网友上传或者通过网络收集,我们仅提供一个展示、介绍、观摩学习的平台,我们不对其内容的准确性、可靠性、正当性、安全性、合法性等负责,亦不承担任何法律责任
6、所有作品仅供您个人学习、研究或欣赏,不得用于商业或者其他用途,否则,一切后果均由您自己承担,我们对此不承担任何法律责任
7、如涉及侵犯版权等问题,请您及时通知我们,我们将立即采取措施予以解决
8、联系人Email:admin@iyunv.com 网址:www.yunweiku.com

所有资源均系网友上传或者通过网络收集,我们仅提供一个展示、介绍、观摩学习的平台,我们不对其承担任何法律责任,如涉及侵犯版权等问题,请您及时通知我们,我们将立即处理,联系人Email:kefu@iyunv.com,QQ:1061981298 本贴地址:https://www.yunweiku.com/thread-599135-1-1.html 上篇帖子: CentOS6 x64下编译TiDB 下篇帖子: go开发环境的搭建
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

扫码加入运维网微信交流群X

扫码加入运维网微信交流群

扫描二维码加入运维网微信交流群,最新一手资源尽在官方微信交流群!快快加入我们吧...

扫描微信二维码查看详情

客服E-mail:kefu@iyunv.com 客服QQ:1061981298


QQ群⑦:运维网交流群⑦ QQ群⑧:运维网交流群⑧ k8s群:运维网kubernetes交流群


提醒:禁止发布任何违反国家法律、法规的言论与图片等内容;本站内容均来自个人观点与网络等信息,非本站认同之观点.


本站大部分资源是网友从网上搜集分享而来,其版权均归原作者及其网站所有,我们尊重他人的合法权益,如有内容侵犯您的合法权益,请及时与我们联系进行核实删除!



合作伙伴: 青云cloud

快速回复 返回顶部 返回列表