Author Topic: Firewall does not get enabled in CentOS8 install of CWP  (Read 7310 times)

0 Members and 3 Guests are viewing this topic.

Offline
*
Firewall does not get enabled in CentOS8 install of CWP
« on: August 27, 2021, 01:48:11 AM »
I have installed CWP on CentOS8. The firewall is not getting enabled.
When i run the commands to enable from the terminal, i get below errors.
 
Code: [Select]
[root@server ~]# csf -x; csf -e
*Error* The path to iptables is either not set or incorrect for IPTABLES [/sbin/iptables] in /etc/csf/csf.conf at /usr/local/csf/lib/ConfigServer/URLGet.pm line 26.
Compilation failed in require at /sbin/csf line 21.
BEGIN failed--compilation aborted at /sbin/csf line 21.
*Error* The path to iptables is either not set or incorrect for IPTABLES [/sbin/iptables] in /etc/csf/csf.conf at /usr/local/csf/lib/ConfigServer/URLGet.pm line 26.
Compilation failed in require at /sbin/csf line 21.
BEGIN failed--compilation aborted at /sbin/csf line 21.
Any idea on how to fix them?
Cheers
Ravi Kumar

Offline
*
VPS & Dedicated server provider with included FREE Managed support for CWP.
http://www.studio4host.com/

*** Don't allow that your server or website is down, choose hosting provider with included expert managed support for your CWP.

Offline
*
Re: Firewall does not get enabled in CentOS8 install of CWP
« Reply #2 on: November 23, 2021, 01:20:37 PM »
I have installed CWP on CentOS8. The firewall is not getting enabled.

It's because iptables isn't installed.

Just run this command:

Code: [Select]
yum install iptables

Offline
*
Re: Firewall does not get enabled in CentOS8 install of CWP
« Reply #3 on: March 07, 2025, 03:07:29 PM »
I've installed iptables, and firewall wont enable
Stephen Dove

Offline
***
Re: Firewall does not get enabled in CentOS8 install of CWP
« Reply #4 on: March 07, 2025, 05:44:59 PM »
Do you get some errors ?

Offline
*****
Re: Firewall does not get enabled in CentOS8 install of CWP
« Reply #5 on: March 07, 2025, 09:20:42 PM »
You will with CentOS 8 Stream. Better to ELevate to AlmaLinux or start fresh with AlmaLinux 8 or 9.

Offline
*****
Re: Firewall does not get enabled in CentOS8 install of CWP
« Reply #6 on: March 09, 2025, 07:15:33 AM »
What does line 21 and 26 say in /etc/csf/csf.conf?

CentOS 8 EOL happened long ago.
It's dead.

You want to run either AlmaLinux 8 or 9 for CWP.