• The APS Catalog has been deprecated and removed from all Plesk Obsidian versions.
    Applications already installed from the APS Catalog will continue working. However, Plesk will no longer provide support for APS applications.
  • Please be aware: with the Plesk Obsidian 18.0.78 release, the support for the ngx_pagespeed.so module will be deprecated and removed from the sw-nginx package.

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