The cumulative patch fails to install: "error ","PatchPlugin","Error: InstallPatch, System.SystemException: The trust relationship between the primary domain and the trusted domain failed.
Versions / Builds Affected
GFI MailEssentials 2015
Status
Resolved
Problem Summary
Patch installation fails - "error ","PatchPlugin","Error: InstallPatch, System.SystemException: The trust relationship between the primary domain and the trusted domain failed
TT / JIRAID
2523
How to Identify
By the below error found in the PatchPlugin log file found under the Attendant debug logs: "error ","PatchPlugin","Error: InstallPatch, System.SystemException: The trust relationship between the primary domain and the trusted domain failed. ; ; at System.Security.Principal.NTAccount.TranslateToSids(IdentityReferenceCollection sourceAccounts, Boolean& someFailed) ; at System.Security.Principal.NTAccount.Translate(IdentityReferenceCollection sourceAccounts, Type targetType, Boolean& someFailed) ; at System.Security.Principal.NTAccount.Translate(IdentityReferenceCollection sourceAccounts, Type targetType, Boolean forceSuccess) ; at System.Security.Principal.NTAccount.Translate(Type targetType) ; at System.Security.AccessControl.CommonObjectSecurity.ModifyAccess(AccessControlModification modification, AccessRule rule, Boolean& modified) ; at System.Security.AccessControl.ObjectSecurity.ModifyAccessRule(AccessControlModification modification, AccessRule rule, Boolean& modified) ; at MailEssentials.PatchChecker.PatchChecker.EnsureDirectoryExistance(String path) ; at MailEssentials.PatchChecker.PatchChecker.InstallPatch(String id)" 2015-02-13,09:50:42,934,1,"#0000097C","#00000056","info ","PatchPlugin","GetAvailablePatchList >>>>>>>>>>>>" 2015-02-13,09:50:43,366,1,"#0000097C","#00000056","info ","PatchPlugin","patchList count 1" 2015-02-13,09:50:43,366,1,"#0000097C","#00000056","info ","PatchPlugin","GetAvailablePatchList <<<<<<<<<<<<"
Workaround / Fix Details
The issue is caused by an issue with the trust relationships set between the available domains, removing those failing trusts solves the issue. The below patch will fix the installation issue of the cumulative patch: http://cdnpatches.gfi.com/me/20150102/ME2015_PATCH_20150220_01.zip
Required Actions
Attach article to case and escalate with complete set of logs and the zipped logs folder found under Patch\OriginalPatches\GUID\debuglogs.
Priyanka Bhotika
Comments