"Panic: NOT_REACHED bora\vpx\common\vpxVmomi.cpp:786" error while starting the vCenter service
book
Article ID: 301214
calendar_today
Updated On:
Products
VMware vCenter Server
Issue/Introduction
Symptoms:
Unable to start the vCenter service.
In the vpxd.log file, you see entries similar to:
ERROR Starting service: vpxd, Exception: (1056, 'Star tService', 'An instance of the service is already running.') ERROR:root:Unable to start service vpxd, Exception: { "resolution": null, "detail": [ { "args": [ "vpxd" ], "id": "install.ciscommon.service.failstart", "localized": "An error occurred while starting service 'vpxd'", "translatable": "An error occurred while starting service '%(0)s'" } ], "componentKey": null, "problemId": null }
error vpxd[12672] [Originator@6876 sub=MoOptionMgr] [OptionMgr] Skipping bad entry config.vpxd.enableDebugBrowse from DB. Resetting to default.Exception: vmodl.fault.InvalidArgument
error vpxd[02560] [Originator@6876 sub=Vmomi] [VpxVmomi] Double register of key: 'vm-2280' and name: ''
Note: The preceding log excerpts are only examples. Date, time, and environmental variables may vary depending on your environment
Environment
VMware vCenter Server 6.0.x
Cause
This error occurs when there are duplicate entries in the vCenter server database.
Resolution
To resolve the issue:
Take a snapshot of the vCenter server.
Navigate to C:\Program Files\VMware\vCenter Server\vPostgres\bin .
Connect to the database running the command:
psql -d VCDB -U vc
Search for the name of the duplicate running the command:
For example: Consider the VM causing the issue is identified with the name VM-2280.
select id, file_name from VPX_VM group by id, file_name having count(id) > 1; id | vm-2280
Once you have the ID matching the error message, you delete the matching ID with the command:
For example: delete from VPX_VM where ctid=(select ctid from VPX_VM where ID=2247 LIMIT 1);
After the entry has been deleted, stop all the vCenter Services and try to start them again, it may fail with another ID number, so you need to delete all the entries that causes conflicts