tidb 4000端口重启失败

为提高效率,请提供以下信息,问题描述清晰能够更快得到解决:
【 TiDB 使用环境】
【概述】启动过一次tidb集群后没再管它了
【背景】启动过一次tidb集群后没再管它了
【现象】4000端口的挂掉了
【业务影响】
【TiDB 版本】
【附件】

  1. TiUP Cluster Display 信息

  2. TiUP Cluster Edit Config 信息

  3. TiDB- Overview 监控

  • 对应模块日志(包含问题前后1小时日志)

2021-08-19T23:57:25.892-0400 INFO Execute command finished {“code”: 1, “error”: “failed to start: failed to start tidb: failed to start: 192.168.23.172 tidb-4000.service, please check the instance’s log(/tidb-deploy/tidb-4000/log) 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
github.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:115
github.com/pingcap/tiup/pkg/cluster/spec.(*BaseInstance).Ready
\tgithub.com/pingcap/tiup/pkg/cluster/spec/instance.go:147
github.com/pingcap/tiup/pkg/cluster/operation.startInstance
\tgithub.com/pingcap/tiup/pkg/cluster/operation/action.go:351
github.com/pingcap/tiup/pkg/cluster/operation.StartComponent.func1
\tgithub.com/pingcap/tiup/pkg/cluster/operation/action.go:454
golang.org/x/sync/errgroup.(*Group).Go.func1
\tgolang.org/x/sync@v0.0.0-20210220032951-036812b2e83c/errgroup/errgroup.go:57
runtime.goexit
\truntime/asm_amd64.s:1371
failed to start: 192.168.23.172 tidb-4000.service, please check the instance’s log(/tidb-deploy/tidb-4000/log) for more detail.
failed to start tidb
failed to start”

[WARN] [client_batch.go:479] [“init create streaming fail”] [target=192.168.23.141:20160] [forwardedHost=] [error=“context deadline exceeded”]

是不是4000端口被占用了,看一下4000端口有异常么?

没有被占用

能看一下tidb的启动脚本和tidb的配置文件么? run_tidb.sh和tidb.toml

你的这个tidb-server组件是部署在中控机上嘛?看你这个是检查的中控机上的4000端口吧:joy:
还有可以先看一下tidb-server机器上的磁盘有没有满,我记得一次我的磁盘没有空间了,也导致组件起动失败

最新更新…是因为防火墙被开启了…关掉防火墙就可以了

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