Avamar. Сбой резервного копирования Exchange с ошибкой «Клиент WinRM не может обработать запрос»
Summary: В этой статье содержатся инструкции по устранению сбоев резервного копирования Exchange в Avamar, вызванных проблемами подключения PowerShell. Эти сбои обычно возникают, когда подключаемый модуль Exchange не может установить удаленный сеанс PowerShell с сервером почтовых ящиков. ...
Symptoms
2024-05-13 17:00:08 avexvss Error <0000>: Error [exchangesvr.avamar.com] Connecting to remote server failed with the following error message : The WinRM client cannot process the request. It cannot determine the content type of the HTTP response from the destination computer. The content type is absent or invalid. For more information, see the about_Remote_Troubleshooting Help topic.
2024-05-13 17:00:08 avexvss Error <16954>: Unable to initialize Powershell interface process -- cannot continue.
2024-05-13 17:00:08 avexvss Error <13077>: Unable to complete backup.
VERBOSE: Connecting to exchangesvr.domain.com
[exchangesvr.domain.com] Connecting to remote server failed with the following error message : The WinRM client cannot process the request. It cannot determine the content type of the HTTP response from the destination computer. The content type is absent or invalid. For more information, see the about_Remote_Troubleshooting Help topic.
+ CategoryInfo : OpenError: (System.Manageme....RemoteRunspace:RemoteRunspace) [], PSRemotingTransportException
+ FullyQualifiedErrorId : PSSessionOpenFailed
VERBOSE: Connecting to exchangesvr.domain.com
VERBOSE: Connected to exchangesvr.domain.com.
Cause
Exchange Management Shell подключается к серверу служб клиентского доступа (CAS) и может выполнять команды только с этого компьютера. Подключаемый модуль Exchange Avamar выполняет команды PowerShell в фоновом режиме для перечисления баз данных и получения сведений о сервере почтовых ящиков.
Если PowerShell не удается подключиться к фактическому серверу почтовых ящиков, он ошибочно предполагает, что сервер CAS является сервером почтовых ящиков. Эта неправильная идентификация приводит к сбою резервного копирования.
Resolution
Удаленные сбои PowerShell могут иметь несколько основных причин.
Возможные решения можно найти в следующих статьях базы знаний Microsoft:
- https://support.microsoft.com/kb/2028305 (внешняя ссылка)
- https://learn.microsoft.com/en-us/troubleshoot/exchange/administration/winrm-cannot-process-request (внешняя ссылка)
Если после выполнения рекомендаций из приведенных выше статей проблема сохраняется, используйте следующее временное решение.
-
Откройте файл
web.configФайл, расположенный по адресу:-
C:\Program Files\Microsoft\Exchange Server\V14\ClientAccess\PowerShell\
-
-
Выполните поиск ссылок на:
-
%ExchangeInstallPath% %ExchangeInstallDir%
-
-
Замените эти переменные абсолютным путем к каталогу установки Exchange, например:
-
C:\Program Files\Microsoft\Exchange Server\V14
-
Это изменение гарантирует, что PowerShell разрешит правильный путь во время инициализации удаленного сеанса.