Unable to enable Plesk-Firewall rules: The firewall rules management has not been enabled, firewall-active.sh: No such file or directory

Created:

2017-03-10 20:53:39 UTC

Modified:

2017-08-08 13:45:53 UTC

0

Was this article helpful?


Have more questions?

Submit a request

Unable to enable Plesk-Firewall rules: The firewall rules management has not been enabled, firewall-active.sh: No such file or directory

Symptoms

Unable to enable Plesk-Firewall rules:

The firewall rules management has not been enabled

The following error appears in /var/log/plesk/panel.log:

# ll /usr/local/psa/var/modules/firewall/firewall-active.sh
ls: cannot access /usr/local/psa/var/modules/firewall/firewall-active.sh: No such file or directory

Iptables modules are enable on Virtuozzo-node according to article:

# grep IPTABLES_MODULES /etc/sysconfig/iptables-config
IPTABLES_MODULES="ip_conntrack_netbios_ns ip_conntrack ip_conntrack_ftp"
#IPTABLES_MODULES=""
IPTABLES_MODULES_UNLOAD="yes"

Cause

File /usr/local/psa/var/modules/firewall/firewall-active.sh was renamed to firewall-new.sh:

# ll /usr/local/psa/var/modules/firewall/
total 40
-rwx------ 1 root root 542 Aug 26 2015 firewall-emergency.sh <= default one
-rwx------ 1 root root 34805 Mar 10 20:28 firewall-new.sh <= supposed to be firewall-active.sh

Resolution

1. Create a backup of the affected file:

# cp /usr/local/psa/var/modules/firewall/firewall-new.sh ./

2. Rename it:

# mv /usr/local/psa/var/modules/firewall/firewall-new.sh /usr/local/psa/var/modules/firewall/firewall-active.sh
Have more questions? Submit a request
Please sign in to leave a comment.