tidb4.0.0启动时 tikv 一直超时

image

日志:
183 2020-06-23T18:53:21.125+0800 DEBUG TaskFinish {“task”: “ClusterOperate: operation=StartOperation, options={Roles:[] Nodes:[] Force:false SSHTimeout:5 OptTimeout:60 APITimeout:300 RetainDataRoles:[] RetainDataNodes:[]}”,
“error”: “failed to start: failed to start tikv: \ttikv 10.30.5.142:10194 failed to start: timed out waiting for port 10194 to be started after 1m0s, please check the log of the instance: timed out waiting for port 10194 to be s
tarted after 1m0s”, “errorVerbose”: “timed out waiting for port 10194 to be started after 1m0s
github.com/pingcap/tiup/pkg/cluster/module.(*WaitFor).Execute
\tgithub.com/pingcap/tiup@/pkg/cluster/module/wait_for.go:90
github.c
om/pingcap/tiup/pkg/cluster/meta.PortStarted
\tgithub.com/pingcap/tiup@/pkg/cluster/meta/logic.go:112
github.com/pingcap/tiup/pkg/cluster/meta.(*instance).Ready
\tgithub.com/pingcap/tiup@/pkg/cluster/meta/logic.go:143
github.
com/pingcap/tiup/pkg/cluster/operation.startInstance
\tgithub.com/pingcap/tiup@/pkg/cluster/operation/action.go:468
github.com/pingcap/tiup/pkg/cluster/operation.StartComponent.func1
\tgithub.com/pingcap/tiup@/pkg/cluster/oper
ation/action.go:504
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 10.30.5.142:10194 failed to sta
rt: timed out waiting for port 10194 to be started after 1m0s, please check the log of the instance
failed to start tikv
failed to start”}
184 2020-06-23T18:53:21.125+0800 INFO Execute command finished {“code”: 1, “error”: “failed to start: failed to start tikv: \ttikv 10.30.5.142:10194 failed to start: timed out waiting for port 10194 to be started after 1
m0s, please check the log of the instance: timed out waiting for port 10194 to be started after 1m0s”, “errorVerbose”: “timed out waiting for port 10194 to be started after 1m0s
github.com/pingcap/tiup/pkg/cluster/module.(*WaitF
or).Execute
\tgithub.com/pingcap/tiup@/pkg/cluster/module/wait_for.go:90
github.com/pingcap/tiup/pkg/cluster/meta.PortStarted
\tgithub.com/pingcap/tiup@/pkg/cluster/meta/logic.go:112
github.com/pingcap/tiup/pkg/cluster/meta.(
*instance).Ready
\tgithub.com/pingcap/tiup@/pkg/cluster/meta/logic.go:143
github.com/pingcap/tiup/pkg/cluster/operation.startInstance
\tgithub.com/pingcap/tiup@/pkg/cluster/operation/action.go:468
github.com/pingcap/tiup/pkg/
cluster/operation.StartComponent.func1
\tgithub.com/pingcap/tiup@/pkg/cluster/operation/action.go:504
golang.org/x/sync/errgroup.(*Group).Go.func1
\tgolang.org/x/sync@v0.0.0-20190911185100-cd5d95a43a6e/errgroup/errgroup.go:57
nruntime.goexit
\truntime/asm_amd64.s:1357
\ttikv 10.30.5.142:10194 failed to start: timed out waiting for port 10194 to be started after 1m0s, please check the log of the instance
failed to start tikv
failed to start”}

这有明确提示哈,上传下 tikv.log 文本文件看下


这是pd没起来么?
新手,照着文档来的,阿里云的机器上能成功,但内网一直失败

解决了,报错是tikv,但实际是tipd的端口被占用了

不会吧,pd 时最先启动的,最后判断时 端口占用,是如何的出来的,可以上传下 pd 的 log

执行tiup cluster start myCluster起不来,防火墙也是inactive的状态

辛苦新开个帖子吧问题描述一下并上传 tikv.log 文件看下, 从目前截图情况来看, 建议使用 ip (ip a 结果) 部署集群节点

使用 TiUP cluster 在单机上模拟生产环境部署 启动报错Error: failed to start tikv: tikv 127.0.0.1:20161 failed to start: timed out waiting for port 20161 to be started after 2m0s 发了

ok~

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