Subject: | Can't open ... for locking at ...Data/Throttler.pm line 631 |
Sometimes I get the above error from this line:
sub lock {
###########################################
my($self) = @_;
open $self->{fh}, "+<", $self->{db_file} or
LOGDIE "Can't open $self->{db_file} for locking";
I have no idea why. Please amend the print statement to tell me what the error is (I think that may be in $!) so that I can try to track the reason.