IBM Support

QRadar: Troubleshooting iptables issues

Troubleshooting


Problem

Errors in the iptables and ip6tables service might lead to issues such as adding managed hosts, applications not starting, or working as expected, deploy changes timing out, and patches failing after the pretests run.
This article guides administrators through identifying and resolving common issues in the iptables service in QRadar®. 

Symptom

The symptoms vary depending on the process where the iptables service is called. Common symptoms are:
  • The xtables.lock is present.
    Note: However, this file can interfere with other services, but the message is the same.
     
iptables.init[28455]: Another app is currently holding the xtables lock; still 1s 0us time ahead to have a chance to grab the lock...
iptables.init[28455]: Another app is currently holding the xtables lock. Perhaps you want to use the -w option?
iptables.init[28455]: [FAILED]
systemd[1]: iptables.service: main process exited, code=exited, status=1/FAILURE
  • Bad syntax in the iptables files.
Job for iptables.service failed because the control process exited with error code. See "systemctl status iptables.service" and "journalctl -xe" for details.

iptables.init[17589]: iptables: Applying firewall rules: iptables-restore: line 114 failed
iptables.init[17589]: [FAILED]
  • QRadar® patch reports the error:
 [INFO](testmode) Running pretest 10/11: Check for invalid iptables rules
Unexpected error occurred while running /opt/qradar/bin/iptables_update.pl.
[ERROR](testmode) Patch pretest 'Check for invalid iptables rules' failed. (check_iptables_rules.sh)
[ERROR](testmode) Failed 1/11 pretests. Aborting the patch.
[ERROR](testmode) Failed pretests
[ERROR](testmode) Pre Patch Testing shows a configuration issue. Patching this host cannot continue.

Document Location

Worldwide

[{"Type":"SW","Line of Business":{"code":"LOB77","label":"Automation Platform"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSBQAC","label":"IBM Security QRadar SIEM"},"ARM Category":[{"code":"a8m0z000000cwtNAAQ","label":"Deployment"}],"ARM Case Number":"","Platform":[{"code":"PF016","label":"Linux"}],"Version":"All Version(s)"}]

Log InLog in to view more of this document

This document has the abstract of a technical article that is available to authorized users once you have logged on. Please use Log in button above to access the full document. After log in, if you do not have the right authorization for this document, there will be instructions on what to do next.

Document Information

Modified date:
24 May 2021

UID

ibm16453981