none
虚拟机里安装Windowsserver2016,部署wsus出现无法启动和配置 RRS feed

  • 问题

  • wsus无法启动配置

    报错信息用了好几种办法没解决求帮忙解决问题谢谢

    数据我是默认安装 sql server2012

    数据库需不需配置条件

    防火墙规则已配置好端口8530 8531

    IIS安装完成后需要配置哪些。 希望得到满意的答复可以加微信

    2020-03-19 20:17:08  Postinstall started
    2020-03-19 20:17:08  Detected role services: Api, Database, UI, Services
    2020-03-19 20:17:08  Start: LoadSettingsFromParameters
    2020-03-19 20:17:08  Content local is: True
    2020-03-19 20:17:08  Content directory is: D:\WSUS
    2020-03-19 20:17:08  SQL instname is: I-WSUS-Xd
    2020-03-19 20:17:08  End: LoadSettingsFromParameters
    2020-03-19 20:17:08  Start: Run
    2020-03-19 20:17:08  Fetching WsusAdministratorsSid from registry store
    2020-03-19 20:17:08  Value is S-1-5-21-3081642551-3989233995-284036475-1005
    2020-03-19 20:17:08  Fetching WsusReportersSid from registry store
    2020-03-19 20:17:08  Value is S-1-5-21-3081642551-3989233995-284036475-1006
    2020-03-19 20:17:08  Configuring content directory...
    2020-03-19 20:17:08  Configuring groups...
    2020-03-19 20:17:08  Starting group configuration for WSUS Administrators...
    2020-03-19 20:17:08  Found group in regsitry, attempting to use it...
    2020-03-19 20:17:10  Writing group to registry...
    2020-03-19 20:17:10  Finished group creation
    2020-03-19 20:17:10  Starting group configuration for WSUS Reporters...
    2020-03-19 20:17:10  Found group in regsitry, attempting to use it...
    2020-03-19 20:17:10  Writing group to registry...
    2020-03-19 20:17:10  Finished group creation
    2020-03-19 20:17:10  Configuring permissions...
    2020-03-19 20:17:10  Fetching content directory...
    2020-03-19 20:17:10  Fetching ContentDir from registry store
    2020-03-19 20:17:10  Value is D:\WSUS
    2020-03-19 20:17:10  Fetching group SIDs...
    2020-03-19 20:17:10  Fetching WsusAdministratorsSid from registry store
    2020-03-19 20:17:10  Value is S-1-5-21-3081642551-3989233995-284036475-1005
    2020-03-19 20:17:10  Fetching WsusReportersSid from registry store
    2020-03-19 20:17:10  Value is S-1-5-21-3081642551-3989233995-284036475-1006
    2020-03-19 20:17:10  Creating group principals...
    2020-03-19 20:17:10  Granting directory permissions...
    2020-03-19 20:17:10  Granting permissions on content directory...
    2020-03-19 20:17:10  Granting registry permissions...
    2020-03-19 20:17:10  Granting registry permissions...
    2020-03-19 20:17:10  Granting registry permissions...
    2020-03-19 20:17:10  Configuring shares...
    2020-03-19 20:17:10  Configuring network shares...
    2020-03-19 20:17:10  Fetching content directory...
    2020-03-19 20:17:10  Fetching ContentDir from registry store
    2020-03-19 20:17:10  Value is D:\WSUS
    2020-03-19 20:17:10  Fetching WSUS admin SID...
    2020-03-19 20:17:10  Fetching WsusAdministratorsSid from registry store
    2020-03-19 20:17:10  Value is S-1-5-21-3081642551-3989233995-284036475-1005
    2020-03-19 20:17:10  Content directory is local, creating content shares...
    2020-03-19 20:17:10  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-03-19 20:17:10  Deleting existing share...
    2020-03-19 20:17:10  Creating share...
    2020-03-19 20:17:10  Share successfully created
    2020-03-19 20:17:10  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-03-19 20:17:10  Deleting existing share...
    2020-03-19 20:17:10  Creating share...
    2020-03-19 20:17:10  Share successfully created
    2020-03-19 20:17:10  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-19 20:17:10  Deleting existing share...
    2020-03-19 20:17:10  Creating share...
    2020-03-19 20:17:10  Share successfully created
    2020-03-19 20:17:10  Finished creating content shares
    2020-03-19 20:17:10  Stopping service WSUSService
    2020-03-19 20:17:11  Stopping service W3SVC
    2020-03-19 20:17:12  Configuring database...
    2020-03-19 20:17:12  Configuring the database...
    2020-03-19 20:17:12  Establishing DB connection...
    2020-03-19 20:17:12  Checking to see if database exists...
    2020-03-19 20:17:12  Database exists
    2020-03-19 20:17:12  Switching database to single user mode...
    2020-03-19 20:17:15  Loading install type query...
    2020-03-19 20:17:15  DECLARE @currentDBVersion       int
    DECLARE @scriptMajorVersion     int = (14393)
    DECLARE @scriptMinorVersion     int = (0)
    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-19 20:17:15  Install type is: Reinstall
    2020-03-19 20:17:15  Creating logins...
    2020-03-19 20:17:15  Fetching account info for S-1-5-20
    2020-03-19 20:17:15  Found principal
    2020-03-19 20:17:15  Found account
    2020-03-19 20:17:15  Got binary SID
    2020-03-19 20:17:15  Fetching WsusAdministratorsSid from registry store
    2020-03-19 20:17:15  Value is S-1-5-21-3081642551-3989233995-284036475-1005
    2020-03-19 20:17:15  Fetching account info for S-1-5-21-3081642551-3989233995-284036475-1005
    2020-03-19 20:17:15  Found principal
    2020-03-19 20:17:15  Found account
    2020-03-19 20:17:15  Got binary SID
    2020-03-19 20:17:15  Setting content location...
    2020-03-19 20:17:15  Fetching ContentDir from registry store
    2020-03-19 20:17:15  Value is D:\WSUS
    2020-03-19 20:17:15  Swtching DB to multi-user mode......
    2020-03-19 20:17:15  Finished setting multi-user mode
    2020-03-19 20:17:15  Writing DB settings to registry...
    2020-03-19 20:17:15  Disposing Connection
    2020-03-19 20:17:15  Clearing Connection Pools
    2020-03-19 20:17:15  Marking PostInstall done for UpdateServices-Database in the registry...
    2020-03-19 20:17:15  Starting service W3SVC
    2020-03-19 20:17:15  Configuring IIS...
    2020-03-19 20:17:15  Start: ConfigureWebsite
    2020-03-19 20:17:16  Configuring website on port 8530
    2020-03-19 20:17:34  2020-03-19 20:17:17  Info      IISCustomAction    正在执行安装程序操作,命令 /Install
    2020-03-19 20:17:33  Info      IISCustomAction    命令 /Install 成功

    2020-03-19 20:17:34  End: ConfigureWebsite
    2020-03-19 20:17:34  Configuring performance counters...
    2020-03-19 20:17:34  Configuring Stats.NET perf counter...
    2020-03-19 20:17:34  Configuring reporting perf counter...
    2020-03-19 20:17:34  Configuring client webservice perf counter...
    2020-03-19 20:17:34  Configuring server sync webservice perf counter...
    2020-03-19 20:17:34  Configuring API remoting perf counter...
    2020-03-19 20:17:34  Bringing services online...
    2020-03-19 20:17:34  Checking initialization status...
    2020-03-19 20:17:34  Database needs initialization.
    2020-03-19 20:17:34  StartServer starting...
    2020-03-19 20:17:34  Generating encryption key to write to the registry...
    2020-03-19 20:17:34  Generating encryption key to write to the database...
    2020-03-19 20:17:34  Generating encryption key succeeded...
    2020-03-19 20:17:34  Setting WSUSService to autostart...
    2020-03-19 20:17:34  WSUSService is set to autostart.
    2020-03-19 20:17:34  Starting WSUSService...
    2020-03-19 20:17:34  WSUSService is now started.
    2020-03-19 20:17:34  Importing default detectoids.
    2020-03-19 20:17:34  Importing CriticalUpdates.xml...
    2020-03-19 20:17:35  Importing Drivers.xml...
    2020-03-19 20:17:35  Importing DriverSets.xml...
    2020-03-19 20:17:35  Importing FeaturePacks.xml...
    2020-03-19 20:17:35  Importing MicrosoftCorporation.xml...
    2020-03-19 20:17:35  Importing SecurityUpdates.xml...
    2020-03-19 20:17:35  Importing ServicePacks.xml...
    2020-03-19 20:17:35  Importing Tools.xml...
    2020-03-19 20:17:35  Importing UpdateRollups.xml...
    2020-03-19 20:17:35  Importing Updates.xml...
    2020-03-19 20:17:35  Importing Windows.xml...
    2020-03-19 20:17:35  Importing Windows2000family.xml...
    2020-03-19 20:17:35  Importing WindowsServer2003DatacenterEdition.xml...
    2020-03-19 20:17:35  Importing WindowsServer2003Family.xml...
    2020-03-19 20:17:35  Importing WindowsXPfamily.xml...
    2020-03-19 20:17:35  Importing LocalPublisher.xml...
    2020-03-19 20:17:35  Importing LocallyPublishedPackages.xml...
    2020-03-19 20:17:35  Importing Applications.xml...
    2020-03-19 20:17:35  Importing Exchange.xml...
    2020-03-19 20:17:35  Importing Office.xml...
    2020-03-19 20:17:35  Importing SQL.xml...
    2020-03-19 20:17:35  Importing Exchange2000Server.xml...
    2020-03-19 20:17:35  Importing ExchangeServer2003.xml...
    2020-03-19 20:17:35  Importing OfficeXP.xml...
    2020-03-19 20:17:35  Importing Office2003.xml...
    2020-03-19 20:17:35  Importing SQLServer.xml...
    2020-03-19 20:17:35  Importing WindowsXP64BitEditionVersion2003.xml...
    2020-03-19 20:17:35  Importing DefinitionUpdateSusXml.xml...
    2020-03-19 20:17:35  Importing ClientServicingApiDetectoid.xml...
    2020-03-19 20:17:35  Importing default detectoids succeeded.
    2020-03-19 20:17:35  Creating default subscription.
    2020-03-19 20:17:35  Instantiating UpdateServer
    2020-03-19 20:17:37  CreateDefaultSubscription failed. Exception: System.Web.Services.Protocols.SoapException: System.Web.Services.Protocols.SoapException: 服务器无法处理请求。 ---> System.TypeInitializationException: “Microsoft.UpdateServices.Internal.ApiRemoting”的类型初始值设定项引发异常。 ---> System.UnauthorizedAccessException: 对路径“Update Services”的访问被拒绝。
       在 System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
       在 System.IO.Directory.InternalCreateDirectory(String fullPath, String path, Object dirSecurityObj, Boolean checkHost)
       在 System.IO.Directory.InternalCreateDirectoryHelper(String path, Boolean checkHost)
       在 Microsoft.UpdateServices.Log.GetUsableLogFileName(String fileName, LogFileLocation& actualLogLocation)
       在 Microsoft.UpdateServices.Log.InitializeFromConfig()
       在 Microsoft.UpdateServices.Log.InitializeIfNeeded()
       在 Microsoft.UpdateServices.Internal.ApiRemoting..cctor()
       --- 内部异常堆栈跟踪的结尾 ---
       在 Microsoft.UpdateServices.Internal.ApiRemoting..ctor()
       --- 内部异常堆栈跟踪的结尾 ---
       在 Microsoft.UpdateServices.Internal.BaseApi.SoapExceptionProcessor.DeserializeAndThrow(SoapException soapException)
       在 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-03-19 20:17:37  StartServer encountered errors. Exception=System.Web.Services.Protocols.SoapException: 服务器无法处理请求。 ---> System.TypeInitializationException: “Microsoft.UpdateServices.Internal.ApiRemoting”的类型初始值设定项引发异常。 ---> System.UnauthorizedAccessException: 对路径“Update Services”的访问被拒绝。
       在 System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
       在 System.IO.Directory.InternalCreateDirectory(String fullPath, String path, Object dirSecurityObj, Boolean checkHost)
       在 System.IO.Directory.InternalCreateDirectoryHelper(String path, Boolean checkHost)
       在 Microsoft.UpdateServices.Log.GetUsableLogFileName(String fileName, LogFileLocation& actualLogLocation)
       在 Microsoft.UpdateServices.Log.InitializeFromConfig()
       在 Microsoft.UpdateServices.Log.InitializeIfNeeded()
       在 Microsoft.UpdateServices.Internal.ApiRemoting..cctor()
       --- 内部异常堆栈跟踪的结尾 ---
       在 Microsoft.UpdateServices.Internal.ApiRemoting..ctor()
       --- 内部异常堆栈跟踪的结尾 ---
    2020-03-19 20:17:37  Microsoft.UpdateServices.Administration.CommandException: 无法启动和配置 WSUS 服务
       在 Microsoft.UpdateServices.Administration.PostInstall.Run()
       在 Microsoft.UpdateServices.Administration.PostInstall.Execute(String[] arguments)


    2020年3月19日 12:26