阅读218 返回首页    go windows


Exchange2016 安装到邮箱角色时报错

公司同一个domain里想装3台Exchange2016的服务器(部署环境是windows2016),3台服务分别位于不同的城市,其中2台已经安装成功并投入使用,另一个城市由于之前安装的exchange2016 是cu4的版本,现在想升级到cu5的版本,但安装失败,几次重新部署均失败,报错信息如下,请问该报错该如何处理?谢谢!

错误:
运行"$error.Clear();
          if (($RoleIsDatacenter -ne $true) -and ($RoleIsDatacenterDedicated -ne $true))
          {
            if (test-ExchangeServersWriteAccess -DomainController $RoleDomainController -ErrorAction SilentlyContinue)
            {
              # upgrade the discovery mailboxes to R5 version, this will fix the RecipientDisplayType property of the discovery mailbox which was wrong in R4.
              get-mailbox -RecipientTypeDetails DiscoveryMailbox -DomainController $RoleDomainController | where {$_.IsValid -eq $false} | set-mailbox -DomainController $RoleDomainController
              $name = [Microsoft.Exchange.Management.RecipientTasks.EnableMailbox]::DiscoveryMailboxUniqueName;
              $dispname = [Microsoft.Exchange.Management.RecipientTasks.EnableMailbox]::DiscoveryMailboxDisplayName;
              $mbxs = @( get-mailbox -Filter {name -eq $name} -IgnoreDefaultScope -resultSize 1 );
              if ( $mbxs.length -eq 0)
              {
                $dbs = @(get-MailboxDatabase -Server:$RoleFqdnOrName -DomainController $RoleDomainController);
                if($dbs.Length -ne 0)
                {
                  $mbxUser = @(get-user -Filter {name -eq $name} -IgnoreDefaultScope -ResultSize 1);
                  if ($mbxUser.Length -ne 0)
                  {
                    enable-mailbox -Discovery -identity $mbxUser[0] -DisplayName $dispname -database $dbs[0].Identity;
                  }
                }
              }
            }
            else
            {
              write-exchangesetuplog -info "Skipping creating Discovery Search Mailbox because of insufficient permission."
            } 
          }
        "时生成以下错误:"Microsoft.Exchange.Data.DataValidationException: UserMailbox 必须强制使用 Database。"。

最后更新:2017-07-17 16:17:57

  上一篇:go win10英文系统经常蓝屏
  下一篇:go 哔哩哔哩UWP版无法播放视频