Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error when execute $ cd Build-Multi-Host-Network-Hyperledger/ $ ./bmhn.sh #3

Open
bacthosan opened this issue Nov 8, 2018 · 4 comments

Comments

@bacthosan
Copy link

Generating certs and genesis block for with channel 'mychannel' and CLI timeout of '10'
Continue (y/n)? y
proceeding ...
cryptogen tool not found. exiting

I have this error when execute bmhn.sh. Can any help me?

@JohnDun89
Copy link

@bacthosan I am having the same issue - did you find a solution?

@chjaniet
Copy link

chjaniet commented Mar 1, 2019

@JohnDun89 @JohnDun89 @lehors me too. Any one found a solution for this?

@lehors
Copy link
Contributor

lehors commented Mar 1, 2019

cryptogen is part of Fabric. You need to go through Fabric's Install described on the following page: https://hyperledger-fabric.readthedocs.io/en/release-1.4/install.html

This will get you through the steps of downloading a bunch of containers and binaries among which you will find cryptogen. The bmhn.sh script assumes that the bin directory which thus gets created is a sibling directory to the one where bmhn.sh lives. If that's not the case make sure to add it to your PATH so it is found.

@adeebabdulsalam
Copy link

Those who has already installed 'fabric-samples' following the the tutorial here, just move the folder 'Build-Multi-Host-Network-Hyperledger' into 'fabric-samples' and execute ./bmhn.sh again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants