Webmin has FirewallD errors INVALID ZONE, etc...

2 posts / 0 new
Last post
#1 Tue, 12/17/2019 - 18:03
Chrisoft

Webmin has FirewallD errors INVALID ZONE, etc...

Hi,

For the moment, I have a problem, FirewallD can't start. It makes some errors. On webmin, it displays "Failed to list zones : Error: INVALID_ZONE"

On SSH command :

systemctl status firewalld -l

Result :

firewalld.service - firewalld - dynamic firewall daemon
Loaded: loaded (/usr/lib/systemd/system/firewalld.service; enabled; vendor preset: enabled)
Active: active (running) since mer. 2019-12-18 00:50:41 CET; 3min 54s ago
Docs: man:firewalld(1)
Main PID: 6945 (firewalld)
CGroup: /system.slice/firewalld.service
           └─6945 /usr/bin/python2 -Es /usr/sbin/firewalld --nofork --nopid
déc. 18 00:50:41 ns3100204 systemd[1]: Starting firewalld - dynamic firewall daemon...
déc. 18 00:50:41 ns3100204 systemd[1]: Started firewalld - dynamic firewall daemon.
déc. 18 00:50:41 ns3100204 firewalld[6945]: ERROR: '/usr/sbin/iptables-restore -w -n' failed: iptables-restore v1.4.21: iptables-restore: unable to initialize table 'security'
Error occurred at line: 11
Try `iptables-restore -h' or 'iptables-restore --help' for more information.
déc. 18 00:50:41 ns3100204 firewalld[6945]: ERROR: '/usr/sbin/ip6tables-restore                                                                                                                                                              -w -n' failed: ip6tables-restore v1.4.21: ip6tables-restore: unable to initialize table 'security'
Error occurred at line: 11
Try `ip6tables-restore -h' or 'ip6tables-restore --help' for more information.
déc. 18 00:50:41 ns3100204 firewalld[6945]: ERROR: '/usr/sbin/iptables-restore -w -n' failed: iptables-restore v1.4.21: iptables-restore: unable to initialize table 'security'
Error occurred at line: 10
Try `iptables-restore -h' or 'iptables-restore --help' for more information.
déc. 18 00:50:41 ns3100204 firewalld[6945]: ERROR: '/usr/sbin/ip6tables-restore -w -n' failed: ip6tables-restore v1.4.21: ip6tables-restore: unable to initialize table 'security'
Error occurred at line: 10
Try `ip6tables-restore -h' or 'ip6tables-restore --help' for more information.
déc. 18 00:50:41 ns3100204 firewalld[6945]: ERROR: COMMAND_FAILED: '/usr/sbin/ip6tables-restore -w -n' failed: ip6tables-restore v1.4.21: ip6tables-restore: unable to initialize table 'security'
Error occurred at line: 10
Try `ip6tables-restore -h' or 'ip6tables-restore --help' for more information.
déc. 18 00:53:04 ns3100204 firewalld[6945]: ERROR: INVALID_ZONE

These errors could explain us what does it happen? How do we fix it?

Regards, Chris.

Wed, 12/18/2019 - 17:14
Chrisoft

Hi,

Okay, I stopped service FirewallD in System / Bootup and Shutdown.

I installed pack iptables.services on System / Software Package Updates. Then I added rules on IPTables. It works.

Let's forget FirewallD! :)

Topic locked