本文共 1063 字,大约阅读时间需要 3 分钟。
在Fabric 1.4版本中,重启orderer后出现了一个问题:"Not bootstrapping because of 3 existing channels"(因3个已有渠道无法重新初始化)。详细信息如下:
在重启orderer的过程中,系统报错信息显示:
orderer.example.com | 2020-11-19 09:48:00.705 UTC [orderer.common.server] extractSysChanLastConfig -> INFO 003 Not bootstrapping because of 3 existing channelsorderer.example.com | panic: runtime error: invalid memory address or nil pointer dereferenceorderer.example.com | [signal SIGSEGV: segmentation violation code=0x1 addr=0x10 pc=0xfb10d9]orderer.example.com | orderer.example.com | goroutine 1 [running]:orderer.example.com | github.com/hyperledger/fabric/protos/utils.GetMetadataFromBlock(0x0, 0xc000000001, 0x1006413, 0x0, 0x0)orderer.example.com | /opt/gopath/src/github.com/hyperledger/fabric/protos/utils/blockutils.go:55 +0x39orderer.example.com | github.com/hyperledger/fabric/protos/utils.GetLastConfigIndexFromBlo
错误信息表明,在处理块数据时发生了内存访问错误。这可能是由于系统在重启orderer时,未能正确处理已有的渠道配置,导致无法重新初始化。
此问题需要进一步检查orderer服务的配置文件,确认是否存在多余的渠道或配置冲突。建议重启服务后,重新启动所有相关的网络节点,以确保渠道状态正确更新。
转载地址:http://bwvfk.baihongyu.com/