The 4000 port fails to start when launching TiDB

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

Original topic: 在启动TIDB的时候 4000端口无法起来

| username: TiDBer_VtkBZH6I

【TiDB Usage Environment】Production Environment / Testing / PoC
Testing environment, first-time installation.
【TiDB Version】
v5.0.1, installed via tiup.
【Reproduction Path】Operations performed that led to the issue
Before installation, some machines had the timezone set to Asia/Beijing, and some to Asia/Shanghai. The check passed, and the installation was normal, but TiDB failed to start.
【Encountered Issue: Symptoms and Impact】
Port 4000 failed to start, and the logs reported errors.
【Resource Configuration】
【Attachments: Screenshots/Logs/Monitoring】




image

| username: Jiawei | Original post link

You can first use tiup check to identify risk points, and then fix them.

| username: TiDBer_VtkBZH6I | Original post link

What are the specific steps? Should we stop the cluster first, then check and repair it?

| username: Jiawei | Original post link

You can refer to 使用 TiUP 部署 TiDB 集群 | PingCAP 文档中心

| username: TiDBer_VtkBZH6I | Original post link

I have executed check and apple, and it prompts that it already exists.
image
Unable to repair. Is there a place to modify the timezone in the TiDB configuration file? Because after installation, it prompts that the timezone does not match, and some nodes should have the timezone fixed. Now, even after changing the timezone to the correct one, it still prompts like this. Can I directly modify the configuration file if it exists? If it doesn’t exist, does it mean I can only destroy the cluster and recreate it? Currently, the cluster has been destroyed and redeployed.

| username: system | Original post link

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