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 07-20-2008, 06:33 AM
Junior Member
 
Posts: 8
Default Stats Service Does Not Start Following Restart

I am using the "Simple Shell Script Method" for backing up our open source ZCS 5.0.8 installation and the stats service never starts following the restart of ZCS.

I've tried to restart the stats service via a root cron job scheduled several hours after the backup completes and this also does not work. The root restart script contains the command sudo -u zimbra /opt/zimbra/bin/zmstatctl start.

I'd like to figure out why the stats service doesn't start via the restart command in the backup script, but any automated means of restarting would save me the trouble of manually restarting the stats service every morning.
Reply With Quote
  #2 (permalink)  
Old 07-20-2008, 07:57 AM
Zimbra Consultant & Moderator
 
Posts: 19,653
Default

Using sudo to stop and start zimbra seems to be problematic for some people. Try using this command (modify it to the correct format) for your script:
Code:
 su - zimbra -c '$zimbra/bin/zmcontrol start'
from this script further down the backup page. If that still fails then what's in the log files after a failed startup?
__________________
Regards


Bill
Reply With Quote
  #3 (permalink)  
Old 07-21-2008, 05:23 AM
Junior Member
 
Posts: 8
Default

Thanks for your assistance. However, the change to the command did not resolve the problem. Is there a particular log that you would like to see? Do you want the entire log or only the portion surrounding the time period during the restart?
Reply With Quote
  #4 (permalink)  
Old 07-21-2008, 05:31 AM
Moderator
 
Posts: 7,911
Default

/var/zimbra.log and /opt/zimbra/log/zmmailboxd.log around the stop/start time of the backup please.
__________________
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.