升级到 vCenter Server 6.0 失败,并显示以下错误:遇到内部错误。请参见 %ProgramData%\vCenterServer\logs\firstboot\vpostgres-firstboot.py_344_stderr.log 此错误无法恢复,请重试安装 (Encountered an internal error. see %ProgramData%\vCenterServer\logs\firstboot\vpostgres-firstboot.py_344_stderr.lo
search cancel

升级到 vCenter Server 6.0 失败,并显示以下错误:遇到内部错误。请参见 %ProgramData%\vCenterServer\logs\firstboot\vpostgres-firstboot.py_344_stderr.log 此错误无法恢复,请重试安装 (Encountered an internal error. see %ProgramData%\vCenterServer\logs\firstboot\vpostgres-firstboot.py_344_stderr.lo

book

Article ID: 341819

calendar_today

Updated On:

Products

VMware vCenter Server

Issue/Introduction

Symptoms:
免责声明:本文为 Upgrading to vCenter Server 6.0 fails with the error: Encountered an internal error. see %ProgramData%\vCenterServer\logs\firstboot\vpostgres-firstboot.py_344_stderr.log This is an unrecoverable error, please retry install (2111977) 的翻译版本。尽管我们会不断努力为本文提供最佳翻译版本,但本地化的内容可能会过时。有关最新内容,请参见英文版本。

  • 从 vCenter Server 5.x 升级到 vCenter Server 6.0 失败,并出现以下错误:

    出现内部错误。请参见 C:\ProgramData\vCenterServer\logs\firstboot\vpostgres-firstboot.py_344_stderr.log (Encountered an internal error. see C:\ProgramData\vCenterServer\logs\firstboot\vpostgres-firstboot.py_344_stderr.log)
  • C:\ProgramData\vCenterServer\logs\firstboot\vpostgres-firstboot.py_344_stderr.log 文件中,您会看到类似以下内容的条目:

    vPostgres firstboot(action=firstboot) failed

  • C:\ProgramData\Vmware\CIS\logs\vmware\vpx\vcdb_import.err 文件中,您会看到类似以下内容的条目:

    Traceback (most recent call last):
    File "C:\Program Files\VMware\vCenter Server\cis_upgrade_runner\payload\component-scripts\vcdb\windows\import\convert.py", line 4, in <module>s_u16 = f1.read()
    File "C:\Program Files\VMware\vCenter Server\python\lib\codecs.py", line 668, in read return self.reader.read(size)
    File "C:\Program Files\VMware\vCenter Server\python\lib\codecs.py", line 474, in read newchars, decodedbytes = self.decode(data, self.errors)
    File "C:\Program Files\VMware\vCenter Server\python\lib\encodings\utf_16.py", line 106, in decode codecs.utf_16_ex_decode(input, errors, 0, False)
    MemoryError




Environment

VMware vCenter Server 6.0.x
VMware vCenter Server Appliance 6.0.x

Cause

vCenter Server 没有足够的内存来完成安装时,会出现此问题。

Resolution

要解决此问题,请将 vCenter Server 的内存增加到至少 16 GB。

Additional Information

Upgrading to vCenter Server 6.0 fails with the error: Encountered an internal error. see %ProgramData%\vCenterServer\logs\firstboot\vpostgres-firstboot.py_344_stderr.log This is an unrecoverable error, please retry install