IBM Support

QRadar: Dual stack configured appliances can experience upgrade pretest or rules issues (APAR IJ32638 & IJ32591)



QRadar upgrades or pretests can fail in environments or the appliance might incorrect trigger rules where dual stack networks are configured. The pretest utility fails on appliances configured with dual stack as ip6tables and iptables are disabled due to an incorrect symbolic link. This can also lead to issues where rules are incorrect generated as iptables and ipv6tables symbolic links are broken. This technical note includes a support utility to assist administrators with APAR IJ32638 and APAR IJ32591 to resolve the issue.


  • A pretest error message as described in APAR IJ32638 might be visible in /var/log/setup-<version>/patches.log when this issue occurs:
    [ERROR](-i-testmode) Patching can not continue Patch Report for (ip_address), appliance type: 1699 
    Patch pretest 'Check for invalid iptables rules' failed. ( (hostname) : 
    patch test failed. An error was encountered attempting to process patches.
  • Administrators who customize iptables or ipv6tables rules can also experience issues where the rules are not applied successfully as described in APAR IJ32591.


The patch pretest error is displayed when the upgrade cannot confirm iptables is properly configured on appliances that use dual stack networking. This symbolic link error can also cause accept and reject customizations to iptables or ipv6tables to not function as expected until the attached support utility is run.


This issue affects all appliance versions where dual stack (IPv4 and IPv6) networks are configured on a single appliance.

Resolving The Problem

Before you begin
  • Administrators must have root access to appliances that are configured with dual stack (IPv4 and IPv6 network configurations).
  • If you unsure if you are experiencing APAR IJ32638 or APAR IJ32591 and require assistance with this utility, contact QRadar Support.
The utility resets iptables rules, creates a back up of the configuration files in /root/keep directory and creates a new symbolic link between /bin/true to /opt/qradar/bin/  The original ipv6tables and iptables configuration is backed up by the utility to the /root/keep/ directory.
  1. Download the utility attached to this technical note: fix_dual_stack_iptables.tgz.
  2. Use an SCP client to transfer the utility to /storetmp on the Console.
  3. Log in to the Console as a root user.
  4. If the issue is not on the Console, use SCP to transfer the utility to /storetmp on the appliance with dual stack networking configured.
  5. Navigate to the /storetmp directory.
  6. To extract the utility, run the command:
    tar -zxvf fix_dual_stack_iptables.tgz
  7. To set permissions on the file, type:
    chmod +x
  8. To run the utility, type:
  9. To verify the symbolic link is created, type the following command:
    ls -l /opt/qradar/bin/
    The output displays the symlink between /opt/qradar/bin/ and /bin/true, then the procedure is complete.
    /opt/qradar/bin/ -> /bin/true

    Administrators confirm iptabes updates or run the installer pretest to confirm the issue is resolved. Optionally, you can review for any custom iptables or ipv6iptables configurations that need to be restored from the configuration files backed up in the /root/keep directory. If you continue to experience iptables or ipv6tables errors on the appliance, contact QRadar Support.

Document Location


[{"Type":"MASTER","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"},"ARM Category":[{"code":"a8m0z000000cwtdAAA","label":"Upgrade"}],"ARM Case Number":"","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"All Versions"}]

Document Information

Modified date:
06 July 2021