I have Perl 5.005_02. I am getting a similar error, but I'm pretty sure I do have the filelocking module because my UBB.classic 6.5.0 was working in its current location until a week or so ago. We did just move our fs, it's now an NFS mount and I think this has something to do with it. System is a Solaris 8 Sun sparc. Here's the error I'm getting:

Software error:

Can't EXlock '/path/to/ubb/cache-6K3B2NPK/lock/global.cgi'. The operating system has run out of file locks to give me. Please ask the administrator to contact the web hosting provider. The exact error returned by the operating system is: No record locks available