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

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

Original topic: v8.1.0 启动tiflash失败一直报Error: failed to start tiflash: failed to start: tiflash-9000.service, please check the instance’s log(/tidb-deploy/tiflash-9000/log) for more detail.: timed out waiting for port 3930 to be started after 2m0s

| username: TiDBer_Q8sRmU9E

[TiDB Usage Environment] Production Environment / Testing / PoC
[TiDB Version] v8.1.0
[Reproduction Path] Installed according to the official website
[Encountered Issues: Problem Phenomenon and Impact] Constantly reporting 3930 timeout, but the firewall is actually turned off and all ports are open
[Resource Configuration] Go to TiDB Dashboard - Cluster Info - Hosts and take a screenshot of this page
[Attachments: Screenshots/Logs/Monitoring]

| username: TiDBer_Q8sRmU9E | Original post link

No usage, server configuration 8+16

| username: hey-hoho | Original post link

Check the TiFlash logs to see what errors are reported.

| username: TIDB-Learner | Original post link

The error seems to be related to network or file permissions.
Specific situations require specific analysis.
Let me share the situation I encountered yesterday. When deploying ticdc + kafka, all ports between the servers were open, and the firewall was also turned off. There was no problem with the telnet port…
Later, I added the IP and hostname of each server in /etc/hosts. After handling it this way, there were no more errors. I don’t know if this solution is applicable to your situation.

| username: zhaokede | Original post link

Please check the instance’s log (/tidb-deploy/tiflash-9000/log) for more details.
Is there more detailed information in this log file?
The network whitelist should still be added, including trusted ones.

| username: tidb狂热爱好者 | Original post link

Try restarting; it seems the port is being occupied.

| username: TiDBer_Q8sRmU9E | Original post link

There is no port occupation, I have checked it all the time, but it just can’t start. I have installed it five or six times. Can I use it directly without installing TiFlash?

| username: TiDBer_Q8sRmU9E | Original post link

I don’t know. It’s my first time installing this, and I can’t get past this 3930 port. It’s actually not being used.

| username: TiDBer_Q8sRmU9E | Original post link

There are no logs. Today, I didn’t install TiFlash to see if it can be used.

| username: TiDBer_Q8sRmU9E | Original post link

I’ll try installing it again today.

| username: TiDBer_Q8sRmU9E | Original post link

Do we have a group on WeChat or QQ, bro?

| username: TiDBer_Q8sRmU9E | Original post link

Do we have a group on WeChat or QQ, bro?

| username: lemonade010 | Original post link

Manually start it and check the logs, then see if there are any related logs under /VAR/log/message.

| username: TiDBer_Q8sRmU9E | Original post link

The import tool DM reports an error here: “level=error msg=‘unable to initialize gossip mesh’ err=‘create memberlist: Could not set up network transport: failed to obtain an address: Failed to start TCP listener on ‘65.2.82.176’ port 9094: listen tcp ip:9094: bind: cannot assign requested address’”. These two ports are not occupied, but it just won’t start.

| username: TiDBer_Q8sRmU9E | Original post link

9093/9094 These two,

| username: zhanggame1 | Original post link

There’s no need to install TiFlash; it’s generally not useful.

| username: zhanggame1 | Original post link

Check if there are any errors by running systemctl status tiflash-9000.

| username: TiDBer_Q8sRmU9E | Original post link

Then let’s not have this.

| username: TiDBer_Q8sRmU9E | Original post link

Now this import tool DM also has this kind of error, but in fact, the port is not occupied.

| username: 小于同学 | Original post link

What error does the log report?