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