Alexander A Manaeff -

 
 

WSUS сервер перестал синхронизироваться

Все об администрировании Windows NT/2000/2003/2008/2012 Server (в т.ч. R2) серверов. Групповые политики, домены, безопасность и пр. То, чего не найдешь в бескрайних просторах Интернета. Решения тех проблем, которые не решаются типовыми ответами, которые можно получить в техподдержке Майкрософта - а именно: переустановить продукт или купить какой-ть другой лицензионный диск.

Модератор: UncleFather

WSUS сервер перестал синхронизироваться

Сообщение UncleFather » 12 июл 2012 12:14, Чт

Проблема:

После установки обновления KB2720211 один из моих WSUS серверов перестал синхронизироваться с центром обновления Microsoft. Это сервер WSUS настроен для синхронизации через прокси сервер. В качестве прокси сервера используется Microsoft ISA (Internet Security and Acceleration Server) Server 2000.

При попытке синхронизации WSUS сервер выдает ошибку неизвестного типа:
TypeInitializationException: Инициализатор типа "Microsoft.UpdateServices.ServerSyncWebServices.ServerSync.ServerSyncProxy" выдал исключение. ---> System.Net.WebException: Невозможно соединиться с удаленным сервером
в Microsoft.UpdateServices.Internal.ClassFactory.CreateInstance(Type type, Object[] args)
в Microsoft.UpdateServices.ServerSync.ServerSyncLib.GetWebServiceProxyInternal(UpdateServerConfiguration serverConfig, WebServiceCommunicationHelper webServiceHelper, Boolean useCompressionProxy)
в Microsoft.UpdateServices.ServerSync.ServerSyncLib.GetWebServiceCompressionProxy(UpdateServerConfiguration serverConfig, WebServiceCommunicationHelper webServiceHelper)
в Microsoft.UpdateServices.ServerSync.CatalogSyncAgentCore.RetrieveSubscriptionData()
в Microsoft.UpdateServices.ServerSync.CatalogSyncAgentCore.ExecuteSyncProtocol(Boolean allowRedirect)


При этом, в журналах Windows никаких необычных событий не регистрируется. А в журналах самого сервера обновлений %ProgramFiles%\Update Services\LogFiles\SoftwareDistribution.log при попытке запуска обновлений видим:
2012-07-11 15:19:58.749 UTC Change w3wp.31 AdminDataAccess.StartSubscriptionManually Synchronization manually started
2012-07-11 15:19:58.842 UTC Info w3wp.15 SusEventDispatcher.TriggerEvent TriggerEvent called for NotificationEventName: ConfigurationChange, EventInfo: ConfigurationChange
2012-07-11 15:19:58.858 UTC Info w3wp.21 ThreadEntry ThreadHelper.ThreadStart
2012-07-11 15:19:58.858 UTC Info w3wp.21 SusEventDispatcher.DispatchManagerWorkerThreadProc DispatchManager Worker Thread Processing NotificationEvent: ConfigurationChange
2012-07-11 15:19:58.874 UTC Info w3wp.14 SusEventDispatcher.RegisterEventHandler RegisterEventHandler called for NotificationEventName: ConfigurationChange
2012-07-11 15:19:58.905 UTC Info w3wp.14 WebServiceCommunicationHelper.GetProxyConfiguration Use Proxy: 192.168.1.211:80
2012-07-11 15:19:58.920 UTC Info w3wp.14 WebServiceCommunicationHelper.GetProxyConfiguration Using Proxy Credentials: CENTER\WSUSUser : ****
2012-07-11 15:19:58.936 UTC Info w3wp.14 AuthorizationManager.GetUpstreamServerUriHeader Found config says USS is MU site
2012-07-11 15:19:59.202 UTC Info w3wp.10 SusEventDispatcher.TriggerEvent TriggerEvent called for NotificationEventName: ConfigurationChange, EventInfo: ConfigurationChange
2012-07-11 15:19:59.202 UTC Info w3wp.16 ThreadEntry ThreadHelper.ThreadStart
2012-07-11 15:19:59.217 UTC Info w3wp.16 SusEventDispatcher.DispatchManagerWorkerThreadProc DispatchManager Worker Thread Processing NotificationEvent: ConfigurationChange
2012-07-11 15:19:59.233 UTC Info w3wp.16 ChangeNotificationDispatcher.InternalEventHandler Get event ConfigurationChange from dispatchmanager
2012-07-11 15:19:59.249 UTC Info w3wp.9 Client.OnConfigurationChange Creating a new ClientImplementation because the DB configuration changed
2012-07-11 15:19:59.249 UTC Info w3wp.9 ClientImplementation..ctor Initializing ClientWebService ProcessID = 3460, Process Start Time = 11.07.2012 19:50:37, Product Version = 3.2.7600.251
2012-07-11 15:19:59.280 UTC Info w3wp.9 WebServiceCommunicationHelper.GetProxyConfiguration Use Proxy: 192.168.1.211:80
2012-07-11 15:19:59.311 UTC Info w3wp.9 WebServiceCommunicationHelper.GetProxyConfiguration Using Proxy Credentials: CENTER\WSUSUser : ****
2012-07-11 15:19:59.311 UTC Info w3wp.9 AuthorizationManager.GetUpstreamServerUriHeader Found config says USS is MU site
2012-07-11 15:20:01.014 UTC Info WsusService.3 SusEventDispatcher.TriggerEvent TriggerEvent called for NotificationEventName: CatalogSyncAgent, EventInfo:
2012-07-11 15:20:01.046 UTC Info WsusService.37 SusEventDispatcher.DispatchManagerWorkerThreadProc DispatchManager Worker Thread Processing NotificationEvent: CatalogSyncAgent
2012-07-11 15:20:01.046 UTC Info WsusService.3 SusEventDispatcher.TriggerEvent TriggerEvent called for NotificationEventName: ConfigurationChange, EventInfo: ConfigurationChange
2012-07-11 15:20:01.092 UTC Info WsusService.37 SusEventDispatcher.DispatchManagerWorkerThreadProc DispatchManager Worker Thread Processing NotificationEvent: ConfigurationChange
2012-07-11 15:20:01.139 UTC Info WsusService.40 ThreadEntry ThreadHelper.ThreadStart
2012-07-11 15:20:01.155 UTC Info WsusService.40 CatalogSyncAgentCore.SyncUpdatesOutsideSubscription sync'ing 0 updates with catalog site flag
2012-07-11 15:20:01.171 UTC Info WsusService.40 EventLogEventReporter.ReportEvent EventId=382,Type=Information,Category=Synchronization,Message=Синхронизация запущена вручную.
2012-07-11 15:20:01.249 UTC Info WsusService.40 WebServiceCommunicationHelper.GetProxyConfiguration Use Proxy: 192.168.1.211:80
2012-07-11 15:20:01.264 UTC Info WsusService.40 WebServiceCommunicationHelper.GetProxyConfiguration Using Proxy Credentials: CENTER\WSUSUser : ****
2012-07-11 15:20:01.280 UTC Info WsusService.40 AuthorizationManager.GetUpstreamServerUriHeader Found config says USS is MU site
2012-07-11 15:20:01.311 UTC Info WsusService.40 ServerSyncLib.GetWebServiceProxyInternal Found config says USS is MU site
2012-07-11 15:20:01.327 UTC Error WsusService.40 ClassFactory.CreateInstance Received TargetInvocationException from ClassFactory call: Адресат вызова создал исключение.
в Microsoft.UpdateServices.Internal.ClassFactory.CreateInstance(Type type, Object[] args)
в Microsoft.UpdateServices.ServerSync.ServerSyncLib.GetWebServiceProxyInternal(UpdateServerConfiguration serverConfig, WebServiceCommunicationHelper webServiceHelper, Boolean useCompressionProxy)
в Microsoft.UpdateServices.ServerSync.ServerSyncLib.GetWebServiceCompressionProxy(UpdateServerConfiguration serverConfig, WebServiceCommunicationHelper webServiceHelper)
в Microsoft.UpdateServices.ServerSync.CatalogSyncAgentCore.RetrieveSubscriptionData()
в Microsoft.UpdateServices.ServerSync.CatalogSyncAgentCore.ExecuteSyncProtocol(Boolean allowRedirect)
в Microsoft.UpdateServices.ServerSync.CatalogSyncAgentCore.CatalogSyncThreadProcess()
в System.Threading.ThreadHelper.ThreadStart_Context(Object state)
в System.Threading.ExecutionContext.runTryCode(Object userData)
в System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode code, CleanupCode backoutCode, Object userData)
в System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
в System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
в System.Threading.ThreadHelper.ThreadStart()
2012-07-11 15:20:01.327 UTC Error WsusService.40 CatalogSyncAgentCore.ExecuteSyncProtocol System.TypeInitializationException: Инициализатор типа "Microsoft.UpdateServices.ServerSyncWebServices.ServerSync.ServerSyncProxy" выдал исключение. ---> System.Net.WebException: Невозможно соединиться с удаленным сервером ---> System.Net.Sockets.SocketException: Подключение не установлено, т.к. конечный компьютер отверг запрос на подключение 192.168.1.7:80
в System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
в System.Net.Sockets.Socket.InternalConnect(EndPoint remoteEP)
в System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Int32 timeout, Exception& exception)
--- Конец трассировки внутреннего стека исключений ---
в System.Net.HttpWebRequest.GetRequestStream(TransportContext& context)
в System.Net.HttpWebRequest.GetRequestStream()
в 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.Internal.BaseApi.UpdateServer..ctor()
в Microsoft.UpdateServices.Internal.WebServiceCommunicationHelper.InitializeSslServerValidation()
в Microsoft.UpdateServices.ServerSyncWebServices.ServerSync.ServerSyncProxy..cctor()
--- Конец трассировки внутреннего стека исключений ---
в Microsoft.UpdateServices.Internal.ClassFactory.CreateInstance(Type type, Object[] args)
в Microsoft.UpdateServices.ServerSync.ServerSyncLib.GetWebServiceProxyInternal(UpdateServerConfiguration serverConfig, WebServiceCommunicationHelper webServiceHelper, Boolean useCompressionProxy)
в Microsoft.UpdateServices.ServerSync.ServerSyncLib.GetWebServiceCompressionProxy(UpdateServerConfiguration serverConfig, WebServiceCommunicationHelper webServiceHelper)
в Microsoft.UpdateServices.ServerSync.CatalogSyncAgentCore.RetrieveSubscriptionData()
в Microsoft.UpdateServices.ServerSync.CatalogSyncAgentCore.ExecuteSyncProtocol(Boolean allowRedirect)
в Microsoft.UpdateServices.ServerSync.CatalogSyncAgentCore.ExecuteSyncProtocol(Boolean allowRedirect)
в Microsoft.UpdateServices.ServerSync.CatalogSyncAgentCore.CatalogSyncThreadProcess()
в System.Threading.ThreadHelper.ThreadStart_Context(Object state)
в System.Threading.ExecutionContext.runTryCode(Object userData)
в System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode code, CleanupCode backoutCode, Object userData)
в System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
в System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
в System.Threading.ThreadHelper.ThreadStart()
2012-07-11 15:20:01.342 UTC Info WsusService.40 CatalogSyncAgentCore.UpdateSyncResultAndGenerateReportingEvent CatalogSyncThreadProcess: report subscription Undefined error class or Success
2012-07-11 15:20:01.358 UTC Info WsusService.40 EventLogEventReporter.ReportEvent EventId=386,Type=Error,Category=Synchronization,Message=Ошибка синхронизации. Причина: Инициализатор типа "Microsoft.UpdateServices.ServerSyncWebServices.ServerSync.ServerSyncProxy" выдал исключение..
2012-07-11 15:20:01.389 UTC Error WsusService.40 CatalogSyncAgentCore.CleanupAfterSync Unable to set Last Run Information because Subscription is not loaded
в Microsoft.UpdateServices.ServerSync.CatalogSyncAgentCore.CleanupAfterSync(DateTime currentSubscriptionStartTime, Boolean isStartEventReported, Boolean didRedirect)
в Microsoft.UpdateServices.ServerSync.CatalogSyncAgentCore.ExecuteSyncProtocol(Boolean allowRedirect)
в Microsoft.UpdateServices.ServerSync.CatalogSyncAgentCore.CatalogSyncThreadProcess()
в System.Threading.ThreadHelper.ThreadStart_Context(Object state)
в System.Threading.ExecutionContext.runTryCode(Object userData)
в System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode code, CleanupCode backoutCode, Object userData)
в System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
в System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
в System.Threading.ThreadHelper.ThreadStart()
2012-07-11 15:20:01.405 UTC Info WsusService.27 CatalogSyncAgent.WaitUntilSyncFinishedOrCancelled Agent signalled done.
2012-07-11 15:20:01.405 UTC Info WsusService.27 CatalogSyncAgent.SetSubscriptionStateWithRetry Firing event SyncFailToStart...
2012-07-11 15:20:01.421 UTC Info WsusService.27 CatalogSyncAgent.WakeUpWorkerThreadProc Found no more jobs. CatalogSyncAgent quits but will run rollup before terminating ...
2012-07-11 15:20:01.436 UTC Info WsusService.27 CatalogSyncAgent.UpdateServerHealthStatusBasedOnError ServerHealth: Updating Server Health for Component: CatalogSyncAgent, Marking as Not Running
2012-07-11 15:20:02.639 UTC Info w3wp.23 SusEventDispatcher.TriggerEvent TriggerEvent called for NotificationEventName: ConfigurationChange, EventInfo: ConfigurationChange
2012-07-11 15:20:02.655 UTC Info w3wp.27 SusEventDispatcher.DispatchManagerWorkerThreadProc DispatchManager Worker Thread Processing NotificationEvent: ConfigurationChange
2012-07-11 15:20:02.733 UTC Info w3wp.27 WebServiceCommunicationHelper.GetProxyConfiguration Use Proxy: 192.168.1.211:80
2012-07-11 15:20:02.780 UTC Info w3wp.27 WebServiceCommunicationHelper.GetProxyConfiguration Using Proxy Credentials: CENTER\WSUSUser : ****
2012-07-11 15:20:02.780 UTC Info w3wp.27 AuthorizationManager.GetUpstreamServerUriHeader Found config says USS is MU site
2012-07-11 15:20:06.093 UTC Info WsusService.3 SusEventDispatcher.TriggerEvent TriggerEvent called for NotificationEventName: RollupAgent, EventInfo:
2012-07-11 15:20:06.108 UTC Info WsusService.42 ThreadEntry ThreadHelper.ThreadStart
2012-07-11 15:20:06.124 UTC Info WsusService.42 SusEventDispatcher.DispatchManagerWorkerThreadProc DispatchManager Worker Thread Processing NotificationEvent: RollupAgent
2012-07-11 15:20:08.311 UTC Info WsusService.41 ThreadEntry ThreadHelper.ThreadStart
2012-07-11 15:20:08.327 UTC Info WsusService.41 RollupEventReporter.BuildReportingServiceUrl Found config says USS is MU site
2012-07-11 15:20:08.343 UTC Info WsusService.41 WebServiceCommunicationHelper.GetProxyConfiguration Use Proxy: 192.168.1.211:80
2012-07-11 15:20:08.358 UTC Info WsusService.41 WebServiceCommunicationHelper.GetProxyConfiguration Using Proxy Credentials: CENTER\WSUSUser : ****
2012-07-11 15:20:08.452 UTC Info WsusService.41 MicrosoftUpdateRollup.ReportEvents Rolling up 2 events.
2012-07-11 15:20:09.655 UTC Info WsusService.41 SusService.ValidateServerCertificate CheckValidationResult Succeeds: CertOK
2012-07-11 15:20:10.468 UTC Info WsusService.41 RollupEventReader.SetLastRollupComplete Finished Rollup. Setting time anchor in local DB as 11.07.2012 15:20:01


Поскольку, обновление KB2720211 затрагивает преобразование БД WSUS, то его не так просто отменить, лучше не стоит и пытаться.

Решение:

На сервере WSUS выполняем командный файл:
Код: Выделить всё
wsusutil configuressl
net stop wsusservice
net start wsusservice
net stop bits
net start bits
iisreset


Если не поможет, - пытаемся воспользоваться статьей.

Источник
Аватара пользователя
UncleFather
Site Admin
 
Сообщения: 1256
Зарегистрирован: 17 авг 2004 17:20, Вт

Вернуться в Администрирование Windows Server

Кто сейчас на конференции

Сейчас этот форум просматривают: нет зарегистрированных пользователей и гости: 3

Alexander A Manaeff -
@Mail.ru .