Results 1 to 3 of 3

Thread: Scripted zmcontrol having problems

  1. #1
    tgx's Avatar
    tgx
    tgx is offline Elite Member
    Join Date
    Mar 2006
    Posts
    300
    Rep Power
    9

    Default Scripted zmcontrol having problems

    My overnight backup is causing issues with the zimbra mta.
    My script is based on those commonly found here in the forum and it involves zmcontorl stop , local rsync to another folder and then zmcontrol start. Recently a problem has developed where the zmcontrol start process is having heartburn.

    The first event in Zimbra log to indicate problems is during zmcontrol stop where the logger process is not shutting down. Assuming that isn't the culprit. when zmcontrol start begins I am seeing slapd attempting to execute a STARTTLS, it establishes and then does a BIND, and a search of LDAP. The search result tag=101 err=0 nentries=1 test=
    and then I see closed(connection lost) This happens over and over. Eventually I see

    mail postfix/postqueue: fatal: Queue report unavailable - mail system is down

    then you see more of the STARTTLS messages and eventually

    zimbramon .....zmdailyreport: Failed to email report: Connection refused at /opt/zimbra/zimbramon/lib/Mail/Mailer.pm line 150.

    (which I assume is bacause the mta is down)

    So what can I do? double start and shutdown ZImbra? Add something in my script to check mta status and execute zmmtactl start if it is stopped?

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

    Default

    Firstly I would recommend upgrading at some point. Secondly, try shutting it down and starting using the /etc/init.d/zimbra script instead to see if that makes a difference. Also make sure that all ZCS processes have indeed died prior to restarting ZCS.

    Something like the following would kill of any old processes nicely after the zmcontrol stop
    Code:
    ps -u zimbra -o pid | xargs -i kill {}
    Last edited by uxbod; 03-20-2009 at 04:08 AM.

  3. #3
    tgx's Avatar
    tgx
    tgx is offline Elite Member
    Join Date
    Mar 2006
    Posts
    300
    Rep Power
    9

    Default

    Quote Originally Posted by uxbod View Post
    Firstly I would recommend upgrading at some point. Secondly, try shutting it down and starting using the /etc/init.d/zimbra script instead to see if that makes a difference. Also make sure that all ZCS processes have indeed died prior to restarting ZCS.

    Something like the following would kill of any old processes nicely after the zmcontrol stop
    Code:
    ps -u zimbra -o pid | xargs -i kill {}
    Thanks. I will have a look at that.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 5
    Last Post: 04-05-2013, 03:27 PM
  2. SuSE 10.3 Logger Problems
    By diggitydanc in forum Administrators
    Replies: 8
    Last Post: 10-11-2011, 04:49 AM
  3. 4.5.4 -> 4.5.5 (Networkd Edition) Upgrade problems
    By spector@zeitgeist.com in forum Administrators
    Replies: 3
    Last Post: 10-18-2007, 05:06 AM
  4. Some problems
    By druid in forum Installation
    Replies: 5
    Last Post: 08-31-2007, 12:31 PM
  5. ZIMBRA!!!!! Error zmcontrol status and others
    By orison in forum Installation
    Replies: 8
    Last Post: 02-03-2007, 07:52 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
  •