AD上删除了Exchange容器,再重装时报'找不到企业组织容器。'
安装日志如下:
[06/16/2014 04:58:15.0054] [0] **********************************************
[06/16/2014 04:58:15.0054] [0] Starting Microsoft Exchange Server 2013 Service Pack 1 Setup
[06/16/2014 04:58:15.0054] [0] **********************************************
[06/16/2014 04:58:15.0054] [0] Local time zone: (UTC+08:00)北京,重庆,香港特别行政区,乌鲁木齐.
[06/16/2014 04:58:15.0054] [0] Operating system version: Microsoft Windows NT 6.2.9200.0.
[06/16/2014 04:58:15.0054] [0] Setup version: 15.0.847.32.
[06/16/2014 04:58:15.0054] [0] Logged on user: XHQ\administrator.
[06/16/2014 04:58:15.0070] [0] 找不到注册表项 HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\ExchangeServer\V15\Setup。
[06/16/2014 04:58:15.0101] [0] Command Line Parameter Name='prepareschema', Value=''.
[06/16/2014 04:58:15.0101] [0] Command Line Parameter Name='iacceptexchangeserverlicenseterms', Value=''.
[06/16/2014 04:58:15.0101] [0] Command Line Parameter Name='sourcedir', Value='E:\Exchange2013Setup'.
[06/16/2014 04:58:15.0257] [0] RuntimeAssembly was started with the following command: '/PrepareSchema /IAcceptExchangeServerLicenseTerms /sourcedir:E:\Exchange2013Setup'.
[06/16/2014 04:58:15.0257] [0] 找不到注册表项 HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Exchange\v8.0。
[06/16/2014 04:58:15.0257] [0] 找不到注册表项 HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\ExchangeServer\v14。
[06/16/2014 04:58:15.0304] [0] 找不到注册表项 HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\ExchangeServer\V15\Setup。
[06/16/2014 04:58:15.0304] [0] 正在复制文件...
[06/16/2014 04:58:15.0304] [0] Starting copy from E:\Exchange2013Setup\Setup\ServerRoles\Common to C:\Windows\Temp\ExchangeSetup.
[06/16/2014 04:58:27.0567] [0] Finished copy from E:\Exchange2013Setup\Setup\ServerRoles\Common to C:\Windows\Temp\ExchangeSetup.
[06/16/2014 04:58:27.0567] [0] 文件复制完成。安装程序现在将收集安装所需的其他信息。
[06/16/2014 04:58:27.0599] [0] Assembly dll file location is C:\Windows\Temp\ExchangeSetup\Microsoft.Exchange.Setup.Console.dll
[06/16/2014 04:58:31.0645] [0] Setup is choosing the domain controller to use
[06/16/2014 04:58:38.0762] [0] Setup is choosing a local domain controller...
[06/16/2014 04:58:42.0231] [0] Setup has chosen the local domain controller DC2012-0.xhq.gov.cn for initial queries
[06/16/2014 04:58:42.0403] [0] PrepareAD has either not been run or has not replicated to the domain controller used by Setup. Setup will attempt to use the Schema Master domain controller DC2012-0.xhq.gov.cn
[06/16/2014 04:58:42.0403] [0] The schema master domain controller is available
[06/16/2014 04:58:42.0403] [0] The schema master domain controller is in the local domain; setup will use DC2012-0.xhq.gov.cn
[06/16/2014 04:58:42.0434] [0] Setup is choosing a global catalog...
[06/16/2014 04:58:42.0465] [0] Setup has chosen the global catalog server DC2012-0.xhq.gov.cn.
[06/16/2014 04:58:42.0543] [0] Setup will use the domain controller 'DC2012-0.xhq.gov.cn'.
[06/16/2014 04:58:42.0543] [0] Setup will use the global catalog 'DC2012-0.xhq.gov.cn'.
[06/16/2014 04:58:42.0559] [0] Exchange configuration container for the organization is 'CN=Microsoft Exchange,CN=Services,CN=Configuration,DC=xhq,DC=gov,DC=cn'.
[06/16/2014 04:58:42.0559] [0] No Exchange organization container was found for the organization. Message: '找不到企业组织容器。'.
[06/16/2014 04:58:42.0559] [0] For more information refer to http://go.microsoft.com/fwlink/p/?LinkId=257397.
[06/16/2014 04:58:42.0840] [0] Setup will search for an Exchange Server object for the local machine with name 'MAIL'.
[06/16/2014 04:58:42.0903] [0] No Exchange Server with> [06/16/2014 04:58:42.0965] [0] The following roles have been unpacked:
[06/16/2014 04:58:42.0965] [0] The following datacenter roles are unpacked:
[06/16/2014 04:58:42.0965] [0] The following roles are installed:
[06/16/2014 04:58:42.0965] [0] The local server does not have any Exchange files installed.
[06/16/2014 04:58:42.0997] [0] Server Name=MAIL
[06/16/2014 04:58:43.0090] [0] Setup will use the path 'E:\Exchange2013Setup' for installing Exchange.
[06/16/2014 04:58:43.0090] [0] The installation mode is set to: 'Install'.
========================================= 解决方案:
请按照以下步骤检查之前的卸载是否已完成。
1. 打开ADSIEDIT,定位到
CN=Configuration,DC=DOMAIN,DC=LOCAL
CN=Services
删除以下项:
CN=Microsoft Exchange
CN=Microsoft Exchange Autodiscover
继续定位到
CN=Default naming context,DC=DOMAIN,DC=LOCAL
删除以下项:
CN=Microsoft Exchange Security Groups
CN=Microsoft Exchange Security Objects
另外在之前的Exchange2013服务器上,可能还有Exchange的残留信息,分别驻存在:
硬盘:
默认安装目录: C:\Program Files\Microsoft\Exchange Server
IIS:
Exchange前端和后端站点
活动目录用户和计算机:
删除以下账户:
DiscoverySearch Mailbox{GUID}
Exchange Online-ApplicationAccount
FederatedEmail.GUID
Migration.GUID
*SystemMailbox{GUID}
*HealthMailboxGUID
本机注册表:
删除HKLM\Software\Microsoft下的
“ExchangeServer” 项
删除HKLM\CurrentControlSet\Services下的
MSExchange项