I have 3 FreePBX servers that have throw this error. I have made no major changes to any of them, I keep them up to date with YUM update and Module Admin weekly.
Server Version: FreePBX 13.0.197.23
On the server command line they all periodically show:
“Broadcast message from [email protected] (Tue Jul 21 11:15:09 2020)
Firewall service now starting.”
On the firewall status page I get red error boxes with the error: “Firewall is not running! File:/var/www/html/admin/modules/firewall/Attacks.class.php:17”
/tmp/firewall.err is full of this entry: “iptables: No chain/target/match by that name.”
/tmp/firewall.log shows (I don’t use PBXact not sure why its complaining about a licence):
"PHP Fatal error: Uncaught exception ‘Exception’ with message ‘Firewall is not running!’ in /var/www/html/admin/modules/firewall/Attacks.class.php:17
Stack trace:
#0 phar:///var/www/html/admin/modules/firewall/hooks/voipfirewalld/firewall.php(557): FreePBX\modules\Firewall\Attacks->__construct(1000)
#1 phar:///var/www/html/admin/modules/firewall/hooks/voipfirewalld/firewall.php(225): updateFirewallRules(true)
#2 /var/www/html/admin/modules/firewall/hooks/voipfirewalld(3): include(‘phar:///var/www…’)
#3 {main}
thrown in /var/www/html/admin/modules/firewall/Attacks.class.php on line 17
1595352620: Monitoring parent (voipfirewalld) died. Shutting down!
PHP Warning: No license for this product (PBXact) - make sure zend_loader.license_path is properly configured in your ini file! in /usr/lib/sysadmin/licensed.php on line 0
PHP Warning: License check failed! in /usr/lib/sysadmin/licensed.php on line 0
Starting firewall.
1595353510: Wall: 'Firewall service now starting.
’ returned 0
FATAL: Module ip_conntrack_ftp not found.
FATAL: Module nf_conntrack_ftp not found.
FATAL: Module ip_conntrack_tftp not found.
FATAL: Module nf_conntrack_tftp not found."
/var/log/messages: “Jul 21 11:30:09 x php: Wall: ‘Firewall service now starting.#012#012’ returned 0”
I have tried:
fwconsole chown ; fwconsole stop ; fwconsole start;
fwconsole ma downloadinstall firewall
I have used the module admin page to uninstall/re-install the firewall module.
Any Ideas on what I should try next?