The SNMPD_FILE_FAILURE message is reported into the system message file whenever the Simple Network Management Protocol (SNMP) agent process (snmpd) could not access the indicated file. This article documents an approach to troubleshoot this problem.
The problem related to this syslog message is described in the following sections:
The SNMPD_FILE_FAILURE message is logged whenever the snmpd process is not able to access a file.
When the SNMPD_FILE_FAILURE event occurs, a message similar to the following is reported:
SNMPD_FILE_FAILURE: <function-name>: fopen <filename>: <error-message>
The message will specify the function that called the file command, the filename that the function attempted to open and the resulting error message.
The cause of this message could be a hardware failure or an internal software failure.
Examine the following output to help determine the cause of this message:
show log messages
Look for any related events that occurred at or just before the SNMPD_FILE_FAILURE message. Messages showing hardware failures indicate that the cause of the SNMPD_FILE_FAILURE message is likely due to a hardware failure. If no such messages appear, look for other events that may have contributed to this error.
Perform these steps:
- If the messages are due to a hardware failure, open a case with your technical support representative to resolve the hardware failure.
- Try restarting the snmpd process with the command: restart snmpd. This command is not traffic impacting. For more information on restarting a process, refer to Restart a Junos Software Process.