After installing TiDB, the message continuously reports an error running run_node_exporter.sh: cpuinfo_cur_freq: permission denied

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

Original topic: TIDB安装后message持续报错运行run_node_exporter.sh cpuinfo_cur_freq: permission denied

| username: TiDBer_DK

【TiDB Usage Environment】Production Environment
【TiDB Version】v4.0.0
【Phenomenon】: All node statuses are running normally, but there are errors reported in the log.
【Problem Encountered】After installation, the message continuously reports errors as follows:


topology.yaml (462 bytes)

| username: Raymond | Original post link

This is to check the CPU’s operating mode. Please manually execute this command as a TiDB user to see if you have the necessary permissions.

| username: TiDBer_DK | Original post link

Hello, I previously suspected an issue with the permissions of cpuinfo_cur_freq. The tidb user indeed did not have read permissions, so I changed the permissions of the cpuinfo_cur_freq file to 755. However, the same error continues to occur.

| username: Raymond | Original post link

Configure the tidb user with sudo, then restart the node_exporter process to see the effect.

| username: system | Original post link

This topic will be automatically closed 60 days after the last reply. No new replies are allowed.