Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
Go Back   Zimbra :: Forums > Zimbra Collaboration Suite > Administrators

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 Search this Thread Display Modes
  #1 (permalink)  
Old 03-19-2009, 01:01 PM
tgx tgx is offline
Elite Member
 
Posts: 291
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?
Reply With Quote
  #2 (permalink)  
Old 03-20-2009, 05:06 AM
Moderator
 
Posts: 7,911
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 05:08 AM..
Reply With Quote
  #3 (permalink)  
Old 03-20-2009, 09:57 AM
tgx tgx is offline
Elite Member
 
Posts: 291
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.
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
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.

blog.zimbra.com




 

SEO by vBSEO ©2011, Crawlability, Inc.