Results 1 to 3 of 3

Thread: Can't connect LDAP

  1. #1
    olibite is offline Active Member
    Join Date
    Nov 2006
    Posts
    33
    Rep Power
    8

    Exclamation Can't connect LDAP

    Hello

    I have a multiserver installation

    1 - Server with MTA / LDAP primary (mail.zzzzz.pt)
    1 - Server with MTA (mail1.zzzzz.pt
    2 - Srvidor with MAILBOX (srv1.zzzzz.pt and srv2.zzzzz.pt)

    I upgrade to version 5.0.2 to 5.0.4
    Happen the following problems:

    ------- The Server mail1 unable to connect to LDAP who is in the mail!

    Mar 29 01:53:17 mail1 postfix/master[14231]: warning: process /opt/zimbra/postfi x-2.4.3.4z/libexec/trivial-rewrite pid 24315 exit status 1
    Mar 29 01:53:18 mail1 postfix/trivial-rewrite[24316]: error: dict_ldap_connect: Unable to set STARTTLS: -1: Can't contact LDAP server
    Mar 29 01:53:18 mail1 postfix/trivial-rewrite[24316]: fatal: ldap:/opt/zimbra/co nf/ldap-vad.cf(0,lock|fold_fix): table lookup problem
    Mar 29 01:53:19 mail1 postfix/smtpd[14697]: warning: problem talking to service rewrite: Success
    Mar 29 01:53:19 mail1 postfix/master[14231]: warning: process /opt/zimbra/postfi x-2.4.3.4z/libexec/trivial-rewrite pid 24316 exit status 1


    -------- The srv2 not able to connect to LDAP (not receive / send mail)

    Mar 29 01:52:26 srv2 zimbramon[2232]: 2232:info: zmmtaconfig: Skipping All Reverse Proxy URLs update.
    Mar 29 01:52:26 srv2 zimbramon[2232]: 2232:info: zmmtaconfig: Skipping getAllReverseProxyURLs ERROR: service.FAILURE (system failure: getDirectContext) (cause: javax.naming.CommunicationException mail1.zmail.pt:389)
    Mar 29 01:52:27 srv2 zimbramon[2232]: 2232:info: zmmtaconfig: Skipping All Reverse Proxy Backends update.
    Mar 29 01:52:27 srv2 zimbramon[2232]: 2232:info: zmmtaconfig: Skipping getAllReverseProxyBackends ERROR: service.FAILURE (system failure: getDirectContext) (cause: javax.naming.CommunicationException mail1.zmail.pt:389)
    Mar 29 01:52:27 srv2 zimbramon[2232]: 2232:info: zmmtaconfig: Skipping All Memcached Servers update.
    Mar 29 01:52:27 srv2 zimbramon[2232]: 2232:info: zmmtaconfig: Skipping getAllMemcachedServers ERROR: service.FAILURE (system failure: getDirectContext) (cause: javax.naming.CommunicationException mail1.zmail.pt:389)
    Mar 29 01:52:28 srv2 zimbramon[2232]: 2232:info: zmmtaconfig: Skipping All MTA Authentication Target URLs update.
    Mar 29 01:52:28 srv2 zimbramon[2232]: 2232:info: zmmtaconfig: Skipping getAllMtaAuthURLs ERROR: service.FAILURE (system failure: getDirectContext) (cause: javax.naming.CommunicationException mail1.zmail.pt:389)
    Mar 29 01:52:29 srv2 zimbramon[2232]: 2232:info: zmmtaconfig: Skipping Configuration for server srv2.zmail.pt update.
    Mar 29 01:52:29 srv2 zimbramon[2232]: 2232:info: zmmtaconfig: gs:srv2.zmail.pt ERROR: service.FAILURE (system failure: getDirectContext) (cause: javax.naming.CommunicationException mail1.zmail.pt:389)



    ------- The Srv1 this to work well. The upgrade went well !!!!!

    I have 900 user no SRV2! The server will have 24 hours stopped! What can I do?



    !! PLEASE !! HELP !!

    Regards
    Jose Oliveira
    Zmail.pt

  2. #2
    uxbod's Avatar
    uxbod is offline Moderator
    Join Date
    Nov 2006
    Location
    UK
    Posts
    8,016
    Rep Power
    24

    Default

    First of all could you post what OS and ZCS version you are using - http://www.zimbra.com/forums/announc...r-profile.html please

    Would you please check your Log Files - Zimbra :: Wiki on the problem servers, and post any error messages relating to LDAP please.

  3. #3
    quanah is online now Zimbra Employee
    Join Date
    May 2007
    Location
    Zimbra
    Posts
    1,195
    Rep Power
    9

    Default

    Quote Originally Posted by olibite View Post
    H
    ------- The Server mail1 unable to connect to LDAP who is in the mail!

    Mar 29 01:53:17 mail1 postfix/master[14231]: warning: process /opt/zimbra/postfi x-2.4.3.4z/libexec/trivial-rewrite pid 24315 exit status 1
    Mar 29 01:53:18 mail1 postfix/trivial-rewrite[24316]: error: dict_ldap_connect: Unable to set STARTTLS: -1: Can't contact LDAP server
    Mar 29 01:53:18 mail1 postfix/trivial-rewrite[24316]: fatal: ldap:/opt/zimbra/co nf/ldap-vad.cf(0,lock|fold_fix): table lookup problem
    Mar 29 01:53:19 mail1 postfix/smtpd[14697]: warning: problem talking to service rewrite: Success
    Mar 29 01:53:19 mail1 postfix/master[14231]: warning: process /opt/zimbra/postfi x-2.4.3.4z/libexec/trivial-rewrite pid 24316 exit status 1
    No, it clearly notes that it is failing to use TLS/SSL correctly. There's something wrong with your certs on this server, not with LDAP.


    -------- The srv2 not able to connect to LDAP (not receive / send mail)

    Mar 29 01:52:26 srv2 zimbramon[2232]: 2232:info: zmmtaconfig: Skipping All Reverse Proxy URLs update.
    Mar 29 01:52:26 srv2 zimbramon[2232]: 2232:info: zmmtaconfig: Skipping getAllReverseProxyURLs ERROR: service.FAILURE (system failure: getDirectContext) (cause: javax.naming.CommunicationException mail1.zmail.pt:389)
    Mar 29 01:52:27 srv2 zimbramon[2232]: 2232:info: zmmtaconfig: Skipping All Reverse Proxy Backends update.
    Mar 29 01:52:27 srv2 zimbramon[2232]: 2232:info: zmmtaconfig: Skipping getAllReverseProxyBackends ERROR: service.FAILURE (system failure: getDirectContext) (cause: javax.naming.CommunicationException mail1.zmail.pt:389)
    Mar 29 01:52:27 srv2 zimbramon[2232]: 2232:info: zmmtaconfig: Skipping All Memcached Servers update.
    Mar 29 01:52:27 srv2 zimbramon[2232]: 2232:info: zmmtaconfig: Skipping getAllMemcachedServers ERROR: service.FAILURE (system failure: getDirectContext) (cause: javax.naming.CommunicationException mail1.zmail.pt:389)
    Mar 29 01:52:28 srv2 zimbramon[2232]: 2232:info: zmmtaconfig: Skipping All MTA Authentication Target URLs update.
    Mar 29 01:52:28 srv2 zimbramon[2232]: 2232:info: zmmtaconfig: Skipping getAllMtaAuthURLs ERROR: service.FAILURE (system failure: getDirectContext) (cause: javax.naming.CommunicationException mail1.zmail.pt:389)
    Mar 29 01:52:29 srv2 zimbramon[2232]: 2232:info: zmmtaconfig: Skipping Configuration for server srv2.zmail.pt update.
    Mar 29 01:52:29 srv2 zimbramon[2232]: 2232:info: zmmtaconfig: gs:srv2.zmail.pt ERROR: service.FAILURE (system failure: getDirectContext) (cause: javax.naming.CommunicationException mail1.zmail.pt:389)
    This error says that the server cannot talk to mail1.zmail.pt port 389. According to what you posted, you've configured it to talk to the wrong server, as you said "mail.zmail.pt" is the LDAP server, not "mail1.zmail.pt".

    --Quanah
    Quanah Gibson-Mount
    Server Architect
    Zimbra, Inc
    --------------------
    Zimbra :: the leader in open source messaging and collaboration

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. zmclamdctl is not running after upgrade
    By Darren in forum Installation
    Replies: 24
    Last Post: 10-10-2008, 09:10 AM
  2. Zimbra fails after working for 2 weeks
    By Linsys in forum Administrators
    Replies: 10
    Last Post: 10-07-2008, 12:42 AM
  3. server dropped connection
    By ferra in forum Installation
    Replies: 20
    Last Post: 10-06-2008, 04:32 PM
  4. Is it started or not
    By kwelipatton in forum Installation
    Replies: 10
    Last Post: 03-28-2006, 11:11 PM
  5. Can't send or receive mails from Zimbra
    By ppurama in forum Administrators
    Replies: 4
    Last Post: 11-14-2005, 10:17 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •