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 Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Vrepair Question for 4.11

Status
Not open for further replies.

Catadmin

Programmer
Oct 26, 2001
3,097
US
Hi. I have recently been given the job of being DB/Network Admin to an old server in the company I work for which is still used for research purposes. The database on the network is a Foxpro DB which is missing an .fxp file. I saw a thread somewhere which said VRepair might work on this situation, but when I downloaded and tried to run VRepair on the server, I got the message:

"NIOS-201-109: An attempt to load VREPAIR.NLM because the module references an undefined external: WriteFile
Module \\DSC386\SYS\4XX\VREPAIR.NLM did not remain resident"

Could some one please tell me what this error message means and if there is a way to fix it so that I can use Vrepair to attempt to fix my "missing file" problem? (Actually, the file just might be corrupted to the point where it doesn't remember its own name, but I'm not sure).

I appreciate any help I can get with this situation. Thank you in advance.

 
Why did you download VREPAIR? It should already be on the C drive of your server in the Netware directory?

Try removing what you have downloaded and loading VREPAIR.NLM from your servers C drive directory (usually C:\NWSERVER) -----------------------------------------------------
"It's true, its damn true!"
-----------------------------------------------------
 
Before I downloaded Vrepair, I went over to the server and typed "Load VRepair", which I understand is the command to use this tool. Basically, for whatever reason, the server didn't have any idea what I was talking about. It didn't even seem to know what VRepair was (although I cannot remember the exact error message). So, I downloaded a copy from the internet in hopes the copy would work.

As far as having a C:\NWServer folder or file, I don't see any on the server drive at all. All I see with that name is C:\backup\windo...Nwserver.vxd. Is this the file you're referring to?

I do appreciate your help.
 
The best thing to do is (out of hours) down the server to a DOS prompt. CHeck what is on the C drive. You should definately have a C:\NWSERVER or something like that (possibly C:\SERVER.411 etc..). In that directory should be a load of system files, and if you check, VREPAIR.NLM should be too.

When you reboot your server, if you then type LOAD C:\NWSERVER\VREPAIR.NLM (replace NWSERVER with whatever the directory is called) it should load ok. -----------------------------------------------------
"It's true, its damn true!"
-----------------------------------------------------
 
TheLad,

Well, I did as you suggested. When I did take the server itself down to DOS, I did see the C:\NWSERVER folder (though, for some reason, I can't see that folder from my desktop even though I have "see hidden files" checked on my Explorer options). I did a dir /p to doublecheck that Vrepair.NLM was indeed installed, then did the load exactly as you suggested. I got a "Bad Command or File Name". So I tried "Load Vrepair" and got the same error message. I triple checked everything I could think of (and before I did any of this, I made sure I had removed the extra Vrepair program I had put on the server), but I still kept getting the "Bad Command or File Name" error.

I even typed "help vrepair" and the computer told me there was no such thing as a help file on vrepair. So now I'm back at square one. Any other suggestions? Could the Vrepair module be corrupted somehow? Should I remove it and re-install it?

Oy. To make matters worse, our backup tape drive is having problems which cleaning doesn't solve, which means I can't just take one of the 14 month old backup tapes and restore that particular directory. Anyway, I do appreciate what help you've give me. Thank you.

Catadmin Catadmin - New to Server Admin, but willing to learn... All help is appreciated.
 
DOH!!!

I feel like Homer Simpson. @=) I had the wrong prompt. Did it at the DOS prompt instead of the server prompt. Vrepair seems to be working, although don't know if it's restoring my file yet.

Thanks for your help!!! @=)

Catadmin - New to Server Admin, but willing to learn... All help is appreciated.
 
You will not be able to see the servers C drive from your workstation. You will only be able to see volumes. You can see the contents of the C drive if you were using NetWare 5.1 with the web-based portal, otherwise not.

Vrepair will not restore files by the way. Vrepair can be compared to scandisk for Windows. It will find and repair errors on the disk/partition/volume. If you are trying to get a file back, you could always try salvaging it? Salvaging files is part of FILER. -----------------------------------------------------
"It's true, its damn true!"
-----------------------------------------------------
 
If you have other name spaces loaded, I hope you remembered to load the v_mac and/or the v_os2 NLM's before running vrepair. Otherwise Mac resource forks and long file names will be lost.

I usually keep vrepair and the namespace ones on a diskette. You can't vrepair a volume that is mounted. JL Filler,Wilton Public Schools, Wilton CT
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top