【 TiDB 使用环境】/测试
【 TiDB 版本】6.5
【复现路径】做过哪些操作出现的问题
【遇到的问题:问题现象及影响】
【资源配置】
【附件:截图/日志/监控】
2023-02-14T15:18:48.030+0800 INFO SSHCommand {“host”: “11.11.4.28”, “port”: “22”, “cmd”: “export LANG=C; PATH=$PATH:/bin:/sbin:/usr/bin:/usr/sbin /usr/bin/sudo -H bash -c "systemctl daemon-reload && systemctl start tiflash-9000.service"”, “stdout”: “”, “stderr”: “”}
2023-02-14T15:18:48.030+0800 INFO CheckPoint {“host”: “11.11.4.28”, “port”: 22, “user”: “tidb”, “sudo”: true, “cmd”: “systemctl daemon-reload && systemctl start tiflash-9000.service”, “stdout”: “”, “stderr”: “”, “hash”: “4c2debca67421ec7b87f91c02032b8fbffa5c9e5”, “func”: “github.com/pingcap/tiup/pkg/cluster/executor.(CheckPointExecutor).Execute", “hit”: false}
2023-02-14T15:18:48.148+0800 INFO SSHCommand {“host”: “11.11.4.28”, “port”: “22”, “cmd”: “export LANG=C; PATH=$PATH:/bin:/sbin:/usr/bin:/usr/sbin ss -ltn”, “stdout”: "State Recv-Q Send-Q Local Address:Port Peer Address:Port \nLISTEN 0 128 127.0.0.1:6010 : \nLISTEN 0 128 127.0.0.1:46144 : \nLISTEN 0 128 127.0.0.1:34021 : \nLISTEN 0 128 :20180 : \nLISTEN 0 128 :22 : \nLISTEN 0 128 [::1]:6010 [::]: \nLISTEN 0 128 [::]:10080 [::]: \nLISTEN 0 128 [::]:4000 [::]: \nLISTEN 0 128 [::]:20160 [::]:* \nLISTEN 0 128 [::]:20160 [::]:* \nLISTEN 0 128 [::]:20160 [::]:* \nLISTEN 0 128 [::]:20160 [::]:* \nLISTEN 0 128 [::]:20160 [::]:* \nLISTEN 0 128 [::]:2379 [::]:* \nLISTEN 0 128 [::]:2380 [::]:* \nLISTEN 0 128 [::]:22 [::]:* \n”, “stderr”: “”}
2023-02-14T15:18:48.148+0800 INFO CheckPoint {“host”: “11.11.4.28”, “port”: 22, “user”: “tidb”, “sudo”: false, “cmd”: “ss -ltn”, “stdout”: “State Recv-Q Send-Q Local Address:Port Peer Address:Port \nLISTEN 0 128 127.0.0.1:6010 : \nLISTEN 0 128 127.0.0.1:46144 : \nLISTEN 0 128 127.0.0.1:34021 : \nLISTEN 0 128 :20180 : \nLISTEN 0 128 :22 : \nLISTEN 0 128 [::1]:6010 [::]: \nLISTEN 0 128 [::]:10080 [::]: \nLISTEN 0 128 [::]:4000 [::]:* \nLISTEN 0 128 [::]:20160 [::]:* \nLISTEN 0 128 [::]:20160 [::]:* \nLISTEN 0 128 [::]:20160 [::]:* \nLISTEN 0 128 [::]:20160 [::]:* \nLISTEN 0 128 [::]:20160 [::]:* \nLISTEN 0 128 [::]:2379 [::]:* \nLISTEN 0 128 [::]:2380 [::]:* \nLISTEN 0 128 [::]:22 [::]:* \n”, “stderr”: “”, “hash”: “4c2debca67421ec7b87f91c02032b8fbffa5c9e5”, “func”: “github.com/pingcap/tiup/pkg/cluster/executor.(CheckPointExecutor).Execute", “hit”: false}
2023-02-14T15:18:48.249+0800 INFO SSHCommand {“host”: “11.11.4.29”, “port”: “22”, “cmd”: “export LANG=C; PATH=$PATH:/bin:/sbin:/usr/bin:/usr/sbin /usr/bin/sudo -H bash -c "systemctl daemon-reload && systemctl start tiflash-9000.service"”, “stdout”: “”, “stderr”: “”}
2023-02-14T15:18:48.250+0800 INFO CheckPoint {“host”: “11.11.4.29”, “port”: 22, “user”: “tidb”, “sudo”: true, “cmd”: “systemctl daemon-reload && systemctl start tiflash-9000.service”, “stdout”: “”, “stderr”: “”, “hash”: “4c2debca67421ec7b87f91c02032b8fbffa5c9e5”, “func”: "github.com/pingcap/tiup/pkg/cluster/executor.(CheckPointExecutor).Execute", “hit”: false}
2023-02-14T15:18:48.364+0800 INFO SSHCommand {“host”: “11.11.4.29”, “port”: “22”, “cmd”: “export LANG=C; PATH=$PATH:/bin:/sbin:/usr/bin:/usr/sbin ss -ltn”, “stdout”: "State Recv-Q Send-Q Local Address:Port Peer Address:Port \nLISTEN 0 128 127.0.0.1:6010 : \nLISTEN 0 128 :20180 : \nLISTEN 0 128 :22 : \nLISTEN 0 128 [::1]:6010 [::]: \nLISTEN 0 128 [::]:10080 [::]: \nLISTEN 0 128 [::]:4000 [::]: \nLISTEN 0 128 [::]:20160 [::]: \nLISTEN 0 128 [::]:20160 [::]:* \nLISTEN 0 128 [::]:20160 [::]:* \nLISTEN 0 128 [::]:20160 [::]:* \nLISTEN 0 128 [::]:20160 [::]:* \nLISTEN 0 128 [::]:2379 [::]:* \nLISTEN 0 128 [::]:2380 [::]:* \nLISTEN 0 128 [::]:22 [::]:* \n”, “stderr”: “”}
2023-02-14T15:18:48.364+0800 INFO CheckPoint {“host”: “11.11.4.29”, “port”: 22, “user”: “tidb”, “sudo”: false, “cmd”: “ss -ltn”, “stdout”: “State Recv-Q Send-Q Local Address:Port Peer Address:Port \nLISTEN 0 128 127.0.0.1:6010 : \nLISTEN 0 128 :20180 : \nLISTEN 0 128 :22 : \nLISTEN 0 128 [::1]:6010 [::]: \nLISTEN 0 128 [::]:10080 [::]: \nLISTEN 0 128 [::]:4000 [::]:* \nLISTEN 0 128 [::]:20160 [::]:* \nLISTEN 0 128 [::]:20160 [::]:* \nLISTEN 0 128 [::]:20160 [::]:* \nLISTEN 0 128 [::]:20160 [::]:* \nLISTEN 0 128 [::]:20160 [::]:* \nLISTEN 0 128 [::]:2379 [::]:* \nLISTEN 0 128 [::]:2380 [::]:* \nLISTEN 0 128 [::]:22 [::]:* \n”, “stderr”: “”, “hash”: “4c2debca67421ec7b87f91c02032b8fbffa5c9e5”, “func”: “github.com/pingcap/tiup/pkg/cluster/executor.(*CheckPointExecutor).Execute”, “hit”: false}
2
输出从/home/tidb/.tiup/logs/tiup-cluster-debug-2023-02-14-15-37-10.log文件拿的,提示的/data1/tidb-deploy/tiflash-9000/log里面的日志是空文件。
网通不通?9000端口有没有被占用?这个节点的免密有没有做(或者密码对不对)?防火墙有没有限制?
网络通的,三个服务器tidb的ssh登录免密都加了,测试了,三个服务器都能互相ssh过去。服务器也是刚装,端口没有占用。
手动登录 tiflash 节点,去 deploy 目录下的 script 目录下,手动执行下 run_tiflash 脚本。看看能不能起来,有没有报错。
之前tiflash有启动成功过吗?
您把您的 命令脱敏 处理后发下吧 。 我经常看到这个错误。 不知道是不是同样的原因
还有就是你们的ssh 到底是不是 22端口。我们的就是 11820. 。公司不同这个端口可能不同