Error: failed to start tikv: failed to start: 10.88.76.146 tikv-20160.service, please check the instance's log(/tidb-deploy/tikv-20160/log) for more detail.: timed out waiting for port 20160 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 tikv: failed to start: 10.88.76.146 tikv-20160.service, please check the instance’s log(/tidb-deploy/tikv-20160/log) for more detail.: timed out waiting for port 20160 to be started after 2m0s

| username: 会飞的企鹅

[TiDB Usage Environment] Production Environment / Testing / Poc
[TiDB Version]
[Reproduction Path] First time installing the cluster, the following error occurred after running the command tiup cluster start tidb-test --init
[Encountered Problem: Problem Phenomenon and Impact]
[Resource Configuration]
[Attachments: Screenshots/Logs/Monitoring]


This is a log screenshot

tikv.log (58.8 MB)

| username: Billmay表妹 | Original post link

Check if it might be a permissions issue:

| username: jackerzhou | Original post link

  1. Check if there is a port conflict on the TiKV error node.
  2. Check and disable the host’s firewall.
| username: tidb狂热爱好者 | Original post link

The firewall is not turned off.

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

systemctl stop firewalld
systemctl disable firewalld

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

144 can’t connect to 143’s 2379 port, try manually using telnet to check.

| username: 会飞的企鹅 | Original post link

Thank you all for your comments. The issue has been resolved. It was indeed caused by not turning off the firewall.

| username: system | Original post link

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.