切换到宽版
  • 3659阅读
  • 2回复

[求助]安装一直报错,大家帮忙看看,信息 [复制链接]

上一主题 下一主题
 
只看楼主 倒序阅读 0楼  发表于: 2017-01-20
错误:
运行"$error.Clear();
          if (!$RoleIsDatacenter)
          {
              $mailboxId = [Microsoft.Exchange.Management.Migration.MigrationBatchIdParameter]::MigrationMailboxName;
              $dispName = "Microsoft Exchange Migration";
              $mbxs = @(Get-Mailbox -Arbitration -DomainController $RoleDomainController -Filter {Name -eq $mailboxId});
              $migrationMailbox = $null;

              if ($mbxs.Length -eq 0)
              {
                  Write-ExchangeSetupLog -Info ("Retrieving mailbox databases on Server=$RoleFqdnOrName.");
                  $dbs = @(Get-MailboxDatabase -Server:$RoleFqdnOrName -DomainController $RoleDomainController);
                  if ($dbs.Length -ne 0)
                  {
                      Write-ExchangeSetupLog -Info ("Retrieving users with Name=$mailboxId.");
                      $arbUsers = @(Get-User -Filter {Name -eq $mailboxId} -IgnoreDefaultScope -ResultSize 1);
                      if ($arbUsers.Length -ne 0)
                      {
                          Write-ExchangeSetupLog -Info ("Enabling mailbox $mailboxId.");
                          $migrationMailbox = Enable-Mailbox -Arbitration -Identity $arbUsers[0] -DisplayName $dispName -database $dbs[0].Identity;
                      }
                  }
              }
              else
              {
                  $migrationMailbox = $mbxs[0];
              }

              # Set the Organization Capabilities and quotas needed for this mailbox
              if ($migrationMailbox -ne $null)
              {
                  Set-Mailbox -Arbitration -Identity $migrationMailbox -ProhibitSendReceiveQuota 300MB -ProhibitSendQuota 300MB -IssueWarningQuota 150MB -RecoverableItemsQuota 30GB -RecoverableItemsWarningQuota 20GB -UseDatabaseQuotaDefaults $false -SCLDeleteEnabled $false -SCLJunkEnabled $false -SCLQuarantineEnabled $false -SCLRejectEnabled $false -HiddenFromAddressListsEnabled $true -DisplayName $dispName -Management:$true -Force;
              }
              else
              {
                  Write-ExchangeSetupLog -Info ("Cannot find migration mailbox with name=$mailboxId.");
              }
          }
        "时生成以下错误:"UserMailbox 必须强制使用 Database。"。

错误:
运行"$error.Clear();
          if (!$RoleIsDatacenter)
          {
              $mailboxId = [Microsoft.Exchange.Management.Migration.MigrationBatchIdParameter]::MigrationMailboxName;
              $dispName = "Microsoft Exchange Migration";
              $mbxs = @(Get-Mailbox -Arbitration -DomainController $RoleDomainController -Filter {Name -eq $mailboxId});
              $migrationMailbox = $null;

              if ($mbxs.Length -eq 0)
              {
                  Write-ExchangeSetupLog -Info ("Retrieving mailbox databases on Server=$RoleFqdnOrName.");
                  $dbs = @(Get-MailboxDatabase -Server:$RoleFqdnOrName -DomainController $RoleDomainController);
                  if ($dbs.Length -ne 0)
                  {
                      Write-ExchangeSetupLog -Info ("Retrieving users with Name=$mailboxId.");
                      $arbUsers = @(Get-User -Filter {Name -eq $mailboxId} -IgnoreDefaultScope -ResultSize 1);
                      if ($arbUsers.Length -ne 0)
                      {
                          Write-ExchangeSetupLog -Info ("Enabling mailbox $mailboxId.");
                          $migrationMailbox = Enable-Mailbox -Arbitration -Identity $arbUsers[0] -DisplayName $dispName -database $dbs[0].Identity;
                      }
                  }
              }
              else
              {
                  $migrationMailbox = $mbxs[0];
              }

              # Set the Organization Capabilities and quotas needed for this mailbox
              if ($migrationMailbox -ne $null)
              {
                  Set-Mailbox -Arbitration -Identity $migrationMailbox -ProhibitSendReceiveQuota 300MB -ProhibitSendQuota 300MB -IssueWarningQuota 150MB -RecoverableItemsQuota 30GB -RecoverableItemsWarningQuota 20GB -UseDatabaseQuotaDefaults $false -SCLDeleteEnabled $false -SCLJunkEnabled $false -SCLQuarantineEnabled $false -SCLRejectEnabled $false -HiddenFromAddressListsEnabled $true -DisplayName $dispName -Management:$true -Force;
              }
              else
              {
                  Write-ExchangeSetupLog -Info ("Cannot find migration mailbox with name=$mailboxId.");
              }
          }
        "时生成以下错误:"UserMailbox 必须强制使用 Database。 属性名称: Database"。

以上是错误信息,在安装到第11步“邮箱角色:邮箱服务”的时候出现的,我这个是之前安装过2013但是因为有问题,直接停掉了,在另一个电脑上新装,按照网上的帖子删除DC=Domain,DC=Com -> OU=Microsoft Exchange Security GroupsDC=Domain,DC=Com -> CN=Microsoft Exchange System Objects
CN=Configuration,DC=Domain,DC=Com -> CN=Services -> CN=Microsoft Exchange
CN=Configuration,DC=Domain,DC=Com -> CN=Services -> CN=Microsoft Exchange Autodiscover

CN=FederatedEmail.4c1f4d8b-8179-4148-93bf-00a95fa1e042
但是新装还是有问题,大家帮忙看看,谢谢。
分享到

只看该作者 1楼  发表于: 2017-01-21
我们重装Exchange一般要重装系统,因为Exchange的信息会残留在注册表中。然后在AD的Configuration Partition下删除Services->Microsoft Exchange以及Microsoft Exchange Autodiscover。还有Domain Partition下的系统邮箱systemmailbox.xxxxxxx及FederatedEmail等所有邮箱对象。
Exchange中文站10周年献礼。Exchange2016中文视频教程热销中:edu.exchangecn.com/course/12
只看该作者 2楼  发表于: 2017-01-23
微软官方是说可能是federation mailbox的问题,可以找到并删除 ,然后重新安装:

但是你这个报错里讲的migration mailbox的问题,步骤一样,在ADUC里找到并删除他,或者在ADSI 里找到并删除:
Click Start, click
Run, type adsiedit.msc, and then click
OK.
Locate the Default Naming Context node, and then locate to the CN=Users container.
快速回复
限60 字节
 
上一个 下一个