Author Topic: Firewall CFS not enable alma8 - al8 (fixed)  (Read 161 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
Firewall CFS not enable alma8 - al8 (fixed)
« on: March 23, 2025, 02:56:13 AM »
Today I had a problem installing a new server with alma8, the firewall was not activating, I managed to solve this using the commands below, I hope this helps


*************
dnf update
sudo dnf install perl-libwww-perl unzip net-tools iptables firewalld perl-CPAN tar nano -y

cd /usr/src
rm -fv csf.tgz
wget https://download.configserver.com/csf.tgz
tar -xzf csf.tgz
cd csf
sh install.sh

#restart CFS

sudo csf -r
************

Offline
***
Re: Firewall CFS not enable alma8 - al8 (fixed)
« Reply #1 on: March 23, 2025, 05:42:15 PM »
Perhaps you check there are a 'install.cwp.sh' script in ./csf directory?

Now, as you did run normal installation script, run 'uninstall.sh' (the normal uninstallation script), and install again, now running 'install.cwp.sh'.

Regards,
Netino

Offline
*
Re: Firewall CFS not enable alma8 - al8 (fixed)
« Reply #2 on: March 24, 2025, 08:07:06 PM »
Quote
Now, as you did run normal installation script, run 'uninstall.sh' (the normal uninstallation script), and install again, now running 'install.cwp.sh'.

Did that and CWP install. CWP is showing the firewall is off but when I run the enable from the panel it says the firewall is already running. Will it still handle the tables?

Offline
*****
Re: Firewall CFS not enable alma8 - al8 (fixed)
« Reply #3 on: March 24, 2025, 09:31:43 PM »
Sometimes the CWP web GUI gets out of sync if you do things behind its back in the CLI. Either reboot the whole server and start CSF from the web GUI, or try stopping in the CLI and then starting it up in the web GUI.

Offline
***
Re: Firewall CFS not enable alma8 - al8 (fixed)
« Reply #4 on: March 25, 2025, 02:45:25 AM »
Did that and CWP install. CWP is showing the firewall is off but when I run the enable from the panel it says the firewall is already running. Will it still handle the tables?

Try to post here the last part of the file /var/log/lfd.log, right after you try to restart csf:
Code: [Select]
tail -50 /var/log/lfd.log

Offline
*
Re: Firewall CFS not enable alma8 - al8 (fixed)
« Reply #5 on: March 26, 2025, 10:14:18 AM »
Not to worry. Seems the system synced up and it working as per spec now.

Thanks for the replies!