CSF cannot be restarted

This forum is only for reproducible bugs with csf and lfd (i.e. not iptables problems, lack of understanding how to use a feature, etc). Posts must be accompanied with full technical details of the problem and how it can be recreated. Any posts not adhering to this, or not considered bugs, will be moved to the General Discussion (csf) forum.
puppet
Junior Member
Posts: 22
Joined: 04 Apr 2012, 00:10

Re: CSF cannot be restarted

Post by puppet »

I have 20 xen vps and 20 hyper-v vps. 5 of the xen vps have this problem. Yesterday, I removed the CONNLIMIT and was able to start the CSF. The weird thing is the CSF is still blocking the IPs that over the CONNLIMIT set previously. I had rebooted the CSf several times after remove the CONNLIMIT.

I also updated the Linux kernel for one VPS and rebooted it. Now, I can add the CONNLIMIT back and restart the CSF. Probably I just need to reboot the server to make it work.
ForumAdmin
Moderator
Posts: 1524
Joined: 01 Oct 2008, 09:24

Re: CSF cannot be restarted

Post by ForumAdmin »

The issue with this is likely due to a missing inclusion of the Time::HiRes perl module from csf.pl which we have just discovered. This will be resolved in the next release, but in the meantime, you can can edit /etc/csf/csf.pl and add the following near the top with the other perl modules:

Code: Select all

use Time::HiRes qw(gettimeofday);
puppet
Junior Member
Posts: 22
Joined: 04 Apr 2012, 00:10

Re: CSF cannot be restarted

Post by puppet »

ForumAdmin wrote:The issue with this is likely due to a missing inclusion of the Time::HiRes perl module from csf.pl which we have just discovered. This will be resolved in the next release, but in the meantime, you can can edit /etc/csf/csf.pl and add the following near the top with the other perl modules:

Code: Select all

use Time::HiRes qw(gettimeofday);
Thank you for resolving this problem. :)
ForumAdmin
Moderator
Posts: 1524
Joined: 01 Oct 2008, 09:24

Re: CSF cannot be restarted

Post by ForumAdmin »

This should now be resolved in v5.68:
http://blog.configserver.com/index.php?itemid=683
Post Reply