none
Windows Server Update Services: Error al realizar tareas posteriores a la instalación RRS feed

  • Pregunta

  • Hola buenas. Llevo con este problema ya un par de meses, y he intentado todo lo que se me ha ocurrido.

    Tengo instalado Windows Server 2019 en una máquina virtual con un dominio Active Directory creado.

    También tengo un cliente conectado al dominio pero no he realizado nada desde el cliente aún.

    Al realizar las tareas posteriores a la instalación, este es el error que me da:

    2020-03-11 09:38:55  Postinstall started
    2020-03-11 09:38:55  Detected role services: Api, UI, WidDatabase, Services
    2020-03-11 09:38:55  Start: LoadSettingsFromXml
    2020-03-11 09:38:55  Start: GetConfigValue with filename=UpdateServices-Services.xml item=ContentLocal
    2020-03-11 09:38:55  Value is true
    2020-03-11 09:38:55  End: GetConfigValue
    2020-03-11 09:38:55  Start: GetConfigValue with filename=UpdateServices-Services.xml item=ContentDirectory
    2020-03-11 09:38:55  Value is F:\WSUS\Updates
    2020-03-11 09:38:55  End: GetConfigValue
    2020-03-11 09:38:55  Content directory is F:\WSUS\Updates
    2020-03-11 09:38:55  Database roleservice is not installed
    2020-03-11 09:38:55  End: LoadSettingsFromXml
    La postinstalaci¢n se est  iniciando
    2020-03-11 09:38:55  Start: Run
    2020-03-11 09:38:56  Fetching WsusAdministratorsSid from registry store
    2020-03-11 09:38:56  Value is S-1-5-21-3286016425-3630283975-1244821162-1000
    2020-03-11 09:38:56  Fetching WsusReportersSid from registry store
    2020-03-11 09:38:56  Value is S-1-5-21-3286016425-3630283975-1244821162-1001
    2020-03-11 09:39:56  Configuring content directory...
    2020-03-11 09:39:56  Configuring groups...
    2020-03-11 09:39:56  Starting group configuration for WSUS Administrators...
    2020-03-11 09:39:56  Found group in regsitry, attempting to use it...
    2020-03-11 09:39:56  Searching for existing group...
    2020-03-11 09:39:56  Group was not fount attempt to create it...
    2020-03-11 09:39:56  Writing group to registry...
    2020-03-11 09:39:56  Finished group creation
    2020-03-11 09:39:56  Starting group configuration for WSUS Reporters...
    2020-03-11 09:39:56  Found group in regsitry, attempting to use it...
    2020-03-11 09:39:56  Searching for existing group...
    2020-03-11 09:39:56  Group was not fount attempt to create it...
    2020-03-11 09:39:56  Writing group to registry...
    2020-03-11 09:39:56  Finished group creation
    2020-03-11 09:39:56  Configuring permissions...
    2020-03-11 09:39:56  Fetching content directory...
    2020-03-11 09:39:56  Fetching ContentDir from registry store
    2020-03-11 09:39:56  Value is F:\WSUS\Updates
    2020-03-11 09:39:56  Fetching group SIDs...
    2020-03-11 09:39:56  Fetching WsusAdministratorsSid from registry store
    2020-03-11 09:39:56  Value is S-1-5-21-1024574130-3910948917-4268462944-1104
    2020-03-11 09:39:56  Fetching WsusReportersSid from registry store
    2020-03-11 09:39:56  Value is S-1-5-21-1024574130-3910948917-4268462944-1105
    2020-03-11 09:39:56  Creating group principals...
    2020-03-11 09:39:56  Granting directory permissions...
    2020-03-11 09:39:57  Granting permissions on content directory...
    2020-03-11 09:39:57  Granting registry permissions...
    2020-03-11 09:39:57  Granting registry permissions...
    2020-03-11 09:39:57  Granting registry permissions...
    2020-03-11 09:39:57  Configuring shares...
    2020-03-11 09:39:57  Configuring network shares...
    2020-03-11 09:39:57  Fetching content directory...
    2020-03-11 09:39:57  Fetching ContentDir from registry store
    2020-03-11 09:39:57  Value is F:\WSUS\Updates
    2020-03-11 09:39:57  Fetching WSUS admin SID...
    2020-03-11 09:39:57  Fetching WsusAdministratorsSid from registry store
    2020-03-11 09:39:57  Value is S-1-5-21-1024574130-3910948917-4268462944-1104
    2020-03-11 09:39:57  Content directory is local, creating content shares...
    2020-03-11 09:39:57  Creating share "UpdateServicesPackages" with path "F:\WSUS\Updates\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-03-11 09:39:58  Deleting existing share...
    2020-03-11 09:39:58  Creating share...
    2020-03-11 09:39:58  Share successfully created
    2020-03-11 09:39:58  Creating share "WsusContent" with path "F:\WSUS\Updates\WsusContent" and description "A network share to be used by Local Publishing to place published content on this WSUS system."
    2020-03-11 09:39:58  Deleting existing share...
    2020-03-11 09:39:58  Creating share...
    2020-03-11 09:39:58  Share successfully created
    2020-03-11 09:39: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."
    2020-03-11 09:39:58  Deleting existing share...
    2020-03-11 09:39:58  Creating share...
    2020-03-11 09:39:59  Share successfully created
    2020-03-11 09:39:59  Finished creating content shares
    2020-03-11 09:39:59  Stopping service WSUSService
    2020-03-11 09:39:59  Stopping service W3SVC
    2020-03-11 09:39:59  Configuring WID database...
    2020-03-11 09:39:59  Configuring the database...
    2020-03-11 09:40:12  Establishing DB connection...
    2020-03-11 09:40:12  Checking to see if database exists...
    2020-03-11 09:40:12  Database exists
    2020-03-11 09:40:12  Switching database to single user mode...
    2020-03-11 09:40:13  Loading install type query...
    2020-03-11 09:40:13  DECLARE @currentDBVersion       int
    DECLARE @scriptMajorVersion     int = (17763)
    DECLARE @scriptMinorVersion     int = (107)
    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-03-11 09:40:14  Install type is: Reinstall
    2020-03-11 09:40:14  Creating logins...
    2020-03-11 09:40:14  Fetching account info for S-1-5-20
    2020-03-11 09:40:14  Found principal
    2020-03-11 09:40:14  Found account
    2020-03-11 09:40:14  Got binary SID
    2020-03-11 09:40:14  Fetching WsusAdministratorsSid from registry store
    2020-03-11 09:40:14  Value is S-1-5-21-1024574130-3910948917-4268462944-1104
    2020-03-11 09:40:14  Fetching account info for S-1-5-21-1024574130-3910948917-4268462944-1104
    2020-03-11 09:40:14  Fetching account info for S-1-5-21-1024574130-3910948917-4268462944-1104
    2020-03-11 09:40:14  Found principal
    2020-03-11 09:40:14  Found account
    2020-03-11 09:40:14  Got binary SID
    2020-03-11 09:40:14  Setting content location...
    2020-03-11 09:40:14  Fetching ContentDir from registry store
    2020-03-11 09:40:14  Value is F:\WSUS\Updates
    2020-03-11 09:40:14  Swtching DB to multi-user mode......
    2020-03-11 09:40:16  Finished setting multi-user mode
    2020-03-11 09:40:16  Writing DB settings to registry...
    2020-03-11 09:40:16  Disposing Connection
    2020-03-11 09:40:16  Clearing Connection Pools
    2020-03-11 09:40:16  Marking PostInstall done for UpdateServices-WidDatabase in the registry...
    2020-03-11 09:40:16  Starting service W3SVC
    2020-03-11 09:40:16  Configuring IIS...
    2020-03-11 09:40:16  Start: ConfigureWebsite
    2020-03-11 09:40:17  Configuring website on port 8530
    2020-03-11 09:42:14  2020-03-11 09:40:19  Info      IISCustomAction    Realizando acci¢n de instalaci¢n, comando /Install 
    2020-03-11 09:42:11  Info      IISCustomAction    Comando /Install ejecutado correctamente

    2020-03-11 09:42:14  End: ConfigureWebsite
    2020-03-11 09:42:14  Configuring performance counters...
    2020-03-11 09:42:14  Configuring Stats.NET perf counter...
    2020-03-11 09:42:15  Configuring reporting perf counter...
    2020-03-11 09:42:15  Configuring client webservice perf counter...
    2020-03-11 09:42:15  Configuring server sync webservice perf counter...
    2020-03-11 09:42:15  Configuring API remoting perf counter...
    2020-03-11 09:42:15  Bringing services online...
    2020-03-11 09:42:15  Checking initialization status... 
    2020-03-11 09:42:19  Database needs initialization.
    2020-03-11 09:42:19  StartServer starting...
    2020-03-11 09:42:19  Generating encryption key to write to the registry...
    2020-03-11 09:42:19  Generating encryption key to write to the database...
    2020-03-11 09:42:27  Generating encryption key succeeded...
    2020-03-11 09:42:27  Setting WSUSService to autostart...
    2020-03-11 09:42:27  WSUSService is set to autostart.
    2020-03-11 09:42:27  Starting WSUSService...
    2020-03-11 09:42:28  WSUSService is now started.
    2020-03-11 09:42:28  Importing default detectoids.
    2020-03-11 09:42:29  Importing CriticalUpdates.xml...
    2020-03-11 09:42:44  Importing Drivers.xml...
    2020-03-11 09:42:44  Importing DriverSets.xml...
    2020-03-11 09:42:45  Importing FeaturePacks.xml...
    2020-03-11 09:42:47  Importing MicrosoftCorporation.xml...
    2020-03-11 09:43:04  Importing SecurityUpdates.xml...
    2020-03-11 09:43:04  Importing ServicePacks.xml...
    2020-03-11 09:43:05  Importing Tools.xml...
    2020-03-11 09:43:05  Importing UpdateRollups.xml...
    2020-03-11 09:43:05  Importing Updates.xml...
    2020-03-11 09:43:05  Importing Windows.xml...
    2020-03-11 09:43:05  Importing Windows2000family.xml...
    2020-03-11 09:43:05  Importing WindowsServer2003DatacenterEdition.xml...
    2020-03-11 09:43:06  Importing WindowsServer2003Family.xml...
    2020-03-11 09:43:06  Importing WindowsXPfamily.xml...
    2020-03-11 09:43:06  Importing LocalPublisher.xml...
    2020-03-11 09:43:06  Importing LocallyPublishedPackages.xml...
    2020-03-11 09:43:06  Importing Applications.xml...
    2020-03-11 09:43:06  Importing Exchange.xml...
    2020-03-11 09:43:06  Importing Office.xml...
    2020-03-11 09:43:06  Importing SQL.xml...
    2020-03-11 09:43:06  Importing Exchange2000Server.xml...
    2020-03-11 09:43:06  Importing ExchangeServer2003.xml...
    2020-03-11 09:43:06  Importing OfficeXP.xml...
    2020-03-11 09:43:06  Importing Office2003.xml...
    2020-03-11 09:43:07  Importing SQLServer.xml...
    2020-03-11 09:43:07  Importing WindowsXP64BitEditionVersion2003.xml...
    2020-03-11 09:43:07  Importing DefinitionUpdateSusXml.xml...
    2020-03-11 09:43:07  Importing ClientServicingApiDetectoid.xml...
    2020-03-11 09:43:07  Importing default detectoids succeeded.
    2020-03-11 09:43:07  Creating default subscription.
    2020-03-11 09:43:07  Instantiating UpdateServer
    2020-03-11 09:43:22  CreateDefaultSubscription failed. Exception: System.Net.WebException: Error de la solicitud con el c¢digo de estado HTTP 503: Service Unavailable.
       en System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall)
       en System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)
       en Microsoft.UpdateServices.Internal.ApiRemoting.GetServerVersion()
       en Microsoft.UpdateServices.Internal.DatabaseAccess.AdminDataAccessProxy.GetServerVersion()
       en Microsoft.UpdateServices.Internal.BaseApi.UpdateServer.CreateUpdateServer(String serverName, Boolean useSecureConnection, Int32 portNumber)
       en Microsoft.UpdateServices.Internal.BaseApi.UpdateServer..ctor(Boolean bypassApiRemoting)
       en Microsoft.UpdateServices.Setup.StartServer.StartServer.CreateDefaultSubscription()
    2020-03-11 09:43:22  StartServer encountered errors. Exception=Error de la solicitud con el c¢digo de estado HTTP 503: Service Unavailable.
    2020-03-11 09:43:22  Microsoft.UpdateServices.Administration.CommandException: No se pudo iniciar y configurar el servicio WSUS
       en Microsoft.UpdateServices.Administration.PostInstall.Run()
       en Microsoft.UpdateServices.Administration.PostInstall.Execute(String[] arguments)
    Error irrecuperable: No se pudo iniciar y configurar el servicio WSUS

    No se me ocurre qué puede ser, alguna idea?

    miércoles, 11 de marzo de 2020 9:01

Respuestas

Todas las respuestas