Odd Global .lockfile problem

Bob Stockler bob at trebor.iglou.com
Tue Jun 14 16:37:09 PDT 2005


Silas Martinez wrote (on Tue, Jun 14, 2005 at 03:42:35PM -0700):

| Laura Brody wrote:
| ....
| >
| >    Your lockfile issues appear to be self-inflicted.
| >
| >    What you are doing is TOTALLY not recommended. Turn off
| >this cron job, get everyone out of the system, delete all of
| >the lockfiles (I will happily bet some serious money that more
| >than half of them are corrupted right now) and then let
| >everyone get back to work. Now, leave the lockfiles alone
| >unless they appear to be corrupted! (see above for the
| >proper clearing method). Also, instruct your users that
| >they should never use Ctrl-\ to exit out of filePro and/or
| >set the env var PFQUIT=OFF to disable the Ctrl-/ (only
| >for filePro, not for the system).
| >
| >    Have a great day, and "stop doing that"! <G>
| 
| Thanks for the input, Laura. Here is the thing - users are getting 
| locked out of files that have an empty .lockfile in them. It doesn't 
| appear to be a simple permissions issue - I've verified permissions, and 
| had filepro do the same. I've verified that it isn't a case of someone 
| else using the file - there are no users on the system except myself, as 
| root, checking the issue (not running any filepro apps), and the single 
| user experiencing the problem which I had logged in to troubleshoot. I 
| verified that there were no stale logins, `ps aux` revealed only the 
| expected user's single session.
| 
| The users are aware of the 'how not to log out' issues, and are quite 
| careful to not just randomly exit out of the ssh session, instead 'x'ing 
| out to a shell prompt, and then using ctrl+d or typing exit.
| 
| I've disabled the cron job again, and will check the contents of any and 
| all lockfiles again - but I'll note that I had checked this before, and 
| indeed .lockfile for the file the user was unsuccessfully trying to 
| access was empty.

It's not ".lockfile", not "lockfile" - and it's not their
existance, but their content.

What are you using to check the content?  If not 'od', try it.

You might get Ken Brody's "showlock", especially with my wrapper
"lock.info" for it. and try it (them) also.

Bob

PS - I can email you showlock.c and/or either an ELF or COFF
     binary or both, as well as my shell script wrapper (it
     requires the KornShell).

-- 
Bob Stockler - bob at trebor.iglou.com - http://members.iglou.com/trebor
Author: MENU EDIT II - The BEST Creator/Editor/Manager for filePro User Menus.
Fully functional (time-limited) demos available by email request (specify OS).


More information about the Filepro-list mailing list