What Do I Do If Log Flush Fails?
Ascend EP Standard Form
If device-side system logs fail to be exported through the msnpureport tool:
Perform the following steps:
- Run the related command to view the printed information, for fault locating and problem solving.
If the fault persists, go to 2.
- Run the following command on the host to check whether the drive space of the log storage path (path where the msnpureport tool is running) on the host is full:
df -h
- If the fault persists: After obtaining the logs, click here to contact technical support.
If the flush of app logs fails:
Check whether the app logs (including the plog logs in the $HOME/ascend/log/ directory and the device-id logs) are flushed properly. If no, perform the following steps:
- Check whether there is any error log file in the host-side directory /var/log/messages.AArch64 architecture:
cat /var/log/messages
x86_64 architecture:
cat /var/log/syslog
If the fault persists, go to 2.
- Run the following command on the host to check whether the space of the log flush directory ($HOME/ascend/log/) is sufficient:
df -h
If the fault persists, go to 3.
- On the host, use the msnpureport tool to export device-side system logs and check whether there are any error logs.
- If the fault persists: After obtaining the logs, click here to contact technical support.
Ascend RC Form
If the flush of app logs fails:
Perform the following steps:
- Check whether the dynamic library on which the app process depends is correct:
ldd xxx
Replace xxx with the binary's process.
- Check whether the space of the log flush directory /var/log/npu/slog is sufficient:
df -h
- Check whether the slogd process exists.
- If the fault persists but app logs are not flushed to drives, rectify the fault by referring to Restarting Log Processes.
If flush of the system logs fails:
Perform the following steps:
- Check whether the slogd and sklogd processes exist:
- Check whether the space of the log flush directory /var/log/npu/slog is sufficient:
df -h
- If the fault persists but system logs are not flushed to drives, rectify the fault by referring to Restarting Log Processes.
Parent topic: FAQs