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

在部署 vCenter Server Appliance 6.5 时显示“调用外部命令：‘%(0)s’时发生错误”(An error occurred while invoking external command: '%(0)s') (2147908)

Last Updated: 9/3/2019Categories: TroubleshootingTotal Views: 1Language:
Chinese (Simplified)JapaneseEnglish

Subscribe to get an email
newsletter with new updates

Please provide article feedback:

Symptoms

免责声明：本文是 ""An error occurred while invoking external command: '%(0)s'" when deploying vCenter Server Appliance 6.5" 的翻译版本。尽管我们会不断努力为本文提供最佳翻译版本，但本地化的内容可能会过时。有关最新内容，请参见英文版本。

在部署 6.5 vCenter Server Appliance 过程中，第 2 阶段在运行到 5% 时失败，此时正尝试启动 vmware-stsd 服务。

在安装过程第 1 阶段未提供 FQDN，从而导致生成主机名 localhost.localdom。

Stderr = Job for vmware-stsd.service failed because a timeout was exceeded. See "systemctl status vmware-stsd.service" and "journalctl -xe" for details.

对 vCenter Server Appliance 运行命令 systemctl status vmware-stsd.service 和 journalctl -xe 时，将报告此错误：

Nov 17 21:12:13 localhost.localdom systemd[1]: vmware-stsd.service: Failed with result 'timeout'

在安装程序的 GUI 中将显示以下错误：

Cause

之所以出现此问题，是因为在未输入 FQDN 的情况下尝试通过 IPv6 解析主机名失败。如果此步骤失败，则安装程序会因超时而无法尝试回退到 IPv4 以完成此步骤。

Resolution

该问题已在 vCenter Server Appliance 6.5 b 中解决，可从 VMware Downloads 获取此版本。

要在不想升级的情况下解决此问题，请使用以下选项之一：

使用可通过 DNS 解析的 FQDN 进行安装。

手动将 localhost.localdom localhost 添加到源 vCenter Server Appliance 上的 /etc/hosts 文件中。在部署 vCenter Server Appliance（第 1 阶段）后，打开 Appliance 虚拟机的控制台。

按 Alt+F1 并使用 root 凭据登录。

运行以下命令以启用 SSH：

ssh.set --enabled true

运行以下命令以验证 SSH 是否已启用：

ssh.get

例如：

ssh.get

Enabled: True

使用 SSH 会话和 root 凭据连接到 vCenter Server Appliance。

在 etc/hosts 文件中，将 ::1 localhost.localdom localhost 添加到 #VAMI_EDIT_END 上方。

继续执行部署过程的第 2 阶段。

Related Information

Upgrading the vCenter Server to 6.5 fails with the error: An error occurred while invoking external command : 'Command: ['/usr/sbin/vpxd', '-L'] Stderr: (2147547)

"An error occurred while invoking external command: '%(0)s'" when deploying vCenter Server Appliance 6.5

Detectable by VMware SkylineTM

Actions

Copy

link to clipboard
copied!

Print

Language:
Chinese (Simplified)JapaneseEnglish

Attachments

Additional Resources

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

KB
•
Download and Install VMware Fusion (2014097)

KB
•
requisitos de vCenter Server 6,0 para la instalación (2107948)

Results 1-3 of 3

Ask The Community

Get answers quickly from VMware experts in the community

Post Subject

CONTINUE IN COMMUNITIES

Related Products:

Related Versions:

Support Assistant