Error When Upgrading TiDB Without Restart Using TiUP

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

Original topic: tiup 不重启升级tidb报错

| username: TI表弟

[Test Environment for TiDB] Testing
[TiDB Version] v5.4.0
[Reproduction Path] Successfully upgraded all core components, but encountered an error when restarting tikv’s node_exporter.
[Issue: Symptoms and Impact]
[Resource Configuration]
[Attachments: Screenshots/Logs/Monitoring]

Error: failed to stop: 10.131.176.240 node_exporter-9100.service, please check the instance's log() for more detail.: timed out waiting for port 9100 to be stopped after 2m0s

Found that the port could not stop on 10.131.176.240.

Please help to check, thanks.

| username: Jiawei | Original post link

You mentioned port occupation yourself. Two directions:

  1. Check the log for detailed issues.
  2. Use netstat -nltp | grep 9100 on 10.131.176.240 to see which service is occupying this port. Release the port and restart the node_exporter service.
| username: Jiawei | Original post link

Then can you stop the old node exporter and manually start the new one?

| username: Jiawei | Original post link

I remember that TiDB’s node_exporter will write a service file. You can manually restart it.

| username: TI表弟 | Original post link

Even after closing everything, it still doesn’t work.

| username: system | Original post link

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