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

"Double register of key" error starting vCenter Server 6.0 (2150756)

  • 1 Ratings
Language Editions

Symptoms

  • vCenter Server is using the vPostgres database.
  • In the vpxd.log file, there are entries similar to:

    error vpxd[09000] [Originator@6876 sub=Vmomi] [VpxVmomi] Double register of key: 'vm-37' and name: ''

Resolution

To resolve this issue:

  1. Connect to vPostgres DB. See Connecting to the embedded vPostgres Database in a Windows installed vCenter Server 6.0.
  2. Create a backup for database, see Back up and restore vCenter Server Appliance/vCenter Server 6.0 vPostgres database.
  3. Run the below query to find the correct database key. One row should appear.

    • SELECT ID,CTID from VPX_VM where ID=37;

      Note: Enter VM ID key as per the effected VM.

    1. Run the below query to find the duplicate entry.

      • SELECT ID,CTID FROM VPX_VM ORDER by ID;
      • It shows all rows of the table and the duplicate key.
      • Manually make a note of the CTID.

    2. Remove the duplicate entry by running the below query.

      • DELETE from VPX_VM where CTID=(SELECT CTID from VPX_VM where CTID='(CTID_from_step_4)');
      • Remove the double entry.

    3. Restart vCenter Server Service.

    See Also

    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

    • 1 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.
    • 1 Ratings
    Actions
    KB: