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.
Cannot start CSF
-
- Junior Member
- Posts: 73
- Joined: 16 Nov 2010, 22:49
Re: Cannot start CSF
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).
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).
Re: Cannot start CSF
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.
Please help me to resolve the problem.
-
- Junior Member
- Posts: 3
- Joined: 28 Nov 2012, 08:50
Re: Cannot start CSF
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.
It is important to make sure this is all in 1 line and that it does not wrap.
Save the current file.
Restart openVZ
==
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"
Save the current file.
Restart openVZ
Code: Select all
/etc/init.d/vz restart