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 Search this Thread Display Modes
  #11 (permalink)  
Old 04-29-2010, 05:36 AM
Active Member
 
Posts: 35
Default

I dont get anything


[zimbra@stolwijk root]$ /opt/zimbra/libexec/zmstat-df
/opt/zimbra/zmstat/df.csv was stale (2010-04-18) pre-rotating
sh: /opt/zimbra/zmstat//2010-04-18/df.csv.gz: Permission denied
Unable to move /opt/zimbra/zmstat/df.csv to /opt/zimbra/zmstat//2010-04-18/df.csv.gz at /opt/zimbra/zimbramon/lib/Zimbra/Mon/Zmstat.pm line 256.
[zimbra@stolwijk root]$
Reply With Quote
  #12 (permalink)  
Old 04-29-2010, 05:48 AM
Moderator
 
Posts: 7,929
Default

Code:
su - zimbra
zmstatctl stop
exit
cd /opt/zimbra/zmstat
chown -R zimbra:zimbra *
su - zimbra
zmstatctl start
zmstatctl status
__________________
Reply With Quote
  #13 (permalink)  
Old 05-08-2010, 12:51 PM
Trained Alumni
 
Posts: 15
Default

Hello,

This is a BUG affecting 6.0.5 and 6.0.6, please see:
Bug 45010 – Stats service failing due to folder permissions getting set wrong

It's fixed and scheduled to be included in 6.0.7:
Zimbra Product Portal
- search for bug #45010


Please, see the bug description, there's a workaround (patch) so that you don't need to "chown" the files everyday.

Regards, Celso.
Reply With Quote
  #14 (permalink)  
Old 06-05-2011, 07:35 PM
Elite Member
 
Posts: 377
Default

Hi uxbod,

When I execute /opt/zimbra/libexec/zmstat-df, I got this:

Illegal modulus zero at /opt/zimbra/zimbramon/lib/Zimbra/Mon/Zmstat.pm line 134

Line 134 of Zmstat.pm is this:

my $howlong = $t / $interval;

Also, whenever I execute zmstatctl start, zmstat-fd-real.pid will be owned by root:root under /opt/zimbra/zmstat/pid



Stats stop reason?
Reply With Quote
  #15 (permalink)  
Old 06-06-2011, 10:41 PM
Zimbra Employee
 
Posts: 2
Default Illegal modulus zero at /opt/zimbra/zimbramon/lib/Zimbra/Mon/Zmstat.pm line 134

This is bug #45900 fixed in 6.0.7. Prior to 6.0.7, if the interval is a zero or multiple 3600, the issue occurs.
Reply With Quote
  #16 (permalink)  
Old 06-07-2011, 03:16 AM
Elite Member
 
Posts: 377
Default

Thanks Ayee! I set the disk interval from 22160 to 22155 and Stats is able to run again. Will schedule a date to update our Zimbra to 6.0.13.
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.