Exchange Server 设置操作未完成
您必须将 Exchange Server 更新到较新的 CU 版本才能获得最新的安全修复和更改。在我们的示例中,我们将 Exchange Server 2016 CU17 更新到 Exchange Server 2016 CU18。运行安装程序后,会显示一条错误,表明先决条件分析失败。为什么 Exchange Server 安装失败,以及如何解决 Exchange Server 安装操作未完成错误?
信息
在开始之前,很高兴知道我们有一个多域 Active Directory 林。有两个选项可用于安装 Exchange Server 累积更新:
- 设置向导 (GUI)
- 无人值守模式(命令行)
注意:如果您运行设置向导,它将自动为您准备架构和 Active Directory。如果要使用无人值守模式,必须首先准备 Active Directory 和域。
Exchange Server 设置操作未完成
我们确实从 Microsoft 下载了 Exchange Server CU ISO。之后,将其安装到 Exchange Server。如果不这样做,我们将无法运行命令将 Exchange Server 更新到较新的版本。
首先,我们确实运行了安装向导 (GUI),但 Exchange Server 安装失败。检查日志后,我们可以看到执行 Microsoft Exchange Server 先决条件检查失败。
我们想看看如果我们使用命令提示符准备模式会发生什么。我们确实启动了命令提示符并运行了 /PrepareSchema 命令。它显示错误先决条件分析失败。
C:\>E:\Setup.exe /IAcceptExchangeServerLicenseTerms_DiagnosticDataOFF /PrepareSchema
Microsoft Exchange Server 2016 Cumulative Update 18 Unattended Setup
Copying Files...
File copy complete. Setup will now collect additional information needed for installation.
Performing Microsoft Exchange Server Prerequisite Check
Prerequisite Analysis FAILED
The Active Directory schema isn't up-to-date, and this user account isn't a member of the 'Schema Admins' and/or
'Enterprise Admins' groups.
For more information, visit: http://technet.microsoft.com/library(EXCHG.150)/ms.exch.setupreadiness.SchemaUpdateRequired.aspx
Setup encountered a problem while validating the state of Active Directory: Exchange organization-level objects have
not been created, and setup cannot create them because the local computer is not in the same domain and site as the
schema master. Run setup with the /prepareAD parameter on a computer in the domain alitajran and site London, and wait
for replication to complete. See the Exchange setup log for more information on this error.
For more information, visit: http://technet.microsoft.com/library(EXCHG.150)/ms.exch.setupreadiness.AdInitErrorRule.aspx
The forest functional level of the current Active Directory forest is not Windows Server 2003 native or later. To
install Exchange Server 2016, the forest functional level must be at least Windows Server 2003 native.
For more information, visit: http://technet.microsoft.com/library(EXCHG.150)/ms.exch.setupreadiness.ForestLevelNotWin2003Native.aspx
Either Active Directory doesn't exist, or it can't be contacted.
For more information, visit: http://technet.microsoft.com/library(EXCHG.150)/ms.exch.setupreadiness.CannotAccessAD.aspx
The Exchange Server setup operation didn't complete. More details can be found in ExchangeSetup.log located in the
<SystemDrive>:\ExchangeSetupLogs folder.
运行命令后,输出给我们带来错误。
- 先决条件分析失败。
- Active Directory 架构不是最新的,并且此用户帐户不是“架构管理员”和/或“企业管理员”组的成员。
- 安装程序在验证 Active Directory 状态时遇到问题。
- 当前 Active Directory 林的林功能级别不是 Windows Server 2003 本机或更高版本。
- Active Directory 不存在,或者无法联系。
- Exchange Server 设置操作未完成。更多详细信息可以在位于
:\ExchangeSetupLogs 文件夹中的 ExchangeSetup.log 中找到。
为什么我们会收到此错误,Exchange Server 设置操作未完成的解决方案是什么?
检查先决条件
您必须一一核对以上通知。这并不意味着所有这些都是错误的,也许只是其中之一。
用户帐户会员资格
检查该帐户是否在 Active Directory 中分配了以下权限:
- 企业管理员组成员身份。
- 组织管理组成员资格。
- 架构管理员组成员身份。
注意:如果您有多个域,请检查两个 Active Directory 中的帐户。
森林功能等级
要更新 Exchange Server,当前 Active Directory 的林功能级别需要是 Windows Server 2003 或更高版本。使用 PowerShell 中的 Get-AdForest cmdlet 进行检查。
PS C:\> Get-ADForest | Format-List Name,ForestMode
Name : alitajran.local
ForestMode : Windows2008R2Forest域功能级别
运行 Get-ADDomain cmdlet 以检查域功能级别。
PS C:\> Get-ADDomain | Format-List Name,DomainMode
Name : exoip
DomainMode : Windows2008R2DomainFSMO 角色
检查 FSMO 角色。以管理员身份运行命令提示符并运行 netdom query fsmo 命令。
C:\>netdom query fsmo
Schema master DC01.alitajran.local
Domain naming master DC01.alitajran.local
PDC DC03-2016.exoip.local
RID pool manager DC02-2016.exoip.local
Infrastructure master DC01-2016.exoip.local
The command completed successfully.Exchange Server 设置操作未完成的解决方案
现在我们收集了所有信息,我们可以知道为什么会出现错误,并且 Exchange 先决条件失败。
它不起作用,因为我们确实从 Exchange Server 运行了准备架构并准备 AD。 Exchange Server 不在域 alitajran.local 中。但是,它的位置位于域 exoip.local 中。准备架构和准备 AD 命令需要在属于持有架构主机的域和站点的成员的计算机上运行。在我们的示例中,架构主机角色安装在 DC01.alitajran.local 上。
解决方案是运行以下步骤:
- 在与架构主机位于同一域和站点的计算机上准备架构。
- 在与架构主机位于同一域和站点的计算机上准备 AD。
- 在 Exchange Server 上安装 Exchange CU 升级。
准备架构
登录在森林中运行的客户端。在我们的示例中,森林 alitajran.local。下载 Exchange CU ISO 或将文件从 Exchange Server 复制到计算机。在我们的示例中,我们将 ISO 从 Exchange Server EX01 复制到 MG01。 MG01 是管理服务器,它在 alitajran.local 林中运行。
启动命令提示符并准备架构。确认准备成功。
C:\>E:\Setup.exe /IAcceptExchangeServerLicenseTerms_DiagnosticDataOFF /PrepareSchema
Microsoft Exchange Server 2016 Cumulative Update 18 Unattended Setup
Copying Files...
File copy complete. Setup will now collect additional information needed for installation.
Performing Microsoft Exchange Server Prerequisite Check
Prerequisite Analysis COMPLETED
Configuring Microsoft Exchange Server
Extending Active Directory schema COMPLETED
The Exchange Server setup operation completed successfully.了解更多:使用 PowerShell 检查 Exchange 架构版本 »
准备广告
准备 Active Directory 并确认其已成功完成。
C:\>E:\Setup.exe /IAcceptExchangeServerLicenseTerms_DiagnosticDataOFF /PrepareAD
Microsoft Exchange Server 2016 Cumulative Update 18 Unattended Setup
Copying Files...
File copy complete. Setup will now collect additional information needed for installation.
Performing Microsoft Exchange Server Prerequisite Check
Prerequisite Analysis COMPLETED
Configuring Microsoft Exchange Server
Organization Preparation COMPLETED
The Exchange Server setup operation completed successfully.升级 Exchange 服务器 CU
下一步是返回 Exchange Server。运行命令开始升级。
C:\>E:\Setup.exe /IAcceptExchangeServerLicenseTerms_DiagnosticDataOFF /Mode:Upgrade
Microsoft Exchange Server 2016 Cumulative Update 18 Unattended Setup
Copying Files...
File copy complete. Setup will now collect additional information needed for installation.
Languages
Management tools
Mailbox role: Transport service
Mailbox role: Client Access service
Mailbox role: Unified Messaging service
Mailbox role: Mailbox service
Mailbox role: Front End Transport service
Mailbox role: Client Access Front End service
Performing Microsoft Exchange Server Prerequisite Check
Configuring Prerequisites COMPLETED
Prerequisite Analysis 100%
Configuring Microsoft Exchange Server
Preparing Setup COMPLETED
Stopping Services COMPLETED
Language Files COMPLETED
Removing Exchange Files COMPLETED
Preparing Files COMPLETED
Copying Exchange Files COMPLETED
Language Files COMPLETED
Restoring Services COMPLETED
Language Configuration COMPLETED
Exchange Management Tools COMPLETED
Mailbox role: Transport service COMPLETED
Mailbox role: Client Access service COMPLETED
Mailbox role: Unified Messaging service COMPLETED
Mailbox role: Mailbox service COMPLETED
Mailbox role: Front End Transport service COMPLETED
Mailbox role: Client Access Front End service COMPLETED
Finalizing Setup COMPLETED
The Exchange Server setup operation completed successfully.我们确实成功安装了 Exchange CU。下一步是重新启动 Exchange 服务器。启动并运行后,我们将测试 Exchange 服务是否正在运行以及邮件流是否正常工作。
继续阅读:Exchange 安装程序无法安装错误代码 1619 »
结论
您了解了 Exchange Server 安装操作未完成的原因。这是因为先决条件失败了。在我们的示例中,架构主机位于不同的域和站点中。
连接到与架构主机位于同一域中的计算机。运行准备架构和 Active Directory 命令。接下来,在 Exchange Server 上运行 Exchange Server 安装程序。不再出现 Exchange 服务器设置失败错误;它将按预期安装。
您喜欢这篇文章吗?您可能还喜欢使用 GUI 一步步安装 Exchange Server。不要忘记关注我们并分享这篇文章。
