【问题标题】:Hyperledger Fabric - First Network Sample - Error while creating the channelHyperledger Fabric - 第一个网络示例 - 创建通道时出错
【发布时间】:2018-08-07 14:21:29
【问题描述】:

Hyperledger Fabric:我正在使用织物样本。

运行命令时

./byfn.sh -m up

创建频道时出现以下错误:

018-02-27 19:34:51.325 UTC [bccsp_sw] loadPrivateKey ->
ERRO 001 无法加载私钥 [ec1f4a4699b91d9e6010e30aea31c0d1ba60f4e1787b84a5e03bb7aafc730b5a]:[open /opt/gopath/src/github.com/hyperledger/fabric/peer/crypto/peerOrganizations/org1.example.com/users/Admin@org1 /keystore/ec1f4a4699b91d9e6010e30aea31c0d1ba60f4e1787b84a5e03bb7aafc730b5a_sk:权限被拒绝]。
2018-02-27 19:34:51.325 UTC [主要] 主要 ->
ERRO 002 无法运行对等点,因为从目录 /opt/gopath/src/github.com/hyperledger/fabric/peer/crypto/peerOrganizations/org1.example.com/users/Admin@org1.example 设置类型为 bccsp 的 MSP 时出错.com/msp:
在 SigningIdentityInfo 中找不到 KeyMaterial
!!!!!!!!!!!!!!!频道创建失败!!!!!!!!!!!!!!!

此错误消息的原因可能是什么?我该如何解决?

【问题讨论】:

    标签: hyperledger-fabric hyperledger channel creation


    【解决方案1】:

    请在环境变量中设置Go的正确路径。

    sudo add-apt-repository ppa:longsleep/golang-backports
    sudo apt-get update
    sudo apt-get install -y golang-go make
    cd $GOPATH/src/github.com/hyperledger/fabric
    make docker
    

    【讨论】:

      猜你喜欢
      • 2018-07-29
      • 2020-12-15
      • 1970-01-01
      • 1970-01-01
      • 2018-12-30
      • 2020-08-10
      • 1970-01-01
      • 1970-01-01
      • 2019-06-11
      相关资源
      最近更新 更多