Код:
2015-03-10 19:18:21 Postinstall started
2015-03-10 19:18:21 Detected role services: Api, UI, WidDatabase, Services
2015-03-10 19:18:21 Start: LoadSettingsFromParameters
2015-03-10 19:18:21 Content local is: True
2015-03-10 19:18:21 Content directory is: E:\shareWSUS
2015-03-10 19:18:21 SQL instname is:
2015-03-10 19:18:21 End: LoadSettingsFromParameters
2015-03-10 19:18:21 Start: Run
2015-03-10 19:18:21 Configuring content directory...
2015-03-10 19:18:21 Configuring groups...
2015-03-10 19:18:21 Starting group configuration for WSUS Administrators...
2015-03-10 19:18:21 Found group in regsitry, attempting to use it...
2015-03-10 19:18:21 Writing group to registry...
2015-03-10 19:18:21 Finished group creation
2015-03-10 19:18:21 Starting group configuration for WSUS Reporters...
2015-03-10 19:18:21 Found group in regsitry, attempting to use it...
2015-03-10 19:18:21 Writing group to registry...
2015-03-10 19:18:21 Finished group creation
2015-03-10 19:18:21 Configuring permissions...
2015-03-10 19:18:21 Fetching content directory...
2015-03-10 19:18:21 Fetching ContentDir from registry store
2015-03-10 19:18:21 Value is E:\shareWSUS
2015-03-10 19:18:21 Fetching group SIDs...
2015-03-10 19:18:21 Fetching WsusAdministratorsSid from registry store
2015-03-10 19:18:21 Value is S-1-5-21-85942948-4180474264-638709195-1001
2015-03-10 19:18:21 Fetching WsusReportersSid from registry store
2015-03-10 19:18:21 Value is S-1-5-21-85942948-4180474264-638709195-1002
2015-03-10 19:18:21 Creating group principals...
2015-03-10 19:18:21 Granting directory permissions...
2015-03-10 19:18:21 Granting permissions on content directory...
2015-03-10 19:18:21 Granting registry permissions...
2015-03-10 19:18:21 Granting registry permissions...
2015-03-10 19:18:21 Granting registry permissions...
2015-03-10 19:18:21 Configuring shares...
2015-03-10 19:18:21 Configuring network shares...
2015-03-10 19:18:21 Fetching content directory...
2015-03-10 19:18:21 Fetching ContentDir from registry store
2015-03-10 19:18:21 Value is E:\shareWSUS
2015-03-10 19:18:21 Fetching WSUS admin SID...
2015-03-10 19:18:21 Fetching WsusAdministratorsSid from registry store
2015-03-10 19:18:21 Value is S-1-5-21-85942948-4180474264-638709195-1001
2015-03-10 19:18:21 Content directory is local, creating content shares...
2015-03-10 19:18:21 Creating share "UpdateServicesPackages" with path "E:\shareWSUS\UpdateServicesPackages" and description "A network share to be used by client systems for collecting all software packages (usually applications) published on this WSUS system."
2015-03-10 19:18:22 Deleting existing share...
2015-03-10 19:18:22 Creating share...
2015-03-10 19:18:22 Share successfully created
2015-03-10 19:18:22 Creating share "WsusContent" with path "E:\shareWSUS\WsusContent" and description "A network share to be used by Local Publishing to place published content on this WSUS system."
2015-03-10 19:18:22 Deleting existing share...
2015-03-10 19:18:22 Creating share...
2015-03-10 19:18:22 Share successfully created
2015-03-10 19:18:22 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."
2015-03-10 19:18:22 Deleting existing share...
2015-03-10 19:18:22 Creating share...
2015-03-10 19:18:22 Share successfully created
2015-03-10 19:18:22 Finished creating content shares
2015-03-10 19:18:22 Configuring WID database...
2015-03-10 19:18:22 Configuring the database...
2015-03-10 19:18:22 Establishing DB connection...
2015-03-10 19:18:22 Checking to see if database exists...
2015-03-10 19:18:22 Database exists
2015-03-10 19:18:22 Switching database to single user mode...
2015-03-10 19:18:25 Loading install type query...
2015-03-10 19:18:25 DECLARE @currentScriptVersion int
DECLARE @currentDBVersion int
IF NOT EXISTS(SELECT * FROM sys.databases WHERE name='SUSDB')
BEGIN
SELECT 1
END
ELSE
BEGIN
SET @currentScriptVersion = (9200 + 16384)
SET @currentDBVersion = (SELECT SchemaVersion FROM SUSDB.dbo.tbSchemaVersion WHERE ComponentName = 'CoreDB')
IF @currentDBVersion < 926
BEGIN
SELECT 3
END
ELSE IF @currentDBVersion < @currentScriptVersion
BEGIN
SELECT 2
END
ELSE IF @currentDBVersion = @currentScriptVersion
BEGIN
SELECT 0
END
ELSE
BEGIN
SELECT 4
END
END
2015-03-10 19:18:25 Install type is: Reinstall
2015-03-10 19:18:25 Creating logins...
2015-03-10 19:18:25 Fetching account info for S-1-5-20
2015-03-10 19:18:25 Found principal
2015-03-10 19:18:25 Found account
2015-03-10 19:18:25 Got binary SID
2015-03-10 19:18:25 Fetching WsusAdministratorsSid from registry store
2015-03-10 19:18:25 Value is S-1-5-21-85942948-4180474264-638709195-1001
2015-03-10 19:18:25 Fetching account info for S-1-5-21-85942948-4180474264-638709195-1001
2015-03-10 19:18:27 Found principal
2015-03-10 19:18:27 Found account
2015-03-10 19:18:27 Got binary SID
2015-03-10 19:18:27 Setting content location...
2015-03-10 19:18:27 Fetching ContentDir from registry store
2015-03-10 19:18:27 Value is E:\shareWSUS
2015-03-10 19:18:27 Swtching DB to multi-user mode......
2015-03-10 19:18:28 Finished setting multi-user mode
2015-03-10 19:18:28 Writing DB settings to registry...
2015-03-10 19:18:28 Marking PostInstall done for UpdateServices-WidDatabase in the registry...
2015-03-10 19:18:28 Configuring IIS...
2015-03-10 19:18:28 Start: ConfigureWebsite
2015-03-10 19:18:28 Configuring website on port 8530
2015-03-10 19:19:07 System.IO.IOException: Процесс не может получить доступ к файлу "C:\Users\администратор.FMICPN\AppData\Local\Temp\WsusUtilUseCustomWebSite.log", так как этот файл используется другим процессом.
в System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
в System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
в System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
в System.IO.StreamReader..ctor(String path, Encoding encoding, Boolean detectEncodingFromByteOrderMarks, Int32 bufferSize, Boolean checkHost)
в System.IO.StreamReader..ctor(String path, Encoding encoding, Boolean detectEncodingFromByteOrderMarks, Int32 bufferSize)
в System.IO.StreamReader..ctor(String path, Boolean detectEncodingFromByteOrderMarks)
в Microsoft.UpdateServices.Administration.PostInstall.ConfigureWebsite(Int32 portNumber)
2015-03-10 19:19:07 End: ConfigureWebsite
2015-03-10 19:19:07 Configuring performance counters...
2015-03-10 19:19:07 Configuring Stats.NET perf counter...
2015-03-10 19:19:07 Configuring reporting perf counter...
2015-03-10 19:19:07 Configuring client webservice perf counter...
2015-03-10 19:19:07 Configuring server sync webservice perf counter...
2015-03-10 19:19:07 Configuring API remoting perf counter...
2015-03-10 19:19:07 Bringing services online...
2015-03-10 19:19:07 Checking initialization status...
2015-03-10 19:19:07 Database needs initialization.
2015-03-10 19:19:07 StartServer starting...
2015-03-10 19:19:07 Generating encryption key to write to the registry...
2015-03-10 19:19:07 Generating encryption key to write to the database...
2015-03-10 19:19:08 Generating encryption key succeeded...
2015-03-10 19:19:08 Setting WSUSService to autostart...
2015-03-10 19:19:08 WSUSService is set to autostart.
2015-03-10 19:19:08 Starting WSUSService...
2015-03-10 19:19:08 Failed to start WsusService. Exception: System.InvalidOperationException: Не удалось запустить службу WSUSService на компьютере '.'. ---> System.ComponentModel.Win32Exception: Одна копия службы уже запущена
--- Конец трассировки внутреннего стека исключений ---
в System.ServiceProcess.ServiceController.Start(String[] args)
в Microsoft.UpdateServices.Setup.StartServer.StartServer.StartAndConfigureService()
2015-03-10 19:19:08 Importing default detectoids.
2015-03-10 19:19:08 Importing CriticalUpdates.xml...
2015-03-10 19:19:08 Importing Drivers.xml...
2015-03-10 19:19:08 Importing FeaturePacks.xml...
2015-03-10 19:19:08 Importing MicrosoftCorporation.xml...
2015-03-10 19:19:08 Importing SecurityUpdates.xml...
2015-03-10 19:19:08 Importing ServicePacks.xml...
2015-03-10 19:19:08 Importing Tools.xml...
2015-03-10 19:19:08 Importing UpdateRollups.xml...
2015-03-10 19:19:08 Importing Updates.xml...
2015-03-10 19:19:08 Importing Windows.xml...
2015-03-10 19:19:08 Importing Windows2000family.xml...
2015-03-10 19:19:08 Importing WindowsServer2003DatacenterEdition.xml...
2015-03-10 19:19:08 Importing WindowsServer2003Family.xml...
2015-03-10 19:19:08 Importing WindowsXPfamily.xml...
2015-03-10 19:19:08 Importing LocalPublisher.xml...
2015-03-10 19:19:08 Importing LocallyPublishedPackages.xml...
2015-03-10 19:19:08 Importing Applications.xml...
2015-03-10 19:19:08 Importing Exchange.xml...
2015-03-10 19:19:08 Importing Office.xml...
2015-03-10 19:19:08 Importing SQL.xml...
2015-03-10 19:19:08 Importing Exchange2000Server.xml...
2015-03-10 19:19:08 Importing ExchangeServer2003.xml...
2015-03-10 19:19:08 Importing OfficeXP.xml...
2015-03-10 19:19:08 Importing Office2003.xml...
2015-03-10 19:19:08 Importing SQLServer.xml...
2015-03-10 19:19:08 Importing WindowsXP64BitEditionVersion2003.xml...
2015-03-10 19:19:08 Importing DefinitionUpdateSusXml.xml...
2015-03-10 19:19:08 Importing ClientServicingApiDetectoid.xml...
2015-03-10 19:19:08 Importing default detectoids succeeded.
2015-03-10 19:19:08 Creating default subscription.
2015-03-10 19:19:08 Instantiating UpdateServer
2015-03-10 19:19:09 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()
2015-03-10 19:19:09 StartServer encountered errors. Exception=Сбой запроса с состоянием HTTP 503: Service Unavailable.
2015-03-10 19:19:09 Microsoft.UpdateServices.Administration.CommandException: Не удалось запустить и настроить службу WSUS
в Microsoft.UpdateServices.Administration.PostInstall.Run()
в Microsoft.UpdateServices.Administration.PostInstall.Execute(String[] arguments)