This article describes IDP security package installation failure in an SRX cluster setup, and the procedure to resolve it.
Two SRX 3600 series devices in a cluster setup having a problem with IDP security package installation
> request security idp security-package install status Done;AI installation failed! exit...! idp trace options: May 31 13:44:49 Waiting for AI result May 31 13:44:59 Waiting for AI result May 31 13:45:09 Waiting for AI result May 31 13:45:19 Waiting for AI result May 31 13:45:29 Waiting for AI result May 31 13:45:39 AI installation failed due to xcommit error. May 31 13:45:39 [set_secupdate_cb_status] state change from 0x108 to 0x110 May 31 13:45:39 [set_secupdate_cb_process_status] state change from 0x110 to 0x310 May 31 13:45:39 [get_secupdate_cb_status] state = 0x310 May 31 13:45:39 Got signal SIGCHLD.... srx-node0> show security idp security-package-version node0: -------------------------------------------------------------------------- Attack database version:1732(Mon Jul 19 12:44:15 2010) Detector version :10.4.140100525 Policy template version :N/A node1: -------------------------------------------------------------------------- Attack database version:N/A(N/A) Detector version :10.4.140100525 Policy template version :N/A {primary:node0} srx-node0> % pwd /var/db/idpd/sec-download % ls -ltr total 40200 drwxr-xr-x 2 root wheel 512 Dec 13 15:56 sub-download -rw-r----- 1 root wheel 423 May 29 09:01 platforms.xml -rw-r----- 1 root wheel 1430160 May 29 09:01 libidp-detector.so.tgz.v -rw-r----- 1 root wheel 4045223 May 29 09:01 groups.xml -rw-r----- 1 root wheel 678919 May 29 09:01 applications.xml -rw-r----- 1 root wheel 14333720 May 29 09:01 SignatureUpdate.xml
When the security package installation error "AI installation failed due to xcommit error" is received, check /var/db/appid/sec-download/mgdxcommit.txt for the root cause. It may be one of the following:
/var/db/appid/sec-download/mgdxcommit.txt
Note: In some cases, the file mgdxcommit.txt may not get generated at this location. However, the solution below still applies for the issue.
mgdxcommit.txt
Solution for the above causes
install
request services application-identification uninstall
delete services application-identification
request security idp security-package install
request services application-identification download
In an SRX cluster setup, there is another reason for the occurrence of " AI installation failed due to xcommit error ."
In a cluster setup that is running older versions (earlier than 12.1):
/var/db/idpd/sec-download/
In cluster setups that are running 12.1 and later versions:
"request security idp security-package install status"
2018-05-15: Added step 4: For versions 12.1 and later, download application-identification separately by using request services application-identification download (hidden command) and then install IDP. Made other minor modifications for readability and clarity