In our environment, there was having issue to use NSM push security update to one pair of Juniper SRX 240. NSM is the only method to get update from Internet and push those updates to SRX. Most of SRX are fine working with NSM. Occasionally pushing from NSM failed with following message:
request security idp load detector /var/db/idpd/nsm-download/libidp-detector.so.gz:
Attack Update took too long, NSM giving up after 303 secs.
Device Status Received by NSM : Done;AI installation failed! Attack DB update failed!
Install application package version 2270 failed.
AI compilation has failed.
After checked device has enough space to hold those updates, we tried following procedures to fix this issue:
To enable trace-options:
# set security idp trace-options file idp-trace size 100M
# set security idp trace-options flag all
# set security idp trace-options level all
# commit
+ Issues the security-package install command:
> request security idp security-package install
Check the status of this command:
> request security idp security-package install status
Once this fails, you can disable the trace-options:
# deactivate security idp trace-options
# commit
+ These logs would be captured in the file /var/log/idp-trace
After update NSM attack database, we tried push again and this time, it is successful:
request security idp security-package install status:
Done;Attack DB update : successful – [UpdateNumber=2272,ExportDate=Wed Jun 12 18:23:00 2013 UTC,Detector=12.6.160130325]
Updating control-plane with new detector : successful
Updating data-plane with new attack or detector : successful
本文详细介绍了在使用NSM推送更新至Juniper SRX设备时遇到的问题,包括错误信息和解决方案。通过启用日志记录、检查设备空间和重新推送更新等步骤,最终成功解决了更新失败的问题。


被折叠的 条评论
为什么被折叠?



