IBM Support

IJ31095: QRADAR PATCHING TO VERSION 7.4.1 OR NEWER CAN FAIL ON MANAGED HOSTS WITH ''ERROR: COULD NOT CREATE UNIQUE INDEX..."

Subscribe to this APAR

By subscribing, you receive periodic emails alerting you to the status of the APAR, along with a link to the fix after it becomes available. You can track this item individually or track all items by product.

Notify me when this APAR changes.

Notify me when an APAR for this component changes.

 

APAR status

  • Closed as program error.

Error description

  • Patching to QRadar 7.4.1 or newer can fail on Managed Hosts due
    to an index that causes an SQL to fail on duplicate data.
    Messages similar to the following might be visible during
    patching when this issue occurs:
    2 SQL script errors were detected; Error applying script
    [26/32]
    '/media/updates/opt/qradar/conf/templates/db_update_250323.ref_s
    et_import1.sql' for Test_qradar database.; details:
    WARNING:  SET TRANSACTION can only be used in transaction blocks
    NOTICE:  index "reference_data_element_unique_rdata1" does not
    exist, skipping
    ERROR:  could not create unique index
    "reference_data_element_unique_rdata1"
    DETAIL:  Key (md5((rdk_id::text || '_'::text) ||
    data))=(af781b7cdfc258bf8698f03aa207f885) is duplicated.Error
    applying script [29/32]
    '/media/updates/opt/qradar/conf/templates/db_update_248240.ref_s
    et_import1.sql' for Test_qradar database.; details:
    WARNING:  SET TRANSACTION can only be used in transaction blocks
    NOTICE:  index "reference_data_element_unique_rdata1" does not
    exist, skipping
    ERROR:  could not create unique index
    "reference_data_element_unique_rdata1"
    DETAIL:  Key (md5((rdk_id::text || '_'::text) ||
    data))=(af781b7cdfc258bf8698f03aa207f885) is duplicated.
    <hostname> :  patch rolled back.
    

Local fix

  • Contact Support for a possible workaround that might address
    this issue in some instances.
    

Problem summary

  • This issue was fixed in QRadar QRM QVM release of 7.4.3.
    

Problem conclusion

  • This issue was fixed in QRadar QRM QVM release of 7.4.3.
    

Temporary fix

Comments

APAR Information

  • APAR number

    IJ31095

  • Reported component name

    QRADAR SOFTWARE

  • Reported component ID

    5725QRDSW

  • Reported release

    741

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2021-03-01

  • Closed date

    2021-05-27

  • Last modified date

    2021-05-27

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

Fix information

  • Fixed component name

    QRADAR SOFTWARE

  • Fixed component ID

    5725QRDSW

Applicable component levels

[{"Line of Business":{"code":"LOB24","label":"Security Software"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSBQAC","label":"IBM Security QRadar SIEM"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"741"}]

Document Information

Modified date:
28 May 2021