首先说下环境如下:
1.在虚拟机下部署了3台计算机
1)12SER01它是父域,域名为:cchome.com
2) 12SER02它是子域,域名为:gz.cchome.com
3) 12SER03它是子域的成员服务器,也是exchange 2013服务器
步骤:
1.首先部署第一台域控制器,然后把12SER02加入父域后再把它提升为子域域控制器,最后把12SER03加入子域;
2. 在12SER01中扩展AD架构,账号权限(administrator; domain admin; Enterprise Admins; Schema Admins)
3. 在12SER01中准备组织,账号权限(administrator; domain admin; Enterprise Admins; Schema Admins)
4. 在12SER02中扩展域架构,账号权限(子域的administrator; domain admin;)
5. 在12SER03中安装windows组件和UM组件,账号权限(子域的administrator; domain admin;父域的Enterprise
Admins; 父域的Organization Management role group;)
6. 在12SER03中安装exchange 2013 cu9,安装先决条件全过,在安装的到邮箱角色(第10步)后报错!错误如下:
7.按照以上的步骤去部署exchange 2013 SP1完全没有报错!请问如何解决问题,谢谢!
错误:
运行"$error.Clear();
if ($RoleIsDatacenter -ne $true -and $RoleIsDatacenterDedicated -ne $true)
{
if (Test-ExchangeServersWriteAccess -DomainController $RoleDomainController -ErrorAction
SilentlyContinue)
{
$sysMbx = $null;
$name = "SystemMailbox{bb558c35-97f1-4cb9-8ff7-d53741dc928c}";
$dispName = "Microsoft Exchange";
Write-ExchangeSetupLog -Info ("Retrieving mailboxes with Name=$name.");
$mbxs = @(Get-Mailbox -Arbitration -Filter {name -eq $name} -IgnoreDefaultScope -ResultSize 1 );
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=$name.");
$arbUsers = @(Get-User -Filter {name -eq $name} -IgnoreDefaultScope -ResultSize 1);
if ($arbUsers.Length -ne 0)
{
Write-ExchangeSetupLog -Info ("Enabling mailbox $name.");
$sysMbx = Enable-Mailbox -Arbitration -Identity $arbUsers[0] -DisplayName $dispName -database
$dbs[0].Identity;
}
}
}
else
{
if ($mbxs[0].DisplayName -ne $dispName )
{
Write-ExchangeSetupLog -Info ("Setting DisplayName=$dispName.");
Set-Mailbox -Arbitration -Identity $mbxs[0] -DisplayName $dispName -Force;
}
$sysMbx = $mbxs[0];
}
# Set the Organization Capabilities needed for this mailbox
if ($sysMbx -ne $null)
{
# We need 1 GB for uploading large OAB files to the organization mailbox
Write-ExchangeSetupLog -Info ("Setting mailbox properties.");
set-mailbox -Arbitration -identity $sysMbx -UMGrammar:$true -OABGen:$true -GMGen:$true -
ClientExtensions:$true -MailRouting:$true -MessageTracking:$true -PstProvider:$true -MaxSendSize 1GB
-Force;
Write-ExchangeSetupLog -Info ("Configuring offline address book(s) for this mailbox");
Get-OfflineAddressBook | where {$_.ExchangeVersion.CompareTo
([Microsoft.Exchange.Data.ExchangeObjectVersion]::Exchange2012) -ge 0 -and $_.GeneratingMailbox -eq
$null} | Set-OfflineAddressBook -GeneratingMailbox $sysMbx.Identity;
}
else
{
Write-ExchangeSetupLog -Info ("Cannot find arbitration mailbox with name=$name.");
}
}
else
{
Write-ExchangeSetupLog -Info "Skipping creating E15 System Mailbox because of insufficient
permission."
}
}
"时生成以下错误:"Microsoft.Exchange.Configuration.Tasks.ManagementObjectNotFoundException: 找不到
收件人"cchome.com/Users/SystemMailbox{bb558c35-97f1-4cb9-8ff7-d53741dc928c}"。 原因:
cchome.com/Users/SystemMailbox{bb558c35-97f1-4cb9-8ff7-d53741dc928c} 不是邮箱用户。
在 Microsoft.Exchange.Configuration.Tasks.DataAccessTask`1.GetDataObject[TObject]
(IIdentityParameter id, IConfigDataProvider session, ObjectId rootID, OptionalIdentityData optionalData,
Nullable`1 notFoundError, Nullable`1 multipleFoundError, ExchangeErrorCategory errorCategory)
在 Microsoft.Exchange.Configuration.Tasks.DataAccessTask`1.GetDataObject[TObject]
(IIdentityParameter id, IConfigDataProvider session, ObjectId rootID, Nullable`1 notFoundError,
Nullable`1 multipleFoundError)
在
Microsoft.Exchange.Management.SystemConfigurationTasks.OfflineAddressBookTaskUtility.ValidateGenerat
ingMailbox(IConfigDataProvider session, MailboxIdParameter generatingMailboxId, GetUniqueObject
getAdUser, OfflineAddressBook target, TaskWarningLoggingDelegate writeWarning,
TaskErrorLoggingDelegate writeError)
在
Microsoft.Exchange.Management.SystemConfigurationTasks.SetOfflineAddressBookInternal.StampChanges
On(IConfigurable dataObject)
在 Microsoft.Exchange.Configuration.Tasks.SetObjectTaskBase`2.PrepareDataObject()
在 Microsoft.Exchange.Configuration.Tasks.SetTaskBase`1.InternalValidate()
在 Microsoft.Exchange.Configuration.Tasks.SetSystemConfigurationObjectTask`3.InternalValidate()
在
Microsoft.Exchange.Management.SystemConfigurationTasks.SetOfflineAddressBookInternal.InternalValidat
e()
在 Microsoft.Exchange.Configuration.Tasks.Task.<ProcessRecord>b__b()
在 Microsoft.Exchange.Configuration.Tasks.Task.InvokeRetryableFunc(String funcName, Action func,
Boolean terminatePipelineIfFailed)"。