Erreur WSUS [Résolu]

Signaler
Messages postés
35
Date d'inscription
mercredi 5 août 2020
Statut
Membre
Dernière intervention
21 octobre 2020
-
 LoNe -
Bonjour,

J'ai regardé de nombreux forum mais impossible de régler mon problème. Je suis en entreprise et je doit mettre en place la fonctionnalité WSUS. Lorsque je démarre les tâches de post installation j'ai une erreur. Voici le log de cette erreur.


2020-09-01 13:36:49 Postinstall started
2020-09-01 13:36:49 Detected role services: Api, UI, WidDatabase, Services
2020-09-01 13:36:49 Start: LoadSettingsFromXml
2020-09-01 13:36:49 Start: GetConfigValue with filename=UpdateServices-Services.xml item=ContentLocal
2020-09-01 13:36:49 Value is true
2020-09-01 13:36:49 End: GetConfigValue
2020-09-01 13:36:49 Start: GetConfigValue with filename=UpdateServices-Services.xml item=ContentDirectory
2020-09-01 13:36:49 Value is d:\wsus
2020-09-01 13:36:49 End: GetConfigValue
2020-09-01 13:36:49 Content directory is d:\wsus
2020-09-01 13:36:49 Database roleservice is not installed
2020-09-01 13:36:49 End: LoadSettingsFromXml
D‚marrage de la post-installation
2020-09-01 13:36:49 Start: Run
2020-09-01 13:36:49 Fetching WsusAdministratorsSid from registry store
2020-09-01 13:36:49 Value is S-1-5-21-3178245839-1398349427-564072377-3101
2020-09-01 13:36:49 Fetching WsusReportersSid from registry store
2020-09-01 13:36:49 Value is S-1-5-21-3178245839-1398349427-564072377-3102
2020-09-01 13:36:49 Configuring content directory...
2020-09-01 13:36:49 Configuring groups...
2020-09-01 13:36:49 Starting group configuration for WSUS Administrators...
2020-09-01 13:36:49 Found group in regsitry, attempting to use it...
2020-09-01 13:36:49 Searching for existing group...
2020-09-01 13:36:50 Existing group was found
2020-09-01 13:36:50 Writing group to registry...
2020-09-01 13:36:50 Finished group creation
2020-09-01 13:36:50 Starting group configuration for WSUS Reporters...
2020-09-01 13:36:50 Found group in regsitry, attempting to use it...
2020-09-01 13:36:50 Searching for existing group...
2020-09-01 13:36:50 Existing group was found
2020-09-01 13:36:50 Writing group to registry...
2020-09-01 13:36:50 Finished group creation
2020-09-01 13:36:50 Configuring permissions...
2020-09-01 13:36:50 Fetching content directory...
2020-09-01 13:36:50 Fetching ContentDir from registry store
2020-09-01 13:36:50 Value is d:\wsus
2020-09-01 13:36:50 Fetching group SIDs...
2020-09-01 13:36:50 Fetching WsusAdministratorsSid from registry store
2020-09-01 13:36:50 Value is S-1-5-21-3178245839-1398349427-564072377-3101
2020-09-01 13:36:50 Fetching WsusReportersSid from registry store
2020-09-01 13:36:50 Value is S-1-5-21-3178245839-1398349427-564072377-3102
2020-09-01 13:36:50 Creating group principals...
2020-09-01 13:36:50 Granting directory permissions...
2020-09-01 13:36:50 Granting permissions on content directory...
2020-09-01 13:36:50 Granting registry permissions...
2020-09-01 13:36:50 Granting registry permissions...
2020-09-01 13:36:50 Granting registry permissions...
2020-09-01 13:36:50 Configuring shares...
2020-09-01 13:36:50 Configuring network shares...
2020-09-01 13:36:50 Fetching content directory...
2020-09-01 13:36:50 Fetching ContentDir from registry store
2020-09-01 13:36:50 Value is d:\wsus
2020-09-01 13:36:50 Fetching WSUS admin SID...
2020-09-01 13:36:50 Fetching WsusAdministratorsSid from registry store
2020-09-01 13:36:50 Value is S-1-5-21-3178245839-1398349427-564072377-3101
2020-09-01 13:36:50 Content directory is local, creating content shares...
2020-09-01 13:36:50 Creating share "UpdateServicesPackages" with path "d:\wsus\UpdateServicesPackages" and description "A network share to be used by client systems for collecting all software packages (usually applications) published on this WSUS system."
2020-09-01 13:36:50 Deleting existing share...
2020-09-01 13:36:50 Creating share...
2020-09-01 13:36:50 Share successfully created
2020-09-01 13:36:50 Creating share "WsusContent" with path "d:\wsus\WsusContent" and description "A network share to be used by Local Publishing to place published content on this WSUS system."
2020-09-01 13:36:50 Deleting existing share...
2020-09-01 13:36:50 Creating share...
2020-09-01 13:36:50 Share successfully created
2020-09-01 13:36:50 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."
2020-09-01 13:36:50 Deleting existing share...
2020-09-01 13:36:50 Creating share...
2020-09-01 13:36:50 Share successfully created
2020-09-01 13:36:50 Finished creating content shares
2020-09-01 13:36:50 Stopping service WSUSService
2020-09-01 13:36:50 Stopping service W3SVC
2020-09-01 13:36:51 Configuring WID database...
2020-09-01 13:36:51 Configuring the database...
2020-09-01 13:36:51 Establishing DB connection...
2020-09-01 13:36:51 Checking to see if database exists...
2020-09-01 13:36:51 Database exists
2020-09-01 13:36:51 Switching database to single user mode...
2020-09-01 13:36:54 Loading install type query...
2020-09-01 13:36:54 DECLARE @currentDBVersion int
DECLARE @scriptMajorVersion int = (9600)
DECLARE @scriptMinorVersion int = (18694)
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

2020-09-01 13:36:54 Install type is: Reinstall
2020-09-01 13:36:54 Creating logins...
2020-09-01 13:36:54 Fetching account info for S-1-5-20
2020-09-01 13:36:54 Found principal
2020-09-01 13:36:54 Found account
2020-09-01 13:36:54 Got binary SID
2020-09-01 13:36:54 Fetching WsusAdministratorsSid from registry store
2020-09-01 13:36:54 Value is S-1-5-21-3178245839-1398349427-564072377-3101
2020-09-01 13:36:54 Fetching account info for S-1-5-21-3178245839-1398349427-564072377-3101
2020-09-01 13:36:54 Fetching account info for S-1-5-21-3178245839-1398349427-564072377-3101
2020-09-01 13:36:54 Found principal
2020-09-01 13:36:54 Found account
2020-09-01 13:36:54 Got binary SID
2020-09-01 13:36:55 Setting content location...
2020-09-01 13:36:55 Fetching ContentDir from registry store
2020-09-01 13:36:55 Value is d:\wsus
2020-09-01 13:36:55 Swtching DB to multi-user mode......
2020-09-01 13:36:55 Finished setting multi-user mode
2020-09-01 13:36:55 Writing DB settings to registry...
2020-09-01 13:36:55 Marking PostInstall done for UpdateServices-WidDatabase in the registry...
2020-09-01 13:36:55 Starting service W3SVC
2020-09-01 13:36:55 Configuring IIS...
2020-09-01 13:36:55 Start: ConfigureWebsite
2020-09-01 13:36:55 Configuring website on port 8530
2020-09-01 13:37:27 2020-09-01 13:37:06 Info IISCustomAction Action du programme d'installation en cours par la commande /Install
2020-09-01 13:37:26 Info IISCustomAction Commande /Install termin‚e

2020-09-01 13:37:27 End: ConfigureWebsite
2020-09-01 13:37:27 Configuring performance counters...
2020-09-01 13:37:27 Configuring Stats.NET perf counter...
2020-09-01 13:37:27 Configuring reporting perf counter...
2020-09-01 13:37:27 Configuring client webservice perf counter...
2020-09-01 13:37:27 Configuring server sync webservice perf counter...
2020-09-01 13:37:27 Configuring API remoting perf counter...
2020-09-01 13:37:27 Bringing services online...
2020-09-01 13:37:27 Checking initialization status...
2020-09-01 13:37:27 Database needs initialization.
2020-09-01 13:37:27 StartServer starting...
2020-09-01 13:37:27 Generating encryption key to write to the registry...
2020-09-01 13:37:27 Generating encryption key to write to the database...
2020-09-01 13:37:28 Generating encryption key succeeded...
2020-09-01 13:37:28 Setting WSUSService to autostart...
2020-09-01 13:37:28 WSUSService is set to autostart.
2020-09-01 13:37:28 Starting WSUSService...
2020-09-01 13:37:28 WSUSService is now started.
2020-09-01 13:37:28 Importing default detectoids.
2020-09-01 13:37:28 Importing CriticalUpdates.xml...
2020-09-01 13:37:28 Importing Drivers.xml...
2020-09-01 13:37:28 Importing FeaturePacks.xml...
2020-09-01 13:37:28 Importing MicrosoftCorporation.xml...
2020-09-01 13:37:28 Importing SecurityUpdates.xml...
2020-09-01 13:37:28 Importing ServicePacks.xml...
2020-09-01 13:37:28 Importing Tools.xml...
2020-09-01 13:37:28 Importing UpdateRollups.xml...
2020-09-01 13:37:28 Importing Updates.xml...
2020-09-01 13:37:28 Importing Windows.xml...
2020-09-01 13:37:28 Importing Windows2000family.xml...
2020-09-01 13:37:28 Importing WindowsServer2003DatacenterEdition.xml...
2020-09-01 13:37:28 Importing WindowsServer2003Family.xml...
2020-09-01 13:37:28 Importing WindowsXPfamily.xml...
2020-09-01 13:37:28 Importing LocalPublisher.xml...
2020-09-01 13:37:28 Importing LocallyPublishedPackages.xml...
2020-09-01 13:37:28 Importing Applications.xml...
2020-09-01 13:37:28 Importing Exchange.xml...
2020-09-01 13:37:28 Importing Office.xml...
2020-09-01 13:37:28 Importing SQL.xml...
2020-09-01 13:37:28 Importing Exchange2000Server.xml...
2020-09-01 13:37:28 Importing ExchangeServer2003.xml...
2020-09-01 13:37:28 Importing OfficeXP.xml...
2020-09-01 13:37:28 Importing Office2003.xml...
2020-09-01 13:37:28 Importing SQLServer.xml...
2020-09-01 13:37:28 Importing WindowsXP64BitEditionVersion2003.xml...
2020-09-01 13:37:28 Importing DefinitionUpdateSusXml.xml...
2020-09-01 13:37:28 Importing ClientServicingApiDetectoid.xml...
2020-09-01 13:37:28 Importing default detectoids succeeded.
2020-09-01 13:37:28 Creating default subscription.
2020-09-01 13:37:28 Instantiating UpdateServer
2020-09-01 13:37:29 CreateDefaultSubscription failed. Exception: System.Net.WebException: La demande a ‚chou‚ avec l'‚tat HTTP 503 : Service Unavailable.
… System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall)
… System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)
… Microsoft.UpdateServices.Internal.ApiRemoting.GetServerVersion()
… Microsoft.UpdateServices.Internal.DatabaseAccess.AdminDataAccessProxy.GetServerVersion()
… Microsoft.UpdateServices.Internal.BaseApi.UpdateServer.CreateUpdateServer(String serverName, Boolean useSecureConnection, Int32 portNumber)
… Microsoft.UpdateServices.Internal.BaseApi.UpdateServer..ctor(Boolean bypassApiRemoting)
… Microsoft.UpdateServices.Setup.StartServer.StartServer.CreateDefaultSubscription()
2020-09-01 13:37:29 StartServer encountered errors. Exception=La demande a ‚chou‚ avec l'‚tat HTTP 503 : Service Unavailable.
2020-09-01 13:37:29 Microsoft.UpdateServices.Administration.CommandException: chec du d‚marrage de la configuration du service WSUS
… Microsoft.UpdateServices.Administration.PostInstall.Run()
… Microsoft.UpdateServices.Administration.PostInstall.Execute(String[] arguments)
Erreur irr‚cup‚rableÿ: chec du d‚marrage de la configuration du service WSUS


Une idée ?

2 réponses

Messages postés
35
Date d'inscription
mercredi 5 août 2020
Statut
Membre
Dernière intervention
21 octobre 2020

Problème résolu. Il suffisais de supprimer les site wsus sur IIS et lancer le post déploiement.
Pour plus d'information sur les erreur HTTP 503 :

https://docs.microsoft.com/fr-fr/windows-server/administration/windows-server-update-services/manage/wsus-messages-and-troubleshooting-tips