阿里云ecs 部署 tidb集群 tiflash启动报错

retry error: operation timed out after 2m0s
tiflash 172.***.***.***:9000 failed to start: timed out waiting for port 9000 to be started after 2m0s, please check the log of the instance

Error: failed to start: failed to start tiflash: tiflash 172.***.***.***:9000 failed to start: timed out waiting for port 9000 to be started after 2m0s, please check the log of the instance: timed out waiting for port 9000 to be started after 2m0s

您好,麻烦反馈下报错的debug日志和tiflash的日志,多谢。

[tiup-cluster-debug-2020-07-14-16-59-46.log|attachment]

tiflash的日志这个怎么找?

  1. 可以 tiup cluster display 集群名称 看下当前,集群状态。
  2. tiflash 日志在你配置的目录下 /log 下,麻烦发下日志
  3. 请问 tiflash 是扩容还是直接安装的,麻烦发下对应的配置文件

tiflash是直接安装在机器上的。机器配置是:8核32G内存50G固态硬盘

%E5%9B%BE%E7%89%87

hi,

  1. 执行下 curl http://172.26.58.165:2379/pd/api/v1/stores
  2. 执行 display 看下 tiflash 的状态是否为 N/A

以上操作请以文本方式反馈下

执行了,还是

公司打算自己搭建一套自己的tidb数据库,望多指教。这是测试环境,总共4台机器

  1. curl http://172.26.58.165:2379/pd/api/v1/stores 此命令辛苦将文本信息反馈一下,看下是否有 tiflash 节点存在。
  2. 尝试执行 tiup cluster stop tidb-hsw 在执行 tiup cluster start tidb-hsw 看是否可以。
  3. 辛苦反馈下 topology 文件,确定下是否在 pd 中开启了 replication.enable-placement-rules: true

[quote=“户口舟亢, post:11, topic:35973”]

建议2中的两条命令试了,还是不行。

Starting component tiflash
Starting instance tiflash 172.:9000
到这里就卡住了,不动了。

ok,感谢反馈。

辛苦看下 /tidb-deploy/tiflash-9000/log/ 是否有打印信息呢?如果有请全部上传下。

[quote=“户口舟亢, post:15, topic:35973”]
/tidb-deploy/tiflash-9000/log/
[/quote]没有打印信息,之前的截图里面,已经提供了

您好,查看163节点上其他的Prometheus等服务也不正常,能否先检查下163这个服务器是否能够正常访问,从中控机是否能够ssh登录。 这个节点是否关闭了防火墙等,多谢。

hi,请问,目前集群状态是否正常了呢?
关于上面 tiflash 启动问题可以在 tiflash 服务器上执行下

journalctl -u tiflash-9000.service 也可执行下 script/run_tiflash.sh 看下是否可以启动。
如果启动失败可以将打印的信息反馈给我们