Status of lfd:lfd is stopped


Issue :

When I checked the status of lfd it’s shown as stopped.

root@ded17 [~]# /etc/init.d/lfd status
Status of lfd:lfd is stopped

I have tried to start it and that didn’t help.

Solution :

1. Open the csf configuration files.

# vi  /etc/csf/csf.conf

2. Then change “Testing=0” to “Testing=1”

3. Now restart the lfd service.

That’s all…!!!!!

Error: The VPS iptables rule limit (numiptent) is too low (391/400) – stopping firewall to prevent iptables blocking all connections, at line 2282 in /usr/sbin/csf


I got the above error while restarting csf in the server

root@vps [/]# /etc/init.d/csf start
Starting csf:You have an unresolved error when starting csf:
Error: The VPS iptables rule limit (numiptent) is too low (391/400) – stopping firewall to prevent iptables blocking all connections, at line 2282 in /usr/sbin/csf

Solution:

In this case, you need to increase the “Numiptent” value in the VPS configuration file which is located at /etc/sysconfig/vz-scripts/ directory. There is a restriction on the total number of IP packet filtering entries in the system and when the allotted limit is lower than the number of iptable rules set on your VPS, you will receive the above error message. You need to increase the “numiptent” value and restart the VPS.

To check fail count : cat /proc/user_beancounters

For changing the value of numiptent, Please go to vpsnode and enter the following command

#vzctl set vpsid –numiptent 1000:1000 –save

After that go to the vps server and restart csf

#csf -r

Thats all ……..!!!!!!!!!!!!!

 

 

 

 

Blog Stats

  • 37,403 hits