閱讀218 返回首頁    go 阿裏雲 go 技術社區[雲棲]


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版無法播放視頻