Symptoms
Logging in to the vSphere Web Client fails.You see the error: [500]SSO error: Failed to import TenantConfiguration for [vsphere.local]: Failed to remove existing service provider registration. In the %ALLUSERSPROFILE%\VMWare\vCenterServer\logs\sso\vmware-sts-idmd.log file, you see entries similar to: [2016-05-25T10:33:38.102-04:00 vsphere.local 8f828994-5c0a-4233-9bea-4cef7743c3de ERROR] [ServerUtils] Exception 'com.vmware.identity.interop.ldap.OperationsErrorLdapException: Operations Error LDAP error [code: 1]' In the %ALLUSERSPROFILE%\VMware\vCenterServer\logs\vmdird\vmdir.log file, you see entries similar to: 2016-05-25T14:22:15.912Z:t@74550624:ERROR: VmDirSendLdapResult: Request (74), Error (1), Message (txn commit (9700)(MDB_MAP_FULL: Environment mapsize limit reached)), (0) socket ([2056] [::1]:389<-[::1]:60946) Note: The preceding log excerpts are only examples. Date, time, and environmental variables may vary depending on your environment.
Purpose
Increasing the database size limit in the registry resolves the issue.
Cause
This issue occurs when the VMware Directory (VMDir) database reaches the default size limit of 1024MB.
Resolution
To resolve this issue, increase the size limit of the VMware Directory(VMDir) database in the registry.VMDir growth is usually caused by tombstone accumulation. To address tombstones, please see Troubleshooting and addressing accumulation of tombstones in a Platform Services Controller
Note: This procedure modifies the Windows registry. Before making any registry modifications, ensure that you have a current and valid backup of the registry and the virtual machine. For more information on backing up and restoring the registry, see the Microsoft Knowledge Base article 136393.
To increase the database size limit in the registry:
Add this DWORD parameter in HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\VMwareDirectoryService\Parameters: MaximumDbSizeMb Set the value of the MaximumDbSizeMb parameter greater than 1024.Restart the VMware Directory Service. For more information, See Stopping, starting, or restarting VMware vCenter Server 6.0 services (2109881)
Related Information
How to stop, start, or restart vCenter Server 6.x services登录到 vSphere Web Client 失败,并出现错误:无法移除现有服务提供商注册 (Failed to remove existing service provider registration)"Object has already been deleted or has not been completely created" error