Error: failed to start: failed to start tikv: tikv 192.168.108.145:20160 failed to start: timed out waiting for port 20160 to be started after 2m0s, please check the log of the instance: timed out waiting for port 20160 to be started after 2m0s

附件上传了

  1. 请问版本是多少? 默认是 4.0 的话,检查下 tikv 的日志, 您的安装目录的/log 下的tikv.log ,看看有什么报错吗?

020-08-01T22:14:17.596+0800 DEBUG retry error: operation timed out after 2m0s
2020-08-01T22:14:17.596+0800 ERROR tikv 192.168.108.145:20160 failed to start: timed out waiting for port 20160 to be started after 2m0s, please check the log of the instance
2020-08-01T22:14:17.596+0800 DEBUG TaskFinish {“task”: “ClusterOperate: operation=StartOperation, options={Roles:[] Nodes:[] Force:false SSHTimeout:5 OptTimeout:120 APITimeout:300 IgnoreConfigCheck:false RetainDataRoles:[] RetainDataNodes:[]}”, “error”: “failed to start: failed to start tikv: \ttikv 192.168.108.145:20160 failed to start: timed out waiting for port 20160 to be started after 2m0s, please check the log of the instance: timed out waiting for port 20160 to be started after 2m0s”, “errorVerbose”: “timed out waiting for port 20160 to be started after 2m0s\ngithub.com/pingcap/tiup/pkg/cluster/module.(*WaitFor).Execute\ \tgithub.com/pingcap/tiup@/pkg/cluster/module/wait_for.go:90\ github.com/pingcap/tiup/pkg/cluster/spec.PortStarted\ \tgithub.com/pingcap/tiup@/pkg/cluster/spec/instance.go:90\ github.com/pingcap/tiup/pkg/cluster/spec.(*instance).Ready\ \tgithub.com/pingcap/tiup@/pkg/cluster/spec/instance.go:121\ github.com/pingcap/tiup/pkg/cluster/operation.startInstance\ \tgithub.com/pingcap/tiup@/pkg/cluster/operation/action.go:466\ github.com/pingcap/tiup/pkg/cluster/operation.StartComponent.func1\ \tgithub.com/pingcap/tiup@/pkg/cluster/operation/action.go:502\ golang.org/x/sync/errgroup.(*Group).Go.func1\ \tgolang.org/x/sync@v0.0.0-20190911185100-cd5d95a43a6e/errgroup/errgroup.go:57\ runtime.goexit\ \truntime/asm_amd64.s:1357\ \ttikv 192.168.108.145:20160 failed to start: timed out waiting for port 20160 to be started after 2m0s, please check the log of the instance\ failed to start tikv\ failed to start”}
2020-08-01T22:14:17.596+0800 INFO Execute command finished {“code”: 1, “error”: “failed to start: failed to start tikv: \ttikv 192.168.108.145:20160 failed to start: timed out waiting for port 20160 to be started after 2m0s, please check the log of the instance: timed out waiting for port 20160 to be started after 2m0s”, “errorVerbose”: “timed out waiting for port 20160 to be started after 2m0s\ngithub.com/pingcap/tiup/pkg/cluster/module.(*WaitFor).Execute\ \tgithub.com/pingcap/tiup@/pkg/cluster/module/wait_for.go:90\ github.com/pingcap/tiup/pkg/cluster/spec.PortStarted\ \tgithub.com/pingcap/tiup@/pkg/cluster/spec/instance.go:90\ github.com/pingcap/tiup/pkg/cluster/spec.(*instance).Ready\ \tgithub.com/pingcap/tiup@/pkg/cluster/spec/instance.go:121\ github.com/pingcap/tiup/pkg/cluster/operation.startInstance\ \tgithub.com/pingcap/tiup@/pkg/cluster/operation/action.go:466\ github.com/pingcap/tiup/pkg/cluster/operation.StartComponent.func1\ \tgithub.com/pingcap/tiup@/pkg/cluster/operation/action.go:502\ golang.org/x/sync/errgroup.(*Group).Go.func1\ \tgolang.org/x/sync@v0.0.0-20190911185100-cd5d95a43a6e/errgroup/errgroup.go:57\ runtime.goexit\ \truntime/asm_amd64.s:1357\ \ttikv 192.168.108.145:20160 failed to start: timed out waiting for port 20160 to be started after 2m0s, please check the log of the instance\ failed to start tikv\ failed to start”}

您好,需要检查 192.168.108.145:20160 tikv 实例的log, 具体找到 tikv.log 日志,看下报错,多谢。

日志已经上传,可否帮忙解决下
http://yk3.gokuai.com/file/avkfrc4tbcna3xisntw7lms6q4mi9p5d#

tiuo debug 日志显示日期为 0801 22:14,提供 tikv log 最早时间为 8-3 辛苦提供对应时间点的日志

请老师查阅,谢谢!
http://yk3.gokuai.com/file/f4467rxm5hzyif6ogbl50hrnato3m927#

相同的问题哈,辛苦上传前自己检查下,提供对应时间点 welcome 前后日志即可

请问解决了吗 我也遇到相似问题

可以开新帖我们跟进一下,提供下上面类似的信息即可。并检查各个组件之间是否开启了防火墙,并关闭它

你好,这个我们还是办法解决。我们这边弄了一个单机的,但是我们想要多部的测试,是否这边可以拷贝

你好,麻烦开新帖尽量详细描述一下需求。


我也遇到了 报错如下

关闭防火墙
iptables -D INPUT 7

此话题已在最后回复的 1 分钟后被自动关闭。不再允许新回复。