在 Windows Server 2008 上安装 vCenter Server 无法完成
search cancel

在 Windows Server 2008 上安装 vCenter Server 无法完成

book

Article ID: 340952

calendar_today

Updated On:

Products

VMware vCenter Server

Issue/Introduction


Symptoms:

免责声明:本文为 Installing vCenter Server does not complete with Windows Server 2008 (1013822) 的翻译版本。尽管我们会不断努力为本文提供最佳翻译版本,但本地化的内容可能会过时。有关最新内容,请参见英文版本。


  • 如果 Windows Server 2008 未启用 Active Directory 轻量级目录服务角色 (AD LDS),则在 Windows Server 2008 上安装 vCenter Server 将失败。
  • 您会看到类似以下内容的错误消息:

    Setup cannot create vCenter Server Directory Services instance.
    Refer to C:\\Users\SYS-VC~1\...\jointool-0.log for more details.Click Yes to force this operation.)


  • 单击后,可能会显示类似以下内容的消息:

    Error 28038. Setup cannot create vCenter Server Directory Services instance.
    Refer to C:\\Users\SYS-VC~1\AppData\Local\Temp\...\jointool-0.log for more details.)

  • jointool-0.log 日志文件中,您会看到类似以下内容的错误消息:

[2010-07-28 12:01:48 INFO] JoinTool started
[2010-07-28 12:01:48 INFO] Storage directory for LDAP instance: C:\Program Files\VMware\Infrastructure\VirtualCenter Server\VMwareVCMSDS
[2010-07-28 12:01:48 INFO] Operation Mode: initialize
[2010-07-28 12:01:48 INFO] Creating directory services instance VMwareVCMSDS
[2010-07-28 12:01:48 INFO] LDAP port = 389
[2010-07-28 12:01:48 INFO] Base DN = dc=virtualcenter,dc=vmware,dc=int
[2010-07-28 12:01:48 INFO] Storage dir = C:\Program Files\VMware\Infrastructure\VirtualCenter Server\VMwareVCMSDS
[2010-07-28 12:01:49 SEVERE] Operation "Create standalone instance VMwareVCMSDS" failed: : Action: Create Standalone Instance
Action: Creation of standalone instance
Action: Create Instance
Problem: Creation of instance VMwareVCMSDS failed: The wizard could not access the registry.
Error code: 0x800706fd
The trust
relationship between this workstation and the primary domain failed.



Environment

VMware vCenter Server 4.1.x
VMware vCenter Server 4.0.x
VMware vCenter Server 5.0.x

Resolution

必须先启用或完全移除 Windows Server 2008 上的 Active Directory 轻量级目录服务 (AD LDS) 服务器角色,然后才能安装 vCenter Server。

要完全移除 (AD LDS),请参见 Microsoft TechNet 文章移除 AD LDS 实例 (Remove an AD LDS Instance)

注意:此问题也可能会在 64 位 Windows 2003 Server 上发生。此时,必须移除 Active Directory 应用程序模式软件。

如果 AD LDS 已安装但未启用,则会导致安装失败,因为 AD LDS 会尝试使用此服务,但无法使用。

如果已完全移除此服务,则 vCenter 将不会尝试使用此服务,而是继续执行安装。有关 Active Directory 轻量级目录服务的详细信息,请参见 Microsoft TechNet 文章 Active Directory 轻量级目录服务 (Active Directory Lightweight Directory Services)

注意:截至 2012 12 3 日,上述链接正确无误。如果您发现某链接已损坏,请提供反馈,VMware 员工将会更新该链接。

此问题也可能是由 Windows 2000 域控制器导致的。有关详细信息,请参见在 Windows 2008 R2 系统中安装 vCenter Server 4.1 或 5.0 失败 (1025668) (Installing vCenter Server 4.1 or 5.0 on a Windows 2008 R2 system fails (1025668))

有关信息,请参见升级到 vCenter Server 4.x 失败,并出现以下错误:安装程序无法创建 vCenter Server 目录服务 (1015887) (Upgrading to vCenter Server 4.x fails with the error: Setup cannot create vCenter Server Directory Services (1015887))

此外,请确保您在系统中安装 vCenter Server 时具有足够的磁盘空间,并确保在连接到 vCenter Server SQL 数据库时所使用的密码中不包含任何特殊字符,因为这些条件也可能会导致此错误。

此外,此问题还可能是由链接模式下的 vCenter Server 导致的,需要予以查明。有关详细信息,请参见禁用 vCenter Server 的链接模式 (1010432) (Disabling Linked Mode for vCenter Server (1010432))