Hyperledger Fabric 问题不定期汇总

0、关于系统内部时间和服务器时间不一致问题
将系统时间挂载进docker容器里面
/ect/localtime:/etc/localtime
1、gcc异常:
Srunning gcc failed: exec: "gcc": executable file not found in $PATH

解决方法:安装gcc

yum install gcc
2、工具包异常
ltdl.h: No such file or directory

解决方法:安装工具包

yum install libtool libltdl7 libltdl-dev
yum install libtool-ltdl-devel
3、使用generate脚本生成配置文件证书等异常

触发脚本

../../release/linux-amd64/bin/configtxgen -profile TwoOrgsChannel -outputCreateChannelTx ./channel-artifacts/channel.tx -channelID mychannel

触发异常

Error on outputChannelCreateTx: config update generation failure: could not parse application to application group: setting up the MSP manager failed: the supplied identity is not valid: x509: certificate signed by unknown authority (possibly because of "x509: ECDSA verification failure" while trying to verify candidate authority certificate "ca.org1.example.com")

问题出现原因:

这里写图片描述

多次运行脚本,生成了很多私钥文件,系统不知道使用哪个,所以运行generate之前,清除上次执行结果即可

rm -rf crypto-config
4、docker-compose启动networks have overlapping IPv4
ip a
brctl delbr br-a675c47764eb
service docker restart
  • 2
    点赞
  • 2
    收藏
    觉得还不错? 一键收藏
  • 1
    评论
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值