Patching vCenter Server failed from 7.0U3o to 7.0U3t
search cancel

Patching vCenter Server failed from 7.0U3o to 7.0U3t

book

Article ID: 394937

calendar_today

Updated On:

Products

VMware vCenter Server

Issue/Introduction

"Exception occured in postinstallHook" error returned at 93% when patching vCenter Server from 7.0U3o build 22357613 to 7.0U3t build 24322018

Cause

Wrong entry in the file /etc/hosts, including hostname and IP address that are not related with this vCenter Server.

Resolution

Note: "Exception occured in postinstallHook" may be caused by variable reasons. The resolution in this article can work for one of those scenarios.

A correct /etc/hosts file should be structured as follows:

# End /etc/hosts (network card version)
# VAMI_EDIT_BEGIN # Generated by Studio VAMI service. Do not modify manually.
127.0.0.1 <vCenter's FQDN> <vCenter's shortname> localhost
::1 <vCenter's FQDN> <vCenter's shortname> localhost ipv6-localhost ipv6-loopback
# VAMI_EDIT_END

Please following the documentation below to modify /etc/hosts file: Adding/Deleting/Editing a host entry on vCenter server or ESXi host using vi editor