Page 1 of 3 123 LastLast
Results 1 to 10 of 27

Thread: After Succesfull Install, Cannot Start mta

Hybrid View

  1. #1
    Join Date
    Nov 2005
    Posts
    9
    Rep Power
    9

    Default After Succesfull Install, Cannot Start mta

    Hi,

    I have resolved previous thread issues. In a response to my last thread, I was told to install Fedora. This is done. I then ran the install.sh script and it worked like a charm. I thought I was in the clear. Well, I am one step closer at least. The install script finished without errors (I have attached it anyway). Following the Quick Start guide, it said that the next step was to "su - zimbra" and then "zmcontrol status", and it said that all services should be running, not the case. It returned:

    [zimbra@dev1 etc]$ zmcontrol status
    Host dev1.northernobjects.com
    antispam Running
    antivirus Running
    ldap Running
    logger Running
    mailbox Stopped
    mta Running
    snmp Running
    spell Running

    Note that mailbox was not running. So I ran the following command, in an attempt to start the mailbox server, and got the following back:

    ---------------- START CUT+PASTE -----------------------
    [zimbra@dev1 etc]$ zmcontrol start mailbox
    Host dev1.northernobjects.com
    Starting antispam...Done.
    Starting antivirus...Done.
    Starting logger...Done.
    Starting mailbox...Done.
    Starting mta...FAILED
    DO: /opt/zimbra/postfix/sbin/postconf -e content_filter='smtp-amavis:[127.0.0.1]:10024'
    DO: /opt/zimbra/postfix/sbin/postconf -e smtpd_sasl_auth_enable='yes'
    DO: /opt/zimbra/postfix/sbin/postconf -e smtpd_tls_auth_only='yes'
    DO: /opt/zimbra/postfix/sbin/postconf -e disable_dns_lookups='no'
    DO: /opt/zimbra/postfix/sbin/postconf -e message_size_limit='10240000'
    DO: /opt/zimbra/postfix/sbin/postconf -e relayhost=''
    DO: /opt/zimbra/postfix/sbin/postconf -e smtpd_recipient_restrictions='reject_non_fqdn_reci pient, permit_sasl_authenticated, permit_mynetworks, reject_invalid_hostname, reject_non_fqdn_hostname, reject_non_fqdn_sender, reject_unauth_destination, permit'
    saslauthd[19663] :detach_tty : Cannot start saslauthd
    saslauthd[19663] :detach_tty : Another instance of saslauthd is currently running


    Starting snmp...Done.
    Starting spell...Done.
    [zimbra@dev1 etc]$
    ---------------- END CUT+PASTE -----------------------

    At this point, I do not know how to move forward. I am hoping that someone out there can help with this. I know that I am really close now.

    Cheers,

    bsimzer
    Attached Files Attached Files

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

    Default

    maybe "zmcontrol stop" then grep to make sure no zimbra processes are running and run "zmcontrol start"

  3. #3
    Join Date
    Nov 2005
    Posts
    9
    Rep Power
    9

    Default Follow Up - mailbox service

    I started poking around a bit. I noticed the error message, with regards to saslauthd running, so I ran the following command:

    ps -ef | grep saslauthd | awk '{print $2}' | xargs kill -9

    to kill all of the saslauthd processes, then I re-ran zmcontrol start mailbox. It returned the following:

    [zimbra@dev1 etc]$ zmcontrol start mailbox
    Host dev1.northernobjects.com
    Starting antispam...Done.
    Starting antivirus...Done.
    Starting logger...Done.
    Starting mailbox...Done.
    Starting mta...Done.
    Starting snmp...Done.
    Starting spell...Done.

    I thought I was in the clear (yet again). So next, I ran zmcontrol status and got the following:

    [zimbra@dev1 etc]$ zmcontrol status
    Host dev1.northernobjects.com
    antispam Running
    antivirus Running
    ldap Running
    logger Running
    mailbox Stopped
    mta Running
    snmp Running
    spell Running

    Who is fooling who here?

    Cheers,

    bsimzer

  4. #4
    Join Date
    Nov 2005
    Posts
    9
    Rep Power
    9

    Default start / stop / status

    KevinH,

    With regards to your fast reply:

    [zimbra@dev1 etc]$ zmcontrol stop
    Host dev1.northernobjects.com
    Stopping antispam...Done
    Stopping antivirus...Done
    Stopping ldap...Done
    Stopping logger...Done
    Stopping mailbox...Done
    Stopping mta...Done
    Stopping snmp...Done
    Stopping spell...Done
    [zimbra@dev1 etc]$ zmcontrol start
    Host dev1.northernobjects.com
    Starting ldap...Done.
    Starting antispam...Done.
    Starting antivirus...Done.
    Starting logger...Done.
    Starting mailbox...Done.
    Starting mta...Done.
    Starting snmp...Done.
    Starting spell...Done.
    [zimbra@dev1 etc]$ zmcontrol status
    Host dev1.northernobjects.com
    antispam Running
    antivirus Running
    ldap Running
    logger Running
    mailbox Stopped
    mta Running
    snmp Running
    spell Running

    note that the mailbox (although it "seemed" to start) is not running. Who is lying? Is it zmcontrol start, or is it zmcontrol status? Or perhaps a daemon is starting, but then dies seconds (milliseconds) later? I am so close.

    Cheers,

    bsimzer

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

    Default which one?

    sh -x /opt/zimbra/bin/zmmtactl status

    Which one returns a non-zero exit value? Amavis? Postfix?

    Anything in /var/log/zimbra.log?

  6. #6
    Join Date
    Nov 2005
    Posts
    9
    Rep Power
    9

    Default

    Marcmac,

    "sh -x /opt/zimbra/bin/zmmtactl status looks fine". But just in case, I have cut and paste:

    ----------- START CUT+PASTE ----------------------
    [root@dev1 ~]# su - zimbra
    [zimbra@dev1 ~]$ sh -x /opt/zimbra/bin/zmmtactl status
    + BASE=/opt/zimbra
    + SCRIPTS='zmmtaconfigctl zmamavisdctl postfix zmsaslauthdctl'
    + case "$1" in
    + STATUS=0
    + for i in '$SCRIPTS'
    + /opt/zimbra/bin/zmmtaconfigctl status
    + R=0
    + '[' 0 -ne 0 ']'
    + for i in '$SCRIPTS'
    + /opt/zimbra/bin/zmamavisdctl status
    + R=0
    + '[' 0 -ne 0 ']'
    + for i in '$SCRIPTS'
    + /opt/zimbra/bin/postfix status
    + R=0
    + '[' 0 -ne 0 ']'
    + for i in '$SCRIPTS'
    + /opt/zimbra/bin/zmsaslauthdctl status
    + R=0
    + '[' 0 -ne 0 ']'
    + exit 0
    [zimbra@dev1 ~]$ zmcontrol status
    Host dev1.northernobjects.com
    antispam Running
    antivirus Running
    ldap Running
    logger Running
    mailbox Stopped
    mta Running
    snmp Running
    spell Running
    [zimbra@dev1 ~]$
    ----------- END CUT+PASTE ----------------------

    I have also attached /var/log/zimbra.log. It doesn't mean much to me. Thanks for the excellent support and thank you for being patient with me. Please let me know if there is anything else that you need from me.

    Cheers,

    bsimzer
    Attached Files Attached Files

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

    Default Wrong server!

    I didn't read carefully enough - it's actually the mailbox service that's not running, not the MTA.

    Try sh -x /opt/zimbra/bin/zmmailboxctl status.

  8. #8
    Join Date
    Nov 2005
    Posts
    18
    Rep Power
    9

    Default Same problem with mta not starting

    I have searched through all of the forums and tried several of the reponses, but I am still having a problem with the mta not starting after a successful install similar to what has been posted. The server staus through the web admin and zmcontrol status show the same thing that the mta service is not started.

    [zimbra@zimbra ~]$ zmcontrol status
    Host zimbra.twu.ca
    antispam Running
    antivirus Running
    ldap Running
    logger Running
    mailbox Running
    mta Stopped
    snmp Running
    spell Running

    The output from "sh -x /opt/zimbra/bin/zmmtactl status" shows:

    [zimbra@zimbra ~]$ sh -x /opt/zimbra/bin/zmmtactl status
    + BASE=/opt/zimbra
    + SCRIPTS='zmmtaconfigctl zmamavisdctl postfix zmsaslauthdctl'
    + case "$1" in
    + STATUS=0
    + for i in '$SCRIPTS'
    + /opt/zimbra/bin/zmmtaconfigctl status
    + R=0
    + '[' 0 -ne 0 ']'
    + for i in '$SCRIPTS'
    + /opt/zimbra/bin/zmamavisdctl status
    + R=0
    + '[' 0 -ne 0 ']'
    + for i in '$SCRIPTS'
    + /opt/zimbra/bin/postfix status
    + R=1
    + '[' 1 -ne 0 ']'
    + STATUS=1
    + for i in '$SCRIPTS'
    + /opt/zimbra/bin/zmsaslauthdctl status
    + R=0
    + '[' 0 -ne 0 ']'
    + exit 1

    and the zimbra.log file does indicate the following error during the mta startup process:

    Nov 24 14:09:13 zimbra postfix/postfix-script: warning: not owned by root: /opt/
    zimbra/postfix-2.2.3/conf/main.cf

    I had disabled sendmail which was running with the bare RHEL 4 install using chkconfig sendmail off and then restarted zimbra.

    As I said though, it is sneding and receiving email and "telnet zimbra.twu.ca 25" does respond with a "220 zimbra.twu.ca ESMTP Postfix".

    Anybody have any ideas?

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

    Default postfix running

    Postfix is running somewhere - do a ps, find the pid, and kill it - then try restarting zimbra and see if that clears it up.

    It's possible that it's not the zimbra postfix that's running - try chkconfig postfix off and /etc/init.d/postfix stop, too.

  10. #10
    Join Date
    Nov 2005
    Posts
    18
    Rep Power
    9

    Default

    The only only postfix running was the Zimbra version. Here is the output from ps ax | grep postfix :

    [root@zimbra ~]# ps aux | grep postfix
    root 7909 0.0 0.1 6128 1564 ? Ss Nov24 0:04 /opt/zimbra/postfix-2.2.3/libexec/master
    postfix 10595 0.0 0.1 6204 1648 ? S Nov24 0:00 qmgr -l -t fifo -u
    postfix 16880 0.0 0.1 6172 1596 ? S Nov24 0:00 tlsmgr -l -t unix -u
    postfix 15749 0.0 0.1 6172 1536 ? S 07:25 0:00 pickup -l -t fifo -u
    postfix 31055 0.1 0.1 6176 1540 ? S 08:50 0:00 showq -t unix -u
    root 31509 0.0 0.0 3728 664 pts/1 S+ 08:51 0:00 grep postfix

    Stopping Zimbra resulted in all of the above postfix processes being killed.

    chkconfig postfix off resulted in:

    error reading information on service postfix: No such file or directory

    /etc/init.d/postfix stop resulted in:

    -bash: /etc/init.d/postfix: No such file or directory

    When I stop Zimbra using zmcontrol and telnet to port 25 there is nothing there, but postfix responnds when Zimbra is running.

    Any other ideas?

Similar Threads

  1. Daily mail report always reports "No messages found"
    By McPringle in forum Installation
    Replies: 42
    Last Post: 06-13-2011, 08:57 AM
  2. Replies: 7
    Last Post: 02-03-2011, 06:01 AM
  3. After Install: MTA does´t start
    By pc-nico in forum Administrators
    Replies: 1
    Last Post: 06-15-2007, 06:54 AM
  4. New Install - mta won't start (part 1 due to IMG limits)
    By omegainstitute in forum Installation
    Replies: 5
    Last Post: 05-08-2007, 12:43 PM
  5. Is it started or not
    By kwelipatton in forum Installation
    Replies: 10
    Last Post: 03-28-2006, 10:11 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
  •