Linux VDA 7.15 : Users are unable to Launch VDA's (ERROR: Cannot start Desktop) - LVDA becomes unregistered
We see multiple entries of the below error in the jproxy.logs:
2021-05-04 11:26:54.992 [ERROR] - LdapPrivilegedAction.Run: Unable to establish initial directory context and search LDAP server 'ldap://exampleldapserver1:389'. Error: exampleldapserver1:389.
2021-05-04 11:29:06.064 [ERROR] - LdapPrivilegedAction.Run: Unable to establish initial directory context and search LDAP server 'ldap://exampleldapserver2:389'. Error: exampleldapserver2:389.
2021-05-04 11:31:17.136 [ERROR] - LdapPrivilegedAction.Run: Unable to establish initial directory context and search LDAP server 'ldap://exampleldapserver3:389'. Error: exampleldapserver3:389.
2021-05-04 11:31:17.136 [DEBUG] - Exception:
javax.naming.CommunicationException: exampleldapserver2:389 [Root exception is java.net.ConnectException: Connection timed out (Connection timed out)]
This looks like the LVDA is loosing connection with the LDAP servers and that is when they get unregistered, the current configuration had multiple LDAP servers configured:
create -k "HKLM\Software\Citrix\VirtualDesktopAgent" -t "REG_SZ" -v "ListOfLDAPServers" -d "exampleldapserver1:389 exampleldapserver2:389 exampleldapserver3:389 exampleldapserver4:389 exampleldapserver5:389 exampleldapserver6:389" --force
create -k "HKLM\Software\Citrix\VirtualDesktopAgent" -t "REG_SZ" -v "ListOfLDAPServersForPolicy" -d "exampleldapserver1:389 exampleldapserver2:389 exampleldapserver3:389 exampleldapserver4:389 exampleldapserver5:389 exampleldapserver6:389" --force
- Few LDAP servers configured on the LVDA were not reachable