none
Configuração IIS para o WSUS RRS feed

  • Pergunta

  • Boa tarde,

    Alguém sabe me dizer as configurações do IIS para o WSUS, aqui estou utilizando o IIS 8.5.9600.16384 no WIN SERVER 2012R2 e estou com alguns eventos com erro a principio achei que era permissão nas pastas porém já dei permissão total na pasta do wsus para os usuários wsus administrators, SERVIÇO DE REDE e também nessas pastas;

    • <c:/>Windows\Microsoft .NET\Framework\v1.1.4322\Temporary ASP.NET Files
    • <c:/>Windows\Temp

    Porém ainda estou tendo os seguintes erros;

    Event code: 3001
    Event message: A solicitação foi cancelada.
    Event time: 13/06/2016 16:24:33
    Event time (UTC): 13/06/2016 19:24:33
    Event ID: 396a02c8aa374c4c8c65ff088287f528
    Event sequence: 1760
    Event occurrence: 132
    Event detail code: 0
     
    Application information:
        Application domain: /LM/W3SVC/1185842984/ROOT/ClientWebService-2-131103133990759295
        Trust level: Full
        Application Virtual Path: /ClientWebService
        Application Path: C:\Program Files\Update Services\WebServices\ClientWebService\
        Machine name: FS
     
    Process information:
        Process ID: 3428
        Process name: w3wp.exe
        Account name: AUTORIDADE NT\SERVIÇO DE REDE
     
    Exception information:
        Exception type: HttpException
        Exception message: Atingido o tempo limite da solicitação.

     
     
    Request information:
        Request URL: http://fs:8530/ClientWebService/client.asmx
        Request path: /ClientWebService/client.asmx
        User host address: 10.10.4.92
        User:  
        Is authenticated: False
        Authentication Type:  
        Thread account name: AUTORIDADE NT\SERVIÇO DE REDE
     
    Thread information:
        Thread ID: 15
        Thread account name: AUTORIDADE NT\SERVIÇO DE REDE
        Is impersonating: False
        Stack trace:
     
     
    Custom event details:

    Este é outro;

    O diretório de conteúdo do WSUS não está acessível.
    System.Net.WebException: O servidor remoto retornou um erro: (401) Não Autorizado.
       em System.Net.HttpWebRequest.GetResponse()
       em Microsoft.UpdateServices.Internal.HealthMonitoring.HmtWebServices.CheckContentDirWebAccess(EventLoggingType type, HealthEventLogger logger)

    segunda-feira, 13 de junho de 2016 20:29

Respostas

  • Bom dia.Normalmente as configurações padrão do IIS para o Wsus são suficientes. Caso não tenha nenhum impacto, aconselho a remontar o WSUS/IIS (removendo) novamente, formatando o diretório ou apontando pra uma pasta nova.

    Espero ter ajudado


    João Carlos Xavier de Macedo Specialist Platforms Microsoft MCP,MCT,MCSA,MCTS,MCITP, ENTERPRISE VIRTUALIZATION WINDOWS SERVER 2008 R2,MCSE WINDOWS SERVER 2012

    • Marcado como Resposta Thales F Quintas terça-feira, 14 de junho de 2016 13:58
    terça-feira, 14 de junho de 2016 13:34

Todas as Respostas

  • Bom dia Emerson Hasegawa,

    Os erros estão impactando em alguma tarefa?

    Caso sim, pode nos informar em quais?

    Abraço.


    Thales F Quintas

    Esse conteúdo e fornecido sem garantias de qualquer tipo, seja expressa ou implícita

    TechNet Community Support

    Por favor, lembre-se de Marcar como Resposta as postagens que resolveram o seu problema. Essa é uma maneira comum de reconhecer aqueles que o ajudaram e fazer com que seja mais fácil para os outros visitantes encontrarem a resolução mais tarde.

    terça-feira, 14 de junho de 2016 13:14
  • Bom dia.Normalmente as configurações padrão do IIS para o Wsus são suficientes. Caso não tenha nenhum impacto, aconselho a remontar o WSUS/IIS (removendo) novamente, formatando o diretório ou apontando pra uma pasta nova.

    Espero ter ajudado


    João Carlos Xavier de Macedo Specialist Platforms Microsoft MCP,MCT,MCSA,MCTS,MCITP, ENTERPRISE VIRTUALIZATION WINDOWS SERVER 2008 R2,MCSE WINDOWS SERVER 2012

    • Marcado como Resposta Thales F Quintas terça-feira, 14 de junho de 2016 13:58
    terça-feira, 14 de junho de 2016 13:34
  • Sim as estações não estão atualizando, e o processo do IIS chega consumir 1gb de RAM e gerando vários eventos no eventvwr. 

    Eu já reinstalei o serviço e apontei para outro diretório.

    Qualquer idéia é bem vinda obrigado amigos.

    terça-feira, 14 de junho de 2016 17:58
  • Fiz novamente a reinstalação e está dando este erro na hora de fazer aquela configuração de pós instalação.

    2016-06-16 14:02:58  Postinstall started
    2016-06-16 14:02:58  Detected role services: Api, UI, WidDatabase, Services
    2016-06-16 14:02:58  Start: LoadSettingsFromXml
    2016-06-16 14:02:58  Start: GetConfigValue with filename=UpdateServices-Services.xml item=ContentLocal
    2016-06-16 14:02:58  Value is true
    2016-06-16 14:02:58  End: GetConfigValue
    2016-06-16 14:02:58  Start: GetConfigValue with filename=UpdateServices-Services.xml item=ContentDirectory
    2016-06-16 14:02:58  Value is D:\WSUS
    2016-06-16 14:02:58  End: GetConfigValue
    2016-06-16 14:02:58  Content directory is D:\WSUS
    2016-06-16 14:02:58  Database roleservice is not installed
    2016-06-16 14:02:58  End: LoadSettingsFromXml
    Iniciando a p¢s-instala‡Æo
    2016-06-16 14:02:58  Start: Run
    2016-06-16 14:02:58  Fetching WsusAdministratorsSid from registry store
    2016-06-16 14:02:58  Value is S-1-5-21-3781909268-3651672729-1859138742-1003
    2016-06-16 14:02:58  Fetching WsusReportersSid from registry store
    2016-06-16 14:02:58  Value is S-1-5-21-3781909268-3651672729-1859138742-1004
    2016-06-16 14:02:59  Configuring content directory...
    2016-06-16 14:02:59  Configuring groups...
    2016-06-16 14:02:59  Starting group configuration for WSUS Administrators...
    2016-06-16 14:02:59  Found group in regsitry, attempting to use it...
    2016-06-16 14:03:02  Writing group to registry...
    2016-06-16 14:03:02  Finished group creation
    2016-06-16 14:03:02  Starting group configuration for WSUS Reporters...
    2016-06-16 14:03:02  Found group in regsitry, attempting to use it...
    2016-06-16 14:03:02  Writing group to registry...
    2016-06-16 14:03:02  Finished group creation
    2016-06-16 14:03:02  Configuring permissions...
    2016-06-16 14:03:02  Fetching content directory...
    2016-06-16 14:03:02  Fetching ContentDir from registry store
    2016-06-16 14:03:02  Value is D:\WSUS
    2016-06-16 14:03:02  Fetching group SIDs...
    2016-06-16 14:03:02  Fetching WsusAdministratorsSid from registry store
    2016-06-16 14:03:02  Value is S-1-5-21-3781909268-3651672729-1859138742-1003
    2016-06-16 14:03:02  Fetching WsusReportersSid from registry store
    2016-06-16 14:03:02  Value is S-1-5-21-3781909268-3651672729-1859138742-1004
    2016-06-16 14:03:02  Creating group principals...
    2016-06-16 14:03:02  Granting directory permissions...
    2016-06-16 14:03:02  Granting permissions on content directory...
    2016-06-16 14:03:02  Granting registry permissions...
    2016-06-16 14:03:02  Granting registry permissions...
    2016-06-16 14:03:02  Granting registry permissions...
    2016-06-16 14:03:02  Configuring shares...
    2016-06-16 14:03:03  Configuring network shares...
    2016-06-16 14:03:03  Fetching content directory...
    2016-06-16 14:03:03  Fetching ContentDir from registry store
    2016-06-16 14:03:03  Value is D:\WSUS
    2016-06-16 14:03:03  Fetching WSUS admin SID...
    2016-06-16 14:03:03  Fetching WsusAdministratorsSid from registry store
    2016-06-16 14:03:03  Value is S-1-5-21-3781909268-3651672729-1859138742-1003
    2016-06-16 14:03:03  Content directory is local, creating content shares...
    2016-06-16 14:03:03  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."
    2016-06-16 14:03:03  Deleting existing share...
    2016-06-16 14:03:03  Creating share...
    2016-06-16 14:03:03  Share successfully created
    2016-06-16 14:03:03  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."
    2016-06-16 14:03:03  Deleting existing share...
    2016-06-16 14:03:03  Creating share...
    2016-06-16 14:03:03  Share successfully created
    2016-06-16 14:03:03  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-06-16 14:03:04  Deleting existing share...
    2016-06-16 14:03:04  Creating share...
    2016-06-16 14:03:04  Share successfully created
    2016-06-16 14:03:04  Finished creating content shares
    2016-06-16 14:03:04  Stopping service WSUSService
    2016-06-16 14:03:04  Stopping service W3SVC
    2016-06-16 14:03:06  Configuring WID database...
    2016-06-16 14:03:06  Configuring the database...
    2016-06-16 14:03:06  Establishing DB connection...
    2016-06-16 14:03:06  Checking to see if database exists...
    2016-06-16 14:03:06  Database exists
    2016-06-16 14:03:06  Switching database to single user mode...
    2016-06-16 14:03:10  Loading install type query...
    2016-06-16 14:03:10  DECLARE @currentDBVersion       int
    DECLARE @scriptMajorVersion     int = (9600)
    DECLARE @scriptMinorVersion     int = (16384)
    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-06-16 14:03:10  Install type is: Reinstall
    2016-06-16 14:03:10  Creating logins...
    2016-06-16 14:03:10  Fetching account info for S-1-5-20
    2016-06-16 14:03:10  Found principal
    2016-06-16 14:03:10  Found account
    2016-06-16 14:03:10  Got binary SID
    2016-06-16 14:03:10  Fetching WsusAdministratorsSid from registry store
    2016-06-16 14:03:10  Value is S-1-5-21-3781909268-3651672729-1859138742-1003
    2016-06-16 14:03:10  Fetching account info for S-1-5-21-3781909268-3651672729-1859138742-1003
    2016-06-16 14:03:10  Found principal
    2016-06-16 14:03:10  Found account
    2016-06-16 14:03:10  Got binary SID
    2016-06-16 14:03:10  Setting content location...
    2016-06-16 14:03:10  Fetching ContentDir from registry store
    2016-06-16 14:03:10  Value is D:\WSUS
    2016-06-16 14:03:10  Swtching DB to multi-user mode......
    2016-06-16 14:03:14  Finished setting multi-user mode
    2016-06-16 14:03:14  Writing DB settings to registry...
    2016-06-16 14:03:14  Marking PostInstall done for UpdateServices-WidDatabase in the registry...
    2016-06-16 14:03:14  Starting service W3SVC
    2016-06-16 14:03:14  Configuring IIS...
    2016-06-16 14:03:15  Start: ConfigureWebsite
    2016-06-16 14:03:16  Configuring website on port 8530
    2016-06-16 14:04:01  2016-06-16 14:03:19  Info      IISCustomAction    Executando A‡Æo de Instala‡Æo, Comando /Install
    2016-06-16 14:03:59  Info      IISCustomAction    Comando /Install Bem-sucedido

    2016-06-16 14:04:01  End: ConfigureWebsite
    2016-06-16 14:04:01  Configuring performance counters...
    2016-06-16 14:04:02  Configuring Stats.NET perf counter...
    2016-06-16 14:04:02  Configuring reporting perf counter...
    2016-06-16 14:04:03  Configuring client webservice perf counter...
    2016-06-16 14:04:03  Configuring server sync webservice perf counter...
    2016-06-16 14:04:03  Configuring API remoting perf counter...
    2016-06-16 14:04:03  Bringing services online...
    2016-06-16 14:04:03  Checking initialization status...
    2016-06-16 14:04:31  StartServer starting...
    2016-06-16 14:04:31  Generating encryption key to write to the registry...
    2016-06-16 14:04:31  Generating encryption key to write to the database...
    2016-06-16 14:04:32  Generation of encryption key to save to the database failed. Error=System.InvalidOperationException: NÆo ‚ poss¡vel salvar a configura‡Æo porque o servidor ainda est  processando uma altera‡Æo da
    configura‡Æo anterior. ---> System.Data.SqlClient.SqlException: spSetConfiguration was called while a Reset Process was Needed/InProgress cannot change Configuration at this time
       em Microsoft.UpdateServices.DatabaseAccess.DBConnection.DrainObsoleteConnections(SqlException e)
       em Microsoft.UpdateServices.DatabaseAccess.DBConnection.ExecuteCommandNoResult()
       em Microsoft.UpdateServices.Internal.NoResultSPHandler.ExecuteStoredProcedure(DBConnection connection)
       em Microsoft.UpdateServices.Internal.GenericDataAccess.ExecuteSP(String spName, DBParameterCollection args, IExecuteSPHandler handler, Int32 queryTimeoutInSeconds)
       em Microsoft.UpdateServices.Internal.GenericDataAccess.ExecuteSP(String spName, DBParameterCollection args, IExecuteSPHandler handler)
       em Microsoft.UpdateServices.Internal.DatabaseAccess.AdminDataAccess.ExecuteSPSetConfiguration(ConfigurationTableRow row, IDictionary changedLanguages, IEnumerable`1 programKeys)
       --- Fim do rastreamento de pilha de exce‡äes internas ---
       em Microsoft.UpdateServices.Internal.DatabaseAccess.AdminDataAccess.ExecuteSPSetConfiguration(ConfigurationTableRow row, IDictionary changedLanguages, IEnumerable`1 programKeys)
       em Microsoft.UpdateServices.Internal.BaseApi.UpdateServerConfiguration.Save(Boolean detectConfigChange)
       em Microsoft.UpdateServices.Setup.StartServer.StartServer.GenerateNewDatabaseEncryptionKey()
    2016-06-16 14:04:32  StartServer encountered errors. Exception=NÆo ‚ poss¡vel salvar a configura‡Æo porque o servidor ainda est  processando uma altera‡Æo da
    configura‡Æo anterior.
    2016-06-16 14:04:32  Microsoft.UpdateServices.Administration.CommandException: Falha ao iniciar e configurar o servi‡o do WSUS
       em Microsoft.UpdateServices.Administration.PostInstall.Run()
       em Microsoft.UpdateServices.Administration.PostInstall.Execute(String[] arguments)
    Erro Fatal: Falha ao iniciar e configurar o servi‡o do WSUS

    quinta-feira, 16 de junho de 2016 17:42