Author Topic: Cannot enable csf  (Read 4772 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
Cannot enable csf
« on: November 03, 2020, 04:31:00 PM »
I have a fresh centos 8 installation with cwp
I am trying to enable csf but it doesn't work.
After
csf -e
there is this error
Code: [Select]
*Error* The path to iptables is either not set or incorrect for IPTABLES [/sbin/ip6tables] 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.

Re: Cannot enable csf
« Reply #1 on: November 03, 2020, 04:38:36 PM »
You probably didn't build your server using the CentOS 8 minimal install i.e. RTFM.
From the server I built over the past two days.. noting that this is being used for WHM/cPanel and therefore may have been modified.
Code: [Select]
[root@vh1 ~]# which iptables
/usr/sbin/iptables
[root@vh1 ~]# ls -la /usr/sbin/iptables
lrwxrwxrwx. 1 root root 17 Jul 21 13:47 /usr/sbin/iptables -> xtables-nft-multi
[root@vh1 ~]# yum install iptables
Last metadata expiration check: 0:41:17 ago on Tue 03 Nov 2020 10:55:06 EST.
Package iptables-1.8.4-10.el8_2.1.x86_64 is already installed.
Dependencies resolved.
Nothing to do.

Comment: WHM/cPanel is still "Edge" and experimental, so unrealistic to think CWP should be anywhere near it, regarding stability. Stick with C7 - CWP is bad enough with the stable release of the OS. There are always those who gotta have the latest shiny thing.  ::)
« Last Edit: November 03, 2020, 04:45:45 PM by cynique »