• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

Forwarded to devs psa-firewall /usr/local/psa/var/modules/firewall/firewall-active.sh: line 140: [: too many arguments

Paul Hermans

Basic Pleskian
User name: Paul Hermans

TITLE

psa-firewall /usr/local/psa/var/modules/firewall/firewall-active.sh: line 140: [: too many arguments

PRODUCT, VERSION, OPERATING SYSTEM, ARCHITECTURE

Plesk Obsidian Version 18.0.25 Update #2 CentOS Linux 8.1.1911 (Core)

PROBLEM DESCRIPTION

when checking the status of the Plesk firewall you see and error

STEPS TO REPRODUCE

Run the command:
systemctl status psa-firewall.service

ACTUAL RESULT

/usr/local/psa/var/modules/firewall/firewall-active.sh: line 140: [: too many arguments

EXPECTED RESULT

I expect no errors.

ANY ADDITIONAL INFORMATION

# /sbin/ip6tables --version
ip6tables v1.8.2 (nf_tables)

iptables_version=`/sbin/ip6tables --version | awk -F '.' '{print $2$3}'`
iptables_version = 82 (nf_tables)

LINE 140 =
if [ $iptables_version -gt 420 ]; then

YOUR EXPECTATIONS FROM PLESK SERVICE TEAM

Confirm bug
 
Thank you.
Reproduced on CentOS 8.1.1911 x86_64 with Plesk Obsidian.
Bug confirmed: PPP-48294
 
Back
Top