Question : C0000218 registry file failure Registry cannot load hive (File): \SystemRoot\System32\Config\Software problem and tactics for ease.

Hi there;

I have Windows 2003 R2 Server having a VM of another 2003 using VMWare Server in it.
I have the error and the system "was" not booting even in safe mode after I was trying to have a snapshot of 20 G VM disk:

C0000218 registry file failure Registry cannot load hive (File): \SystemRoot\System32\Config\Software problem and tactics for ease.

Since I had XP CD, I boot and use recovery console to checkdisk and it didn't fail luckily, but it finds lots of bad sectors in D: drive having a problematic VM of VMWare Server.

Now, after the checkdisk, the system boots normally. My questions are:
1) Could a corrupted VM cause the physical machine to have bad sectors?
2) How can I heal the VM? (No snapshots, no system restore (in fact 2003 has no system restore) Is it possible to heal it?
3) If I delete or transfer that VM, could those bad sector be gone/healed?

Best regards.

Answer : C0000218 registry file failure Registry cannot load hive (File): \SystemRoot\System32\Config\Software problem and tactics for ease.

If this is DB2 UDB (Linux, Windows or Unix), you can have your DBA setup a Statement Event Monitor.  This will capture all SQL and give the amount of time each took.  However, this will not report LOCK-WAIT time which you are concerned with - and it will spew out tons of information and could easily consume all of your free disk space.

In order to determine what is causing the database contention, the best "free" tools available are the LIST APPLICATION SHOW DETAIL command to see which connections are in a LOCK-WAIT state and/or the GET SNAPSHOT FOR ALL APPLICATIONS which will show what each connection is doing and if they are in lock-wait, what are they waiting for and from who.  Both of these commands will have to be run at regular intervals to generate the type of information needed to diagnose the problem.  Start running  every minute and run more often if necessary.

Both solutions will require that you turn on the MONITOR SWITCHES - I recommend turning on all of them to get the most information possible to diagnose this problem.

There are tools available - such as the ACTIVITY MONITOR which is part of the DB2 V9 client  - that can help diagnose the issue.  Other monitoring tools such as the Optim Performance Manager and Quest Spotlight which can be bought to help diagnose these types of problems.

Personally, I have a set of homegrown scripts that use the List Application and Get Snapshot infotrmation to monitor and diagnose these types of problems 24x7.  They are not pretty (no GUI, just test) but they get the job done quickly and for free.

Greg
Random Solutions  
 
programming4us programming4us