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

After a failed convergence, vpxd service fails to start with the error: "Error 90021: The system is not joined to a domain" (70867)

Last Updated: 6/18/2021Categories: TroubleshootingTotal Views: 7204Language:
English

1 like this article

Subscribe to get an email
newsletter with new updates

1 people found this helpful Please provide article feedback:

Symptoms

A convergence of the PSC fails.

vCenter Server services fail to start.

The /var/log/vmware/vpxd/vpxd.log file contains no new entries.

In the /var/log/vmware/vmon/vmon.log file, you see entries similar to:

<YYYY-MM-DD>T<TIME> notice vmon  Client info Uid=0,Gid=0,Pid=22509,Comm=(vmon-cli),PPid=22494,Comm=(service-control),PPid=2345,Comm=(bash),PPid=2301,Comm=(vherdrunner),PPid=1668,Comm=(sshd),PPid=1357
<YYYY-MM-DD>T<TIME> notice vmon  Received start request for vpxd
<YYYY-MM-DD>T<TIME> notice vmon  <vpxd-prestart> Constructed command: /usr/bin/python /usr/lib/vmware-vpx/py/vpxd-prestart.py
<YYYY-MM-DD>T<TIME> warning vmon  <vpxd> Service pre-start command's stderr: <YYYY-MM-DD>T<TIME>  Invoked command: ['/usr/lib/vmware-vmafd/bin/vmafd-cli', 'get-machine-id', '--server-name', 'localhost']
<YYYY-MM-DD>T<TIME> warning vmon
<YYYY-MM-DD>T<TIME> warning vmon  <vpxd> Service pre-start command's stderr: <YYYY-MM-DD>T<TIME>  RC = 1
<YYYY-MM-DD>T<TIME> warning vmon  Stdout =
<YYYY-MM-DD>T<TIME> warning vmon  Stderr = Error 90021: The system is not joined to a domain
<YYYY-MM-DD>T<TIME> warning vmon
<YYYY-MM-DD>T<TIME> warning vmon
<YYYY-MM-DD>T<TIME> warning vmon  <vpxd> Service pre-start command's stderr: Traceback (most recent call last):
<YYYY-MM-DD>T<TIME> warning vmon    File "/usr/lib/vmware-vpx/py/vpxd-prestart.py", line 59, in <module>
<YYYY-MM-DD>T<TIME> warning vmon      patch_vpxd_prop()
<YYYY-MM-DD>T<TIME> warning vmon    File "/usr/lib/vmware-vpx/py/vpxd_update.py", line 188, in patch_vpxd_prop
<YYYY-MM-DD>T<TIME> warning vmon      ls_patch = LSPatch()
<YYYY-MM-DD>T<TIME> warning vmon    File "/usr/lib/vmware-vpx/py/vpxd_update.py", line 68, in __init__
<YYYY-MM-DD>T<TIME> warning vmon      self.sol_id = "{}-{}".format(self.soluser, vmafd_machine_id())
<YYYY-MM-DD>T<TIME> warning vmon    File "/usr/lib/vmware/site-packages/cis/vecs.py", line 47, in vmafd_machine_id
<YYYY-MM-DD>T<TIME> warning vmon      raise ex
<YYYY-MM-DD>T<TIME> warning vmon    File "/usr/lib/vmware/site-packages/cis/vecs.py", line 41, in vmafd_machine_id
<YYYY-MM-DD>T<TIME> warning vmon      result = invoke_command(cmd, encoding=sys.getdefaultencoding())
<YYYY-MM-DD>T<TIME> warning vmon    File "/usr/lib/vmware/site-packages/cis/utils.py", line 369, in invoke_command
<YYYY-MM-DD>T<TIME> warning vmon      (cmd, stderr))
<YYYY-MM-DD>T<TIME> warning vmon  cis.exceptions.InvokeCommandException: {
<YYYY-MM-DD>T<TIME> warning vmon      "detail": [
<YYYY-MM-DD>T<TIME> warning vmon          {
<YYYY-MM-DD>T<TIME> warning vmon              "id": "install.ciscommon.command.errinvoke",
<YYYY-MM-DD>T<TIME> warning vmon              "localized": "An error occurred while invoking external command : 'Command: ['/usr/lib/vmware-vmafd/bin/vmafd-cli', 'get-machine-id', '--server-name', 'localhost']\nStderr: Error 90021: The system is not joined to a domain\n'",
<YYYY-MM-DD>T<TIME> warning vmon              "args": [
<YYYY-MM-DD>T<TIME> warning vmon                  "Command: ['/usr/lib/vmware-vmafd/bin/vmafd-cli', 'get-machine-id', '--server-name', 'localhost']\nStderr: Error 90021: The system is not joined to a domain\n"
<YYYY-MM-DD>T<TIME> warning vmon              ],
<YYYY-MM-DD>T<TIME> warning vmon              "translatable": "An error occurred while invoking external command : '%(0)s'"
<YYYY-MM-DD>T<TIME> warning vmon          },

In the /var/log/vmware/vmdird/vmdird-syslog.log file, you see entries similar to:

<YY-MM-DD>T<TIME> err vmdird  t@140166960015104: VmDirSRPGetIdentityData ([email-masked]) failed, (9611)
<YY-MM-DD>T<TIME> err vmdird  t@140166960015104: VmDirSRPGetIdentityData ([email-masked]) failed, (9611)
<YY-MM-DD>T<TIME> err vmdird  t@140166960015104: SASLSessionStart: sasl error (-20)(SASL(-13): user not found: no secret in database)

The command /opt/likewise/bin/lwregshell list_values "[HKEY_THIS_MACHINE\Services\vmafd\Parameters]" | grep DomainState returns the output:

+  "DomainState"             REG_DWORD       0x00000000 (0)

Cause

The issue occurs as a result of a failed convergence.

Resolution

To resolve the issue, follow the steps below:

Recreate the computer account for the vCenter Server by following the Resolution outlined in Recreate vCenter Server Machine Account in Platform Services Controller after Failed Convergence.

Move the file /root/velma/afd.db to the directory /storage/db/vmware-vmafd/ using the command:

mv /root/velma/afd.db /storage/db/vmware-vmafd/afd.db;

Run the command below to configure the DomainState of the vCenter Server to an external topology:

/opt/likewise/bin/lwregshell set_value "[HKEY_THIS_MACHINE\Services\vmafd\Parameters]" "DomainState" 2;

Restart the vCenter Server services using the command below:

service-control --stop --all;service-control --start --all;

For more information, see How to Stop, Start or Restart vCenter Server 6.x Services.

Workaround

Restore both the PSC and the vCenter server from a backup which was taken while both nodes were offline. Please note that restoring a backup of just one node can have adverse effects on the environment.

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
•
Servicio de estado de vSAN: estado en línea: aviso al cliente sobre HPE Smart Array (71030)

KB
•
vSAN Health Service - 联机运行状况 - HPE 智能阵列客户公告 (71030)

KB
•
Download and Install VMware Fusion (2014097)

KB
•
无法对使用基于存储的复制对 SRM 进行保护的虚拟机硬盘执行存储 vMotion (78521)

Results 1-5 of 5

Ask The Community

Get answers quickly from VMware experts in the community

Post Subject

CONTINUE IN COMMUNITIES

Related Products:

VMware vCenter Server Appliance

Related Versions:

VMware vCenter Server Appliance 6.7.x

VMware vCenter Server Appliance 6.5.x

Take Our Survey

Support Assistant