To resolve this issue, use one of the option based on your symptom:
- Stop the World Wide Web publishing service or uninstall IIS from the vCenter Server.
- Delete the stale ADAM database entry.
To delete the stale ADAM database entry:
Notes:
- On vCenter Server, navigate to Start > Administrative Tools > ADSI Edit. The ADAM editor appears.
- Right-click ADSI Edit at the root level and click Connect to. The Connection Settings window appears.
- For Connection Point, click Select or type a Distinguished Name or Naming Context and type:
dc=virtualcenter,dc=vmware,dc=int
- Under Computer, click Select or type a domain or server.
- Select localhost from the list or type localhost:389.
- Click OK.
- Under the OU=Instances, find the CN that was reported in vpxd.log file:
For example:
cn=d6cc6fd2-bb66-4fe9-9892-4a3a0c93b91d
- Click on this CN entry. The right pane will be empty.
Caution: If the right pane is not empty, do not remove the entry.
- Delete this CN entry.
Note: In your environment, the error message in the vpxd logs can have a different CN number. Ensure you search for that particular string.
To delete the stale ADAM database entry on the vCenter Server Appliance:
Important: VMware recommends to take a snapshot of the vCenter Server Appliance before proceeding. When you have verified that the issue is resolved, remove the snapshot.
- Log in to the vCenter Server Appliance as root.
- Run this command to export the current ADAM database configuration:
slapcat -l /tmp/ldap.ldif
- Back up this file before proceeding to the next step.
- Run this command to create a copy the exported file:
cp /tmp/ldap.ldif /tmp/ldapbackup.ldif
- Run this command to stop the LDAP service:
service ldap stop
- Open the /tmp/ldap.ldif file using a text editor.
- Locate the CN entry indicated in the vpxd.log file.
Note: Ensure you include the entire entry, including Timestamp: [timestampdata]. Delete these entries:
dn: [cn_name]
.
.
.
Timestamp: [timestampdata]
- Save and close the file.
- Move all of the files within /var/lib/ldap, excluding DB_CONFIG to a backup folder or location.
- Run this command to import the modified LDAP data:
slapadd -l /tmp/ldap.ldif
- Run this command to start the LDAP service:
service ldap start
- Run this command to restart the vCenter Server service:
service vmware-vpxd restart