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 Display Modes
  #1 (permalink)  
Old 11-17-2005, 03:00 PM
Junior Member
 
Posts: 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
File Type: txt zmsetup3.txt (12.7 KB, 394 views)
Reply With Quote
  #2 (permalink)  
Old 11-17-2005, 03:11 PM
Zimbra Employee
 
Posts: 4,784
Default

maybe "zmcontrol stop" then grep to make sure no zimbra processes are running and run "zmcontrol start"
Reply With Quote
  #3 (permalink)  
Old 11-17-2005, 03:17 PM
Junior Member
 
Posts: 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
Reply With Quote
  #4 (permalink)  
Old 11-17-2005, 03:25 PM
Junior Member
 
Posts: 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
Reply With Quote
  #5 (permalink)  
Old 11-17-2005, 04:25 PM
Zimbra Employee
 
Posts: 2,073
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?
Reply With Quote
  #6 (permalink)  
Old 11-17-2005, 05:28 PM
Junior Member
 
Posts: 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
File Type: txt zimbralog.txt (38.6 KB, 306 views)
Reply With Quote
  #7 (permalink)  
Old 11-17-2005, 05:32 PM
Zimbra Employee
 
Posts: 2,073
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.
Reply With Quote
  #8 (permalink)  
Old 11-24-2005, 03:28 PM
Intermediate Member
 
Posts: 18
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?
Reply With Quote
  #9 (permalink)  
Old 11-25-2005, 02:38 AM
Zimbra Employee
 
Posts: 2,073
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.
Reply With Quote
  #10 (permalink)  
Old 11-25-2005, 10:01 AM
Intermediate Member
 
Posts: 18
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?
Reply With Quote
Reply


Thread Tools
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.

Zimbrablog.com




 

Search Engine Optimization by vBSEO 3.1.0