LIBJNX_SNMP_ENGINE_FILE_FAILURE
A Junos OS process could not perform the indicated operation on the indicated SNMP engine data file.
LIBJNX is a process that calls routines in the Libjuniper library, which includes routines for creating and managing child processes, parsing machine and interface addresses, tracing, file I/O, and other functions. RCP (Routing Control Platform) collects information about external destinations and internal topology.
The following example shows a commit synchronize being performed and the LIBJNX_SNMP_ENGINE_FILE_FAILURE error message reported after a change was made to the SNMP part of the configuration.
regress@sys# commit synchronize fpc0: configuration check succeeds fpc1: commit complete LIBJNX_SNMP_ENGINE_FILE_FAILURE: snmp_engine_read: operation: fscanf /var/db/snmp_engine.db: Unknown error: 0 LIBJNX_SNMP_ENGINE_FILE_FAILURE: snmp_engine_read: operation: fscanf /var/db/snmp_engine.db: Unknown error: 0 LIBJNX_SNMP_ENGINE_FILE_FAILURE: snmp_engine_read: operation: fscanf /var/db/snmp_engine.db: Unknown error: 0
The following example error message was seen when SNMP failed to write the “full_snmp_engine_id=<value>” in some previous attempt:
LIBJNX_SNMP_ENGINE_FILE_FAILURE: snmp_engine_read: operation: fscanf /var/db/snmp_engine.db: Unknown error: 0<message>Insufficient memory to create entry for local engine id default</message></xnm:error>
Note: Remember that identical errors are not necessarily the same issue. There can be different reasons for this type of error.
The LIBJNX_SNMP_ENGINE_FILE_FAILURE can be seen from an internal software failure. The error is seen when the SNMP engine data file operation fails. The LIBJNX_SNMP_ENGINE_FILE_FAILURE error can be seen when performing a commit or commit synchronize after changing part of the configuration related to SNMP. The error might also be seen when SNMP failed to write the “full_snmp_engine_id=<value>” in some previous attempt.
Perform these steps to determine the cause and resolve the problem (if any):
1. Collect the show command output to help determine the cause of this message.
Capture the output to a file (in case you have to open a technical support case). To do this, configure each SSH client/terminal emulator to log your session.
show log messages show log snmpd
2. Analyze the show command output. Look for any related events that occurred at, just before, or just after the LIBJNX_SNMP_ENGINE_FILE_FAILURE message.
Review the show log snmpd logs output for snmpd traps that have been queued to be transmitted later. They may be queued because the system is not completely initialized, a route does not exist, or traps are being throttled.