Avamar: backup Exchange non riusciti con errore "The WinRM client cannot process the request"
Summary: Questo articolo fornisce indicazioni per risolvere gli errori di backup di Exchange in Avamar causati da problemi di connettività PowerShell. Questi errori si verificano in genere quando il plug-in Exchange non è in grado di stabilire una sessione PowerShell remota con il server delle caselle postali. ...
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 si connette al server dei servizi accesso client (CAS) e può eseguire solo comandi da tale computer. Il plug-in Exchange Avamar esegue i comandi PowerShell in background per enumerare i database e recuperare le informazioni sul server delle caselle di posta.
Quando PowerShell non riesce a connettersi al server delle caselle postali effettivo, presume erroneamente che il server CAS sia il server delle caselle postali. Questa identificazione errata causa l'esito negativo del backup.
Resolution
Gli errori di PowerShell remoti possono avere più root cause.
Esaminare i seguenti articoli della Knowledge Base di Microsoft per potenziali soluzioni:
- https://support.microsoft.com/kb/2028305 (Link esterno)
- https://learn.microsoft.com/en-us/troubleshoot/exchange/administration/winrm-cannot-process-request (Link esterno)
Se il problema persiste dopo l'applicazione delle indicazioni degli articoli precedenti, usare la soluzione alternativa seguente:
-
Aprire il file
web.configFile disponibile in:-
C:\Program Files\Microsoft\Exchange Server\V14\ClientAccess\PowerShell\
-
-
Cerca eventuali riferimenti a:
-
%ExchangeInstallPath% %ExchangeInstallDir%
-
-
Sostituire queste variabili con il percorso assoluto della directory di installazione di Exchange, ad esempio:
-
C:\Program Files\Microsoft\Exchange Server\V14
-
Questa modifica garantisce che PowerShell risolva il percorso corretto durante l'inizializzazione della sessione remota.