Hyperledger first network sample error

我与影子孤独终老i 提交于 2019-12-13 04:09:16

问题


I am following this link first-network to run hyperledger samples name first-network.

I am using Ubuntu 18.04LTS

./byfn.sh -m generate got successfully executed.

When I am trying to execute ./byfn.sh -m up I am getting error

`2018-05-08 08:45:22.485 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 ===========

Edits 1: Adding docker compose files

docker-compose-cli.yaml

docker-compose-couch.yaml

docker-compose-e2e.yaml

docker-compose-couch-org3.yaml

docker-compose-e2e-template.yaml

docker-compose-org3.yaml


回答1:


Your crypto materials are not getting generated properly as required . Check that you have all the Prerequisites installed on the platform(s) I hope you have downloaded all the platform specific binaries https://github.com/hyperledger/fabric/blob/master/scripts/bootstrap.sh

This will make sure you have the correct Cryptogen and Configtxgen tools for creating crypto material,ca clients and channel configurations .



来源:https://stackoverflow.com/questions/50229686/hyperledger-first-network-sample-error

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!