killtec
Goto Top

Problem mit WSUS Server u. Internal DB

Hallo zusammen,
wir haben hier ein Problem mit dem WSUS. Er kommt nicht mehr auf seine DB. Die DB-Files als soches sind noch vorhanden.
Das Problem ist aufgetreten, nachdem ich den SQL-Server wegen eiens Fehlers im Backupprogramm (Backup Exec) deinstalliert habe. Es handelte sich hier um den SQL Express 2005.
Jetzt will irgendwie die Windows Internal Database nicht mehr richtig und somit auch der WSUS nicht.
Ich dachte mir jetzt, ich deinstalliere und installiere beides wieder, jedoch lässt sich der WSUS nicht deinstallieren.
Im Netz habe ich auch den Befehl gefunden und ausgeführt, jedoch ohen Erfolg (Winfows Internal DB):
Msiexec /i SSEE_10.msi CALLERID=OCSetup.exe REINSTALL=ALL REINSTALLMODE=omus /qn REBOOT=ReallySupress /l*v D:\wsus_reinstall_log.txt
Führe ich die MSI direkt aus, kommt die Meldung dass diese Version schon installiert ist.

Weiß aktuell nicht so recht, wie ich das gerade ziehen kann.
BIn für Tipps dankbar face-smile

Gruß

Content-Key: 234086

Url: https://administrator.de/contentid/234086

Printed on: April 26, 2024 at 11:04 o'clock

Member: Dani
Dani Mar 31, 2014 at 12:33:38 (UTC)
Goto Top
Hallo @killtec,
steht etwas im Logfile "D:\wsus_reinstall_log.txt"?
Was für ein Betriebssystem läuft auf dem betroffenen Server?
Gibt es Meldungen in der Ereignisanzeige?


Grüße,
Dani
Member: killtec
killtec Mar 31, 2014 at 12:38:20 (UTC)
Goto Top
Hi @Dani,
hier die log:
=== Verbose logging started: 31.03.2014  14:04:42  Build type: SHIP UNICODE 5.00.7601.00  Calling process: C:\Windows\system32\msiexec.exe ===
MSI (c) (B8:8C) [14:04:42:816]: Font created.  Charset: Req=0, Ret=0, Font: Req=MS Shell Dlg, Ret=MS Shell Dlg

MSI (c) (B8:8C) [14:04:42:816]: Font created.  Charset: Req=0, Ret=0, Font: Req=MS Shell Dlg, Ret=MS Shell Dlg

MSI (c) (B8:C0) [14:04:42:831]: Resetting cached policy values
MSI (c) (B8:C0) [14:04:42:831]: Machine policy value 'Debug' is 0  
MSI (c) (B8:C0) [14:04:42:831]: ******* RunEngine:
           ******* Product: C:\Windows\SysMSICache\WSSEE\SSEE_10.msi
           ******* Action: 
           ******* CommandLine: **********
MSI (c) (B8:C0) [14:04:42:831]: Machine policy value 'DisableUserInstalls' is 0  
MSI (c) (B8:C0) [14:04:42:831]: SOFTWARE RESTRICTION POLICY: Verifying package --> 'C:\Windows\SysMSICache\WSSEE\SSEE_10.msi' against software restriction policy  
MSI (c) (B8:C0) [14:04:42:831]: SOFTWARE RESTRICTION POLICY: C:\Windows\SysMSICache\WSSEE\SSEE_10.msi has a digital signature
MSI (c) (B8:C0) [14:04:43:112]: SOFTWARE RESTRICTION POLICY: C:\Windows\SysMSICache\WSSEE\SSEE_10.msi is permitted to run at the 'unrestricted' authorization level.  
MSI (c) (B8:C0) [14:04:43:112]: Cloaking enabled.
MSI (c) (B8:C0) [14:04:43:112]: Attempting to enable all disabled privileges before calling Install on Server
MSI (c) (B8:C0) [14:04:43:112]: End dialog not enabled
MSI (c) (B8:C0) [14:04:43:112]: Original package ==> C:\Windows\SysMSICache\WSSEE\SSEE_10.msi
MSI (c) (B8:C0) [14:04:43:112]: Package we're running from ==> C:\Windows\SysMSICache\WSSEE\SSEE_10.msi  
MSI (c) (B8:C0) [14:04:43:128]: APPCOMPAT: Uninstall Flags override found.
MSI (c) (B8:C0) [14:04:43:128]: APPCOMPAT: Uninstall VersionNT override found.
MSI (c) (B8:C0) [14:04:43:128]: APPCOMPAT: Uninstall ServicePackLevel override found.
MSI (c) (B8:C0) [14:04:43:128]: APPCOMPAT: looking for appcompat database entry with ProductCode '{BDD79957-5801-4A2D-B09E-852E7FA64D01}'.  
MSI (c) (B8:C0) [14:04:43:128]: APPCOMPAT: matching ProductCode found in database.  Entry name: 'SSEE_10.msi'.  Testing other attributes...  
MSI (c) (B8:C0) [14:04:43:128]: APPCOMPAT: testing PackageCode.  Expected value: '{DB2E23C0-6879-4819-AF51-35130E06C2A6}'  
MSI (c) (B8:C0) [14:04:43:128]: APPCOMPAT: PackageCode attribute(s) exist, but no matching PackageCode found.  Actual PackageCode: '{2A0E33FB-A456-4C40-8FC4-CEBD9CE65076}'  
MSI (c) (B8:C0) [14:04:43:128]: APPCOMPAT: found matching ProductCode in database, but other attributes do not match.
MSI (c) (B8:C0) [14:04:43:128]: MSCOREE not loaded loading copy from system32
MSI (c) (B8:C0) [14:04:43:128]: Machine policy value 'DisablePatch' is 0  
MSI (c) (B8:C0) [14:04:43:128]: Machine policy value 'AllowLockdownPatch' is 0  
MSI (c) (B8:C0) [14:04:43:128]: Machine policy value 'DisableMsi' is 1  
MSI (c) (B8:C0) [14:04:43:128]: Machine policy value 'AlwaysInstallElevated' is 0  
MSI (c) (B8:C0) [14:04:43:128]: User policy value 'AlwaysInstallElevated' is 0  
MSI (c) (B8:C0) [14:04:43:128]: Product {BDD79957-5801-4A2D-B09E-852E7FA64D01} is admin assigned: LocalSystem owns the publish key.
MSI (c) (B8:C0) [14:04:43:128]: Product {BDD79957-5801-4A2D-B09E-852E7FA64D01} is managed.
MSI (c) (B8:C0) [14:04:43:128]: Running product '{BDD79957-5801-4A2D-B09E-852E7FA64D01}' with elevated privileges: Product is assigned.  
MSI (c) (B8:C0) [14:04:43:128]: Machine policy value 'DisableLUAPatching' is 0  
MSI (c) (B8:C0) [14:04:43:128]: Machine policy value 'DisableFlyWeightPatching' is 0  
MSI (c) (B8:C0) [14:04:43:128]: APPCOMPAT: looking for appcompat database entry with ProductCode '{BDD79957-5801-4A2D-B09E-852E7FA64D01}'.  
MSI (c) (B8:C0) [14:04:43:128]: APPCOMPAT: matching ProductCode found in database.  Entry name: 'SSEE_10.msi'.  Testing other attributes...  
MSI (c) (B8:C0) [14:04:43:128]: APPCOMPAT: skipping transform because it should be applied at a different point of the install.
MSI (c) (B8:C0) [14:04:43:128]: APPCOMPAT: found matching ProductCode in database, but other attributes do not match.
MSI (c) (B8:C0) [14:04:43:128]: Transforms are not secure.
MSI (c) (B8:C0) [14:04:43:128]: Note: 1: 2205 2:  3: Control 
MSI (c) (B8:C0) [14:04:43:128]: PROPERTY CHANGE: Adding MsiLogFileLocation property. Its value is 'D:\wsus_reinstall_log.txt'.  
MSI (c) (B8:C0) [14:04:43:128]: Command Line: CALLERID=OCSetup.exe REINSTALL=ALL REINSTALLMODE=omus REBOOT=ReallySupress CURRENTDIRECTORY=C:\Users\adminphasecke CLIENTUILEVEL=0 CLIENTPROCESSID=2744 
MSI (c) (B8:C0) [14:04:43:128]: PROPERTY CHANGE: Adding PackageCode property. Its value is '{2A0E33FB-A456-4C40-8FC4-CEBD9CE65076}'.  
MSI (c) (B8:C0) [14:04:43:128]: Product Code passed to Engine.Initialize:           ''  
MSI (c) (B8:C0) [14:04:43:128]: Product Code from property table before transforms: '{BDD79957-5801-4A2D-B09E-852E7FA64D01}'  
MSI (c) (B8:C0) [14:04:43:128]: Product Code from property table after transforms:  '{BDD79957-5801-4A2D-B09E-852E7FA64D01}'  
MSI (c) (B8:C0) [14:04:43:128]: Product registered: entering maintenance mode
MSI (c) (B8:C0) [14:04:43:128]: Determined that existing product (either this product or the product being upgraded with a patch) is installed per-machine.
MSI (c) (B8:C0) [14:04:43:128]: PROPERTY CHANGE: Adding ProductState property. Its value is '5'.  
MSI (c) (B8:C0) [14:04:43:128]: PROPERTY CHANGE: Adding ProductToBeRegistered property. Its value is '1'.  
MSI (c) (B8:C0) [14:04:43:128]: Entering CMsiConfigurationManager::SetLastUsedSource.
MSI (c) (B8:C0) [14:04:43:128]: Specifed source is already in a list.
MSI (c) (B8:C0) [14:04:43:128]: User policy value 'SearchOrder' is 'nmu'  
MSI (c) (B8:C0) [14:04:43:128]: Machine policy value 'DisableBrowse' is 0  
MSI (c) (B8:C0) [14:04:43:128]: Machine policy value 'AllowLockdownBrowse' is 0  
MSI (c) (B8:C0) [14:04:43:128]: Machine policy value 'AlwaysInstallElevated' is 0  
MSI (c) (B8:C0) [14:04:43:128]: User policy value 'AlwaysInstallElevated' is 0  
MSI (c) (B8:C0) [14:04:43:128]: Product {BDD79957-5801-4A2D-B09E-852E7FA64D01} is admin assigned: LocalSystem owns the publish key.
MSI (c) (B8:C0) [14:04:43:128]: Product {BDD79957-5801-4A2D-B09E-852E7FA64D01} is managed.
MSI (c) (B8:C0) [14:04:43:128]: Running product '{BDD79957-5801-4A2D-B09E-852E7FA64D01}' with elevated privileges: Product is assigned.  
MSI (c) (B8:C0) [14:04:43:128]: Adding new sources is not allowed.
MSI (c) (B8:C0) [14:04:43:128]: PROPERTY CHANGE: Adding PackagecodeChanging property. Its value is '1'.  
Eine andere Version des Produkts ist bereits installiert. Die Installation dieser Version kann nicht fortgesetzt werden. Verwenden Sie die Systemsteuerungsoption "Software", um die vorhandene Version dieses Produkts zu konfigurieren oder zu entfernen.  
{BDD79957-5801-4A2D-B09E-852E7FA64D01}
MSI (c) (B8:C0) [14:04:43:128]: Note: 1: 1729 
MSI (c) (B8:C0) [14:04:43:128]: Produkt: Windows Internal Database -- Die Konfiguration ist fehlgeschlagen.

MSI (c) (B8:C0) [14:04:43:128]: Das Produkt wurde durch Windows Installer neu konfiguriert. Produktname: Windows Internal Database. Produktversion: 9.3.4035.00. Produktsprache: 0. Hersteller: Microsoft Corporation. Erfolg- bzw. Fehlerstatus der neuen Konfiguration: 1638.

MSI (c) (B8:C0) [14:04:43:143]: MainEngineThread is returning 1638
=== Verbose logging stopped: 31.03.2014  14:04:43 ===

Eventlog (ereignis-ID 1624):
Fehler bei der Deinstallation. 

Rollen:

Windows Server Update Services (WSUS)
   Fehler: Fehler bei der Deinstallation von Windows Server Update Services (WSUS). Fehlercode: 0x80070643.  Schwerwiegender Fehler bei der Installation

Gruß
Member: Dani
Dani Mar 31, 2014 at 12:44:04 (UTC)
Goto Top
Schau bitte in der Registry nach, welches Produkt sich hinter diesem Schlüssel "BDD79957-5801-4A2D-B09E-852E7FA64D01" verbirgt?
Was findest du in Programme/Software bezüglich auf WSUS bzw. Datenbanken?


Grüße,
Dani
Member: killtec
killtec Mar 31, 2014 at 12:47:16 (UTC)
Goto Top
Hi Dani,
hatte glaube vergessen, was für ein OS es ist. Hier sind die WSUS Dienste auf einem 2008 R2 Server installiert.
Unter dem Key BDD79957-5801-4A2D-B09E-852E7FA64D01 ist der Windows Internal Database instaliert.

Gruß
Member: Dani
Dani Mar 31, 2014 at 12:53:59 (UTC)
Goto Top
Hattest du... face-smile
Dazu kommt noch das:
Was findest du in Programme/Software bezüglich auf WSUS bzw. Datenbanken?


Grüße,
Dani
Member: killtec
killtec Mar 31, 2014 updated at 13:17:28 (UTC)
Goto Top
Zum WSUS oder den DB's unter den Progammen nichts. Das ist ja alles über den Servermanager.

Auch das hier habe ich versucht:
http://support.microsoft.com/kb/920660/de
Er bekommt aber keine Verbindung hin.
Member: killtec
killtec Mar 31, 2014 at 14:06:18 (UTC)
Goto Top
Werd es in einer ruhigen Minute durchgehen und dann Berichten.
Member: killtec
killtec Apr 01, 2014 updated at 08:16:42 (UTC)
Goto Top
Hallo,
so, konnte mit dem ersten Link die Internal DB wieder deinstallieren und danach auch normal installieren. Nur spricht mein WSUS noch nicht mit mir face-sad

Die Meldung lautet:
Es kann keine Verbindung mit 'localhost' hergestellt werden.
SQL Server wird auf dem Server möglicherweise nicht ausgeführt.

Überprüfen Sie, ob SQL Server ausgeführt wirdu nd auf dem
Server richtig konfoguriert ist. Wenden Sie sich an den
Netzwerkadministrator, wenn das Problem weiterhin besteht.

Es sind alle Dienste, die für den WSUS zuständig sind aktiv.

Kann ich irgendwie den WSUS deinstalliern? Also eine Force Deinstallation? Über die Console (Servermanager) bricht er das mit oben genanntem Fehler ab.


### EDIT:

Mir ist aufgefallen, dass der Dienst "WsusService" (Update Service) sich beendet. Im Eventlog sehe ich diesen Eitnrag:
Die WSUS-Verwaltungskonsole konnte keine Verbindung mit der WSUS-Serverdatenbank herstellen.
    
Stellen Sie sicher, dass SQL Server auf dem WSUS-Server ausgeführt wird. Starten Sie SQL erneut, wenn das Problem weiterhin besteht.
    

System.Data.SqlClient.SqlException -- Netzwerkbezogener oder instanzspezifischer Fehler beim Herstellen einer Verbindung mit SQL Server. Der Server wurde nicht gefunden, oder auf ihn kann nicht zugegriffen werden. Überprüfen Sie, ob der Instanzname richtig ist und ob SQL Server Remoteverbindungen zulässt. (provider: Named Pipes-Provider, error: 40 - Verbindung mit SQL Server konnte nicht geöffnet werden)

Source
.Net SqlClient Data Provider

Stack Trace:
   bei Microsoft.UpdateServices.Internal.BaseApi.SoapExceptionProcessor.DeserializeAndThrow(SoapException soapException)
   bei Microsoft.UpdateServices.Internal.DatabaseAccess.AdminDataAccessProxy.ExecuteSPGetTargetGroupById(Guid id)
   bei Microsoft.UpdateServices.Internal.BaseApi.ComputerTargetGroup.GetById(Guid id, UpdateServer updateServer)
   bei Microsoft.UpdateServices.Internal.BaseApi.UpdateServer.GetComputerTargetGroup(Guid id)
   bei Microsoft.UpdateServices.UI.AdminApiAccess.AdminApiTools.GetUpdateServer()
   bei Microsoft.UpdateServices.UI.SnapIn.Scope.ServerSummaryScopeNode.ConnectToServer()
   bei Microsoft.UpdateServices.UI.SnapIn.Scope.ServerSummaryScopeNode.ConnectToServerAndPopulateNode(Boolean connectingServerToConsole)


### EDIT-Ende


Gruß
Member: Dani
Dani Apr 01, 2014 updated at 08:57:05 (UTC)
Goto Top
Guten Morgen @killtec,
Kann ich irgendwie den WSUS deinstalliern? Also eine Force Deinstallation? Über die Console (Servermanager) bricht er das mit oben genanntem Fehler ab.
ist mir nicht bekannt... geht aber wohl: Hier.

Schau bitte per SQL Management Studio nach, ob die Benutzer "NT-AUTORITÄT\ANONYMOUS-ANMELDUNG" sowie der User "NT-AUTORITÄT\NETZWERKDIENST" Zugriff auf die Internal Database haben.


Grüße,
Dani
Member: killtec
killtec Apr 15, 2014 at 10:37:53 (UTC)
Goto Top
Konnte die Dienste deinstallieren. Meine alte DB war jedoch hin. Es läuft jetzt jedoch wieder.

Gruß