Hallo,
ich habe auf einem 2012 R2, das Feature "WSUS" hinzu gefügt.
Leider bekomme ich jedoch bei den Nachinstallitionsaufgaben einen Fehler im Log.
2016-09-06 08:53:52 Postinstall started
2016-09-06 08:53:52 Detected role services: Api, UI, WidDatabase, Services
2016-09-06 08:53:52 Start: LoadSettingsFromXml
2016-09-06 08:53:52 Start: GetConfigValue with filename=UpdateServices-Services.xml item=ContentLocal
2016-09-06 08:53:53 Value is true
2016-09-06 08:53:53 End: GetConfigValue
2016-09-06 08:53:53 Start: GetConfigValue with filename=UpdateServices-Services.xml item=ContentDirectory
2016-09-06 08:53:53 Value is E:\
2016-09-06 08:53:53 End: GetConfigValue
2016-09-06 08:53:53 Content directory is E:\
2016-09-06 08:53:53 Database roleservice is not installed
2016-09-06 08:53:53 End: LoadSettingsFromXml
Die Nachinstallation (PostInstall) wird gestartet.
2016-09-06 08:53:53 Start: Run
2016-09-06 08:53:53 Fetching WsusAdministratorsSid from registry store
2016-09-06 08:53:53 Value is S-1-5-21-638540108-3506162873-1759391028-1002
2016-09-06 08:53:53 Fetching WsusReportersSid from registry store
2016-09-06 08:53:53 Value is S-1-5-21-638540108-3506162873-1759391028-1003
2016-09-06 08:53:54 Configuring content directory...
2016-09-06 08:53:54 Configuring groups...
2016-09-06 08:53:54 Starting group configuration for WSUS Administrators...
2016-09-06 08:53:54 Found group in regsitry, attempting to use it...
2016-09-06 08:53:57 Writing group to registry...
2016-09-06 08:53:57 Finished group creation
2016-09-06 08:53:57 Starting group configuration for WSUS Reporters...
2016-09-06 08:53:57 Found group in regsitry, attempting to use it...
2016-09-06 08:53:57 Writing group to registry...
2016-09-06 08:53:57 Finished group creation
2016-09-06 08:53:57 Configuring permissions...
2016-09-06 08:53:57 Fetching content directory...
2016-09-06 08:53:57 Fetching ContentDir from registry store
2016-09-06 08:53:57 Value is E:\
2016-09-06 08:53:57 Fetching group SIDs...
2016-09-06 08:53:57 Fetching WsusAdministratorsSid from registry store
2016-09-06 08:53:57 Value is S-1-5-21-638540108-3506162873-1759391028-1002
2016-09-06 08:53:57 Fetching WsusReportersSid from registry store
2016-09-06 08:53:57 Value is S-1-5-21-638540108-3506162873-1759391028-1003
2016-09-06 08:53:57 Creating group principals...
2016-09-06 08:53:57 Granting directory permissions...
2016-09-06 08:53:57 Granting permissions on content directory...
2016-09-06 08:53:57 Granting registry permissions...
2016-09-06 08:53:57 Granting registry permissions...
2016-09-06 08:53:57 Granting registry permissions...
2016-09-06 08:53:57 Configuring shares...
2016-09-06 08:53:57 Configuring network shares...
2016-09-06 08:53:57 Fetching content directory...
2016-09-06 08:53:57 Fetching ContentDir from registry store
2016-09-06 08:53:57 Value is E:\
2016-09-06 08:53:57 Fetching WSUS admin SID...
2016-09-06 08:53:57 Fetching WsusAdministratorsSid from registry store
2016-09-06 08:53:57 Value is S-1-5-21-638540108-3506162873-1759391028-1002
2016-09-06 08:53:57 Content directory is local, creating content shares...
2016-09-06 08:53:58 Creating share "UpdateServicesPackages" with path "E:\UpdateServicesPackages" and description "A network share to be used by client systems for collecting all software packages (usually applications) published
on this WSUS system."
2016-09-06 08:53:58 Deleting existing share...
2016-09-06 08:53:58 Creating share...
2016-09-06 08:53:58 Share successfully created
2016-09-06 08:53:58 Creating share "WsusContent" with path "E:\WsusContent" and description "A network share to be used by Local Publishing to place published content on this WSUS system."
2016-09-06 08:53:58 Deleting existing share...
2016-09-06 08:53:58 Creating share...
2016-09-06 08:53:58 Share successfully created
2016-09-06 08:53:58 Creating share "WSUSTemp" with path "C:\Program Files\Update Services\LogFiles\WSUSTemp" and description "A network share used by Local Publishing from a Remote WSUS Console Instance."
2016-09-06 08:53:58 Deleting existing share...
2016-09-06 08:53:58 Creating share...
2016-09-06 08:53:58 Share successfully created
2016-09-06 08:53:58 Finished creating content shares
2016-09-06 08:53:58 Stopping service WSUSService
2016-09-06 08:53:58 Stopping service W3SVC
2016-09-06 08:55:28 Configuring WID database...
2016-09-06 08:55:28 Configuring the database...
2016-09-06 08:55:28 Establishing DB connection...
2016-09-06 08:55:28 Checking to see if database exists...
2016-09-06 08:55:29 Database exists
2016-09-06 08:55:29 Switching database to single user mode...
2016-09-06 08:55:32 Loading install type query...
2016-09-06 08:55:32 DECLARE @currentDBVersion int
DECLARE @scriptMajorVersion int = (9600)
DECLARE @scriptMinorVersion int = (18324)
DECLARE @databaseMajorVersion int
DECLARE @databaseMinorVersion int
DECLARE @databaseBuildNumber nvarchar(10)
IF NOT EXISTS(SELECT * FROM sys.databases WHERE name='SUSDB')
BEGIN
SELECT 1
END
ELSE
BEGIN
SET @currentDBVersion = (SELECT SchemaVersion FROM SUSDB.dbo.tbSchemaVersion WHERE ComponentName = 'CoreDB')
SET @databaseBuildNumber = (SELECT BuildNumber FROM SUSDB.dbo.tbSchemaVersion WHERE ComponentName = 'CoreDB')
DECLARE @delimiterPosition INT = CHARINDEX('.', @databaseBuildNumber)
IF (@delimiterPosition = 0)
BEGIN
RAISERROR('Invalid schema version number', 16, 1) with nowait
return
END
SET @databaseMajorVersion = SUBSTRING(@databaseBuildNumber, 1, @delimiterPosition - 1)
SET @databaseMinorVersion = SUBSTRING(@databaseBuildNumber, (@delimiterPosition + 1), (10 - @delimiterPosition))
IF @currentDBVersion < 926
BEGIN
SELECT 3
END
ELSE
BEGIN
IF (@scriptMajorVersion > @databaseMajorVersion OR
(@scriptMajorVersion = @databaseMajorVersion AND @scriptMinorVersion > @databaseMinorVersion))
BEGIN
SELECT 2
END
ELSE IF (@scriptMajorVersion = @databaseMajorVersion AND
@scriptMinorVersion = @databaseMinorVersion)
BEGIN
SELECT 0
END
ELSE
BEGIN
SELECT 4
END
END
END
2016-09-06 08:55:32 Install type is: Reinstall
2016-09-06 08:55:32 Creating logins...
2016-09-06 08:55:32 Fetching account info for S-1-5-20
2016-09-06 08:55:32 Found principal
2016-09-06 08:55:32 Found account
2016-09-06 08:55:32 Got binary SID
2016-09-06 08:55:32 Fetching WsusAdministratorsSid from registry store
2016-09-06 08:55:32 Value is S-1-5-21-638540108-3506162873-1759391028-1002
2016-09-06 08:55:32 Fetching account info for S-1-5-21-638540108-3506162873-1759391028-1002
2016-09-06 08:55:34 Found principal
2016-09-06 08:55:34 Found account
2016-09-06 08:55:34 Got binary SID
2016-09-06 08:55:34 Setting content location...
2016-09-06 08:55:34 Fetching ContentDir from registry store
2016-09-06 08:55:34 Value is E:\
2016-09-06 08:55:34 Swtching DB to multi-user mode......
2016-09-06 08:55:35 Finished setting multi-user mode
2016-09-06 08:55:35 Writing DB settings to registry...
2016-09-06 08:55:35 Marking PostInstall done for UpdateServices-WidDatabase in the registry...
2016-09-06 08:55:35 Starting service W3SVC
2016-09-06 08:55:35 Configuring IIS...
2016-09-06 08:55:35 Start: ConfigureWebsite
2016-09-06 08:55:36 Configuring website on port 8530
2016-09-06 08:57:37 2016-09-06 08:55:55 Info IISCustomAction Setupaktion wird ausgefhrt, Befehl "/Install"
2016-09-06 08:57:34 Info IISCustomAction Der Befehl "/Install" wurde erfolgreich ausgefhrt.
2016-09-06 08:57:37 End: ConfigureWebsite
2016-09-06 08:57:37 Configuring performance counters...
2016-09-06 08:57:37 Configuring Stats.NET perf counter...
2016-09-06 08:57:37 Configuring reporting perf counter...
2016-09-06 08:57:37 Configuring client webservice perf counter...
2016-09-06 08:57:37 Configuring server sync webservice perf counter...
2016-09-06 08:57:37 Configuring API remoting perf counter...
2016-09-06 08:57:37 Bringing services online...
2016-09-06 08:57:37 Checking initialization status...
2016-09-06 08:57:38 StartServer starting...
2016-09-06 08:57:38 Generating encryption key to write to the registry...
2016-09-06 08:57:38 Generating encryption key to write to the database...
2016-09-06 08:57:38 Generating encryption key succeeded...
2016-09-06 08:57:38 Setting WSUSService to autostart...
2016-09-06 08:57:38 WSUSService is set to autostart.
2016-09-06 08:57:38 Starting WSUSService...
2016-09-06 08:57:38 WSUSService is now started.
2016-09-06 08:57:38 Importing default detectoids.
2016-09-06 08:57:38 Importing CriticalUpdates.xml...
2016-09-06 08:57:39 Importing Drivers.xml...
2016-09-06 08:57:39 Importing FeaturePacks.xml...
2016-09-06 08:57:39 Importing MicrosoftCorporation.xml...
2016-09-06 08:57:39 Importing SecurityUpdates.xml...
2016-09-06 08:57:39 Importing ServicePacks.xml...
2016-09-06 08:57:39 Importing Tools.xml...
2016-09-06 08:57:39 Importing UpdateRollups.xml...
2016-09-06 08:57:39 Importing Updates.xml...
2016-09-06 08:57:39 Importing Windows.xml...
2016-09-06 08:57:39 Importing Windows2000family.xml...
2016-09-06 08:57:39 Importing WindowsServer2003DatacenterEdition.xml...
2016-09-06 08:57:39 Importing WindowsServer2003Family.xml...
2016-09-06 08:57:39 Importing WindowsXPfamily.xml...
2016-09-06 08:57:39 Importing LocalPublisher.xml...
2016-09-06 08:57:39 Importing LocallyPublishedPackages.xml...
2016-09-06 08:57:39 Importing Applications.xml...
2016-09-06 08:57:39 Importing Exchange.xml...
2016-09-06 08:57:39 Importing Office.xml...
2016-09-06 08:57:39 Importing SQL.xml...
2016-09-06 08:57:39 Importing Exchange2000Server.xml...
2016-09-06 08:57:39 Importing ExchangeServer2003.xml...
2016-09-06 08:57:40 Importing OfficeXP.xml...
2016-09-06 08:57:40 Importing Office2003.xml...
2016-09-06 08:57:40 Importing SQLServer.xml...
2016-09-06 08:57:40 Importing WindowsXP64BitEditionVersion2003.xml...
2016-09-06 08:57:40 Importing DefinitionUpdateSusXml.xml...
2016-09-06 08:57:40 Importing ClientServicingApiDetectoid.xml...
2016-09-06 08:57:40 Importing default detectoids succeeded.
2016-09-06 08:57:42 Synchronization in progress. Please cancel synchronization and rerun postinstall again. Exception: System.Net.WebException: Fehler bei der Anforderung mit HTTP-Status 400: Bad Request.
bei System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall)
bei System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)
bei Microsoft.UpdateServices.Internal.ApiRemoting.GetServerVersion()
bei Microsoft.UpdateServices.Internal.DatabaseAccess.AdminDataAccessProxy.GetServerVersion()
bei Microsoft.UpdateServices.Internal.BaseApi.UpdateServer.CreateUpdateServer(String serverName, Boolean useSecureConnection, Int32 portNumber)
bei Microsoft.UpdateServices.Internal.BaseApi.UpdateServer..ctor(Boolean bypassApiRemoting)
bei Microsoft.UpdateServices.Setup.StartServer.StartServer.FixSubscriptionCategories()
2016-09-06 08:57:42 StartServer encountered errors. Exception=Synchronization in progress. Please cancel synchronization and run postinstall again.
2016-09-06 08:57:42 Microsoft.UpdateServices.Administration.CommandException: Der WSUS-Dienst konnte nicht gestartet und nicht konfiguriert werden.
bei Microsoft.UpdateServices.Administration.PostInstall.Run()
bei Microsoft.UpdateServices.Administration.PostInstall.Execute(String[] arguments)
Schwerwiegender Fehler: Der WSUS-Dienst konnte nicht gestartet und nicht konfiguriert werden.
Ich interpretiere es so das der "Server" nicht gestartet werden kann da bereits Zugriffe drauf erfolgen.
Wie sieht ein möglicher Workaround aus?