Sysguys
asked on
Exchange server 2013 CU update CU version 1263.5 error
Hi everyone ,
I applied CU 15 on my exchnage 2013 mailbox server,but got an error on step 12 ,below is the full error ,should i consider this update as complete or i will have to run the setup again.
when i run below command to chekc the CU version
Get-ExchangeServer | Format-List Name, Edition, AdminDisplayVersion
it shows the serevr has latest CU version on which i got the error
Error:
The following error was generated when "$error.Clear();
$name = [Microsoft.Exchange.Manage ment.Recip ientTasks. EnableMail box]::Disc overyMailb oxUniqueNa me;
$dispname = [Microsoft.Exchange.Manage ment.Recip ientTasks. EnableMail box]::Disc overyMailb oxDisplayN ame;
$dismbx = get-mailbox -Filter {name -eq $name} -IgnoreDefaultScope -resultSize 1;
if( $dismbx -ne $null)
{
$srvname = $dismbx.ServerName;
if( $dismbx.Database -ne $null -and $RoleFqdnOrName -like "$srvname.*" )
{
Write-ExchangeSetupLog -info "Setup DiscoverySearchMailbox Permission.";
$mountedMdb = get-mailboxdatabase $dismbx.Database -status | where { $_.Mounted -eq $true };
if( $mountedMdb -eq $null )
{
Write-ExchangeSetupLog -info "Mounting database before stamp DiscoverySearchMailbox Permission...";
mount-database $dismbx.Database;
}
$mountedMdb = get-mailboxdatabase $dismbx.Database -status | where { $_.Mounted -eq $true };
if( $mountedMdb -ne $null )
{
$dmRoleGroupGuid = [Microsoft.Exchange.Data.D irectory.M anagement. RoleGroup] ::Discover yManagemen t_InitInfo .WellKnown Guid;
$dmRoleGroup = Get-RoleGroup -Identity $dmRoleGroupGuid -DomainController $RoleDomainController -ErrorAction:SilentlyConti nue;
if( $dmRoleGroup -ne $null )
{
trap [Exception]
{
Add-MailboxPermission $dismbx -User $dmRoleGroup.Name -AccessRights FullAccess -DomainController $RoleDomainController -ErrorAction SilentlyContinue;
continue;
}
Add-MailboxPermission $dismbx -User $dmRoleGroup.Identity -AccessRights FullAccess -DomainController $RoleDomainController -WarningAction SilentlyContinue;
}
}
}
}
" was run: "Microsoft.Exchange.Data.C ommon.Loca lizedExcep tion: Couldn't resolve the user or group "vistaz.com/Microsoft Exchange Security Groups/Discovery Management." If the user or group is a foreign forest principal, you must have either a two-way trust or an outgoing trust. ---> System.SystemException: The trust relationship between the primary domain and the trusted domain failed.
at System.Security.Principal. NTAccount. TranslateT oSids(Iden tityRefere nceCollect ion sourceAccounts, Boolean& someFailed)
at System.Security.Principal. NTAccount. Translate( IdentityRe ferenceCol lection sourceAccounts, Type targetType, Boolean forceSuccess)
at System.Security.Principal. NTAccount. Translate( Type targetType)
at Microsoft.Exchange.Configu ration.Tas ks.Securit yPrincipal IdParamete r.GetUserS idAsSAMAcc ount(Secur ityPrincip alIdParame ter user, TaskErrorLoggingDelegate logError, TaskVerboseLoggingDelegate logVerbose)
--- End of inner exception stack trace ---
at Microsoft.Exchange.Configu ration.Tas ks.Task.Th rowError(E xception exception, ErrorCategory errorCategory, Object target, String helpUrl)
at Microsoft.Exchange.Configu ration.Tas ks.Task.Wr iteError(E xception exception, ErrorCategory category, Object target)
at Microsoft.Exchange.Configu ration.Tas ks.Securit yPrincipal IdParamete r.GetUserS idAsSAMAcc ount(Secur ityPrincip alIdParame ter user, TaskErrorLoggingDelegate logError, TaskVerboseLoggingDelegate logVerbose)
at Microsoft.Exchange.Configu ration.Tas ks.Securit yPrincipal IdParamete r.GetSecur ityPrincip al(IRecipi entSession session, SecurityPrincipalIdParamet er user, TaskErrorLoggingDelegate logError, TaskVerboseLoggingDelegate logVerbose)
at Microsoft.Exchange.Managem ent.Recipi entTasks.S etMailboxP ermissionT askBase.In ternalVali date()
at Microsoft.Exchange.Managem ent.Recipi entTasks.A ddMailboxP ermission. InternalVa lidate()
at Microsoft.Exchange.Configu ration.Tas ks.Task.<P rocessReco rd>b__b()
at Microsoft.Exchange.Configu ration.Tas ks.Task.In vokeRetrya bleFunc(St ring funcName, Action func, Boolean terminatePipelineIfFailed) ".
I applied CU 15 on my exchnage 2013 mailbox server,but got an error on step 12 ,below is the full error ,should i consider this update as complete or i will have to run the setup again.
when i run below command to chekc the CU version
Get-ExchangeServer | Format-List Name, Edition, AdminDisplayVersion
it shows the serevr has latest CU version on which i got the error
Error:
The following error was generated when "$error.Clear();
$name = [Microsoft.Exchange.Manage
$dispname = [Microsoft.Exchange.Manage
$dismbx = get-mailbox -Filter {name -eq $name} -IgnoreDefaultScope -resultSize 1;
if( $dismbx -ne $null)
{
$srvname = $dismbx.ServerName;
if( $dismbx.Database -ne $null -and $RoleFqdnOrName -like "$srvname.*" )
{
Write-ExchangeSetupLog -info "Setup DiscoverySearchMailbox Permission.";
$mountedMdb = get-mailboxdatabase $dismbx.Database -status | where { $_.Mounted -eq $true };
if( $mountedMdb -eq $null )
{
Write-ExchangeSetupLog -info "Mounting database before stamp DiscoverySearchMailbox Permission...";
mount-database $dismbx.Database;
}
$mountedMdb = get-mailboxdatabase $dismbx.Database -status | where { $_.Mounted -eq $true };
if( $mountedMdb -ne $null )
{
$dmRoleGroupGuid = [Microsoft.Exchange.Data.D
$dmRoleGroup = Get-RoleGroup -Identity $dmRoleGroupGuid -DomainController $RoleDomainController -ErrorAction:SilentlyConti
if( $dmRoleGroup -ne $null )
{
trap [Exception]
{
Add-MailboxPermission $dismbx -User $dmRoleGroup.Name -AccessRights FullAccess -DomainController $RoleDomainController -ErrorAction SilentlyContinue;
continue;
}
Add-MailboxPermission $dismbx -User $dmRoleGroup.Identity -AccessRights FullAccess -DomainController $RoleDomainController -WarningAction SilentlyContinue;
}
}
}
}
" was run: "Microsoft.Exchange.Data.C
at System.Security.Principal.
at System.Security.Principal.
at System.Security.Principal.
at Microsoft.Exchange.Configu
--- End of inner exception stack trace ---
at Microsoft.Exchange.Configu
at Microsoft.Exchange.Configu
at Microsoft.Exchange.Configu
at Microsoft.Exchange.Configu
at Microsoft.Exchange.Managem
at Microsoft.Exchange.Managem
at Microsoft.Exchange.Configu
at Microsoft.Exchange.Configu
ASKER
what is the fix for this,do i just need to run the setup again?
this error is talking about the trust relationship.
Couldn't resolve the user or group "vistaz.com/Microsoft Exchange Security Groups/Discovery Management." If the user or group is a foreign forest principal, you must have either a two-way trust or an outgoing trust. ---> System.SystemException: The trust relationship between the primary domain and the trusted domain failed.
please see the link below if this helps out.
https://social.technet.microsoft.com/Forums/en-US/5b695b88-1792-497d-81dc-d9fa905e1b8f/the-trust-relationship-between-this-workstation-and-the-primary-domain-failed?forum=winserverDS
Couldn't resolve the user or group "vistaz.com/Microsoft Exchange Security Groups/Discovery Management." If the user or group is a foreign forest principal, you must have either a two-way trust or an outgoing trust. ---> System.SystemException: The trust relationship between the primary domain and the trusted domain failed.
please see the link below if this helps out.
https://social.technet.microsoft.com/Forums/en-US/5b695b88-1792-497d-81dc-d9fa905e1b8f/the-trust-relationship-between-this-workstation-and-the-primary-domain-failed?forum=winserverDS
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
i got the solution myself
It is not complete...your exchange will not work correctly.
You need to fix the issue after run the upgrade again. It should resume and restart where you left.
Regards
Valentina