Ascend DMI Function Is Unavailable Due to Incorrect Log Permission

Symptom

The error message "The log is abnormal" is displayed when Ascend DMI is used. Check the log status.

Figure 1 Error message

Possible Causes

The permission or owner group of the log file or directory does not meet the requirements.

Solution

The log path of the root user is /var/log/ascend-dmi.

The log path of a non-root user is ~/var/log/ascend-dmi.

Change the permission on the log files in the path to 600.

The root user is used as an example here.

chmod 600 /var/log/ascend-dmi/ascend-dmi-operation.log
chmod 600 /var/log/ascend-dmi/ascend-dmi.log