Loading

×Sorry to interrupt
Uncaught ReferenceError: addCTracking is not defined
throws at https://kb.vmware.com/resource/KM_TealiumTrackingJS?v=0.5:100:1

Refresh

Cookie Preference Center

General Information on cookies

When you visit our website, we use cookies to ensure that we give you the best experience. This information does not usually directly identify you, but it can give you a more personalized web experience. Because we respect your right to privacy, you can choose not to allow some types of cookies by clicking on the different category headings to find out more and change your settings. However, blocking some types of cookies may impact your experience on the site and the services we are able to offer. Further information can be found in our

Cookie Policy.

Strictly Necessary

Strictly Necessary

Always Active

Strictly Necessary

Strictly necessary cookies are always enabled since they are essential for our website to function. They enable core functionality such as security, network management, and website accessibility. You can set your browser to block or alert you about these cookies, but this may affect how the website functions. For more information please visit www.aboutcookies.org or www.allaboutcookies.org.

Cookie Details‎

Performance

Performance

Performance

Performance cookies are used to analyze the user experience to improve our website by collecting and reporting information on how you use it. They allow us to know which pages are the most and least popular, see how visitors move around the site, optimize our website and make it easier to navigate.

Cookie Details‎

Please confirm your settings by refreshing the page.

Functional

Functional

Functional

Functional cookies help us keep track of your past browsing choices so we can improve usability and customize your experience. These cookies enable the website to remember your preferred settings, language preferences, location and other customizable elements such as font or text size. If you do not allow these cookies, then some or all of these services may not function properly.

Cookie Details‎

Advertising

Advertising

Advertising

Advertising cookies are used to send you relevant advertising and promotional information. They may be set through our site by third parties to build a profile of your interests and show you relevant advertisements on other sites. These cookies do not directly store personal information, but their function is based on uniquely identifying your browser and internet device.

Cookie Details‎

Advertising Cookies

Consent Leg.Interest

Select All Vendors

Select All Vendors

Select All Hosts

Select All

Clear Filters

Information storage and access

Apply

Confirm My Choices Reject All Allow All

My Subscriptions

Loading

Knowledge Base

"Encountered an internal error Traceback" "vmafd-firstboot error" while upgrading Windows vCenter Server from 6.7 U1 to 6.7 U3 (76238)

Last Updated: 4/1/2020Categories: TroubleshootingTotal Views: 4885Language:
English

Subscribe to get an email
newsletter with new updates

Please provide article feedback:

Symptoms

Upgrading windows vCenter Server from 6.7 U1 to 6.7U3 fails at "vmafd-firstboot" with backtrace as shown below:

You will see similar log entries in vminst.log file.

vminst.log
Traceback (most recent call last):
File "C:\Program Files\VMware\vCenter Server\firstboot\vmafd-firstboot.py", line 177, in main
controller.firstboot()
File "C:\Program Files\VMware\vCenter Server\firstboot\vmafd-firstboot.py", line 55, in firstboot
self.post_init()
File "C:\Program Files\VMware\vCenter Server\firstboot\vmafd-firstboot.py", line 63, in post_init
service.post_init()
File "C:\Program Files\VMware\vCenter Server\firstboot\identityinstall\vmafdUpgrade.py", line 255, in post_init
self.vecs_force_refresh()
File "C:\Program Files\VMware\vCenter Server\firstboot\identityinstall\vmafdInstall.py", line 672, in vecs_force_refresh
(rc, stdout, stderr) = self.utils.run_command_with_display(command, cmddisplay)
File "C:\Program Files\VMware\vCenter Server\firstboot\identityinstall\IdentityUtils.py", line 112, in run_command_with_display
stderr=subprocess.PIPE, stdin=subprocess.PIPE)
File "C:\Program Files\VMware\vCenter Server\python\lib\subprocess.py", line 676, in __init__
restore_signals, start_new_session)
File "C:\Program Files\VMware\vCenter Server\python\lib\subprocess.py", line 957, in _execute_child
startupinfo)
OSError: [WinError 193] %1 is not a valid Win32 application

Note: The preceding log excerpts are only examples. Date, time, and environmental variables may vary depending on your environment.

Purpose

This article is to identify and resolve the "vmafd-firstboot" failure with backtrace complaining about "vecs_force_refresh".

Cause

This issue occurs when the 6.7 installer fails to remove all the vmware files, during the un-installation phase of 6.5 components as part of the upgrade process.

In above case this "C:\Program Files\VMware\vCenter Server\vmafdd\" directory had a 0 KB "vecs-cli" file, during un-installation of 6.5 components, the above file didn't get removed, post which the 6.7 installation installed all files, however during the firstboot of vmafd the "0 KB vecs-cli" file was being called as part of upgrade process, hence the "vmafd-firstboot" failed.

Impact / Risks

No Impacts.

Note: Please take a snapshot of "Windows vCenter" before initiating the upgrade.

Resolution

To resolve this issue please follow the below steps.

Take a snapshot of the vCenter Server.

Go to the location C:\Program Files\VMware\vCenter Server\vmafdd\ and check if you can find the vecs-cli file.

If the file is 0 KB then remove the "0 KB vecs-cli" file.

Re-try upgrade process.

Detectable by VMware SkylineTM

Actions

Copy

link to clipboard
copied!

Print

Language:
English

Attachments

Additional Resources

KB
•
End Of General Availability of the Free vSphere Hypervisor (ESXi 7.x and 8.x) (2107518)

KB
•
サードパーティ製 VAAI NAS プラグインのデバッグ ログは Syslog に移動しました (76176)

KB
•
适用于 vRA 8.0.0 HA 环境的修补程序解决了阻止某些服务在数据库故障切换事件后恢复的问题 (76222)

KB
•
Horizon 7 on VMware Cloud on AWS - Horizon 接続サーバから vCenter に対して断続的に SSL 接続できない問題が発生する (76145)

KB
•
Download and Install VMware Fusion (2014097)

Results 1-5 of 6

Ask The Community

Get answers quickly from VMware experts in the community

Post Subject

CONTINUE IN COMMUNITIES

Related Products:

VMware vCenter Server

Related Versions:

VMware vCenter Server 6.7.x

Take Our Survey

Support Assistant