in view connection server after reboot, vmware services not start and admin web console not load with error "page can not". i check connection server logs and find this
2021-10-15T14:22:32.147+03:30 WARN (0728-0B38) <localhost-startStop-1> [LdapContextManager] Can't create a new LdapContext for server ldap://127.0.0.1:389/DC=vdi,DC=vmware,DC=int: javax.naming.AuthenticationException: GSS-SPNEGO [Root exception is javax.security.sasl.SaslException: Failed to initiate authentication: com.vmware.vdi.common.winauth.WinAuthCodifiedException: Failed to start authentication negotiation: Unknown error [Caused by com.vmware.vdi.common.winauth.WinAuthCodifiedException: Failed to start authentication negotiation: Unknown error]]
2021-10-15T14:22:32.147+03:30 WARN (0728-0B38) <localhost-startStop-1> [PoolManager] Failed to fetch environment configuration from LDAP: javax.naming.AuthenticationException: GSS-SPNEGO [Root exception is javax.security.sasl.SaslException: Failed to initiate authentication: com.vmware.vdi.common.winauth.WinAuthCodifiedException: Failed to start authentication negotiation: Unknown error [Caused by com.vmware.vdi.common.winauth.WinAuthCodifiedException: Failed to start authentication negotiation: Unknown error]] com.vmware.vdi.desktopcontroller.PoolManager.fetchVDMServers(SourceFile:1146)
javax.naming.AuthenticationException: GSS-SPNEGO [Root exception is javax.security.sasl.SaslException: Failed to initiate authentication: com.vmware.vdi.common.winauth.WinAuthCodifiedException: Failed to start authentication negotiation: Unknown error [Caused by com.vmware.vdi.common.winauth.WinAuthCodifiedException: Failed to start authentication negotiation: Unknown error]]
at com.sun.jndi.ldap.sasl.LdapSasl.saslBind(LdapSasl.java:169)
at com.sun.jndi.ldap.LdapClient.authenticate(LdapClient.java:236)
at com.sun.jndi.ldap.LdapCtx.connect(LdapCtx.java:2788)
at com.sun.jndi.ldap.LdapCtx.<init>(LdapCtx.java:319)
at com.sun.jndi.ldap.LdapCtxFactory.getUsingURL(LdapCtxFactory.java:192)
at com.sun.jndi.ldap.LdapCtxFactory.getUsingURLs(LdapCtxFactory.java:210)
at com.sun.jndi.ldap.LdapCtxFactory.getLdapCtxInstance(LdapCtxFactory.java:153)
at com.sun.jndi.ldap.LdapCtxFactory.getInitialContext(LdapCtxFactory.java:83)
at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:684)
at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:313)
at javax.naming.InitialContext.init(InitialContext.java:244)
at javax.naming.ldap.InitialLdapContext.<init>(InitialLdapContext.java:154)
at com.vmware.vdi.ldapcontextpool.LdapContextManager$a.G(SourceFile:826)
at com.vmware.vdi.ldapcontextpool.LdapContextManager$a.getLdapContext(SourceFile:729)
at com.vmware.vdi.ldapcontextpool.LdapContextManager$a.getLdapContext(SourceFile:748)
at com.vmware.vdi.ldapcontextpool.LdapContextManager.a(SourceFile:185)
at com.vmware.vdi.ldapcontextpool.LdapContextManager.getLdapContext(SourceFile:142)
at com.vmware.vdi.desktopcontroller.PoolManager.fetchVDMServers(SourceFile:1109)
at com.vmware.vdi.desktopcontroller.PoolManager.updateServerList(SourceFile:1095)
at com.vmware.vdi.desktopcontroller.PoolManager.a(SourceFile:322)
at com.vmware.vdi.desktopcontroller.PoolManager.<init>(SourceFile:384)
at com.vmware.vdi.broker.BrokerLifecycle.<init>(SourceFile:78)
at com.vmware.vdi.broker.filters.ServerConfigurationFilter.<init>(SourceFile:159)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
at java.lang.Class.newInstance(Class.java:442)
at org.apache.catalina.core.DefaultInstanceManager.newInstance(DefaultInstanceManager.java:119)
at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:258)
at org.apache.catalina.core.ApplicationFilterConfig.<init>(ApplicationFilterConfig.java:105)
at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:4572)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5215)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:752)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:728)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:734)
at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:952)
at org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1823)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
Caused by: javax.security.sasl.SaslException: Failed to initiate authentication: com.vmware.vdi.common.winauth.WinAuthCodifiedException: Failed to start authentication negotiation: Unknown error [Caused by com.vmware.vdi.common.winauth.WinAuthCodifiedException: Failed to start authentication negotiation: Unknown error]
at com.vmware.vdi.common.winauth.sasl.WinAuthSASLClient.prepareSASLCtx(SourceFile:118)
at com.vmware.vdi.common.winauth.sasl.WinAuthSASLClient.evaluateChallenge(SourceFile:133)
at com.sun.jndi.ldap.sasl.LdapSasl.saslBind(LdapSasl.java:125)
... 43 more
Caused by: com.vmware.vdi.common.winauth.WinAuthCodifiedException: Failed to start authentication negotiation: Unknown error
at com.vmware.vdi.common.winauth.WinAuthCodifiedException.fromResponse(SourceFile:137)
at com.vmware.vdi.common.winauth.UserContext.initiateSASLAuthentication(SourceFile:398)
at com.vmware.vdi.common.winauth.UserContext.initiateSASLAuthentication(SourceFile:366)
at com.vmware.vdi.common.winauth.UserContext.initiateSASLAuthentication(SourceFile:350)
at com.vmware.vdi.common.winauth.sasl.WinAuthSASLClient.prepareSASLCtx(SourceFile:115)
... 45 more
anyone help me?
Are you able to connect to Adam database
Refer to https://kb.vmware.com/s/article/2012377
Check if you are able to connect using the view admin account or not or it error out.
Also check if there is any LDAP collision. Refer to https://docs.vmware.com/en/VMware-Horizon/2006/horizon-console-administration/GUID-BA4C28C2-B897-470...
NOTE: Take back of the adam OR snapshot of the connection server prior any troubleshooting.