The path to iptables is either not set or incorrect for IPTABLES [/sbin/iptables] in /etc/csf/csf.conf
Been having some issues with CSF causing high ping and timeouts, decided to reinstall ipset but now I am faced with this error message.
What is the fix? What does csf need to run
[root@cpanel1 log]# yum remove ipset
This system is receiving updates from CloudLinux Network server.
Dependencies resolved.
================================================================================
Package Arch Version Repository Size
================================================================================
Removing:
ipset x86_64 7.1-1.el8 @anaconda 63 k
Removing dependent packages:
firewalld noarch 0.9.3-13.el8 @anaconda 2.0 M
Removing unused dependencies:
firewalld-filesystem noarch 0.9.3-13.el8 @anaconda 239
ipset-libs x86_64 7.1-1.el8 @anaconda 217 k
iptables x86_64 1.8.4-24.el8 @baseos 1.9 M
iptables-ebtables x86_64 1.8.4-24.el8 @baseos 14 k
iptables-libs x86_64 1.8.4-24.el8 @baseos 198 k
libnetfilter_conntrack x86_64 1.0.6-5.el8 @anaconda 161 k
libnfnetlink x86_64 1.0.1-13.el8 @anaconda 51 k
libnftnl x86_64 1.1.5-5.el8 @anaconda 217 k
nftables x86_64 1:0.9.3-26.el8 @anaconda 826 k
python3-decorator noarch 4.2.1-2.el8 @anaconda 47 k
python3-firewall noarch 0.9.3-13.el8 @anaconda 2.0 M
python3-nftables x86_64 1:0.9.3-26.el8 @anaconda 28 k
python3-slip noarch 0.6.4-13.el8 @anaconda 60 k
python3-slip-dbus noarch 0.6.4-13.el8 @anaconda 70 k
Transaction Summary
================================================================================
Remove 16 Packages
Freed space: 7.8 M
Is this ok [y/N]: y
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
Preparing : 1/1
Running scriptlet: firewalld-0.9.3-13.el8.noarch 1/1
Running scriptlet: firewalld-0.9.3-13.el8.noarch 1/16
Erasing : firewalld-0.9.3-13.el8.noarch 1/16
Running scriptlet: firewalld-0.9.3-13.el8.noarch 1/16
Erasing : python3-firewall-0.9.3-13.el8.noarch 2/16
Running scriptlet: ipset-7.1-1.el8.x86_64 3/16
Current iptables configuration requires ipsets
error: %preun(ipset-7.1-1.el8.x86_64) scriptlet failed, exit status 1
Erasing : python3-slip-dbus-0.6.4-13.el8.noarch 4/16
error: ipset-7.1-1.el8.x86_64: erase failed
Erasing : python3-nftables-1:0.9.3-26.el8.x86_64 5/16
Running scriptlet: iptables-ebtables-1.8.4-24.el8.x86_64 6/16
Erasing : iptables-ebtables-1.8.4-24.el8.x86_64 6/16
Running scriptlet: iptables-ebtables-1.8.4-24.el8.x86_64 6/16
Erasing : python3-decorator-4.2.1-2.el8.noarch 7/16
Erasing : python3-slip-0.6.4-13.el8.noarch 8/16
Erasing : firewalld-filesystem-0.9.3-13.el8.noarch 9/16
Erasing : iptables-1.8.4-24.el8.x86_64 10/16
Running scriptlet: iptables-1.8.4-24.el8.x86_64 10/16
Running scriptlet: nftables-1:0.9.3-26.el8.x86_64 11/16
Erasing : nftables-1:0.9.3-26.el8.x86_64 11/16
warning: /etc/sysconfig/nftables.conf saved as /etc/sysconfig/nftables.conf.rpms ave
Running scriptlet: nftables-1:0.9.3-26.el8.x86_64 11/16
Erasing : libnetfilter_conntrack-1.0.6-5.el8.x86_64 12/16
Running scriptlet: libnetfilter_conntrack-1.0.6-5.el8.x86_64 12/16
Erasing : libnfnetlink-1.0.1-13.el8.x86_64 13/16
Running scriptlet: libnfnetlink-1.0.1-13.el8.x86_64 13/16
Erasing : libnftnl-1.1.5-5.el8.x86_64 14/16
Running scriptlet: libnftnl-1.1.5-5.el8.x86_64 14/16
Erasing : iptables-libs-1.8.4-24.el8.x86_64 15/16
Erasing : ipset-libs-7.1-1.el8.x86_64 16/16
Running scriptlet: ipset-libs-7.1-1.el8.x86_64 16/16
Verifying : firewalld-0.9.3-13.el8.noarch 1/16
Verifying : firewalld-filesystem-0.9.3-13.el8.noarch 2/16
Verifying : ipset-7.1-1.el8.x86_64 3/16
Verifying : ipset-libs-7.1-1.el8.x86_64 4/16
Verifying : iptables-1.8.4-24.el8.x86_64 5/16
Verifying : iptables-ebtables-1.8.4-24.el8.x86_64 6/16
Verifying : iptables-libs-1.8.4-24.el8.x86_64 7/16
Verifying : libnetfilter_conntrack-1.0.6-5.el8.x86_64 8/16
Verifying : libnfnetlink-1.0.1-13.el8.x86_64 9/16
Verifying : libnftnl-1.1.5-5.el8.x86_64 10/16
Verifying : nftables-1:0.9.3-26.el8.x86_64 11/16
Verifying : python3-decorator-4.2.1-2.el8.noarch 12/16
Verifying : python3-firewall-0.9.3-13.el8.noarch 13/16
Verifying : python3-nftables-1:0.9.3-26.el8.x86_64 14/16
Verifying : python3-slip-0.6.4-13.el8.noarch 15/16
Verifying : python3-slip-dbus-0.6.4-13.el8.noarch 16/16
Removed:
firewalld-0.9.3-13.el8.noarch
firewalld-filesystem-0.9.3-13.el8.noarch
ipset-libs-7.1-1.el8.x86_64
iptables-1.8.4-24.el8.x86_64
iptables-ebtables-1.8.4-24.el8.x86_64
iptables-libs-1.8.4-24.el8.x86_64
libnetfilter_conntrack-1.0.6-5.el8.x86_64
libnfnetlink-1.0.1-13.el8.x86_64
libnftnl-1.1.5-5.el8.x86_64
nftables-1:0.9.3-26.el8.x86_64
python3-decorator-4.2.1-2.el8.noarch
python3-firewall-0.9.3-13.el8.noarch
python3-nftables-1:0.9.3-26.el8.x86_64
python3-slip-0.6.4-13.el8.noarch
python3-slip-dbus-0.6.4-13.el8.noarch
Failed:
ipset-7.1-1.el8.x86_64-
I'd suggest that you uninstall and reinstall CSF. 0 -
Hello, I just had this issue today on an install of Alma Linux 8 and cPanel DNSONLY - Turns out I simply need to install the IPTables. The error was because they were not in existence. Simply ran yum install iptables >> then >> csf -x (to stop the csf and lfd >> then >> csf -e to restart those two - Life was fine after that. Not sure if this is your issue but it got rid of the error for me. 0
Please sign in to leave a comment.
Comments
3 comments