Cannot start CSF

Post Reply
rahulkmnair
Junior Member
Posts: 3
Joined: 28 Nov 2012, 08:50

Cannot start CSF

Post by rahulkmnair »

I just installed csf in my cpanel server. I got this error message while starting service. (I didn't modify any file)

Error: Error processing command for line [515] (10 times): [iptables: Unknown error 4294967295], at line 515

Also getting the following alert all the time

lfd failed @ Wed Nov 28 11:29:26 2012. A restart was attempted automagically.

I failed to start csf and lfd.

Please help me to resolve the problem.
peterelsner
Junior Member
Posts: 73
Joined: 16 Nov 2010, 22:49

Re: Cannot start CSF

Post by peterelsner »

This is just a guess, but It seems that some of the iptable modules are missing from your vps.

Make sure the following modules are loaded:
ipt_MASQUERADE
ipt_helper
ipt_REDIRECT
ipt_state
ipt_TCPMSS
ipt_LOG
ipt_TOS
tun
iptable_nat
ipt_length
ipt_tcpmss
iptable_mangle
ipt_limit
ipt_tos
iptable_filter
ipt_helper
ipt_tos
ipt_ttl
ipt_REJECT

Use "modprobe" and load each module one at a time and then restart csf.
Syntax for modprobe is (modprobe module_name).
ercan
Junior Member
Posts: 1
Joined: 08 Dec 2012, 12:38

Re: Cannot start CSF

Post by ercan »

Hello, I'm beginner on csf, I have same error, and I dont know what is "modprobe" can you explain a little more? what I have to exactly?

Please help me to resolve the problem.
rahulkmnair
Junior Member
Posts: 3
Joined: 28 Nov 2012, 08:50

Re: Cannot start CSF

Post by rahulkmnair »

Thank you peterelsner,

I was using openVZ container (on Proxmox) for cpanel server. Here is the solution. Hope it will help someone.

==

(IN PROXMOX)

Open the file /etc/vz/vz.conf

Then search for IPTABLES

Comment out (by adding a # symbol to the line ) the current IPTABLES= line

and then copy/paste and add this line directly underneath the line you just commented out.

Code: Select all

IPTABLES="ipt_REJECT ipt_recent ipt_owner ipt_REDIRECT ipt_tos ipt_TOS ipt_LOG ip_conntrack 
ipt_limit ipt_multiport iptable_filter iptable_mangle ipt_TCPMSS ipt_tcpmss ipt_ttl ipt_length ipt_state iptable_nat ip_nat_ftp"
It is important to make sure this is all in 1 line and that it does not wrap.

Save the current file.

Restart openVZ

Code: Select all

/etc/init.d/vz restart
==
Post Reply