tiup启动集群报错

tikv 10.136.50.204:20160 failed to start: timed out waiting for port 20160 to be started after 1m0s tikv 10.136.50.205:20160 failed to start: timed out waiting for port 20160 to be started after 1m0s tikv 10.136.50.206:20160 failed to start: timed out waiting for port 20160 to be started after 1m0s 在目标机器上查询了一下,20160端口没有占用

1、systemctl status 查看 tikv 的服务状态,如果不是 active,检查 /var/log/message 日志

2、检查 deploy_dir/log 下面的 tikv.log、tikv_stderr.log 日志是否有报错

提示PD failed to respond

检查了一下某个pd节点,日志如下:

1、上面的截图显示到 pd 端口无法正常连通,检查 pd 节点之间的端口是否打开,防火墙是否关闭

2、pd-ctl http://pd-ip:port 检查 member 各个节点状态正常。