After the server restarts, TiDB is not working

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

Original topic: 服务器重启后,tidb不能用了

| username: TiDBer_RMP0duNn

We used 4 servers to form a cluster, and it has been running successfully for a while. After restarting this time, it prompts that tiup cannot be found when starting again.

| username: forever | Original post link

  1. Did you use the wrong machine?
  2. Check if there are any tiup entries in the environment variables.
  3. Check if the /root/.tiup directory exists.
| username: Kongdom | Original post link

Did you forget to switch users? Generally, you need to switch to the tidb user to execute.

| username: alfred | Original post link

Check if the tiup file is missing?

| username: 近墨者zyl | Original post link

Confirm whether the error reported by tiup is from the control machine.

| username: gary | Original post link

Find the location of tiup, locate the directory path and try running it directly.

| username: 近墨者zyl | Original post link

Is tiup available now?