Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

File does not exist & hanging

Status
Not open for further replies.

dcomartin

Programmer
May 12, 2003
27
0
0
CA
In a multiuser environment, sometimes out of nowhere we will get "file not found" error when trying to USE a DBF on a central server. It is totally out of nowhere. All day it will work, and then randomly we will get "file not found".

I dont know if the two are related, but once the "file not found" error happends, all other clients trying to access that DBF file hang trying to USE the file because it is locked. The onlyway to solve the problem is to restart the server. I assume this is because when using EXCLUSIVE or NOUPDATE it creates a temp file or something. Any ideas on the "file not found" error and why the DBF doesnt get unlocked after our application crashes on the clients machine.
 
I should aso mention that we are using netware.
 
I worked with Novell Netware 5.0 until earlier this year. Occasionally, similar issues would arise. I finally concluded that somehow some links were never dropped even though the table was not in use anymore. Sometimes this happened when the user locked up (or thought they had) and rebooted. Since we still use some dBase 5.0 DOS programs, here's what I would do, where each step would get more agressive until the problem was resolved. Though I don't have a specific answer for you, I hope something here may help...

1. Close the DOS window then try again.

2. Log off and back on then try again.

3. Shut down and reboot or restart the offending workstation then try again. (Just once I had a user "turn off" his workstation and it locked up his open files until it was turned on AND logged on. Apparently the old links weren't cleared until the new user's logon forced the removal of the old connection, so possibly the next point would have had the same effect as a reboot/logon.)

4. At the server station (or in a remote control window) CLEAR the offending workstation's connection. First lookup the user's connection number. As I recall, on our system the users had 2 connection numbers, but only one held the links to files. Then at the CLI type: CLEAR STATION {number}

5. Give up and reboot the server. (Generally if we got to this point it was because the server was "thrashing" with constant disk access and nothing fixed that. Most other issues were cleared up by point 4. We never did figure out a satisfactory reason or solution for the thrashing though some posts indicated we should have had some sort of disk caching turned off.)

If a user calls me to report a problem, I generally start with step 3 and tell them to reboot and log back in. It isn't worth the effort to tell them a long series of steps.

For your specific problem, I'd suggest clearing the workstaion from the server (step 4) and see if that doesn't do it.

By the way, Win2000 Server also gets weird issues too now and again, and every once in a while it has to be rebooted in the middle of the day, so no server is totally invulnerable.

If possible I'd suggest a server reboot periodically such as once every 2 to 3 weeks as preventative maintenance to "clean up" any leftover links and other invisible odds and ends. Better to do it planned during a quiet time rather than in the middle of a busy day! Hey, these days you have to do that anyway, at least for Microsoft systems, just to install security patches!

Hmm, new licenses are expensive, I wonder what the market is for spare Netware 5.0 licenses...
 
Thanks for the reply. Once this arises I give your suggestions a shot. Usually rebooting the workstation does the trick, but for some odd reason, sometimes it doesnt help. As for the "file not found" error, I heard this could because of connection issues?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top