"vPostgres firstboot (action=firstboot) failed" error while upgrading vCenter Server from 5.x to 6.x
search cancel

"vPostgres firstboot (action=firstboot) failed" error while upgrading vCenter Server from 5.x to 6.x

book

Article ID: 315375

calendar_today

Updated On:

Products

VMware vCenter Server

Issue/Introduction

Symptoms:
  • Upgrading from vCenter Server 5.x to vCenter Server 6.0 fails with the error:

    Encountered an internal error. see C:\ProgramData\vCenterServer\logs\firstboot\vpostgres-firstboot.py_344_stderr.log
     
  • In the C:\ProgramData\vCenterServer\logs\firstboot\vpostgres-firstboot.py_344_stderr.log file, you see entries similar to:

    vPostgres firstboot(action=firstboot) failed
     
  • In the C:\ProgramData\Vmware\CIS\logs\vmware\vpx\vcdb_import.err file, you see entries similar to:

    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 Appliance 6.0.x
VMware vCenter Server 6.0.x

Cause

This issue occurs when vCenter Server does not have enough memory to complete the installation.

Resolution

To resolve this issue, increase the vCenter Servers memory to at least 16GB.

Additional Information



升级到 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
vCenter Server 6.0 へのアップグレードが次のエラーで失敗する:内部エラーが発生しました。%ProgramData%\vCenterServer\logs\firstboot\vpostgres-firstboot.py_344_stderr.log を参照してください。このエラーは回復できません。再インストールしてください(Encountered an internal error. see %ProgramData%\vCenterServer\logs\firstboot\vpost