Why firewalld service fails with "ERROR: Command_Failed" message
Issue
- firewalld service fails with
WARNING: '/usr/sbin/iptables-restore -n' failedandERROR: Command_Failedmessages - Logging onto the machine using
sshis impossible (No route to hostmessage is returned)
[root@rhel ~]# systemctl status firewalld
Loaded: loaded (/usr/lib/systemd/system/firewalld.service; enabled; vendor preset: enabled)
Active: inactive (dead) since Mon 2017-02-27 12:09:17 EST; 1 day 1h ago
Docs: man:firewalld(1)
Process: 26934 ExecStart=/usr/sbin/firewalld --nofork --nopid $FIREWALLD_ARGS (code=exited, status=0/SUCCESS)
Main PID: 26934 (code=exited, status=0/SUCCESS
Feb 27 12:05:04 example.com firewalld[26934]: WARNING: '/usr/sbin/iptables-restore -n' failed: <====
Feb 27 12:05:04 example.com firewalld[26934]: WARNING: '/usr/sbin/ip6tables-restore -n' failed: <===
Feb 27 12:05:04 example.com firewalld[26934]: ERROR: COMMAND_FAILED <====
Environment
- Red Hat Enterprise Linux (RHEL) 7.3
Firewalld
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
