Undefined subroutine &Time Error

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.
Post Reply
Michaelk
Junior Member
Posts: 1
Joined: 23 Mar 2013, 23:10

Undefined subroutine &Time Error

Post by Michaelk »

Hello,

Just got this error now in the server,

Undefined subroutine &Time::HiRes::sleep called at /usr/sbin/csf line 3484, line 1.
iptables: Unknown error 4294967295


...Done.

Restarting lfd...

Stopping lfd:[FAILED]
[ OK ]
Starting lfd:[ OK ]

Whats the best to correct this, also I just had a full service package as well...

Please advise if possible.

Cheers in advance

Michael
ForumAdmin
Moderator
Posts: 1524
Joined: 01 Oct 2008, 09:24

Re: Undefined subroutine &Time Error

Post by ForumAdmin »

We'll look at a fix, for now you can replace line 3484 in /etc/csf/csf.pl:

Code: Select all

				Time::HiRes::sleep(0.5);
with:

Code: Select all

				sleep 1;
ForumAdmin
Moderator
Posts: 1524
Joined: 01 Oct 2008, 09:24

Re: Undefined subroutine &Time Error

Post by ForumAdmin »

This should now be resolved in v6.04 which has just been released.
Post Reply