This article specifies the troubleshooting steps involved in addressing commit failures due to IDP.
Commit fails with the error:
[edit security idp] "Please install the latest detector"
Commit might fail with an error similar to the following:
/var/db/idpd/sec-download/detector-capabilities.xml:4637: parser error : Premature end of data in tag Contexts line 382 <Parent>N ^ /var/db/idpd/sec-download/detector-capabilities.xml:4637: parser error : Premature end of data in tag DetectorCapabilities line 2 <Parent>N ^ <xnm:error xmlns="http://xml.juniper.net/xnm/1.1/xnm" xmlns:xnm="http://xml.juni per.net/xnm/1.1/xnm"><source-daemon>idpd<edit-path>[edit security]<statement>idp<message>Please install the latest detectorerror: configuration check-out failed
The problem occurs when the IDP database is missing or the detector-capabilities.xml file is corrupt.
detector-capabilities.xml
> show security idp security-package-version Attack database version:2453(Mon Dec 22 19:12:59 2014 UTC) Detector version :12.6.160140822 Policy template version :2453
> request security idp security-package download full-update
> request security idp security-package install
/var/db/idpd/sec-download/