Page 1 of 2 12 LastLast
Results 1 to 10 of 11

Thread: Installation on multiple Servers

  1. #1
    Join Date
    Oct 2005
    Posts
    38
    Rep Power
    10

    Question Installation on multiple Servers

    Hi, we are testing ZCS, it works quite well using just one server, but when we tried the distributed approach using one LDAP Server, one MTA server and one Mailbox Store server, the messages do not travel anywhere.....
    I sent from an outside email, no bounce errors but no message appears in my zimbra mailboxes, I sent from Zimbra and nothing arrives to an external account.

    Any ideas ? or where can I find any documentation about how to configure the distributed servers approach other than the nice diagram ? (a step by step guideline would be nice)

    Thanks and congratulations for a great email product.

  2. #2
    Join Date
    Aug 2005
    Location
    San Mateo, CA
    Posts
    4,789
    Rep Power
    19

    Default

    Did you reinstall using the installer? install.sh should allow you to pick what runs on each host. The first host should have LDAP and then each other host should refer to it when you are asked where LDAP runs.

    Did you check /var/log/zimbra.log on the MTA host to see if postfix got the mail? If so then check /opt/zimbra/tomcat/catalina.out on the mailbox host to see if the mailbox got the message.

  3. #3
    Join Date
    Oct 2005
    Posts
    38
    Rep Power
    10

    Default

    Yes, we installed the servers using the script starting with LDAP server, MTA and Mailbox servers in that order. The others pointing ldap to the server.

    I was looking through all the /var/log/zimbra.log and the common error in each server is:

    connection refused by [127.0.0.1]

    in the MTA server:

    status=deferred (lost connection with 127.0.0.1[127.0.0.1] while sending RCPT TO)

    in the Mailbox Server:

    sendmail [15574]: .... stat=Deferred: Connection refused by [127.0.0.1]


    looks as each server is trying to contact localhost for any Zimbra services

    in the catalina.out log there are no error messages just the Server Startup.

  4. #4
    Join Date
    Sep 2005
    Posts
    2,103
    Rep Power
    14

    Default sendmail

    Make sure sendmail is shut down on all the servers, then restart all the instances of the postfix mta.

  5. #5
    Join Date
    Sep 2005
    Posts
    2,103
    Rep Power
    14

    Default /etc/hosts

    CHeck your /etc/hosts file - make sure that the line with the servername on it is not 127.0.0.1, but the actual server IP.

    If you have to change this file on any servers, you'll need to rerun iptables:

    as root:
    /opt/zimbra/bin/zmiptables -u
    /opt/zimbra/bin/zmiptables -i

  6. #6
    Join Date
    Oct 2005
    Posts
    38
    Rep Power
    10

    Default

    sendmail is not running on any server, the message I talked about is in the /var/log/zimbra.log.

    I checked the /etc/hosts in every server and it only contains:

    127.0.0.1 localhost
    200.x.x.x serverx.mailweb.xxx.xxx.xx

    I did rerun the zmiptables command just to be sure and rebooted all the servers, but still no mail received or sent.
    The actual configuration we have is:

    zimbra4 LDAP server
    zimbra2 MTA server
    zimbra Mailbox Store server
    zimbra3 Mailbox Store server

    I just tried sending a message from an external email and this is what the zimbra.log has in the MTA server:

    Oct 12 16:06:08 zimbra2 postfix/smtpd[6127]: connect from localhost [127.0.0.1]
    Oct 12 16:06:08 zimbra2 postfix/smtpd[6127]: disconnect from
    localhost[127.0.0.1 ]
    Oct 12 16:06:44 zimbra2 postfix/smtpd[6127]: connect from mail1.ufm.edu.gt[200.0 .176.21]
    Oct 12 16:06:44 zimbra2 postfix/smtpd[6127]: 672804149E8:
    client=mail1.ufm.edu.g t[200.0.176.21]
    Oct 12 16:06:44 zimbra2 postfix/cleanup[17613]: 672804149E8:
    message-id=1019@mail1.ufm.edu.gt>
    Oct 12 16:06:44 zimbra2 postfix/smtpd[6127]: disconnect from mail1.ufm.edu.gt[20 0.0.176.21]
    Oct 12 16:06:44 zimbra2 postfix/qmgr[6120]: 672804149E8:
    from=, size=2124, nrcpt=1 (queue active)
    Oct 12 16:06:44 zimbra2 amavis[11072]: (11072-01) Connecting to LDAP host
    Oct 12 16:06:44 zimbra2 amavis[11072]: (11072-01) connect_to_ldap:
    unable to con nect to host zimbra2.mailweb.ufm.edu.gt
    Oct 12 16:06:44 zimbra2 amavis[11072]: (11072-01) TROUBLE in
    process_request: LD AP server(s) not reachable at (eval 37) line 233, line 5.
    Oct 12 16:06:44 zimbra2 amavis[11072]: (11072-01) Requesting process rundown aft er fatal error
    Oct 12 16:06:44 zimbra2 amavis[11072]: (11072-01) load: 96 %, total idle 0.001 s , busy 0.029 s
    Oct 12 16:06:44 zimbra2 amavis[11072]: (11072-01) SMTP shutdown:
    empty tempdir is being removed:
    /opt/zimbra/amavisd/tmp/amavis-20051012T160644-11072, nothing t o preserve
    Oct 12 16:06:44 zimbra2 amavis[11072]: (11072-01) SMTP shutdown:
    Error writing a SMTP response to the socket: Bad file descriptor at (eval 38) line 788.\n
    Oct 12 16:06:44 zimbra2 postfix/smtp[17614]: 672804149E8:
    to=, relay=127.0.0.1[127.0.0.1], delay=0, status=deferred (lost connection wi th 127.0.0.1[127.0.0.1] while sending RCPT TO)
    Oct 12 16:06:44 zimbra2 amavis[17616]: TIMING [total 66 ms] -
    bdb-open: 66 (100% )100, rundown: 0 (0%)100
    Oct 12 16:06:51 zimbra2 postfix/smtpd[6127]: connect from localhost[127.0.0.1]
    Oct 12 16:06:51 zimbra2 postfix/smtpd[6127]: disconnect from
    localhost[127.0.0.1 ]

    May with this you can help me. (sorry if the log is too long).

  7. #7
    Join Date
    Aug 2005
    Location
    San Mateo, CA
    Posts
    4,789
    Rep Power
    19

    Default

    Looks like zimbra2 can't connect to LDAP. Can you "telnet zimbra4 389" from zimbra2?

  8. #8
    Join Date
    Oct 2005
    Posts
    38
    Rep Power
    10

    Default Ldap

    I tried telnet zimbra4 389 in all the other servers but what it is supposed to answer ? it just connects and after keying five returns it disconnects but no message received.

    What I've found out on the zimbra4 (ldap server) is that it is using port 7389 (SLDAP) is that ok ?

    I did the same telnet to port 7389 with equal results.

    I wonder the LDAP server is working well because when you browse with the web client it works normal, the users can log on, send mail, look the folders, also the admin page works well.

    Looking at the zimbra.log in the part where is unable to connect to the ldap server, it says Amavis, this is the Antivirus right ? could it be possible this is the one causing trouble ?

  9. #9
    Join Date
    Aug 2005
    Location
    San Mateo, CA
    Posts
    4,789
    Rep Power
    19

    Default

    The telnet test just proves it can connect and something is running on that port. slapd does run on 7389 as you noticed. We use iptables to map it to port 389 which is the standard LDAP port.

    Yes it looks like amavis is having trouble getting to LDAP. Have you tried to restart antivirus on that host?

    Code:
    zmcontrol antivirus stop
    zmcontrol antivirus start

  10. #10
    Join Date
    Aug 2005
    Location
    San Mateo, CA
    Posts
    4,789
    Rep Power
    19

    Default

    This is a bug in M1.

    You need to modify /opt/zimbra/conf/amavisd.conf.in and make sure that the section that reads

    $default_ldap = {
    hostname => '@@zimbra_server_hostname@@',
    timeout => 30,
    tls => 0,
    query_filter => '(&(objectClass=amavisAccount)(mail=%m))',
    bind_dn => '@@zimbra_ldap_userdn@@',
    bind_password => '@@zimbra_ldap_password@@',
    };

    is changed from @@zimbra_server_hostname@@ to @@ldap_host@@

    Then restart amavis - zmamavisdctl stop; zmamavisdctl start

Similar Threads

  1. Multiple servers, one mail server?
    By mps in forum Administrators
    Replies: 0
    Last Post: 04-02-2007, 02:50 PM
  2. One Domain, Multiple Locations, Multiple Servers(?)
    By soxfan in forum Administrators
    Replies: 2
    Last Post: 03-13-2007, 10:42 AM
  3. Multiple Servers - One interface
    By bin2hex in forum Installation
    Replies: 2
    Last Post: 04-02-2006, 10:12 AM
  4. m2 open source installation does not include servers
    By mcgaffin in forum Installation
    Replies: 5
    Last Post: 11-17-2005, 09:26 AM
  5. Installation problem
    By sywong70 in forum Installation
    Replies: 5
    Last Post: 11-07-2005, 09:01 PM

Posting Permissions

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