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
  #11 (permalink)  
Old 08-19-2006, 09:35 AM
OpenSource Builder & Moderator
 
Posts: 1,166
Default aha!

debian 4.0_rc1 install, the stats graphs hadn't updated since mid july. looking at /opt/zimbra, it turns out there are two areas for rrd and associated graphs, /opt/zimbra/logger/db/work and /opt/zimbra/zimbramon/rrdtool/work. the zimbramon area hadn't been updated since aug 11 and running zmgengraphs didn't update it, although the zimbra_core package referred to two gif files in there so can't have been completely redundant. running zmgengraphs does however update /opt/zimbra/logger/db/work rrd and gif files although these were clearly not the graphs being displayed through the admin interface. moving the zimbramon dir out of the way and symlinking the logger directory however seems to have done the trick and now i get up to date graphs in the admin interface.

looking at another rhel4 installation i updated a few days ago it looks like a similar thing has happened - the zimbramon/rrdtool/work hasn't been updated since the 4.0_rc1 update was applied a few days ago, and it looks like the graphs also haven't updated since this update, and the admin interface is showing the graphs from the old directory.

bug 10093 filed
Reply With Quote
  #12 (permalink)  
Old 08-19-2006, 09:36 AM
OpenSource Builder & Moderator
 
Posts: 1,166
Default

sorry, forgot to clarify the hack:

mv /opt/zimbra/zimbramon/rrdtool/work /opt/zimbra/zimbramon/rrdtool/work.disabled
ln -s /opt/zimbra/logger/db/work /opt/zimbra/zimbramon/rrdtool
Reply With Quote
  #13 (permalink)  
Old 08-19-2006, 09:44 AM
OpenSource Builder & Moderator
 
Posts: 1,166
Default

hmm, unfortunately the lovely new mail quota page has stopped working: bug 10095, and the x-axis scaling is still wrong on debian: bug 10094.
Reply With Quote
  #14 (permalink)  
Old 08-19-2006, 11:59 AM
Active Member
 
Posts: 26
Default

I've just upgraded to 4.0 RC1. We'll see if that makes a difference. But I'm not holding my breath.
Reply With Quote
  #15 (permalink)  
Old 08-23-2006, 08:33 PM
Active Member
 
Posts: 26
Default

Nope, still no stats.
Reply With Quote
  #16 (permalink)  
Old 08-24-2006, 02:01 AM
OpenSource Builder & Moderator
 
Posts: 1,166
Default

which bit of the stats aren't working? the daily report? the admin interface graphs? is there data going into the logger? rrd files being udpated?
Reply With Quote
  #17 (permalink)  
Old 08-25-2006, 04:28 AM
Special Member
 
Posts: 124
Default

Quote:
Originally Posted by layer3guru
Has anyone had any luck with this at all. Scott I would like to know exactly what you are doing because I zmcontrol stop and start and killl the tail and I still get blank reports.
You are fully stopping, killing the tail processes and then restarting right?

I am running 3.1.4 so, keep that in mind.

I haven't done or replaced anything wacky but I have stopped these two processes in zimbra cron:

su zimbra
crontab -e

insert # in front of:

/opt/zimbra/libexec/zmlogprocess > /tmp/logprocess.out 2>&1
and
/opt/zimbra/libexec/zmgengraphs >> /tmp/gengraphs.out 2>&1

then, zmcontrol stop
wait a minute after everything says it's stopped.
Then ps -ef | grep tail
kill whatever it finds. ( will be owned by zimbra )
Then zmcontrol start
wait another minute or so, then do the below manually in the order below:

/opt/zimbra/libexec/zmlogprocess > /tmp/logprocess.out 2>&1
/opt/zimbra/libexec/zmgengraphs >> /tmp/gengraphs.out 2>&1

wait 10 minutes and then run again in order shown.
Then logout from web admin screen ( if logged in ) and then login again.

Did the graphs update?

If not,

more /tmp/logprocess.out
and
more /tmp/gengraphs.out

Any noticable errors?

Scotty
Reply With Quote
  #18 (permalink)  
Old 08-26-2006, 06:27 PM
Active Member
 
Posts: 26
Default

Scotty, tried it out, the graphs didn't update and there are no errors /tmp/...out.

dijich2, I get the daily report emails but the graphs haven't updated since the first 48 hours. The log files are being written to frequently. The rrd files (all of them) haven't been updated since August 5th. What are they?

Regards,
Doug
Reply With Quote
  #19 (permalink)  
Old 08-29-2006, 05:23 PM
Special Member
 
Posts: 124
Default

Can you attach a screenshot of:

su zimbra
crontab -l > zimbracrontab
more zimbracrontab

Any other changes/alterations made?
Anything unusual in /opt/zimbra/log/zimbra.log or var/log/messages ?

<shrug> I am not appeartly having the same issue as you so, not really sure what to have you look at next.

In my crontab I made two following two mods:
At 1245 I run /opt/zimbra/libexec/zmlogprocess > /tmp/logprocess.out 2>&1

and at 0200 I run /opt/zimbra/libexec/zmgengraphs >> /tmp/gengraphs.out 2>&1

That's it for me really. Nothing else is altered in the zimbrauser crontab other than those two items.

Every morning at 0600 or so, I:
su zimbra
zmcontrol stop
kill all of the tail stuff if still running/hung then
zmcontrol start

done
Reply With Quote
  #20 (permalink)  
Old 09-02-2006, 08:13 PM
Active Member
 
Posts: 26
Default

I'm sorry, I'm going on two month trip (navy) and I'll have to get back to this in November. Thanks everyone for all the help so far.

Regards,
Doug
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.