当尝试安装 Exchange Server 2010 时,安装进程报错。报错信息是关于 RMS共享标识用户 FederatedEmail.4c1f4d8b-8179-4148-93bf-00a95fa1e042的,或者Error: The execution of: “$error.Clear()…”。在 Exchange 安装日志和应用程序日志都能查看到相关信息。此时,你可能需要重建系统帐号。
一.报错信息
RMS Shared Identity user ‘CN=FederatedEmail.4c1f4d8b-8179-4148-93bf-00a95fa1e042,CN=Users,DC=exchange,DC=com’ (originating server = ‘W2K3DC01.exchange.com’) is being linked to computer ‘CN=Computer,CN=Computers,DC=exchange,DC=com’ (originating server = ‘W2K3DC01.exchange.com).
[06-05-2009 11:50:26.0856] [2] [ERROR] Database is mandatory on UserMailbox. Property Name: Database.
[06-05-2009 11:50:26.0950] [2] Ending processing.
[06-05-2009 11:50:26.0950] [1] The following 1 error(s) occurred during task execution:
[06-05-2009 11:50:26.0950] [1] 0. ErrorRecord: Database is mandatory on UserMailbox. Property Name: Database.
[06-05-2009 11:50:26.0950] [1] 0. ErrorRecord: Microsoft.Exchange.Data.DataValidationException: Database is mandatory on UserMailbox. Property Name: Database.
at Microsoft.Exchange.Data.Directory.ADSession.Save(ADObject instanceToSave, IEnumerable`1 properties)
at Microsoft.Exchange.Management.Deployment.UpdateRmsSharedIdentity.Link()
at Microsoft.Exchange.Management.Deployment.UpdateRmsSharedIdentity.InternalProcessRecord()
at Microsoft.Exchange.Configuration.Tasks.Task.ProcessRecord()
[06-05-2009 11:50:26.0950] [1] [ERROR] The execution of: “$error.Clear(); if ( ($server -eq $null) -and ($RoleIsDatacenter -ne $true) ) { Update-RmsSharedIdentity -ServerName $RoleNetBIOSName }”, generated the following error: “Database is mandatory on UserMailbox. Property Name: Database.”.
[06-05-2009 11:50:26.0950] [1] [ERROR] Database is mandatory on UserMailbox. Property Name: Database.
[06-05-2009 11:50:26.0981] [1] [WARNING] <<< Setup failed to execute a task.
二.可能原因
发生这个问题,可能是 Exchange 默认的系统邮箱帐号被误删除了,或者系统帐号损坏了。查看系统邮箱的 Exchange Shell 命令如下:
Get-mailbox -Arbitration
正常情况下会返回3个帐号,2个系统邮箱,一个FederatedEmail
三.解决方法
重建3个系统邮箱帐号。具体操作如下:
1.从AD删除3个系统邮箱帐号
这3个帐号默认在根域的Users容器,分别为:
FederatedEmail.4c1f4d8b-8179-4148-93bf-00a95fa1e042
SystemMailbox{1f05a927-9ca2-4d9a-8b48-b00e1bcb5788}
SystemMailbox{e0dc1c29-89c3-4034-b678-e6c29d823ed9}
2.使用ADSIEDIT确认已经删除
以FederatedEmail.4c1f4d8b-8179-4148-93bf-00a95fa1e042为例
A.在开始运行中adsiedit.msc
B.连接到“默认命名上下文”,并定位到CN=Users容器
C.找到CN=FederatedEmail.4c1f4d8b-8179-4148-93bf-00a95fa1e042并删除
对另外2个系统帐号也执行同样的操作
3.使用Preparead重建3个系统帐号
找出 Exchange 安装介质,使用 setup.com 重建3个帐号:
Setup.com /Preparead
4.对3个系统帐号启用邮箱
在 Exchange Shell 里分别执行:
Enable-Mailbox –Arbitration “FederatedEmail.4c1f4d8b-8179-4148-93bf-00a95fa1e042”
Enable-Mailbox –Arbitration “SystemMailbox{1f05a927-9ca2-4d9a-8b48-b00e1bcb5788}”
Enable-Mailbox –Arbitration “SystemMailbox{e0dc1c29-89c3-4034-b678-e6c29d823ed9}”