Error: failed to start TiFlash: failed to start: 192.168.9.15 tiflash-9000.service, please check the instance's log (/opt/TiDB/tidb-deploy/tiflash-9000/log) for more details.: timed out waiting for port 9000 to be started after 2m0s

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

Original topic: Error: failed to start tiflash: failed to start: 192.168.9.15 tiflash-9000.service, please check the instance’s log(/opt/TiDB/tidb-deploy/tiflash-9000/log) for more detail.: timed out waiting for port 9000 to be started after 2m0s

| username: TiDBer_3fQD16HM

[TiDB Usage Environment] Test
[TiDB Version] v6.6.0
[Reproduction Path] tiup cluster deploy tidb-test v6.6.0 ./topo.yaml --user root -p
[Encountered Issue: Problem Phenomenon and Impact] Error when starting the cluster, how to resolve it?
[Resource Configuration] 8 cores, 16GB, CentOS 7.9
[Attachments: Screenshots/Logs/Monitoring]

tiflash_error.log (78.9 KB)
tiflash.log (360.9 KB)
tiflash_stderr.log (9.7 KB)
tiflash_tikv.log (1.6 MB)

| username: CuteRay | Original post link

Could you please share the topology file of the cluster deployment? The error you encountered is related to port startup timeout. It is recommended to check whether the firewall on the machine is disabled and whether the port is occupied.

| username: caiyfc | Original post link

Check the operating system logs on the corresponding IP; the reason for the startup failure will be there.

| username: TiDBer_3fQD16HM | Original post link

The default value of tidb_dml_batch_size is 2000.

| username: TiDBer_3fQD16HM | Original post link

Do I have to turn off the firewall? Can’t I just open the ports?

| username: caiyfc | Original post link

You can open the port and ensure that the port can communicate normally.