在我获取想要加入频道的创世纪块后,出现此错误 我不知道为什么会有它
[root @ server-ctrl Admin@org3.example.com]#./peer.sh channel join -b mychannel.block 2018-12-30 05:20:16.651 EST [channelCmd] InitCmdFactory->初始化INFO 001 Endorser和Orderer连接 错误:提案失败(错误:rpc错误:代码=未知desc =执行链代码错误:syscc应该正在运行(无法启动)cscc:1.1.0)
===== peer0.org3日志====== 2018年12月30日05:16:01.561 EST [nodeCmd] func7-> INFO 028使用listenAddress = 0.0.0.0:6060启动分析服务器 2018-12-30 05:20:16.647 EST [chaincode] ExecuteChaincode-> ERRO 029一个syscc应该正在运行(无法启动)cscc:1.1.0 github.com/hyperledger/fabric/core/chaincode.(*ChaincodeSupport)。启动 /w/workspace/fabric-binaries-x86_64/gopath/src/github.com/hyperledger/fabric/core/chaincode/chaincode_support.go:675 github.com/hyperledger/fabric/core/chaincode.Execute /w/workspace/fabric-binaries-x86_64/gopath/src/github.com/hyperledger/fabric/core/chaincode/exectransaction.go:45 github.com/hyperledger/fabric/core/chaincode.ExecuteChaincode /w/workspace/fabric-binaries-x86_64/gopath/src/github.com/hyperledger/fabric/core/chaincode/chaincodeexec.go:85 github.com/hyperledger/fabric/core/endorser.(*SupportImpl)。执行 /w/workspace/fabric-binaries-x86_64/gopath/src/github.com/hyperledger/fabric/core/endorser/support.go:93 github.com/hyperledger/fabric/core/endorser.(*Endorser).callChaincode /w/workspace/fabric-binaries-x86_64/gopath/src/github.com/hyperledger/fabric/core/endorser/endorser.go:132 github.com/hyperledger/fabric/core/endorser.(*Endorser).simulateProposal /w/workspace/fabric-binaries-x86_64/gopath/src/github.com/hyperledger/fabric/core/endorser/endorser.go:265 github.com/hyperledger/fabric/core/endorser.(*Endorser).ProcessProposal /w/workspace/fabric-binaries-x86_64/gopath/src/github.com/hyperledger/fabric/core/endorser/endorser.go:491 github.com/hyperledger/fabric/protos/peer._Endorser_ProcessProposal_Handler /w/workspace/fabric-binaries-x86_64/gopath/src/github.com/hyperledger/fabric/protos/peer/peer.pb.go:112 github.com/hyperledger/fabric/vendor/google.golang.org/grpc.(*Server).processUnaryRPC /w/workspace/fabric-binaries-x86_64/gopath/src/github.com/hyperledger/fabric/vendor/google.golang.org/grpc/server.go:781 github.com/hyperledger/fabric/vendor/google.golang.org/grpc.(*Server).handleStream /w/workspace/fabric-binaries-x86_64/gopath/src/github.com/hyperledger/fabric/vendor/google.golang.org/grpc/server.go:981 github.com/hyperledger/fabric/vendor/google.golang.org/grpc.(*Server).serveStreams.func1.1 /w/workspace/fabric-binaries-x86_64/gopath/src/github.com/hyperledger/fabric/vendor/google.golang.org/grpc/server.go:551 runtime.goexit /opt/go/go1.9.2.linux.amd64/src/runtime/asm_amd64.s:2337 执行链码时出错 2018年12月30日05:20:16.647 EST [endorser] SimulationProposal-> ERRO 02a [] [b377a11b]无法调用链码名称:“ cscc”,错误:syscc应该正在运行(无法启动)cscc:1.1 .0 github.com/hyperledger/fabric/core/chaincode.(*ChaincodeSupport)。启动 /w/workspace/fabric-binaries-x86_64/gopath/src/github.com/hyperledger/fabric/core/chaincode/chaincode_support.go:675
步骤1:检索块成功 我用了: ./peer.sh频道获取0 mychannel.block -o orderer.example.com:7050 -c mychannel --tls --cafile tlsca.example.com-cert.pem
第2步:要org3加入频道有错误 我用了: ./peer.sh channel join -b mychannel.block