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-06-2009, 02:09 AM
Intermediate Member
 
Posts: 22
Default emtpy statistics charts in the administrative console

Hi everybody,

my server statistics charts have been empty since the day i moved the /var/log folder for space issues and linked /var/log to the real folder.

I checked for permissions and so on and everything is fine. In fact zimbra correctly logs everything. It's just the graphing script that doesn't work.

Any suggestion on how to fix or debug this?

Thanks in advance for any help


Albe
Reply With Quote
  #2 (permalink)  
Old 03-06-2009, 04:19 AM
Moderator
 
Posts: 7,928
Default

Do you get any error messages if you run
Code:
su - zimbra
/opt/zimbra/libexec/zmgengraphs
Once that is run do you see any graphs ?

Would you also update your profile with the following output so we know which version of ZCS you are running
Code:
su - zimbra
zmcontrol -v
__________________
Reply With Quote
  #3 (permalink)  
Old 03-06-2009, 07:17 AM
Intermediate Member
 
Posts: 22
Default

thanks for the quick reply, i've updated my profile.

i forgot to mention in the previous post that i did try the graph generation command with no success... and no error messages.
Reply With Quote
  #4 (permalink)  
Old 03-06-2009, 07:19 AM
Moderator
 
Posts: 7,928
Default

Quote:
Originally Posted by k3rmit View Post
In fact zimbra correctly logs everything. It's just the graphing script that doesn't work.
Do you mean to the flat files or to the MySQL database ?
__________________
Reply With Quote
  #5 (permalink)  
Old 03-06-2009, 07:25 AM
Intermediate Member
 
Posts: 22
Default

i'm talking about the flat files. the logger service is up and running: how do i check if it is logging correctly?
Reply With Quote
  #6 (permalink)  
Old 03-06-2009, 07:33 AM
Moderator
 
Posts: 7,928
Default

Code:
su - zimbra
logmysql
use zimbra_logger;
select * from mta_aggregate
where date_format(period_start,"%Y%m%d") = date_format(now(),"%Y%m%d");
__________________
Reply With Quote
  #7 (permalink)  
Old 03-06-2009, 07:54 AM
Intermediate Member
 
Posts: 22
Default

damn...

last entry is very old, exactly the date were my graphs stop.

How am i supposed to fix this now?

Thanks a lot again...
Reply With Quote
  #8 (permalink)  
Old 03-06-2009, 07:57 AM
Moderator
 
Posts: 7,928
Default

Check in /opt/zimbra/log/mysql_error.log for any error messages and you can also run a
Code:
check table mta_aggregate
Perform that for each of the tables found using
Code:
show tables
and if any have errors then just run
Code:
repair table {table name}
__________________
Reply With Quote
  #9 (permalink)  
Old 03-08-2009, 05:10 AM
Intermediate Member
 
Posts: 22
Default

sorry but it took a while... there were errors in the mta table.

nonetheless it still isn't logging.. i've restarted the logger service to no avail..

any further suggestion?


thanks..
Reply With Quote
  #10 (permalink)  
Old 03-08-2009, 05:32 AM
Zimbra Consultant & Moderator
 
Posts: 20,312
Default

It takes a while for the changes and graphs to appear, has it been 24hrs since you fixed the tables?
__________________
Regards


Bill
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.