docker启动TDengine错误:ERROR dnode:1, localEp is different from a5e27b397f1d:6030 in dnodeEps.json and need reconfigured

最近想验证TDengine数据库,但是每次在docker-compose.yml中修改了TDengine相关的信息就会启动不了TD容器(tdengine),每次都要将整个数据清空启动,这肯定不是长久的办法,数据会丢失

docker启动TDengine错误:ERROR dnode:1, localEp is different from a5e27b397f1d:6030 in dnodeEps.json and need reconfigured

查看日志: docker logs -f tdengine --tail=100

最后两行错误:

DND ERROR dnode:1, localEp is different from a5e27b397f1d:6030 in dnodeEps.json and need reconfigured

DND Failed to start TDengine, please check the log at:/var/log/taos

docker启动TDengine错误:ERROR dnode:1, localEp is different from a5e27b397f1d:6030 in dnodeEps.json and need reconfigured

 

 怀疑是docker修改了容器的名字

查看了下报错文件的配置

docker启动TDengine错误:ERROR dnode:1, localEp is different from a5e27b397f1d:6030 in dnodeEps.json and need reconfigured

 

 查看容器的名字:docker ps -a

docker启动TDengine错误:ERROR dnode:1, localEp is different from a5e27b397f1d:6030 in dnodeEps.json and need reconfigured

 

 发现确实不一样,将td配置文件中的“a5e27b397f1d”改为“5f7cff56fb6a”

重新执行: docker-compose up -d 可以正常启动

docker启动TDengine错误:ERROR dnode:1, localEp is different from a5e27b397f1d:6030 in dnodeEps.json and need reconfigured

需要修改的文件:

mnode/wal/wal0

vnode/vnode2/config.json

dnode/dnodeEps.json

dnode/mnodeEpSet.json

 

docker启动TDengine错误:ERROR dnode:1, localEp is different from a5e27b397f1d:6030 in dnodeEps.json and need reconfigured

上一篇:mysql传输表空间(可用于物理恢复单个表)


下一篇:将package.json中所有模块更新到最新版本