I'm posting this so others may benefit from the clearing up of the confusion...

Here's the error msg from my Apache log:
-----><8-----
[Fri Oct 03 10:53:24 2003] [error] 1592: ModPerl::Registry: [Fri Oct  
3 10:53:24 2003] -e: Can't find string terminator '"' anywhere before
EOF at (eval 75) line 1.
        (in cleanup) could not flush: Couldn't acquire lock on id ''. Lock
status:  at C:/Perl/site/lib/ModPerl/RegistryCooker.pm line 184
-----><8-----

I was playing with a package to create MySQL tables, and the 'sessions' table created 
was not precisely as expected by CGI::Session.
So, when CGI::Session::MySQL tries and fails to acquire a lock - at line 34 of the 
latter module - the error msg at line 36 is emitted. Lines 34 .. 38 look like:
-----><8-----
    my $lck_status = $dbh->selectrow_array(qq|SELECT GET_LOCK("$sid", 10)|);
    unless ( $lck_status == 1 ) {
        $self->error("Couldn't acquire lock on id '$sid'. Lock status: $lck_status");
        return undef;
    }
-----><8-----
The failure to acquire the lock leads to the inappropriate ModPerl::RegistryCooker 
error.
--
Cheers
Ron Savage, [EMAIL PROTECTED] on 7/10/2003
http://savage.net.au/index.html

Reply via email to