询问者
WSUS 无法初始化

问题
-
我安装完WSUS和IIS后, 初始化是报错。以下是log,我尝试 重新启动 IIS也不行。大家能否帮我看看一下提出点建议。
2014-12-07 20:21:33 Postinstall started
2014-12-07 20:21:33 Detected role services: Api, Database, UI, Services
2014-12-07 20:21:33 Start: LoadSettingsFromParameters
2014-12-07 20:21:33 Content local is: True
2014-12-07 20:21:33 Content directory is: E:\WSUS
2014-12-07 20:21:33 SQL instname is: homewm005.home.com
2014-12-07 20:21:33 End: LoadSettingsFromParameters
2014-12-07 20:21:33 Start: Run
2014-12-07 20:21:33 Fetching WsusAdministratorsSid from registry store
2014-12-07 20:21:33 Value is S-1-5-21-2129548927-111751636-4218976147-1003
2014-12-07 20:21:33 Fetching WsusReportersSid from registry store
2014-12-07 20:21:33 Value is S-1-5-21-2129548927-111751636-4218976147-1004
2014-12-07 20:21:33 Configuring content directory...
2014-12-07 20:21:33 Configuring groups...
2014-12-07 20:21:33 Starting group configuration for WSUS Administrators...
2014-12-07 20:21:33 Found group in regsitry, attempting to use it...
2014-12-07 20:21:35 Writing group to registry...
2014-12-07 20:21:35 Finished group creation
2014-12-07 20:21:35 Starting group configuration for WSUS Reporters...
2014-12-07 20:21:35 Found group in regsitry, attempting to use it...
2014-12-07 20:21:35 Writing group to registry...
2014-12-07 20:21:35 Finished group creation
2014-12-07 20:21:35 Configuring permissions...
2014-12-07 20:21:35 Fetching content directory...
2014-12-07 20:21:35 Fetching ContentDir from registry store
2014-12-07 20:21:35 Value is E:\WSUS
2014-12-07 20:21:35 Fetching group SIDs...
2014-12-07 20:21:35 Fetching WsusAdministratorsSid from registry store
2014-12-07 20:21:35 Value is S-1-5-21-2129548927-111751636-4218976147-1003
2014-12-07 20:21:35 Fetching WsusReportersSid from registry store
2014-12-07 20:21:35 Value is S-1-5-21-2129548927-111751636-4218976147-1004
2014-12-07 20:21:35 Creating group principals...
2014-12-07 20:21:36 Granting directory permissions...
2014-12-07 20:21:36 Granting permissions on content directory...
2014-12-07 20:21:36 Granting registry permissions...
2014-12-07 20:21:36 Granting registry permissions...
2014-12-07 20:21:36 Granting registry permissions...
2014-12-07 20:21:36 Configuring shares...
2014-12-07 20:21:36 Configuring network shares...
2014-12-07 20:21:36 Fetching content directory...
2014-12-07 20:21:36 Fetching ContentDir from registry store
2014-12-07 20:21:36 Value is E:\WSUS
2014-12-07 20:21:36 Fetching WSUS admin SID...
2014-12-07 20:21:36 Fetching WsusAdministratorsSid from registry store
2014-12-07 20:21:36 Value is S-1-5-21-2129548927-111751636-4218976147-1003
2014-12-07 20:21:36 Content directory is local, creating content shares...
2014-12-07 20:21:36 Creating share "UpdateServicesPackages" with path "E:\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."
2014-12-07 20:21:36 Deleting existing share...
2014-12-07 20:21:36 Creating share...
2014-12-07 20:21:36 Share successfully created
2014-12-07 20:21:36 Creating share "WsusContent" with path "E:\WSUS\WsusContent" and description "A network share to be used by Local Publishing to place published content on this WSUS system."
2014-12-07 20:21:36 Deleting existing share...
2014-12-07 20:21:36 Creating share...
2014-12-07 20:21:36 Share successfully created
2014-12-07 20:21:36 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."
2014-12-07 20:21:36 Deleting existing share...
2014-12-07 20:21:36 Creating share...
2014-12-07 20:21:36 Share successfully created
2014-12-07 20:21:36 Finished creating content shares
2014-12-07 20:21:36 Stopping service WSUSService
2014-12-07 20:21:36 Stopping service W3SVC
2014-12-07 20:21:36 Configuring database...
2014-12-07 20:21:36 Configuring the database...
2014-12-07 20:21:36 Establishing DB connection...
2014-12-07 20:21:36 Checking to see if database exists...
2014-12-07 20:21:36 Database exists
2014-12-07 20:21:36 Switching database to single user mode...
2014-12-07 20:21:39 Loading install type query...
2014-12-07 20:21:39 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
2014-12-07 20:21:39 Install type is: Reinstall
2014-12-07 20:21:39 Creating logins...
2014-12-07 20:21:39 Fetching account info for S-1-5-20
2014-12-07 20:21:39 Found principal
2014-12-07 20:21:39 Found account
2014-12-07 20:21:39 Got binary SID
2014-12-07 20:21:39 Fetching WsusAdministratorsSid from registry store
2014-12-07 20:21:39 Value is S-1-5-21-2129548927-111751636-4218976147-1003
2014-12-07 20:21:39 Fetching account info for S-1-5-21-2129548927-111751636-4218976147-1003
2014-12-07 20:21:39 Found principal
2014-12-07 20:21:39 Found account
2014-12-07 20:21:39 Got binary SID
2014-12-07 20:21:39 Setting content location...
2014-12-07 20:21:39 Fetching ContentDir from registry store
2014-12-07 20:21:39 Value is E:\WSUS
2014-12-07 20:21:39 Swtching DB to multi-user mode......
2014-12-07 20:21:39 Finished setting multi-user mode
2014-12-07 20:21:39 Writing DB settings to registry...
2014-12-07 20:21:39 Marking PostInstall done for UpdateServices-Database in the registry...
2014-12-07 20:21:39 Starting service W3SVC
2014-12-07 20:21:40 Configuring IIS...
2014-12-07 20:21:40 Start: ConfigureWebsite
2014-12-07 20:21:40 Configuring website on port 8530
2014-12-07 20:22:10 2014-12-07 20:21:50 Info IISCustomAction 正在执行安装程序操作,命令 /Install
2014-12-07 20:22:09 Info IISCustomAction 命令 /Install 成功
2014-12-07 20:22:10 End: ConfigureWebsite
2014-12-07 20:22:10 Configuring performance counters...
2014-12-07 20:22:10 Configuring Stats.NET perf counter...
2014-12-07 20:22:10 Configuring reporting perf counter...
2014-12-07 20:22:10 Configuring client webservice perf counter...
2014-12-07 20:22:10 Configuring server sync webservice perf counter...
2014-12-07 20:22:10 Configuring API remoting perf counter...
2014-12-07 20:22:10 Bringing services online...
2014-12-07 20:22:10 Checking initialization status...
2014-12-07 20:22:10 Database needs initialization.
2014-12-07 20:22:10 StartServer starting...
2014-12-07 20:22:10 Generating encryption key to write to the registry...
2014-12-07 20:22:10 Generating encryption key to write to the database...
2014-12-07 20:22:10 Generating encryption key succeeded...
2014-12-07 20:22:10 Setting WSUSService to autostart...
2014-12-07 20:22:10 WSUSService is set to autostart.
2014-12-07 20:22:10 Starting WSUSService...
2014-12-07 20:22:10 WSUSService is now started.
2014-12-07 20:22:10 Importing default detectoids.
2014-12-07 20:22:10 Importing CriticalUpdates.xml...
2014-12-07 20:22:11 Importing Drivers.xml...
2014-12-07 20:22:11 Importing FeaturePacks.xml...
2014-12-07 20:22:11 Importing MicrosoftCorporation.xml...
2014-12-07 20:22:11 Importing SecurityUpdates.xml...
2014-12-07 20:22:11 Importing ServicePacks.xml...
2014-12-07 20:22:11 Importing Tools.xml...
2014-12-07 20:22:11 Importing UpdateRollups.xml...
2014-12-07 20:22:11 Importing Updates.xml...
2014-12-07 20:22:11 Importing Windows.xml...
2014-12-07 20:22:11 Importing Windows2000family.xml...
2014-12-07 20:22:11 Importing WindowsServer2003DatacenterEdition.xml...
2014-12-07 20:22:11 Importing WindowsServer2003Family.xml...
2014-12-07 20:22:11 Importing WindowsXPfamily.xml...
2014-12-07 20:22:11 Importing LocalPublisher.xml...
2014-12-07 20:22:11 Importing LocallyPublishedPackages.xml...
2014-12-07 20:22:11 Importing Applications.xml...
2014-12-07 20:22:11 Importing Exchange.xml...
2014-12-07 20:22:11 Importing Office.xml...
2014-12-07 20:22:11 Importing SQL.xml...
2014-12-07 20:22:11 Importing Exchange2000Server.xml...
2014-12-07 20:22:11 Importing ExchangeServer2003.xml...
2014-12-07 20:22:11 Importing OfficeXP.xml...
2014-12-07 20:22:11 Importing Office2003.xml...
2014-12-07 20:22:11 Importing SQLServer.xml...
2014-12-07 20:22:11 Importing WindowsXP64BitEditionVersion2003.xml...
2014-12-07 20:22:11 Importing DefinitionUpdateSusXml.xml...
2014-12-07 20:22:11 Importing ClientServicingApiDetectoid.xml...
2014-12-07 20:22:11 Importing default detectoids succeeded.
2014-12-07 20:22:11 Creating default subscription.
2014-12-07 20:22:11 Instantiating UpdateServer
2014-12-07 20:22:13 CreateDefaultSubscription failed. Exception: System.Net.WebException: 请求因 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()
2014-12-07 20:22:13 StartServer encountered errors. Exception=请求因 HTTP 状态 503 失败: Service Unavailable。
2014-12-07 20:22:13 Microsoft.UpdateServices.Administration.CommandException: 无法启动和配置 WSUS 服务
在 Microsoft.UpdateServices.Administration.PostInstall.Run()
在 Microsoft.UpdateServices.Administration.PostInstall.Execute(String[] arguments)