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\n\tgithub.com/pingcap/tiup@/pkg/cluster/module/wait_for.go:90\ngithub.com/pingcap/tiup/pkg/cluster/spec.PortStarted\n\tgithub.com/pingcap/tiup@/pkg/cluster/spec/instance.go:90\ngithub.com/pingcap/tiup/pkg/cluster/spec.(*instance).Ready\n\tgithub.com/pingcap/tiup@/pkg/cluster/spec/instance.go:121\ngithub.com/pingcap/tiup/pkg/cluster/operation.startInstance\n\tgithub.com/pingcap/tiup@/pkg/cluster/operation/action.go:466\ngithub.com/pingcap/tiup/pkg/cluster/operation.StartComponent.func1\n\tgithub.com/pingcap/tiup@/pkg/cluster/operation/action.go:502\ngolang.org/x/sync/errgroup.(*Group).Go.func1\n\tgolang.org/x/sync@v0.0.0-20190911185100-cd5d95a43a6e/errgroup/errgroup.go:57\nruntime.goexit\n\truntime/asm_amd64.s:1357\n\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\nfailed to start tikv\nfailed 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\n\tgithub.com/pingcap/tiup@/pkg/cluster/module/wait_for.go:90\ngithub.com/pingcap/tiup/pkg/cluster/spec.PortStarted\n\tgithub.com/pingcap/tiup@/pkg/cluster/spec/instance.go:90\ngithub.com/pingcap/tiup/pkg/cluster/spec.(*instance).Ready\n\tgithub.com/pingcap/tiup@/pkg/cluster/spec/instance.go:121\ngithub.com/pingcap/tiup/pkg/cluster/operation.startInstance\n\tgithub.com/pingcap/tiup@/pkg/cluster/operation/action.go:466\ngithub.com/pingcap/tiup/pkg/cluster/operation.StartComponent.func1\n\tgithub.com/pingcap/tiup@/pkg/cluster/operation/action.go:502\ngolang.org/x/sync/errgroup.(*Group).Go.func1\n\tgolang.org/x/sync@v0.0.0-20190911185100-cd5d95a43a6e/errgroup/errgroup.go:57\nruntime.goexit\n\truntime/asm_amd64.s:1357\n\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\nfailed to start tikv\nfailed 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 前后日志即可