[英]Failed in creating Peer channel in Hyperledger Fabric
我正在遵循一個教程,以在以下多個組織中將Hyperledger Composer區塊鏈業務網絡部署到Hyperledger Fabric: https ://hyperledger.github.io/composer/latest/tutorials/deploy-to-fabric-multi-org
我遵循了先決條件,當執行第一步時,在成功生成通道的證書和創世紀模塊之后,請執行以下命令:
./byfn.sh -m up -s couchdb -a
它給出以下錯誤:
Channel name : mychannel
Creating channel...
2018-08-29 21:10:17.473 UTC [main] main -> ERRO 001 Cannot run peer because cannot init crypto, missing /opt/gopath/src/github.com/hyperledger/fabric/peer/crypto/peerOrganizations/org1.example.com/users/Admin@org1.example.com/msp folder
!!!!!!!!!!!!!!! Channel creation failed !!!!!!!!!!!!!!!!
========= ERROR !!! FAILED to execute End-2-End Scenario ===========
+ res=1
+ set +x
ERROR !!!! Test failed
有人知道如何解決這個問題嗎?
確保您的GOPATH
設置正確。
查看crypto/peerOrganizations/org1.example.com/users/Admin@org1.example.com/msp
路徑是否存在。 該路徑在crypto-config
文件夾內。
有時由於root用戶而無法訪問管理證書。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.