Avamar: Exchange-varmuuskopiointi epäonnistuu ja näyttöön tulee virhe "WinRM-asiakas ei voi käsitellä pyyntöä"
Summary: Tässä artikkelissa on ohjeita PowerShellin yhteysongelmista johtuvien Exchange-varmuuskopiointivirheiden ratkaisemiseen Avamarissa. Nämä virheet ilmenevät yleensä, kun Exchange-laajennus ei pysty muodostamaan PowerShell-etäistuntoa postilaatikkopalvelimen kanssa. ...
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-hallintaliittymä muodostaa yhteyden Client Access Services (CAS) -palvelimeen ja voi suorittaa komentoja vain kyseisestä koneesta. Avamar Exchange -laajennus suorittaa PowerShell-komentoja taustalla tietokantojen luetteloimiseksi ja postilaatikkopalvelimen tietojen noutamiseksi.
Kun PowerShell ei muodosta yhteyttä varsinaiseen postilaatikkopalvelimeen, se olettaa virheellisesti, että CAS-palvelin on postilaatikkopalvelin. Tämä väärä tunnistus aiheuttaa varmuuskopioinnin epäonnistumisen.
Resolution
PowerShell-etävikoihin voi olla useita pääsyitä.
Voit etsiä ratkaisuja seuraavista Microsoft KB -artikkeleista:
- https://support.microsoft.com/kb/2028305 (Ulkoinen linkki)
- https://learn.microsoft.com/en-us/troubleshoot/exchange/administration/winrm-cannot-process-request (Ulkoinen linkki)
Jos ongelma jatkuu yllä olevien artikkeleiden ohjeiden asentamisen jälkeen, käytä seuraavaa kiertotapaa:
-
Avaa
web.configTiedosto sijaitsee osoitteessa:-
C:\Program Files\Microsoft\Exchange Server\V14\ClientAccess\PowerShell\
-
-
Hae viittauksia seuraaviin:
-
%ExchangeInstallPath% %ExchangeInstallDir%
-
-
Korvaa nämä muuttujat Exchange-asennushakemiston absoluuttisella polulla , esimerkiksi:
-
C:\Program Files\Microsoft\Exchange Server\V14
-
Tämä muutos varmistaa, että PowerShell ratkaisee oikean polun etäistunnon alustuksen aikana.