none
无法启动和配置wsus服务 RRS feed

  • 问题

  • 请参考如下日志,谢谢:

    2018-04-19 14:33:47  Postinstall started

    2018-04-19 14:33:47  Detected role services: Api, UI, WidDatabase, Services

    2018-04-19 14:33:47  Start: LoadSettingsFromParameters

    2018-04-19 14:33:47  Content local is: True

    2018-04-19 14:33:47  Content directory is: D:\wsus

    2018-04-19 14:33:47  SQL instname is:

    2018-04-19 14:33:47  End: LoadSettingsFromParameters

    2018-04-19 14:33:47  Start: Run

    2018-04-19 14:33:47  Fetching WsusAdministratorsSid from registry store

    2018-04-19 14:33:47  Value is S-1-5-21-2917689401-2438008666-3234913874-1245

    2018-04-19 14:33:47  Fetching WsusReportersSid from registry store

    2018-04-19 14:33:47  Value is S-1-5-21-2917689401-2438008666-3234913874-1244

    2018-04-19 14:33:48  Configuring content directory...

    2018-04-19 14:33:48  Configuring groups...

    2018-04-19 14:33:48  Starting group configuration for WSUS Administrators...

    2018-04-19 14:33:48  Found group in regsitry, attempting to use it...

    2018-04-19 14:33:48  Searching for existing group...

    2018-04-19 14:33:48  Existing group was found

    2018-04-19 14:33:48  Writing group to registry...

    2018-04-19 14:33:48  Finished group creation

    2018-04-19 14:33:48  Starting group configuration for WSUS Reporters...

    2018-04-19 14:33:48  Found group in regsitry, attempting to use it...

    2018-04-19 14:33:48  Searching for existing group...

    2018-04-19 14:33:48  Existing group was found

    2018-04-19 14:33:48  Writing group to registry...

    2018-04-19 14:33:48  Finished group creation

    2018-04-19 14:33:48  Configuring permissions...

    2018-04-19 14:33:48  Fetching content directory...

    2018-04-19 14:33:48  Fetching ContentDir from registry store

    2018-04-19 14:33:48  Value is D:\wsus

    2018-04-19 14:33:48  Fetching group SIDs...

    2018-04-19 14:33:48  Fetching WsusAdministratorsSid from registry store

    2018-04-19 14:33:48  Value is S-1-5-21-2917689401-2438008666-3234913874-1245

    2018-04-19 14:33:48  Fetching WsusReportersSid from registry store

    2018-04-19 14:33:48  Value is S-1-5-21-2917689401-2438008666-3234913874-1244

    2018-04-19 14:33:48  Creating group principals...

    2018-04-19 14:33:49  Granting directory permissions...

    2018-04-19 14:33:49  Granting permissions on content directory...

    2018-04-19 14:33:49  Granting registry permissions...

    2018-04-19 14:33:49  Granting registry permissions...

    2018-04-19 14:33:49  Granting registry permissions...

    2018-04-19 14:33:49  Configuring shares...

    2018-04-19 14:33:49  Configuring network shares...

    2018-04-19 14:33:49  Fetching content directory...

    2018-04-19 14:33:49  Fetching ContentDir from registry store

    2018-04-19 14:33:49  Value is D:\wsus

    2018-04-19 14:33:49  Fetching WSUS admin SID...

    2018-04-19 14:33:49  Fetching WsusAdministratorsSid from registry store

    2018-04-19 14:33:49  Value is S-1-5-21-2917689401-2438008666-3234913874-1245

    2018-04-19 14:33:49  Content directory is local, creating content shares...

    2018-04-19 14:33:49  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."

    2018-04-19 14:33:49  Deleting existing share...

    2018-04-19 14:33:49  Creating share...

    2018-04-19 14:33:49  Share successfully created

    2018-04-19 14:33:49  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."

    2018-04-19 14:33:49  Deleting existing share...

    2018-04-19 14:33:49  Creating share...

    2018-04-19 14:33:49  Share successfully created

    2018-04-19 14:33:49  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."

    2018-04-19 14:33:49  Deleting existing share...

    2018-04-19 14:33:49  Creating share...

    2018-04-19 14:33:49  Share successfully created

    2018-04-19 14:33:49  Finished creating content shares

    2018-04-19 14:33:49  Stopping service WSUSService

    2018-04-19 14:33:50  Stopping service W3SVC

    2018-04-19 14:35:20  Configuring WID database...

    2018-04-19 14:35:20  Configuring the database...

    2018-04-19 14:35:20  Establishing DB connection...

    2018-04-19 14:35:20  Checking to see if database exists...

    2018-04-19 14:35:20  Database exists

    2018-04-19 14:35:20  Switching database to single user mode...

    2018-04-19 14:35:23  Loading install type query...

    2018-04-19 14:35:23  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

    2018-04-19 14:35:23  Install type is: Reinstall

    2018-04-19 14:35:23  Creating logins...

    2018-04-19 14:35:23  Fetching account info for S-1-5-20

    2018-04-19 14:35:23  Found principal

    2018-04-19 14:35:23  Found account

    2018-04-19 14:35:23  Got binary SID

    2018-04-19 14:35:23  Fetching WsusAdministratorsSid from registry store

    2018-04-19 14:35:23  Value is S-1-5-21-2917689401-2438008666-3234913874-1245

    2018-04-19 14:35:23  Fetching account info for S-1-5-21-2917689401-2438008666-3234913874-1245

    2018-04-19 14:35:23  Fetching account info for S-1-5-21-2917689401-2438008666-3234913874-1245

    2018-04-19 14:35:23  Found principal

    2018-04-19 14:35:23  Found account

    2018-04-19 14:35:23  Got binary SID

    2018-04-19 14:35:23  Setting content location...

    2018-04-19 14:35:23  Fetching ContentDir from registry store

    2018-04-19 14:35:23  Value is D:\wsus

    2018-04-19 14:35:23  Swtching DB to multi-user mode......

    2018-04-19 14:35:24  Finished setting multi-user mode

    2018-04-19 14:35:24  Writing DB settings to registry...

    2018-04-19 14:35:24  Marking PostInstall done for UpdateServices-WidDatabase in the registry...

    2018-04-19 14:35:24  Starting service W3SVC

    2018-04-19 14:35:25  Configuring IIS...

    2018-04-19 14:35:25  Start: ConfigureWebsite

    2018-04-19 14:35:25  Configuring website on port 8530

    2018-04-19 14:35:42  2018-04-19 14:35:27  Info      IISCustomAction    正在执行安装程序操作,命令 /Install

    2018-04-19 14:35:41  Info      IISCustomAction    命令 /Install 成功

    2018-04-19 14:35:42  End: ConfigureWebsite

    2018-04-19 14:35:42  Configuring performance counters...

    2018-04-19 14:35:42  Configuring Stats.NET perf counter...

    2018-04-19 14:35:43  Configuring reporting perf counter...

    2018-04-19 14:35:43  Configuring client webservice perf counter...

    2018-04-19 14:35:43  Configuring server sync webservice perf counter...

    2018-04-19 14:35:43  Configuring API remoting perf counter...

    2018-04-19 14:35:43  Bringing services online...

    2018-04-19 14:35:43  Checking initialization status...

    2018-04-19 14:35:43  StartServer starting...

    2018-04-19 14:35:43  Generating encryption key to write to the registry...

    2018-04-19 14:35:43  Generating encryption key to write to the database...

    2018-04-19 14:35:44  Generating encryption key succeeded...

    2018-04-19 14:35:44  Setting WSUSService to autostart...

    2018-04-19 14:35:44  WSUSService is set to autostart.

    2018-04-19 14:35:44  Starting WSUSService...

    2018-04-19 14:35:44  WSUSService is now started.

    2018-04-19 14:35:44  Importing default detectoids.

    2018-04-19 14:35:44  Importing CriticalUpdates.xml...

    2018-04-19 14:35:44  Importing Drivers.xml...

    2018-04-19 14:35:44  Importing FeaturePacks.xml...

    2018-04-19 14:35:44  Importing MicrosoftCorporation.xml...

    2018-04-19 14:35:44  Importing SecurityUpdates.xml...

    2018-04-19 14:35:44  Importing ServicePacks.xml...

    2018-04-19 14:35:44  Importing Tools.xml...

    2018-04-19 14:35:44  Importing UpdateRollups.xml...

    2018-04-19 14:35:44  Importing Updates.xml...

    2018-04-19 14:35:44  Importing Windows.xml...

    2018-04-19 14:35:44  Importing Windows2000family.xml...

    2018-04-19 14:35:44  Importing WindowsServer2003DatacenterEdition.xml...

    2018-04-19 14:35:44  Importing WindowsServer2003Family.xml...

    2018-04-19 14:35:44  Importing WindowsXPfamily.xml...

    2018-04-19 14:35:45  Importing LocalPublisher.xml...

    2018-04-19 14:35:45  Importing LocallyPublishedPackages.xml...

    2018-04-19 14:35:45  Importing Applications.xml...

    2018-04-19 14:35:45  Importing Exchange.xml...

    2018-04-19 14:35:45  Importing Office.xml...

    2018-04-19 14:35:45  Importing SQL.xml...

    2018-04-19 14:35:45  Importing Exchange2000Server.xml...

    2018-04-19 14:35:45  Importing ExchangeServer2003.xml...

    2018-04-19 14:35:45  Importing OfficeXP.xml...

    2018-04-19 14:35:45  Importing Office2003.xml...

    2018-04-19 14:35:45  Importing SQLServer.xml...

    2018-04-19 14:35:45  Importing WindowsXP64BitEditionVersion2003.xml...

    2018-04-19 14:35:45  Importing DefinitionUpdateSusXml.xml...

    2018-04-19 14:35:45  Importing ClientServicingApiDetectoid.xml...

    2018-04-19 14:35:45  Importing default detectoids succeeded.

    2018-04-19 14:35:49  FixSubscriptionCategories 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)

       System.IO.Directory.CreateDirectory(String path)

       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.FixSubscriptionCategories()

    2018-04-19 14:35:49  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)

       System.IO.Directory.CreateDirectory(String path)

       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()

       --- 内部异常堆栈跟踪的结尾 ---

    2018-04-19 14:35:49  Microsoft.UpdateServices.Administration.CommandException: 无法启动和配置 WSUS 服务

       Microsoft.UpdateServices.Administration.PostInstall.Run()

       Microsoft.UpdateServices.Administration.PostInstall.Execute(String[] arguments)

    2018年4月19日 6:51

全部回复