Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
Go Back   Zimbra :: Forums > Zimbra Collaboration Suite > Installation

Welcome to the Zimbra :: Forums!
Welcome, if you would like to post a comment please register. We also encourage you to explore all things Zimbra with our team and members of the community.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 08-30-2006, 07:21 PM
Intermediate Member
 
Posts: 17
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
Reply With Quote
  #2 (permalink)  
Old 08-31-2006, 05:56 AM
Intermediate Member
 
Posts: 17
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 (
Reply With Quote
  #3 (permalink)  
Old 08-31-2006, 07:09 AM
Zimbra Consultant & Moderator
 
Posts: 20,317
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
Reply With Quote
  #4 (permalink)  
Old 08-31-2006, 07:40 AM
Intermediate Member
 
Posts: 17
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
Reply With Quote
  #5 (permalink)  
Old 08-31-2006, 07:45 AM
Zimbra Consultant & Moderator
 
Posts: 20,317
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
Reply With Quote
  #6 (permalink)  
Old 08-23-2007, 02:31 AM
Loyal Member
 
Posts: 98
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
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads

Why Join?

Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.

blog.zimbra.com




 

SEO by vBSEO ©2011, Crawlability, Inc.