• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS.

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