mazariegos
Contributor
Contributor

VXPD Service will not start after snapshot restore

Service-control failed. Error: Failed to start services in profile ALL. RC=2, stderr=Failed to start vpxd services. Error: Service crashed while starting

When I view the errors in the vpxd log I get: 

2021-11-02T19:42:48.502Z error vpxd[24521] [Originator@6876 sub=Default opID=lro-5-7eda5023-221105f1] [VdbStatement] SQLError was thrown: "ODBC error: (23505) - ERROR: duplicate key value violates unique constraint "pk_n_vm_config_info";

 

I have searched around for anything that might fix it with no luck, so any help will be appreciated. 

0 Kudos
3 Replies
Ajay1988
VMware Employee
VMware Employee

can you share the last updated vpxd.log and postgres.log ? And also what is the VC version and build 

If you think your queries have been answered
Mark this response as "Correct" or "Helpful".

Regards,
AJ
0 Kudos
kastlr
Expert
Expert

Hi,

 

check the following article.

vCenter Server 6.5 crashes with error: duplicate key value violates unique constraint "pk_vpx_guest_...



Hope this helps a bit.
Greetings from Germany. (CET)
0 Kudos
mazariegos
Contributor
Contributor

Thanks for the help, but we ended up recovering from a NetApp volume back of the datastore where vCenter was located. That worked fine. 

0 Kudos