2016-09-21T17:58:16.963Z [WrapperListener_start_runner INFO com.vmware.cis.lotus.LdapConnectionFactory opId=] Creating LDAP connection factory for Lotus host: ldaptestserver.com port: 636 2016-09-21T17:58:16.970Z [WrapperListener_start_runner INFO com.vmware.cis.lotus.LdapConnectionFactory opId=] Creating new connection 2016-09-21T17:58:16.972Z [WrapperListener_start_runner INFO com.vmware.cis.lotus.LotusLocator opId=] Successfully refreshed machine account credentials 2016-09-21T17:58:16.985Z [WrapperListener_start_runner INFO com.vmware.identity.interop.ldap.LinuxLdapClientLibrary opId=] SSL library initialized successfully 2016-09-21T17:58:17.163Z [WrapperListener_start_runner WARN com.vmware.identity.interop.ldap.LdapErrorChecker opId=] Error received by LDAP client: com.vmware.identity.interop.ldap.LinuxLdapClientLibrary, error code: 49 2016-09-21T17:58:17.163Z [WrapperListener_start_runner ERROR com.vmware.cis.lotus.LdapUtils opId=] Failed to connect to LDAP; uri: ldaps://ldaptestserver.com:636 2016-09-21T17:58:17.166Z [WrapperListener_start_runner WARN org.springframework.context.support.ClassPathXmlApplicationContext opId=] Exception encountered during context initialization - cancelling refresh attempt org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'vlsi-server' defined in class path resource [server/config/server-config.xml]: Cannot create inner bean 'com.vmware.vim.vmomi.server.http.impl.FilterImpl#2ad6d4be' of type [com.vmware.vim.vmomi.server.http.impl.FilterImpl] while setting bean property 'filters' with key [0]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'com.vmware.vim.vmomi.server.http.impl.FilterImpl#2ad6d4be' defined in class path resource[server/config/server-config.xml]: Cannot resolve reference to bean 'authFilter' while setting bean property 'filter'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'authFilter' defined in class path resource [server/config/server-config.xml]: Cannot resolve reference to bean 'authChecker' while setting bean property 'authChecker'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'authChecker' defined in class path resource [server/config/security-config.xml]: Cannot resolve reference to bean 'userSessionManager' while setting bean property 'userSessionManager'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'userSessionManager' defined in class path resource [server/config/security-config.xml]: Cannot resolve reference to bean 'authorizationManager' while setting bean property 'authorizationManager'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'authorizationManager' defined in class path resource [server/config/security-config.xml]: Cannot resolve reference to bean 'authProvider' while setting bean property 'dataProvider'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'authProvider' defined in class path resource [server/config/security-config.xml]: Cannot resolve reference to bean 'memCache' while setting bean property 'parentChainCache'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'memCache' defined in class path resource [server/config/security-config.xml]: Cannot resolve reference to bean 'globalAclLotusCache' while setting bean property 'globalAclLotusCache'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'aclLotusInitializer' defined in class path resource [server/config/authorization-config.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [com.vmware.vim.query.server.accesscontrol.impl.LotusInitializer]: Constructor threw exception; nested exception is java.lang.RuntimeException: com.vmware.identity.interop.ldap.Invalid CredentialsLdapException: Invalid credentials LDAP error [code: 49] at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveInnerBean(BeanDefinitionValueResolver.java:287)
注意:inv-svc.log文件位于:
vCenter Server Appliance:%ALLUSERSPROFILE%\VMWare\vCenterServer\logs\invsvc\
安装在 Windows 上的 vCenter Server:/var/log/vmware/invsvc/
在 vmdird-syslog.log 文件中,您会看到类似以下内容的条目:
2016-09-21T18:47:48.024511+00:00 err vmdird t@140107551946496: SASLSessionStep: sasl error (-13)(SASL(-13): authentication failure: client evidence does not match what we calculated. Probably a password error) 2016-09-21T18:47:48.024533+00:00 err vmdird t@140107551946496: VmDirSendLdapResult: Request (96), Error (49), Message ((49)(SASL step failed.)), (0) socket ([17] 10.105.217.85:389<-10.105.212.102:54753) 2016-09-21T18:47:48.024538+00:00 err vmdird t@140107551946496: Bind Request Failed ([17] 10.105.217.85:389<-10.105.212.102:54753) error 49: Protocol version: 3, Bind DN: "cn=accountname,ou=Computers,dc=vsphere,dc=local", Method: 163
注意:vmdird-syslog.log 文件位于:
vCenter Server Appliance:/var/log/vmware/vmdird/vmdird-syslog.log
安装在 Windows 上的 vCenter Server:"%VMWARE_LOG_DIR%"\vmdird\vmdir.log
Environment
VMware vCenter Server 6.0.x VMware vCenter Server 6.5.x VMware vCenter Server Appliance 6.0.x VMware vCenter Server Appliance 6.5.x
Cause
当 Inventory Service 因为 vmdird 中 vmdird syslog.log 所列帐户的密码不匹配导致其失去信任时,会出现此问题。
如果将 vCenter Server 从备份或旧快照还原到早期版本,则可能会出现此问题。
Resolution
要解决此问题,请重置 vmdird syslog.lo g文件中所列用户帐户的密码。
vCenter Server Appliance
创建 vCenter Server 和 Platform Services Controller 的快照。
将显示以下选项: ================================ Please select: 0. exit 1. Test LDAP connectivity 2. Force start replication cycle 3. Reset account password 4. Set log level and mask 5. Set vmdir state ================================
创建 vCenter Server 和 Platform Services Controller 的快照。
在 Platform Service Controller 上打开提升的命令提示符。
运行以下命令:
%VMWARE_CIS_HOME%\vmdird\vdcadmintool.exe
将显示以下选项
================================ Please select: 0. exit 1. Test LDAP connectivity 2. Force start replication cycle 3. Reset account password 4. Set log level and mask 5. Set vmdir state ================================