Symptoms:
[YYYY-MM-DDTHH:MM:SS.429Z localhost-startStop-1 ERROR com.vmware.vim.lookup.impl.LdapStorage] LDAP action failed; host=<vcenter_fqdn>, port=389
com.vmware.sso.interop.ldap.LdapException: Can't contact LDAP server
at com.vmware.sso.interop.ldap.LdapErrorChecker.CheckError(LdapErrorChecker.java:869) ~[ldap-lib-0.0.1-SNAPSHOT.jar:?]
at com.vmware.sso.interop.ldap.OpenLdapClientLibrary.CheckError(OpenLdapClientLibrary.java:1219) ~[ldap-lib-0.0.1-SNAPSHOT.jar:?]
at com.vmware.sso.interop.ldap.OpenLdapClientLibrary.ldap_sasl_srp_bind_s(OpenLdapClientLibrary.java:765) ~[ldap-lib-0.0.1-SNAPSHOT.jar:?]
at com.vmware.sso.interop.ldap.LdapConnection.bindSaslSrpConnection(LdapConnection.java:670) ~[ldap-lib-0.0.1-SNAPSHOT.jar:?]
at com.vmware.vim.lookup.impl.LdapStorage$LdapQuery.execute(LdapStorage.java:2283) ~[lookupservice-impl-0.0.1-SNAPSHOT.jar:?]
(etc.)
As a workaround, you can configure a start dependency for the Lookupservice on vmdird, as outlined below.
Note: Please ensure you have created a fresh backup or an offline snapshot of the vCenter Server, before applying these steps:
# cp /etc/systemd/system/multi-user.target.wants/vmware-vmon.service /tmp/vmware-vmon.service.bak
# vi /etc/systemd/system/multi-user.target.wants/vmware-vmon.service
After=network.target vmafdd.service vmware-stsd.service rsyslogd.service
After=network.target vmdird.service vmware-stsd.service rsyslogd.service
# systemctl daemon-reload