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 service stopped while provisioning a VM via Flash or HTML5 client (75253)

Last Updated: 9/7/2020Categories: TroubleshootingTotal Views: 9315Language:
English

Subscribe to get an email
newsletter with new updates

Please provide article feedback:

Symptoms

vCenter Server service crashes while provisioning a VM via webclient/H5 client

/var/log/vmware/vpxd/vpxd.log:

2019-10-10T09:41:58.496-04:00 verbose vpxd[7F3C4E9D7700] [Originator@6876 sub=vmconfig opID=k0zi4wvr-fzy6-h5:70031308-a0] [VmMo::GetConfigInt] The vm config for vm vm-65564 is empty in the DB
2019-10-10T09:41:58.496-04:00 warning vpxd[7F3C4E9D7700] [Originator@6876 sub=vmmoVm opID=k0zi4wvr-fzy6-h5:70031308-a0] VM Unknown 350987 has no valid primary datastore

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

Cause

The issue is caused due to the invalid VM entries being created in the vCenter Server database

Resolution

Caution: This procedure modifies the database. Ensure to take a full backup of your vCenter Server machine and Platform Service Controller before proceeding.

To resolve the issue, we need to remove the entries from vCenter Server database with unknown value

Log in to the VCSA via ssh (putty)

Stop vpxd and content-library service

service-control --stop vpxd
service-control --stop content-library

Run this command to log in to the vCenter Server Appliance database:

/opt/vmware/vpostgres/current/bin/psql -d VCDB -U postgres

Execute the below query:

select * from vpx_entity where name like '%Unknown%';
id   |      name      | type_id | parent_id
-------+----------------+---------+-----------
65564 | Unknown 350987 |       0 |        50
65566 | Unknown 351315 |       0 |        50
65561 | Unknown 344944 |       0 |        50
65562 | Unknown 345716 |       0 |        50
65563 | Unknown 345733 |       0 |        50
65565 | Unknown 351156 |       0 |        50

Validate the VM entries on the VM table

VCDB=# select id,dns_name,host_id,file_name from vpx_vm where id=65561;
id   | dns_name | host_id |                                     file_name
-------+----------+---------+------------------------------------------------------------------------------------
65561 |          |    3516 | ds:///vmfs/volumes/5877bce1-5c61d123-3737-38eaa71188b6/QTCAWAPPD02/QTCAWAPPD02.vmx

Remove  each of the VM entries for the ID's returned from Step 4

Sample Commands:
delete from VPX_COMPUTE_RESOURCE_DAS_VM where VM_ID='<ID from Step 4>';
delete from VPX_COMPUTE_RESOURCE_DRS_VM where VM_ID='<ID from Step 4>';
delete from VPX_GUEST_DISK where VM_ID='<ID from Step 4>';
delete from VPX_VIRTUAL_DEVICE where ID='<ID from Step 4>';
delete from VPX_VM_CONFIG_INFO where ID='<ID from Step 4>';
delete from VPX_VM_DS_SPACE where VM_ID='<ID from Step 4>';
delete from VPX_VM_FILE_LAYOUT_EX where VM_ID='<ID from Step 4>';
delete from VPX_VM_FLE_DISK_LAYOUT where VM_ID='<ID from Step 4>';
delete from VPX_VM_FLE_FILE_INFO where VM_ID='<ID from Step 4>';
delete from VPX_VM_FLE_SNAPSHOT_LAYOUT where VM_ID='<ID from Step 4>';
delete from VPX_VM_STATIC_OVERHEAD_MAP where VM_ID='<ID from Step 4>';
delete from VPX_VM where ID='<ID from Step 4>';
delete from VPX_ENTITY where ID='<ID from Step 4>';

Quit the VCDB prompt using the below

\q

Start the services stopped during step 2

service-control --start vpxd
service-control --start content-library

Log in to the vCenter Server via web client and validate the deployment

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
•
[解決済み] AGGL-6074：Android デバイスが UEM Console 上で IMEI およびシリアル番号の更新に失敗することがある (75666)

KB
•
Android 用 Cisco AnyConnect アプリ ベース VPN の構成方法 (50106154)

KB
•
Download and Install VMware Fusion (2014097)

Results 1-4 of 4

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.5.x

Take Our Survey

Support Assistant