tidb6.2 tidb组件启动不了

tidb 6.2 启动不了tidb 组件,提示超时
Error: failed to start tidb: failed to start: 10.96.129.228 tidb-4000.service, please check the instance’s log(/data/tidb/tidb-deploy/tidb-4000) for more detail.: timed out waiting for port 4000 to be started after 2m0s

2022-09-02T12:16:41.996+0800 DEBUG retry error {“error”: “operation timed out after 2m0s”}
2022-09-02T12:16:41.996+0800 DEBUG TaskFinish {“task”: “Start new instances”, “error”: “failed to start tidb: failed to start: 10.96.129.228 tidb-4000.service, please check the instance’s log(/dat
a/tidb/tidb-deploy/tidb-4000) for more detail.: timed out waiting for port 4000 to be started after 2m0s”, “errorVerbose”: “timed out waiting for port 4000 to be started after 2m0s\ngithub.com/pingcap/tiup/
pkg/cluster/module.(*WaitFor).Execute\ \tgithub.com/pingcap/tiup/pkg/cluster/module/wait_for.go:91\ github.com/pingcap/tiup/pkg/cluster/spec.PortStarted\ \tgithub.com/pingcap/tiup/pkg/cluster/spec/instance.
go:116\ngithub.com/pingcap/tiup/pkg/cluster/spec.(*BaseInstance).Ready\ \tgithub.com/pingcap/tiup/pkg/cluster/spec/instance.go:148\ github.com/pingcap/tiup/pkg/cluster/operation.startInstance\ \tgithub.com/
pingcap/tiup/pkg/cluster/operation/action.go:404\ngithub.com/pingcap/tiup/pkg/cluster/operation.StartComponent.func1\ \tgithub.com/pingcap/tiup/pkg/cluster/operation/action.go:533\ golang.org/x/sync/errgrou
p.(*Group).Go.func1\ \tgolang.org/x/sync@v0.0.0-20220513210516-0976fa681c29/errgroup/errgroup.go:74\ runtime.goexit\ \truntime/asm_amd64.s:1571\ failed to start: 10.96.129.228 tidb-4000.service, please chec
k the instance’s log(/data/tidb/tidb-deploy/tidb-4000) for more detail.\ failed to start tidb”}
2022-09-02T12:16:41.996+0800 INFO Execute command finished {“code”: 1, “error”: “failed to start tidb: failed to start: 10.96.129.228 tidb-4000.service, please check the instance’s log(/data/ti
db/tidb-deploy/tidb-4000) for more detail.: timed out waiting for port 4000 to be started after 2m0s”, “errorVerbose”: “timed out waiting for port 4000 to be started after 2m0s\ngithub.com/pingcap/tiup/pkg/
cluster/module.(*WaitFor).Execute\ \tgithub.com/pingcap/tiup/pkg/cluster/module/wait_for.go:91\ github.com/pingcap/tiup/pkg/cluster/spec.PortStarted\ \tgithub.com/pingcap/tiup/pkg/cluster/spec/instance.go:1
16\ngithub.com/pingcap/tiup/pkg/cluster/spec.(BaseInstance).Ready\ \tgithub.com/pingcap/tiup/pkg/cluster/spec/instance.go:148\ github.com/pingcap/tiup/pkg/cluster/operation.startInstance\ \tgithub.com/ping
cap/tiup/pkg/cluster/operation/action.go:404\ngithub.com/pingcap/tiup/pkg/cluster/operation.StartComponent.func1\ \tgithub.com/pingcap/tiup/pkg/cluster/operation/action.go:533\ golang.org/x/sync/errgroup.(

Group).Go.func1\ \tgolang.org/x/sync@v0.0.0-20220513210516-0976fa681c29/errgroup/errgroup.go:74\ runtime.goexit\ \truntime/asm_amd64.s:1571\ failed to start: 10.96.129.228 tidb-4000.service, please check th
e instance’s log(/data/tidb/tidb-deploy/tidb-4000) for more detail.\ failed to start tidb”}

可以去节点下手动启动一下tidb看一下报什么

“timed out waiting for port 4000 to be started after 2m0s”网络通吗?

1.可以查看下部署和数据目录是否有权限
2.到/data/tidb/tidb-deploy/tidb-4000/scripts/下手动执行下启动脚本

执行没有反应

网络通

没有报错

部署和数据目录确认权限过了吗?

我在部署 TiUniManager 时,遇到 elasticsearch 组件启动超时。提高了主机配置,可以正常启动了。不知道您这个tidb主机是什么配置?

我也遇到过,去手动起起来了。

1 个赞

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