File Locking Problems (OpenInsight Specific)
At 07 SEP 1998 11:24:19AM Simon Kent C.S.S.P wrote:
Does anyone know how to determine which workstation has locked a file? We have a problem with one of our clients who receive an error message for a file being locked each time they try to read a record. The thing is, they have re-booted all workstations and the server, and this still exists. Also, is there a way to unlock a record from another workstation. ie. through a menu option.
Thanks,
At 09 SEP 1998 08:14AM Steve Smith wrote:
I have a utility to do this under Novell 3.x on my website. On later versions of Novell it won't work owing to the API changing for NDS.
It's tricky and not all networks support this form of query, as lock pools are usually not interrogatable, especially locks on physical files over a certain byte range. I think that there's a way on Novell using the LH.NLM's inbuilt stats reporting (could be wrong, though) - check for NLM and LOCKS keywords in a search of this website.
If you're on NT then I don't think you can get this other than at the NT server using the admin tools.
Steve