Results 1 to 6 of 6

Thread: ldap fails

  1. #1
    linmar is offline Intermediate Member
    Join Date
    Aug 2006
    Posts
    17
    Rep Power
    8

    Default ldap fails

    Hi,

    I am trying to add a second MTA, but if I try to connect (from the remote box) to ldap I get an

    root@backup01 ~ # ldapsearch -H ldap://10.1.1.100 -b cn=monitor -s one + -x
    ldap_bind: Can't contact LDAP server (-1)

    error, locally it works fine. Where do I authorize the list of servers to access LDAP?

    Thanks,
    Markus

  2. #2
    linmar is offline Intermediate Member
    Join Date
    Aug 2006
    Posts
    17
    Rep Power
    8

    Default

    to be more precise, it is listening on 127.0.0.1 only, so even if I try to reach ldap via eth0/1 I get this message ... should be an easy setting, but I dont know where (

  3. #3
    phoenix is online now Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,201
    Rep Power
    56

    Default

    Have you read the Zimbra Multi-Server Install? Are just trying to add a second MTA? If that's the case you have one LDAP instance and you just install the MTA component on a second server. Can you describe in detail what the set-up is that you're trying to achieve?
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  4. #4
    linmar is offline Intermediate Member
    Join Date
    Aug 2006
    Posts
    17
    Rep Power
    8

    Default

    I did a test-installation of zimbra on my primary server. This worked out well so I will continue to use it as the primary mail system.

    In order to make it more reliable I would like to add a second server; that one should have an MTA and should either connect to the primary LDAP server or even better host its own LDAP replica. Possibly it should also host a second web-frontend/pop/imap, but the mails should always be stored on the primary.

    I read the multi-host manual, but unfortunately it assums a fresh installation, but I think most cases will be like mine where you start with one and then add more servers.

    When following the manual it fails with the LDAP connect error, I used the LDAP commands above to isolate the problem.

    My servers are installed with secure linux enabled, might that be the issue? If so, how could I continue without reinstalling the servers (which is not an option)?

    Thanks!
    Markus

  5. #5
    phoenix is online now Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,201
    Rep Power
    56

    Default

    I'm afraid that I'm not an expert on multi server install but unless you're going to use LDAP replication then you should only have one instance of LDAP. You should definitely disable SElinux as it does cause problems.
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  6. #6
    fajarpri's Avatar
    fajarpri is offline Loyal Member
    Join Date
    Jul 2007
    Posts
    98
    Rep Power
    7

    Default

    @linmar,
    If your ldap only listens to 127.0.0.1, it means your /etc/hosts file is wrong.
    Don't put your hostname in 127.0.0.1, let 127.0.0.1 as localhost.localdomain.
    Put your hostname in the ip address of your NIC, such as:
    192.168.0.250 masterldap.yourdomain.com backupldap

    That way your ldap will listen on 192.168.0.250

    I hope this helps. I learnt it the hardway

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. 3 testing: LDAP: 389 Failed when restore zimbra
    By victorLeong in forum Administrators
    Replies: 15
    Last Post: 05-24-2007, 06:45 AM
  2. Mac OSX install: Java errors & LDAP CA error
    By jefbear in forum Installation
    Replies: 9
    Last Post: 12-16-2006, 03:39 PM
  3. Replies: 4
    Last Post: 11-15-2006, 12:16 PM
  4. Installations fails on LDAP Initialisation
    By Linsys in forum Installation
    Replies: 6
    Last Post: 07-08-2006, 10:20 AM
  5. Replies: 2
    Last Post: 05-24-2006, 10:01 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
  •