• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

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