Solved

Really Urgent!! SP2 installation fails

Posted on 2008-06-12
9
865 Views
Last Modified: 2008-07-23
Hi All

At a loss with this and not happy, We had moved from SBS Transition Pack on the weekend and due to some WMI issues (where service dependencies would appear) we had decided to re-install SP2. It looked to be going strong but crashed and on subsequent attempts failed. Here is an excerpt of the svcpack.log

627.140: Starting process:  C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\ToGac.exe C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\System.Management.dll
627.531:  Return Code = 0
627.531: Starting process:  C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\ToGac.exe C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\System.Runtime.Remoting.dll
627.875:  Return Code = 0
627.875: Starting process:  C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\ToGac.exe C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\System.Runtime.Serialization.Formatters.Soap.dll
628.218:  Return Code = 0
628.218: Starting process:  C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\ToGac.exe C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\System.Web.Mobile.dll
628.625:  Return Code = 0
628.625: Starting process:  C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\SetRegNI.exe v1.1.4322
628.703:  Return Code = 0
628.703: Starting process:  rundll32 apphelp,ShimFlushCache
629.093:  Return Code = 0
629.093: Starting process:  C:\WINDOWS\system32\wbem\mofcomp.exe C:\WINDOWS\system32\wbem\wlbsprov.mof
629.421:  Return Code = 3
629.421: Starting process:  C:\WINDOWS\system32\wbem\mofcomp.exe C:\WINDOWS\system32\wbem\cimwin32.mof
630.531:  Return Code = 3
630.531: DoInstallation:RunInfProcesses for ProcessesToRun Failed
630.531: Service Pack 2 Setup encountered an error:  An error in updating your system has occurred.
631.875: UnRegisterSpuninstForRecovery, failed to delete SpRecoverCmdLine value, error 0x2
631.875:  DoInstallation: Failed to unregistering spuninst.exe for recovery.
631.890: An error in updating your system has occurred.

Windows Server 2003 has been partially updated and may not work properly.


I am afraid to reboot and i am in dire trouble with this as its our only exchange server (in the process of moving everyone to another exchange server), Please help anything appreciated except do a restore! :)

d.
0
Comment
Question by:damiancoughlan
  • 5
  • 4
9 Comments
 
LVL 9

Expert Comment

by:authen-tech
ID: 21773739
I have fixed this problem twice.  First time had Microsoft Ticket and they walked me through it.  Then fixed it again on my own.  Just to be sure...this is a solution if you have Windows Server 2003 SP1 and it fails when trying to install SP2.  Then unable to roll back to SP1.

-Stop antivirus services:
1. Stop ALL ANTIVIRUS SERVICES AND PROCESSES.  GO TO START/RUN/SERVICES.MSC and check to be sure nothing is running.  Then, download the entire SP2 installer onto your desktop.  Don't try to run it from windows update or anywhere else...
-Unregister and reregister DLLs:
      Open a command box by going to start/run,  type cmd
Then type each of these into the box:
regsvr32 /u softpub.dll
regsvr32 /u wintrust.dll
regsvr32 /u initpki.dll
regsvr32 /u dssenh.dll
regsvr32 /u rsaenh.dll
regsvr32 /u gpkcsp.dll
regsvr32 /u sccbase.dll
regsvr32 /u slbcsp.dll
regsvr32 /u mssip32.dll
regsvr32 /u cryptdlg.dll
When thats complete&type them all again without the /u
i.e:  regsvr32 cryptdlg.dll (all of the above again)

-Removed the temp,kb.cat, temp files and paste to other folder:
1. Locate C:\WINDOWS\system32\CatRoot Folder
2. Right Click on the folder and select Search.
3. Expand the More Advanced Options and verify that the Type of file says "(All Files and Folders)" and that the advanced search options for system folders, hidden files and folder and search subfolders are checked.
4. Under the "All or part of the name" box, enter "tmp*.cat, KB*.cat." (without the quotes)
5. Move all the files to another folder. [Note: I created a cleanup folder on my desktop prior to doing the search].
-stop cryptographic service:
1.      Click Start, Run, type: cmd and press Enter. Please run the following command in the opened window.
2.      Net stop Cryptsvc
3.      Manually rename Edb.log to Edb.txt under C:\Windows\system32\catroot2.
4.      Click Start, Run, type: cmd and press Enter. Please run the following command to start service in the opened window.
5.      Net start Cryptsvc
-rename catroot folder to catroot.old
-ran SP2 installation again
-able to install Sp2 now

Good luck!
0
 

Author Comment

by:damiancoughlan
ID: 21776896
thank you i will try this later on.
Just to let you know we were re applying sp2 even though it said it was on the server already but we cant be sure. It looks like WMI is causing alot of our issues and we had read a sp2 re-install was the best option.
Is it ok to rename catroot as i have read somewhere that it was best not to?
0
 
LVL 9

Expert Comment

by:authen-tech
ID: 21779874
I've done it twice using the above steps and it worked fine.  Both servers are still operating fine.  The catroot folder will recreate itself...that's why you rename it.  

Good luck!
0
 

Author Comment

by:damiancoughlan
ID: 21782063
not good news i am afraid, i followed all your steps and ran the service pack install again and this time it finished extracting the files and came back with a windows saying Setup Error 'The system cannot find the path specified' and then Setup Error 'installation did not complete'.

here is the svcpack.log entry:
Windows Server 2003 has been partially updated and may not work properly.
85590.500: User Input: OK
85590.500: Update.exe extended error code = 0xf070
85590.500: Update.exe return code was masked to 0x643 for MSI custom action compliance.

Any ideas?
0
Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

 
LVL 9

Expert Comment

by:authen-tech
ID: 21782221
Get a good backup of your data and run the repair installation of the OS.  I have a buddy that works for a datacenter and he said that's what they do whenever they encounter this.  Although there's a one in one hundred chance it accidentally wipes it.  Almost always works though.  Then you are back to the SP1 state or whatever your OS disks are.  

Worth a try.  

Otherwise I paid a MS tech $245 the first time and they had it back up and running in about an hour.  Using the steps above as I said.  Well worth it to the customer who owned the server.  

Good luck!
0
 

Author Comment

by:damiancoughlan
ID: 21782279
Thats what i thought would be the case, the trouble is that we ran SBS Transition Pack on this last weekend but we have added another domain controller and setup second instance of exchange and have copied nearly all files across.
We got Windows 2003 media with the SBS Pack, could we just run a repair with that i wonder?
0
 
LVL 9

Expert Comment

by:authen-tech
ID: 21783926
I would use what you have.  Only other option seems to be calling MS or nuke and pave with the info backed up and starting from scratch.  

Best of luck to you!
0
 
LVL 9

Accepted Solution

by:
authen-tech earned 500 total points
ID: 21827633
Has the problem been solved?
0
 

Author Comment

by:damiancoughlan
ID: 21829333
Hi there

we have not solved the problem yet as we are in the process of moving over files and exchange to a new server, once this has been done i will reboot and see what happens. I will probably have to do a repair to get it back up and running.

d.
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Suggested Solutions

Preface Having the need * to contact many different companies with different infrastructures * do remote maintenance in their network required us to implement a more flexible routing solution. As RAS, PPTP, L2TP and VPN Client connections are no…
A quick step-by-step overview of installing and configuring Carbonite Server Backup.
It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. It works on many operating systems, in many languages.
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…

705 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now