Author Topic: Cant start firewall  (Read 215 times)

0 Members and 1 Guest are viewing this topic.

Offline
**
Cant start firewall
« on: November 01, 2024, 04:04:25 AM »
When I try starting in cwp, i get the error

Quote
Status: You have an unresolved error when starting csf:
Error: FASTSTART: (DROP no logging IPv4) [] [iptables-restore v1.4.21: iptables-restore: unable to initialize table 'filter']. Try restarting csf with FASTSTART disabled, at line 5790 in /usr/sbin/csf

You need to restart csf successfully to remove this warning, or delete /etc/csf/csf.error


Offline
**
Re: Cant start firewall
« Reply #1 on: November 01, 2024, 04:10:45 AM »
delete /etc/csf/csf.error didnt help

Disabling FASTSTART didnt help

Offline
**
Re: Cant start firewall
« Reply #2 on: November 03, 2024, 07:15:44 PM »
1. Is it VPS or bare metal server ?

2. Do you use some custom kernel ?

Offline
**
Re: Cant start firewall
« Reply #3 on: November 06, 2024, 07:56:19 AM »
It is a VPS

No custom kernel

But I took backup and reinstalled the server now

Offline
**
Re: Cant start firewall
« Reply #4 on: November 07, 2024, 11:05:01 PM »
According to the error the kernel module iptables_filter isn't loaded and OS can't load it for some reason. It could happen if:

1. You use custom kernel without iptables_filter support (Kernel installed from some 3rd party repository or compiled from sources with iptables_filter disabled)
2. Your provider uses OpenVZ/LXC virtualization and the kernel module iptables_filter isn't loaded at main node.

If the problem remains unsolved after the restoration then do following:

Run as root on your VPS:

Code: [Select]
uname -a
ls  /lib/modules/$(uname -r)/kernel/net/ipv4/netfilter/

and show output.

Offline
**
Re: Cant start firewall
« Reply #5 on: November 20, 2024, 10:22:22 AM »
Hi reintalled a new VPS and migrated the accounts before I saw this message.

Thanks for the support

According to the error the kernel module iptables_filter isn't loaded and OS can't load it for some reason. It could happen if:

1. You use custom kernel without iptables_filter support (Kernel installed from some 3rd party repository or compiled from sources with iptables_filter disabled)
2. Your provider uses OpenVZ/LXC virtualization and the kernel module iptables_filter isn't loaded at main node.

If the problem remains unsolved after the restoration then do following:

Run as root on your VPS:

Code: [Select]
uname -a
ls  /lib/modules/$(uname -r)/kernel/net/ipv4/netfilter/

and show output.

Offline
*****
Re: Cant start firewall
« Reply #6 on: November 20, 2024, 06:53:46 PM »
What is the CSF log showing?