TIDB4.0集群启动报错 pd 192.168.198.128:2379 failed to start: timed out waiting for port 2379

TIDB4.0 部署成功,启动报错 Error: failed to start: failed to start pd: pd 192.168.198.128:2379 failed to start: timed out waiting for port 2379 to be started after 2m0s, please check the log of the instance: timed out waiting for port 2379 to be started after 2m0ssimple-mini.yaml (686 字节)

部署文件是从官网上导出的,然后改成了自己的IP而已,详情请看simple-mini.yaml附件。
报错Debug日志集群报错Debug.log (213.9 KB)

建议先看下对应 pd 节点的 log 日志文件,看下 pd 无法启动的原因~~

问题+1

+1 解决没?

@Hacker_TegOLLWU @ChinaHDJ 麻烦提供一下 PD log ,或者通过 pd_stderr.log 检查 log 中异常报错。

我也出现同样的问题
以下是日志,求解决,官方教程也能出错吗,易用性在哪里?
tiup-cluster-debug-2020-10-02-03-39-36.log (49.1 KB)

2020-10-02T03:39:34.894-0400 DEBUG TaskFinish {“task”: “StartCluster”, “error”: “failed to start pd: \tpd 192.168.127.130:2379 failed to start: timed out waiting for port 2379 to be started after 2m0s, please check the log of the instance: timed out waiting for port 2379 to be started after 2m0s”, “errorVerbose”: “timed out waiting for port 2379 to be started after 2m0s
github.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:100
github.com/pingcap/tiup/pkg/cluster/spec.(*BaseInstance).Ready
\tgithub.com/pingcap/tiup@/pkg/cluster/spec/instance.go:131
github.com/pingcap/tiup/pkg/cluster/operation.startInstance
\tgithub.com/pingcap/tiup@/pkg/cluster/operation/action.go:478
github.com/pingcap/tiup/pkg/cluster/operation.StartComponent.func1
\tgithub.com/pingcap/tiup@/pkg/cluster/operation/action.go:514
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
\tpd 192.168.127.130:2379 failed to start: timed out waiting for port 2379 to be started after 2m0s, please check the log of the instance
failed to start pd”}

需要通过 debug 日志,确认一下对应的 pd log 和 stderr log 的相关报错是什么,目前 tiup 日志只能反馈是这个服务起不来,不能说明这个PD 服务有什么问题。

我也遇到了同样的问题,而且官网的操作步骤不是很详细带有简略性,对于一些操作应该给出解释和说明,突然冒出来都看不懂

大家看下是不是用的阿里云,如果是阿里云,端口不能绑定公网IP,换成内网IP就好了,亲测有效

同样的问题,看日志 需要用 ip代替映射 已解决

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