hyperledger-fabric - super 账本创世区 block

标签 hyperledger-fabric

遵循指南,但没有告诉我如何解决这个问题。帮忙?

$ ./byfn.sh -m generate
Generating certs and genesis block for with channel 'mychannel' and CLI timeout of '10000'
Continue (y/n)? y
proceeding ...
/c/Users/Jake/Documents/Hyperledger Project/fabric-samples/bin/cryptogen

##########################################################
##### Generate certificates using cryptogen tool #########
##########################################################
org1.example.com
org2.example.com

./byfn.sh: line 164: cd: too many arguments
sed: -e expression #1, char 85: unterminated `s' command
./byfn.sh: line 166: cd: crypto-config/peerOrganizations/org2.example.com/ca/: No such file or directory
./byfn.sh: line 168: cd: too many arguments
sed: -e expression #1, char 85: unterminated `s' command
/c/Users/Jake/Documents/Hyperledger Project/fabric-samples/bin/configtxgen
##########################################################
#########  Generating Orderer Genesis block ##############
##########################################################
2017-09-09 20:16:32.117 PDT [common/configtx/tool] main -> INFO 001 Loading configuration
2017-09-09 20:16:32.138 PDT [common/configtx/tool] doOutputBlock -> INFO 002 Generating genesis block
2017-09-09 20:16:32.139 PDT [common/configtx/tool] doOutputBlock -> INFO 003 Writing genesis block
2017-09-09 20:16:32.139 PDT [common/configtx/tool] main -> CRIT 004 Error on outputBlock: Error writing genesis block: open ./channel-artifacts/genesis.block: The system cannot find the path specified.
Failed to generate orderer genesis block...

不知道 CRIT 004 错误是什么意思,也不知道它在说什么路径。

最佳答案

你可能会打:

https://jira.hyperledger.org/browse/FAB-5618 - Hyperledge Fabric Samples 目录不能包含空格

因为你的脚本在:

/c/Users/Jake/Documents/Hyperledger Project/fabric-samples/bin/cryptogen

为什么不将 Hyperledger Project 重命名为没有空格的名称,例如 HyperledgerProject

关于hyperledger-fabric - super 账本创世区 block ,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/46137070/

相关文章:

hyperledger-fabric - 将 Hyperledger Fabric Explorer 连接到托管在不同实例上的结构网络

node.js - Hyperledger 结构中带有芒果查询的非法缓冲区?

hyperledger-fabric - super 账本结构错误 : 2 UNKNOWN: access denied: channel [mychannel] creator org [Org1MSP]

go - super 账本结构 : chaincode deploy connection error

hyperledger-fabric - Hyperledger Fabric 在启用 TLS 的情况下实现,也可以在没有 TLS 的情况下工作?

hyperledger-fabric - 包括 ACL 条件下的功能

gradle - 运行byfn时出错:由于gradle问题,链码安装失败?

docker - 使用修改后的fabric-server-config初始化fabric ca

go - 我已经用 GoLang 编写了代码,那么如何使用 Hyper-ledger Fabric Composer 获取链码?

ssl - 为 Hyperledger Fabric couchdb 启用 SSL