This article explains why the message, 'RPD_KRT_Q_RETRIES: nexthop ADD: No such file or directory' appears in the syslog of SRX5K devices.
'RPD_KRT_Q_RETRIES: nexthop ADD: No such file or directory'
The following syslog message is seen continuously, even after rebooting the device.
rpd[6779]: %DAEMON-3-RPD_KRT_Q_RETRIES: nexthop ADD: No such file or directory rpd[6779]: %DAEMON-3-RPD_KRT_Q_RETRIES: nexthop ADD: No such file or directory rpd[6779]: %DAEMON-3-RPD_KRT_Q_RETRIES: nexthop ADD: No such file or directory rpd[6779]: %DAEMON-3-RPD_KRT_Q_RETRIES: nexthop ADD: No such file or directory rpd[6779]: %DAEMON-3-RPD_KRT_Q_RETRIES: nexthop ADD: No such file or directory rpd[6779]: %DAEMON-3-RPD_KRT_Q_RETRIES: nexthop ADD: No such file or directory rpd[6779]: %DAEMON-3-RPD_KRT_Q_RETRIES: nexthop ADD: No such file or directory rpd[6779]: %DAEMON-3-RPD_KRT_Q_RETRIES: nexthop ADD: No such file or directory
Invalid or wrong next-hop is configured in static route setting.
Example:
fxp0.0 up up inet 172.16.1.1/24
However, from the static route setting:
set static route 192.168.1.0/24 qualified-next-hop 172.16.2.2 interface fxp0
The following error is returned from the show command, and the above syslog outputs continuously.
# run show krt queue Routing table add queue: 0 queued Interface add/delete/change queue: 0 queued Top-priority deletion queue: 0 queued Top-priority change queue: 0 queued Top-priority add queue: 0 queued high priority V4oV6 tcnh delete queue: 0 queued high prioriy anchor gencfg delete queue: 0 queued High-priority multicast add/change: 0 queued Indirect next hop top priority add/change: 0 queued Indirect next hop add/change: 0 queued high prioriy anchor gencfg add-change queue: 0 queued MPLS add queue: 0 queued Indirect next hop delete: 0 queued High-priority deletion queue: 0 queued MPLS change queue: 0 queued High-priority change queue: 0 queued High-priority add queue: 1 queued ADD nhtype Router index 0 (8) error 'ENOENT -- Item not found' kgp '0x5c2a600' Normal-priority indirect next hop queue: 0 queued Normal-priority deletion queue: 0 queued Normal-priority composite next hop deletion queue: 0 queued Low prioriy Statistics-id-group deletion queue: 0 queued Normal-priority change queue: 0 queued Normal-priority add queue: 0 queued Least-priority delete queue: 0 queued Least-priority change queue: 0 queued Least-priority add queue: 0 queued Normal-priority pfe table nexthop queue: 0 queued EVPN gencfg queue: 0 queued Normal-priority gmp queue: 0 queued Routing table delete queue: 0 queued Low priority route retry queue: 0 queued
Use the correct next-hop:
set static route 192.168.1.0/24 qualified-next-hop 172.16.1.2 interface fxp0 commit
Or try to delete the setting:
delete static route 192.168.1.0/24 qualified-next-hop 172.16.2.2 interface fxp0 commit
Then the error will disappear as below, and the syslog will not be logged in the output again.
# run show krt queue Routing table add queue: 0 queued Interface add/delete/change queue: 0 queued Top-priority deletion queue: 0 queued Top-priority change queue: 0 queued Top-priority add queue: 0 queued high priority V4oV6 tcnh delete queue: 0 queued high prioriy anchor gencfg delete queue: 0 queued High-priority multicast add/change: 0 queued Indirect next hop top priority add/change: 0 queued Indirect next hop add/change: 0 queued high prioriy anchor gencfg add-change queue: 0 queued MPLS add queue: 0 queued Indirect next hop delete: 0 queued High-priority deletion queue: 0 queued MPLS change queue: 0 queued High-priority change queue: 0 queued High-priority add queue: 0 queued Normal-priority indirect next hop queue: 0 queued Normal-priority deletion queue: 0 queued Normal-priority composite next hop deletion queue: 0 queued Low prioriy Statistics-id-group deletion queue: 0 queued Normal-priority change queue: 0 queued Normal-priority add queue: 0 queued Least-priority delete queue: 0 queued Least-priority change queue: 0 queued Least-priority add queue: 0 queued Normal-priority pfe table nexthop queue: 0 queued EVPN gencfg queue: 0 queued Normal-priority gmp queue: 0 queued Routing table delete queue: 0 queued Low priority route retry queue: 0 queue