Page 2 of 2

Re: CSF cannot be restarted

Posted: 26 Oct 2012, 17:29
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.

Re: CSF cannot be restarted

Posted: 29 Oct 2012, 16:05
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);

Re: CSF cannot be restarted

Posted: 29 Oct 2012, 16:55
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. :)

Re: CSF cannot be restarted

Posted: 31 Oct 2012, 09:18
by ForumAdmin
This should now be resolved in v5.68:
http://blog.configserver.com/index.php?itemid=683