CentOS 7.6: Using the `tiup cluster start tidb-yth --init` command to start the cluster, TiFlash fails to start. Error log as follows, please help

Note:
This topic has been translated from a Chinese forum by GPT and might contain errors.

Original topic: centos7.6 使用 tiup cluster start tidb-yth --init 命令启动集群,tiflash启动失败,报错日志如下,请大神帮忙解答

| username: TiDBer_hdzmrhjX

stderr": “”, “hash”: “7223ed50460785a2adf666d511a257aa03110294”, “func”: “github.com/pingcap/tiup/pkg/cluster/executor.(*CheckPointExecutor).Execute”, “hit”: false}
2023-03-17T16:24:04.682+0800 DEBUG retry error {“error”: “operation timed out after 2m0s”}
2023-03-17T16:24:04.682+0800 DEBUG TaskFinish {“task”: “StartCluster”, “error”: “failed to start tiflash: failed to start: 10.33.188.142 tiflash-9001.service, please check the instance’s log(/home/tidb/tidb-deploy/tiflash-9001/log) for more detail.: timed out waiting for port 9001 to be started after 2m0s”, “errorVerbose”: “timed out waiting for port 9001 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:91\ngithub.com/pingcap/tiup/pkg/cluster/spec.PortStarted\n\tgithub.com/pingcap/tiup/pkg/cluster/spec/instance.go:119\ngithub.com/pingcap/tiup/pkg/cluster/spec.(*TiFlashInstance).Ready\n\tgithub.com/pingcap/tiup/pkg/cluster/spec/tiflash.go:805\ngithub.com/pingcap/tiup/pkg/cluster/operation.startInstance\n\tgithub.com/pingcap/tiup/pkg/cluster/operation/action.go:405\ngithub.com/pingcap/tiup/pkg/cluster/operation.StartComponent.func1\n\tgithub.com/pingcap/tiup/pkg/cluster/operation/action.go:534\ngolang.org/x/sync/errgroup.(*Group).Go.func1\n\tgolang.org/x/sync@v0.0.0-20220819030929-7fc1605a5dde/errgroup/errgroup.go:75\nruntime.goexit\n\truntime/asm_amd64.s:1594\nfailed to start: 10.33.188.142 tiflash-9001.service, please check the instance’s log(/home/tidb/tidb-deploy/tiflash-9001/log) for more detail.\nfailed to start tiflash”}
2023-03-17T16:24:04.682+0800 INFO Execute command finished {“code”: 1, “error”: “failed to start tiflash: failed to start: 10.33.188.142 tiflash-9001.service, please check the instance’s log(/home/tidb/tidb-deploy/tiflash-9001/log) for more detail.: timed out waiting for port 9001 to be started after 2m0s”, “errorVerbose”: “timed out waiting for port 9001 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:91\ngithub.com/pingcap/tiup/pkg/cluster/spec.PortStarted\n\tgithub.com/pingcap/tiup/pkg/cluster/spec/instance.go:119\ngithub.com/pingcap/tiup/pkg/cluster/spec.(*TiFlashInstance).Ready\n\tgithub.com/pingcap/tiup/pkg/cluster/spec/tiflash.go:805\ngithub.com/pingcap/tiup/pkg/cluster/operation.startInstance\n\tgithub.com/pingcap/tiup/pkg/cluster/operation/action.go:405\ngithub.com/pingcap/tiup/pkg/cluster/operation.StartComponent.func1\n\tgithub.com/pingcap/tiup/pkg/cluster/operation/action.go:534\ngolang.org/x/sync/errgroup.(*Group).Go.func1\n\tgolang.org/x/sync@v0.0.0-20220819030929-7fc1605a5dde/errgroup/errgroup.go:75\nruntime.goexit\n\truntime/asm_amd64.s:1594\nfailed to start: 10.33.188.142 tiflash-9001.service, please check the instance’s log(/home/tidb/tidb-deploy/tiflash-9001/log) for more detail.\nfailed to start tiflash”}

| username: tidb菜鸟一只 | Original post link

What error is reported in /home/tidb/tidb-deploy/tiflash-9001/log?

| username: TiDBer_hdzmrhjX | Original post link

The image you provided is not visible. Please provide the text you need translated.

| username: TiDBer_hdzmrhjX | Original post link

The log file is empty.

| username: Ming | Original post link

First, check the corresponding host to see if there is a port conflict.

| username: Ming | Original post link

Go to the corresponding scripts and manually start them to see if there are any errors.

| username: TiDBer_hdzmrhjX | Original post link

Switching to a different version worked, changed from 6.6 to 6.1.1.

| username: jansu-dev | Original post link

It’s not necessarily the version’s fault~