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

Thread: [SOLVED] zmmtaconfigctl not running after upgrade to 5.0.13

  1. #1
    bobnvic is offline Intermediate Member
    Join Date
    Jan 2006
    Posts
    22
    Rep Power
    9

    Default [SOLVED] zmmtaconfigctl not running after upgrade to 5.0.13

    After upgrading from 5.0.11 to 5.0.13 on Ubuntu 8.04 zmmtaconfigctl will not start which results in many of the services, including the mailbox and mta, not running.

    Code:
    zimbra@ml:~$ zmcontrol start
    Host ml.example.com
            Starting ldap...Done.
            Starting logger...Done.
            Starting mailbox...FAILED
    Starting zmmtaconfig...failed.
    Starting mysqld...done.
    Starting mailboxd...done.
    
    
            Starting antispam...Done.
            Starting antivirus...Done.
            Starting snmp...Done.
            Starting spell...Done.
            Starting mta...FAILED
    Starting zmmtaconfig...failed.
    zmmtaconfigctl failed to start
    Starting saslauthd...done.
    
    
            Starting stats...Done.
    The log for zmmtaconfigctl is:
    Code:
    Fri Feb 13 02:09:19 2009  zmmtaconfig already running at 
    Fri Feb 13 02:11:31 2009  zmmtaconfig already running at 
    Fri Feb 13 02:12:15 2009  zmmtaconfig already running at 
    Fri Feb 13 02:13:03 2009  zmmtaconfig already running at 
    Fri Feb 13 02:39:36 2009  zmmtaconfig already running at 
    Fri Feb 13 02:41:25 2009  zmmtaconfig already running at 
    Fri Feb 13 02:42:02 2009  zmmtaconfig already running at
    There isn't any instance of it actually starting though.

    There is also an error shown in zimbra.log for sshd:

    Code:
    Feb 13 00:53:38 ml sshd[5430]: Received SIGHUP; restarting.
    Feb 13 00:53:38 ml sshd[27519]: Server listening on :: port 22.
    Feb 13 00:53:38 ml sshd[27519]: error: Bind to port 22 on 0.0.0.0 failed: Address already in use.
    Feb 13 00:54:04 ml slapd[6815]: conn=129 fd=21 ACCEPT from IP=192.168.1.104:38780 (IP=192.168.1.104:389)
    sshd is running and using port 22.

    Any help is appreciated!

    Thanks
    Bob

  2. #2
    phoenix is offline Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,585
    Rep Power
    57

    Default

    Shutdown Zimbra then check to see if there's any other zimbra processes running. If there are any processes then kill them and restart Zimbra, post again with the errors you get from that.
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  3. #3
    bobnvic is offline Intermediate Member
    Join Date
    Jan 2006
    Posts
    22
    Rep Power
    9

    Default

    I had already done this multiple times, even rebooting the computer, but get the same errors. I stopped zimbra, did ps aux |grep zimbra and ps aux |grep logger then tried starting zimbra and got the errors posted previously.

  4. #4
    uxbod's Avatar
    uxbod is offline Moderator
    Join Date
    Nov 2006
    Location
    UK
    Posts
    8,017
    Rep Power
    24

    Default

    Please use the init script to shutdown ZCS
    Code:
    /etc/init.d/zimbra stop
    Then ensure all processes have indeed died using
    Code:
    ps aux | grep zimbra
    and if so try starting ZCS again. Also check /var/log/zimbra.log for any error messages from Postfix.

  5. #5
    bobnvic is offline Intermediate Member
    Join Date
    Jan 2006
    Posts
    22
    Rep Power
    9

    Default

    I had already tried shutting down using the init script as well since I had found that in the forums as a procedure. I still had the same result. I couldn't find any errors from Postfix in zimbra.log.

    Here's what's odd. Even though zmcontrol status still shows that antispam, antivirus, mailbox and mta are all stopped with zmmtaconfigctl not running, everything appears to be working when I use the web interface and postfix is running according to ps aux |grep postfix. I'm receiving emails and can send emails and emails are even getting sent to the Junk folder as appropriate. I wouldn't know that there was anything wrong if it wasn't for the status output.

    Any idea why it would act this way?

  6. #6
    bobnvic is offline Intermediate Member
    Join Date
    Jan 2006
    Posts
    22
    Rep Power
    9

    Default

    I shut down zimbra using /etc/init.d/zimbra then checked for any stray processes but could not find any. I then ran zmcontrol start. I got the same start messages I got before. Here is the zimbra.log from the startup with most slapd messages removed:

    Code:
    Feb 13 21:02:27 mythliving zimbramon[17550]: 17550:info: Starting services initiated by zmcontrol 
    Feb 13 21:02:28 mythliving slapd[17613]: @(#) $OpenLDAP: slapd 2.3.43 (Dec  3 2008 10:56:57) $ ^Iroot@build25.lab.zimbra.com:/home/build/p4/FRANKLIN/ThirdParty/openldap/openldap-2.3.43.7z/servers/slapd 
    Feb 13 21:02:30 mythliving slapd[17614]: slapd starting 
    slapd info removed
    Feb 13 21:02:40 mythliving zimbramon[17550]: 17550:info: Rewriting configs  antispam amavis antivirus amavis   webxml mailbox amavis antispam antivirus mta sasl    
    slapd info removed
    Feb 13 21:03:07 mythliving zimbramon[17550]: 17550:info: Starting logger via zmcontrol 
    Feb 13 21:03:09 mythliving zimbramon[17550]: 17550:info: Starting mailbox via zmcontrol 
    Feb 13 21:03:11 mythliving zimbramon[18119]: 18119:info: zmmtaconfig: zmmtaconfig already running at  
    many more lines
    Note that the very first time zmmtaconfig is mentioned it states that it is already running (it wasn't) and it truncates the pid (because of course there isn't one). What makes it think it is already running?

    Bob

  7. #7
    bobnvic is offline Intermediate Member
    Join Date
    Jan 2006
    Posts
    22
    Rep Power
    9

    Default

    The problem was that the file /opt/zimbra/log/zmmtaconfig.pid was never deleted when zimbra was shut down (though it was a 0 byte file), so zmmtaconfigctl thought it was running. After removing the file, zmmtaconfig started and all was well.

  8. #8
    pslayer is offline Starter Member
    Join Date
    Dec 2008
    Posts
    2
    Rep Power
    6

    Default

    Thank You! I was having the same problem and spent a couple of hours dealing with it..... You are awesome

  9. #9
    jterhune is offline Active Member
    Join Date
    Feb 2008
    Posts
    30
    Rep Power
    7

    Default

    You've saved me a ton of grief. Thanks!

  10. #10
    dkbk is offline Senior Member
    Join Date
    Jul 2009
    Posts
    69
    Rep Power
    6

    Default

    Thank you.

    Is this a known bug or is this related to unclean reboots or somesuch ? If this is a bug, has this been submitted to bug tracking ?

Page 1 of 2 12 LastLast

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. zmmailboxdctl is stopped frequently..
    By tamilnandhu in forum Installation
    Replies: 13
    Last Post: 04-12-2008, 08:59 AM
  2. Can't seem to get global in BES
    By sdemeyer in forum Zimbra Connector for BlackBerry
    Replies: 12
    Last Post: 03-19-2008, 08:22 AM
  3. Replies: 4
    Last Post: 11-14-2007, 02:19 PM
  4. Post instsallation problems
    By Assaf in forum Installation
    Replies: 14
    Last Post: 01-29-2007, 11:38 AM
  5. Trouble sending mail from Outlook
    By czaveri in forum Users
    Replies: 15
    Last Post: 07-24-2006, 11: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
  •