vCenter Server 从 vSphere 6.0 迁移到 6.5 后,vpxd 服务无法启动
search cancel

vCenter Server 从 vSphere 6.0 迁移到 6.5 后,vpxd 服务无法启动

book

Article ID: 315318

calendar_today

Updated On:

Products

VMware vSphere ESXi

Issue/Introduction

Symptoms:
免责声明:本文为 vpxd service fails to start after vCenter Server is migrated from vSphere 6.0 to 6.5 (2151430) 的翻译版本。尽管我们会不断努力为本文提供最佳翻译版本,但本地化的内容可能会过时。有关最新内容,请参见英文版本。
 
  • vCenter Server 从 vSphere 6.0 迁移到 6.5 后,vpxd 服务无法启动
  • 在 vpxd.log 文件中,您会看到类似以下内容的条目:

    2017-04-25T03:14:39.998Z error vpxd[7F2519F4A800] [Originator@6876 sub=AuthzStorageProvider] [AuthzStorageProvider::CreateAuthzMgr] Failed to connect to IS: <N5Vmomi5Fault17HostCommunication9ExceptionE(vmodl.fault.HostCommunication)<BR>--> [context]zKq7AVECAAAAAAomUQATdnB4ZAAADJQrbGlidm1hY29yZS5zbwAABE8bAGqXGAEOylR2cHhkAAF2E2IBsu71ATyJogFHdKICuBYBbGliYXV0aHpjbGllbnQuc28AAthIAQLwTgECytoBAkjQAQEs6KABCulUATjyVAFqlVMD4AUCbGliYy5zby42AAF1jVM=[/context]>
    2017-04-25T03:14:39.999Z info vpxd[7F2519F4A800] [Originator@6876 sub=AuthzStorageProvider] [AuthzStorageProvider::CreateAuthzMgr] Retry for this error: attempt count 60
    2017-04-25T03:14:43.052Z warning vpxd[7F2519F4A800] [Originator@6876 sub=VpxdAuthClient] [ConnectAndLogin] Failed to loginBySamlToken: N7Vmacore3Ssl18SSLVerifyExceptionE(SSL Exception: Verification parameters:
    --> PeerThumbprint: 07:E9:10:79:D5:12:1E:62:1A:41:20:72:0C:85:10:E9:19:8C:1F:05
    --> ExpectedThumbprint:
    --> ExpectedPeerName: localhost
    --> The remote host certificate has these problems:
    -->
    --> * Host name does not match the subject name(s) in certificate.
    -->
    --> * unable to get local issuer certificate)

     
  • 在 vpxd_firstboot.py_stderr.log 文件中,您会看到类似以下内容的条目:

    2017-04-25T03:16:43.070Z ERROR starting vpxd rc: 2, stdout: , stderr: Start service request failed. Error: Service crashed while starting
    2017-04-25T03:16:43.070Z VirtualCenter firstboot failed

     
  • 在 cloudvm.log 文件中,您会看到类似以下内容的条目:

    2017-04-25T03:16:43.143Z: Failed to start services. Firstboot Error.
     
  • 在 fbInstall.json 文件中,您会看到类似以下内容的条目:

    id": "install.ciscommon.service.failstart",
    "localized": "An error occurred while starting service 'vpxd'",
    "translatable": "An error occurred while starting service '%(0)s'"

     
  • 在 vmon-syslog.log 文件中,您会看到类似以下内容的条目:

    17-04-25T03:16:43.069932+00:00 warning vmon Service vpxd exited. Exit code 1 
     
  • 在 rhttpproxy.log 文件中,您会看到类似以下内容的条目:

    2017-04-25T03:11:29.039Z warning rhttpproxy[7F57DF421700] [Originator@6876 sub=Default] Failed to connect socket; <io_obj p:0x00007f57b4038d40, h:27, <TCP '0.0.0.0:0'>, <TCP '127.0.0.1:8085'>>, e: system:111(Connection refused)
    2017-04-25T03:11:29.039Z warning rhttpproxy[7F57DF421700] [Originator@6876 sub=Proxy Req 02531] Connection to localhost : 8085 failed with error N7Vmacore15SystemExceptionE(Connection refused)
    --> [context]zKq7AVECAAAAAAomUQAPcmh0dHBwcm94eQAADJQrbGlidm1hY29yZS5zbwAABE8bAGqXGABcVSsAGUwjAMpTJgC+VSYAGXQmAPp/JgBfFiQAL+IjABblIwD36ysBVHQAbGlicHRocmVhZC5zby4wAAItjg5saWJjLnNvLjYA[/context]

注意:上述日志摘录仅为示例。日期、时间和环境变量可能会因环境而有所不同。

Environment

VMware vSphere ESXi 6.0
VMware vSphere ESXi 6.5

Cause

出现此问题的原因是,vmdir 因握手失败而拒绝 SSL 连接。尽管 vpxd-svcs 成功连接到 LDAP,但稍后会断开连接,然后不会再重新连接。

Resolution

注意:确保在实施以下权宜措施之前,生成 vCenter Server 快照并备份 vCenter Server 数据库。

要临时解决此问题,请使用以下任一选项:

  • 在现有 vCenter Server 6.0 上重新生成证书,然后再开始迁移到 VCSA 6.5。
  • 使用现有数据库重新安装 vCenter Server 6.0,然后再迁移到 VCSA 6.5。