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 Display Modes
  #1 (permalink)  
Old 10-28-2009, 01:23 PM
New Member
 
Posts: 4
Default [SOLVED] Daily Reports stopped with 6.0.2 upgrade

Since upgrading to 6.0.2 I stopped getting the daily report emails. I can manually run zmdailyreport -m and it works. So I checked the zimbra crontab and found that the Daily reports section was missing. Is it safe to just add the following block to my crontab or is there a better way of getting the daily report working again?

Code:
# Daily reports
#
10 1 * * * /opt/zimbra/libexec/zmdailyreport -m
#
Reply With Quote
  #2 (permalink)  
Old 10-28-2009, 02:25 PM
Zimbra Employee
 
Posts: 54
Default

It should have been uncommented and set to run at 23:30, rather than 1:10
Reply With Quote
  #3 (permalink)  
Old 10-28-2009, 02:49 PM
New Member
 
Posts: 4
Default

Thanks I've added it to my crontab to run daily at 11:30pm.
Reply With Quote
  #4 (permalink)  
Old 11-13-2009, 10:58 AM
Advanced Member
 
Posts: 244
Default

Ours is set to run at 11:30 but it doesn't appear to run until about 1 in the morning and when it does run it only shows the following.

Code:
zmdailyreport from 2009-11-12 00:00:00 to 2009-11-13 00:00:00

2 messages found for 2 total recipients (1 unique)
	           4234    total bytes
	           2117.00 average bytes/msg
	              1.00 average recipients/msg
	             17.00 average delay/msg (sec)
Any ideas on where to start looking?

dj
Reply With Quote
  #5 (permalink)  
Old 11-13-2009, 11:45 AM
Zimbra Employee
 
Posts: 54
Default

This does not appear to be a report from 6.0 but rather 5.0, can you verify your version of zcs and the help options you get when running /opt/zimbra/libexec/zmdailyreport -h

Quote:
Originally Posted by dljordaneku View Post
Ours is set to run at 11:30 but it doesn't appear to run until about 1 in the morning and when it does run it only shows the following.

Code:
zmdailyreport from 2009-11-12 00:00:00 to 2009-11-13 00:00:00

2 messages found for 2 total recipients (1 unique)
	           4234    total bytes
	           2117.00 average bytes/msg
	              1.00 average recipients/msg
	             17.00 average delay/msg (sec)
Any ideas on where to start looking?

dj
Reply With Quote
  #6 (permalink)  
Old 11-13-2009, 11:52 AM
Advanced Member
 
Posts: 244
Default

Quote:
Originally Posted by pfnguyen View Post
This does not appear to be a report from 6.0 but rather 5.0, can you verify your version of zcs and the help options you get when running /opt/zimbra/libexec/zmdailyreport -h
zmcontrol -v gives me Release 6.0.2_GA_1912.UBUNTU8 UBUNTU8 NETWORK edition.

And the zmdailyreport -h gives me

Usage:
Usage: zmdailyreport [options]

Options:
--mail Send report via email, default is stdout
--help This help message


dj
Reply With Quote
  #7 (permalink)  
Old 11-13-2009, 12:28 PM
Zimbra Employee
 
Posts: 54
Default

That all looks correct, what happens if you run /opt/zimbra/libexec/zmdailyreport right now? It should produce a report valid up until now, for today.

Can you determine why your cronjob is running at 1am instead of 11:30pm?
Reply With Quote
  #8 (permalink)  
Old 11-13-2009, 12:44 PM
Advanced Member
 
Posts: 244
Default

Quote:
Originally Posted by pfnguyen View Post
That all looks correct, what happens if you run /opt/zimbra/libexec/zmdailyreport right now? It should produce a report valid up until now, for today.

Can you determine why your cronjob is running at 1am instead of 11:30pm?
ROFL

Ok. I don't know if I want to admit what's going on or not Anyway, where do I set the email address for the daily report to go to? What is going on is we just migrated over to a new server and the old server was still running. So we were getting the reports from the old server and not the new one. The daily reports from the new server are just going to the new admin account and not to the list we set up

dj
Reply With Quote
  #9 (permalink)  
Old 11-13-2009, 01:09 PM
Moderator
 
Posts: 778
Default

Code:
zmlocalconfg -e smtp_destination=listaddress@domain.com
That should change the address the report gets delivered to.
Reply With Quote
  #10 (permalink)  
Old 11-16-2009, 08:03 AM
Advanced Member
 
Posts: 244
Default

Quote:
Originally Posted by ArcaneMagus View Post
Code:
zmlocalconfg -e smtp_destination=listaddress@domain.com
That should change the address the report gets delivered to.
Thanks.

dj
Reply With Quote
Reply


Thread Tools
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.

Zimbrablog.com




 

Search Engine Optimization by vBSEO 3.1.0