• 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

Firewall error when applying changes

MacKlaus

New Pleskian
Hi there!

I have the latest Plesk (with all updates) and a fresh install. I want to block the SSH server with the firewall.
When applying the changed configuration the following error appears:

Error: Could not activate firewall configuration
safeact: /opt/psa/var/modules/firewall/firewall-active.sh: The script is not owned by root

Well I'm the admin of the server, why can't I make Firewall changes??
Thanks a lot for help!
Klaus
 
What do you get when you run:

Code:
ls -l /opt/psa/var/modules/firewall/firewall-active.sh
 
What do you get when you run:

Code:
ls -l /opt/psa/var/modules/firewall/firewall-active.sh

Hi, I get the same error, here is my output of your command
Code:
root@server:/# ls -l /opt/psa/var/modules/firewall/firewall-active.sh
-rwx------ 1 psaadm psaadm 3244 Nov 23  2010 /opt/psa/var/modules/firewall/firewall-active.sh
 
This solved the issue for me:
Code:
chown root:psaadm /opt/psa/var/modules/firewall/firewall-active.sh

You could also go with root:root since it is chmod -rwx------ anyways.
 
Should be owned by root with root group...

chown root:root /opt/psa/var/modules/firewall/firewall-active.sh

according to my system anyway.
Hope it helps

EDIT: Oh you got it anyway, good good.
 
Back
Top