home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / database / 7816 < prev    next >
Encoding:
Internet Message Format  |  1992-11-13  |  2.4 KB

  1. Path: sparky!uunet!spool.mu.edu!yale.edu!ira.uka.de!fauern!uni-erlangen.de!faui63.informatik.uni-erlangen.de!wefuchs
  2. From: wefuchs@faui63.informatik.uni-erlangen.de (Werner Fuchs )
  3. Newsgroups: comp.databases
  4. Subject: Re: Clipper 5.01 left over locks
  5. Date: Fri, 13 Nov 1992 10:34:50 GMT
  6. Organization: CSD, University of Erlangen, Germany
  7. Lines: 37
  8. Message-ID: <1e00caEINNjpv@uni-erlangen.de>
  9. References: <paulb.721055967@cs.man.ac.uk>
  10. NNTP-Posting-Host: faui63.informatik.uni-erlangen.de
  11.  
  12. paulb@cs.man.ac.uk (Paul Bean) writes:
  13.  
  14. >I have a program which is to run on both a network and single user.  I
  15. >use the locks.prg supplied with clipper to do the appropriate locking
  16. >for me.  I have one version so I do the locking even if it is on a
  17. >single user dos machine.  I was running it single user yesterday (Dos
  18. >5.01 by the way) when it keeled over with not enough memory.  I
  19. >removed a couple of drivers so that there was enough memory for it to
  20. >run and went in again, however when the program came to open the dbfs
  21. >that were exclusively locked when it went down it could not
  22. >open them(in shared mode).  I presumed that the lock information was
  23. >held in the dbfs so I deleted these and went to a backup.  However
  24. >when I tried to run the program it still wouldn't let me open the
  25. >previously locked files.  I tried moving everything to a new
  26. >directory,still no joy.  I have tried ringing Computer Associates who
  27. >could not suggest anything.  Does anyone know where the lock
  28. >information is held ? and how I can get rid of it.  This is becoming a
  29. >real pain.
  30.  
  31. >Thanks in advance Paul 
  32.  
  33. As far as I know, the locking information is held by DOS SHARE or
  34. by the Networking Software (on DOS Peer-to-Peer Networks like
  35. Netware Lite by DOS SHARE at the Server). I had a similar problem
  36. at Netware Lite when a Client running a Clipper application crashed.
  37. The only way to get rid of the locks was restarting the Server. 
  38. "Real" Networks should detect if a client crashes and free all locks,
  39. but SHARE does not.
  40. If You are running SHARE at Your single user station, try to reboot 
  41. before starting Your Clipper application again (and delete SHARE
  42. from Your AUTOEXEC.BAT).
  43.  
  44. Werner
  45. --------------------------------------------------------------------------
  46. |   Werner Fuchs   |   Universitaet Erlangen - Nuernberg   |   Germany   |
  47. |       wefuchs@cip.informatik.uni-erlangen.de  |  Tel. 09131/26415      |
  48. --------------------------------------------------------------------------
  49.