简体   繁体   English

织物样本:无法生成排序者创世块

[英]fabric-samples: Failed to generate orderer genesis block

I trying to build the first-network using fabric samples.我尝试使用结构样本构建第一个网络。 when i run ./byfn.sh -m generate, each time this error appears当我运行 ./byfn.sh -m generate 时,每次出现此错误时

./byfn.sh: line 367:  1970 Segmentation fault      configtxgen -profile TwoOrgsOrdererGenesis -outputBlock ./channel-artifacts/genesis.block

+ res=139
+ set +x

Failed to generate orderer genesis block...

Any help would be great appreciate.任何帮助将不胜感激。

fixed.固定的。

Using bootstrap.sh downloaded a wrong version of configtxgen.使用 bootstrap.sh 下载了错误版本的 configtxgen。

download the bin folder manually from https://nexus.hyperledger.org/content/repositories/releases/org/hyperledger/fabric/hyperledger-fabric/ solve the problem!https://nexus.hyperledger.org/content/repositories/releases/org/hyperledger/fabric/hyperledger-fabric/手动下载bin文件夹解决问题!

You can run the bootstrap.sh script with a specified version: curl -sSL https://raw.githubusercontent.com/hyperledger/fabric/master/scripts/bootstrap.sh |您可以使用指定版本运行 bootstrap.sh 脚本: curl -sSL https://raw.githubusercontent.com/hyperledger/fabric/master/scripts/bootstrap.sh | bash -s -- 2.0.0 1.4.4 0.4.18 This will download and install all the binaries required for Fabric 2.0.0, Fabric CA 1.4.4 and third party docker images 0.4.18 This solution worked for me. bash -s -- 2.0.0 1.4.4 0.4.18 这将下载并安装 Fabric 2.0.0、Fabric CA 1.4.4 和第三方 docker 镜像 0.4.18 所需的所有二进制文件这个解决方案对我有用。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM