LDAP Error

Discuss your pilot or production implementation with other Zimbra admins or our engineers.
ozer44
Posts: 7
Joined: Wed Jun 26, 2019 7:14 pm

LDAP Error

Postby ozer44 » Tue Apr 27, 2021 4:47 am

Hi, i have big problem. We are using zimbra ga 8.8.12 some services not running. Please help me

zimbra@mail:~$ zmmailboxdctl start
Starting mailboxd...[] INFO: master is down, falling back to replica...
[] FATAL: failed to initialize LDAP client
com.zimbra.cs.ldap.LdapException: LDAP error: : An error occurred while attempting to connect to server mail.example.com:389: java.io.IOException: An error occurred while attempting to establish a connection to server mail.example.com:389: java.net.ConnectException: Connection refused (Connection refused)
ExceptionId:main:1619498548867:6dcc94b33ed32f63
Code:ldap.LDAP_ERROR
at com.zimbra.cs.ldap.LdapException.LDAP_ERROR(LdapException.java:90)
at com.zimbra.cs.ldap.unboundid.UBIDLdapException.mapToLdapException(UBIDLdapException.java:74)
at com.zimbra.cs.ldap.unboundid.UBIDLdapException.mapToLdapException(UBIDLdapException.java:40)
at com.zimbra.cs.ldap.unboundid.LdapConnectionPool.createConnPool(LdapConnectionPool.java:117)
at com.zimbra.cs.ldap.unboundid.LdapConnectionPool.createConnectionPool(LdapConnectionPool.java:63)
at com.zimbra.cs.ldap.unboundid.UBIDLdapContext.init(UBIDLdapContext.java:111)
at com.zimbra.cs.ldap.unboundid.UBIDLdapClient.init(UBIDLdapClient.java:39)
at com.zimbra.cs.ldap.LdapClient.getInstanceIfLDAPavailable(LdapClient.java:62)
at com.zimbra.cs.ldap.LdapClient.getInstance(LdapClient.java:69)
at com.zimbra.cs.ldap.LdapClient.initialize(LdapClient.java:94)
at com.zimbra.cs.account.ldap.LdapProv.<init>(LdapProv.java:47)
at com.zimbra.cs.account.ldap.LdapProvisioning.<init>(LdapProvisioning.java:291)
at com.zimbra.cs.account.ldap.LdapProvisioning.<init>(LdapProvisioning.java:288)
at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:490)
at java.base/java.lang.Class.newInstance(Class.java:584)
at com.zimbra.cs.account.Provisioning.getInstance(Provisioning.java:354)
at com.zimbra.cs.account.Provisioning.getInstance(Provisioning.java:310)
at com.zimbra.cs.account.ProvUtil.initProvisioning(ProvUtil.java:1030)
at com.zimbra.cs.account.ProvUtil.main(ProvUtil.java:4133)
Caused by: LDAPException(resultCode=91 (connect error), errorMessage='An error occurred while attempting to connect to server mail.example.com:389: java.io.IOException: An error occurred while attempting to establish a connection to server mail.example.com:389: java.net.ConnectException: Connection refused (Connection refused)')
at com.unboundid.ldap.sdk.LDAPConnection.connect(LDAPConnection.java:754)
at com.unboundid.ldap.sdk.LDAPConnection.connect(LDAPConnection.java:686)
at com.unboundid.ldap.sdk.LDAPConnection.<init>(LDAPConnection.java:518)
at com.unboundid.ldap.sdk.SingleServerSet.getConnection(SingleServerSet.java:229)
at com.unboundid.ldap.sdk.ServerSet.getConnection(ServerSet.java:98)
at com.unboundid.ldap.sdk.LDAPConnectionPool.createConnection(LDAPConnectionPool.java:938)
at com.unboundid.ldap.sdk.LDAPConnectionPool.<init>(LDAPConnectionPool.java:876)
at com.unboundid.ldap.sdk.LDAPConnectionPool.<init>(LDAPConnectionPool.java:779)
at com.unboundid.ldap.sdk.LDAPConnectionPool.<init>(LDAPConnectionPool.java:726)
at com.zimbra.cs.ldap.unboundid.LdapConnectionPool.createConnPool(LdapConnectionPool.java:114)
... 18 more
Caused by: java.io.IOException: An error occurred while attempting to establish a connection to server mail.example.com:389: java.net.ConnectException: Connection refused (Connection refused)
at com.unboundid.ldap.sdk.LDAPConnectionInternals.<init>(LDAPConnectionInternals.java:137)
at com.unboundid.ldap.sdk.LDAPConnection.connect(LDAPConnection.java:744)
... 27 more
Last edited by ozer44 on Tue Apr 27, 2021 8:26 am, edited 2 times in total.


Balachandar
Posts: 1
Joined: Sun May 02, 2021 6:09 pm

Re: LDAP Error

Postby Balachandar » Sun May 02, 2021 6:20 pm

Please help me too on this.


The below erro was found when i try yo login to Zimbra admin / Zimbra web amil - Version -8.8.15

ERROR [qtp1225197672-97:https://mail.xyz.com:7071/service/admin/soap/AuthRequest] [name=;ip=10.0.2.254;port=64503;ua=ZimbraWebClient - GC76 (Win);soapId=776638f7;] AuthToken - unable to de-register auth token
com.zimbra.common.service.ServiceException: system failure: unable to modify attrs: LDAP error: - unable to modify attributes: ldap host=mail.xyx.com:389: other
ExceptionId:qtp1225197672-97:https://mail.xyz.com:7071/service/admin/soap/AuthRequest:1619976302497:2c11b197b74b0de5
Code:service.FAILURE
at com.zimbra.common.service.ServiceException.FAILURE(ServiceException.java:288)
at com.zimbra.cs.account.ldap.LdapProvisioning.modifyLdapAttrs(LdapProvisioning.java:660)
at com.zimbra.cs.account.ldap.LdapProvisioning.modifyAttrsInternal(LdapProvisioning.java:567)
at com.zimbra.cs.account.ldap.LdapProvisioning.modifyEphemeralAttrsInLdap(LdapProvisioning.java:460)
at com.zimbra.cs.ephemeral.LdapEphemeralStore$ZimbraLdapHelper.executeChange(LdapEphemeralStore.java:181)
at com.zimbra.cs.ephemeral.LdapEphemeralStore.deleteInternal(LdapEphemeralStore.java:96)
at com.zimbra.cs.ephemeral.LdapEphemeralStore.purgeExpired(LdapEphemeralStore.java:80)
at com.zimbra.cs.account.Entry.purgeEphemeralAttr(Entry.java:957)
at com.zimbra.cs.account.ZAttrAccount.purgeAuthTokens(ZAttrAccount.java:4949)
at com.zimbra.cs.account.Account.cleanExpiredTokens(Account.java:516)
at com.zimbra.cs.account.ZimbraAuthToken.register(ZimbraAuthToken.java:289)
at com.zimbra.cs.account.ZimbraAuthToken.<init>(ZimbraAuthToken.java:203)
at com.zimbra.cs.account.ZimbraAuthToken.<init>(ZimbraAuthToken.java:170)
at com.zimbra.cs.account.ZimbraAuthToken.<init>(ZimbraAuthToken.java:161)
at com.zimbra.cs.service.ZimbraAuthProvider.authToken(ZimbraAuthProvider.java:129)
at com.zimbra.cs.service.AuthProvider.getAuthToken(AuthProvider.java:661)
at com.zimbra.cs.service.admin.Auth.handle(Auth.java:183)
at com.zimbra.soap.SoapEngine.dispatchRequest(SoapEngine.java:646)
at com.zimbra.soap.SoapEngine.dispatch(SoapEngine.java:491)
at com.zimbra.soap.SoapEngine.dispatch(SoapEngine.java:278)
at com.zimbra.soap.SoapServlet.doWork(SoapServlet.java:308)
at com.zimbra.soap.SoapServlet.doPost(SoapServlet.java:217)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
at com.zimbra.cs.servlet.ZimbraServlet.service(ZimbraServlet.java:214)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:873)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1623)
at org.eclipse.jetty.websocket.server.WebSocketUpgradeFilter.doFilter(WebSocketUpgradeFilter.java:214)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1610)
at com.zimbra.cs.servlet.CsrfFilter.doFilter(CsrfFilter.java:175)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1610)
at com.zimbra.cs.servlet.RequestStringFilter.doFilter(RequestStringFilter.java:54)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1610)
at com.zimbra.cs.servlet.SetHeaderFilter.doFilter(SetHeaderFilter.java:59)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1610)
at com.zimbra.cs.servlet.ETagHeaderFilter.doFilter(ETagHeaderFilter.java:47)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1610)
at com.zimbra.cs.servlet.ContextPathBasedThreadPoolBalancerFilter.doFilter(ContextPathBasedThreadPoolBalancerFilter.java:107)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1610)
at com.zimbra.cs.servlet.ZimbraQoSFilter.doFilter(ZimbraQoSFilter.java:125)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1610)
at com.zimbra.cs.servlet.ZimbraInvalidLoginFilter.doFilter(ZimbraInvalidLoginFilter.java:117)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1610)
at org.eclipse.jetty.servlets.DoSFilter.doFilterChain(DoSFilter.java:482)
at org.eclipse.jetty.servlets.DoSFilter.doFilter(DoSFilter.java:327)
at org.eclipse.jetty.servlets.DoSFilter.doFilter(DoSFilter.java:297)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1610)
at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:540)
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:146)
at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:524)
at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:132)
at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:257) ...................

Return to “Administrators”

Who is online

Users browsing this forum: Google [Bot] and 15 guests