Search the VMware Knowledge Base (KB)
View by Article ID

"Panic: NOT_REACHED bora\vpx\common\vpxVmomi.cpp:786" error while starting the vCenter service (2150902)

  • 0 Ratings

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

 

Cause

This error occurs when there are duplicate entries in the vCenter server database. 

Resolution

To resolve the issue:
 
  1. Take a snapshot of the vCenter server.
  2. Navigate to C:\Program Files\VMware\vCenter Server\vPostgres\bin .
  3. Connect to the database running the command:

    psql -d VCDB -U vc

  4. 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


    You will receive output similar to:

    id | file_name
    ------+-------------------------------------------------------------------------
    ---------------------------------------
    2280 | ds:///vmfs/volumes/Volume Name/VM name/(2)_replica/VM name.vmx
    2247 | ds:///vmfs/volumes/Volume Name/VM name/VM_name.vmx
    (2 rows)


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

Request a Product Feature

To request a new product feature or to provide feedback on a VMware product, please visit the Request a Product Feature page.

Feedback

  • 0 Ratings

Did this article help you?
This article resolved my issue.
This article did not resolve my issue.
This article helped but additional information was required to resolve my issue.

What can we do to improve this information? (4000 or fewer characters)




Please enter the Captcha code before clicking Submit.
  • 0 Ratings
Actions
KB: