涛思数据TDengine启动报错,提示localEp is different from localhost.localdomain:6030

15 篇文章 0 订阅

今天服务器维护。
之前使用的是centos8.4,使用Yum -y update时提示无法安装新的更新,联想到centos发的公告,centos8生命周期到期,于是按照说明将centos8升级到centos stream。
服务器重启后,发现涛思数据的服务无法启动了,
systemctl status taosd
状态为failed。
通过执行taosd提示错误
read file /myweb/TDengine/data/dnode/dnodeCfg.json successed

02/01 17:55:04.135569 00006620 DND dnodeId is set to 1, clusterId is set to c3b5c75e-1ecf-4dc4-9825-5ed4d295bbf2

02/01 17:55:04.144574 00006620 DND successed to write /myweb/TDengine/data/dnode/dnodeCfg.json

02/01 17:55:04.144636 00006620 DND dnode cfg is initialized

02/01 17:55:04.144649 00006620 DND step:dnode-cfg is initialized

02/01 17:55:04.144774 00006620 DND read file /myweb/TDengine/data/dnode/dnodeEps.json successed

02/01 17:55:04.144831 00006620 DND ERROR dnode:1, localEp is different from localhost.localdomain:6030 in dnodeEps.json and need reconfigured
网上找了下资料,相关资料非常少,只有2个网站说,是主机名的问题,且他们是基于docker部署,与我的环境不符,试了半天无法解决。

通过taosd启动试试,主要的提示内容为:
[root@taos-node1 TDengine-ver-2.4.0.5]# taosd
02/01 20:08:28.990823 00004284 DND start to initialize TDengine
02/01 20:08:28.990970 00004284 DND step:dnode-tfile is initialized
02/01 20:08:28.990998 00004284 DND step:dnode-rpc is initialized
02/01 20:08:28.992389 00004284 UTL localEp is: localhost:6030
02/01 20:08:28.992708 00004284 UTL WARN timezone not configured, set to system default: (CST, +0800)
主要有用的信息是:
localEp is: localhost:6030
将文件
/myweb/TDengine/data/dnode/dnodeEps.json
/myweb/TDengine/data/dnode/mnodeEpSet.json
这两个配置主机名改为对应的localhost即可。
{
“dnodeNum”: 1,
“dnodeInfos”: [{
“dnodeId”: 1,
“dnodeFqdn”: “localhost”,
“dnodePort”: 6030
}]
}
退出taosd
然后,systemctl start taosd
稍等一会,再运行systemctl status taosd
状态已经为running了,回复正常。

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 打赏
    打赏
  • 1
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

lwprain

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

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

余额充值