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 02-26-2009, 04:37 AM
Moderator
 
Posts: 7,928
Default

Make sure all the ZCS cron entries are still in place
Code:
su - zimbra
zmcontrol -v
crontab -l
__________________
Reply With Quote
  #12 (permalink)  
Old 02-26-2009, 06:06 AM
Junior Member
 
Posts: 8
Default

Release 5.0.9_GA_2533.RHEL5_64_20080815094512 CentOS5_64 FOSS edition

[zimbra@fyodor root]$ crontab -l
# ZIMBRASTART -- DO NOT EDIT ANYTHING BETWEEN THIS LINE AND ZIMBRAEND
#
# Log pruning
#
30 2 * * * find /opt/zimbra/log/ -type f -name \*.log\* -mtime +8 -exec rm {} \; > /dev/null 2>&1
#
# Status logging
#
*/2 * * * * /opt/zimbra/libexec/zmstatuslog
*/10 * * * * /opt/zimbra/libexec/zmdisklog
#
# Backups
#
# BACKUP BEGIN
# BACKUP END
#
# crontab.ldap
#
#
#
# crontab.store
#
# Log pruning
#
30 2 * * * find /opt/zimbra/mailboxd/logs/ -type f -name \*log\* -mtime +8 -exec rm {} \; > /dev/null 2>&1
#
# Table maintenance
#
30 1 * * 7 /opt/zimbra/libexec/zmmaintaintables >> /dev/null 2>&1
#
# Report on any database inconsistencies
#
0 23 * * 7 /opt/zimbra/libexec/zmdbintegrityreport -m
#
# Monitor for multiple mysqld to prevent corruption
#
*/5 * * * * /opt/zimbra/libexec/zmcheckduplicatemysqld -e > /dev/null 2>&1

#
# crontab.logger
#
# process logs
#
00,10,20,30,40,50 * * * * /opt/zimbra/libexec/zmlogprocess > /tmp/logprocess.out 2>&1
#
# Graph generation
#
10 * * * * /opt/zimbra/libexec/zmgengraphs >> /tmp/gengraphs.out 2>&1
#
# Daily reports
#
10 1 * * * /opt/zimbra/libexec/zmdailyreport -m
#
# crontab.mta
#
#
# Queue logging
#
0,10,20,30,40,50 * * * * /opt/zimbra/libexec/zmqueuelog
#
# Spam training
#
0 23 * * * /opt/zimbra/bin/zmtrainsa >> /opt/zimbra/log/spamtrain.log 2>&1
#
# Spam training cleanup
#
45 23 * * * /opt/zimbra/bin/zmtrainsa --cleanup >> /opt/zimbra/log/spamtrain.log 2>&1
#
# Dspam cleanup
#
#0 1 * * * find /opt/zimbra/dspam/var/dspam/data/z/i/zimbra/zimbra.sig/ -type f -name \*sig -mtime +7 -exec rm {} \; > /dev/null 2>&1
#8 4 * * * /opt/zimbra/dspam/bin/dspam_logrotate -a 60 /opt/zimbra/dspam/var/dspam/system.log
#8 8 * * * /opt/zimbra/dspam/bin/dspam_logrotate -a 60 /opt/zimbra/dspam/var/dspam/data/z/i/zimbra/zimbra.log
#
# Spam Bayes auto-expiry
#
20 23 * * * /opt/zimbra/libexec/sa-learn -p /opt/zimbra/conf/salocal.cf --dbpath /opt/zimbra/data/amavisd/.spamassassin --siteconfigpath /opt/zimbra/conf/spamassassin --force-expire --sync > /dev/null 2>&1
#
# Clean up amavisd/tmp
#
15 5,20 * * * find /opt/zimbra/data/amavisd/tmp -maxdepth 1 -type d -name 'amavis-*' -mtime +1 -exec rm -rf {} \; > /dev/null 2>&1
#
# Clean up the quarantine dir
#
0 1 * * * find /opt/zimbra/data/amavisd/quarantine -type f -mtime +7 -exec rm -f {} \; > /dev/null 2>&1

# ZIMBRAEND -- DO NOT EDIT ANYTHING BETWEEN THIS LINE AND ZIMBRASTART
[zimbra@fyodor root]$



these are the results i got back... looks like the cron entry for daily reports is in there....
Reply With Quote
  #13 (permalink)  
Old 02-26-2009, 06:08 AM
Moderator
 
Posts: 7,928
Default

Try restarting the cron daemon.
__________________
Reply With Quote
  #14 (permalink)  
Old 02-26-2009, 06:20 AM
Junior Member
 
Posts: 8
Default

[ how would i do this!? ]

and would it affect any of the mail services!?
Reply With Quote
  #15 (permalink)  
Old 02-26-2009, 06:22 AM
Moderator
 
Posts: 7,928
Default

Code:
service crond restart
It will only restart that daemon so your MTA services should not be affected.
__________________
Reply With Quote
  #16 (permalink)  
Old 02-26-2009, 06:29 AM
Junior Member
 
Posts: 8
Default

[zimbra@fyodor root]$ service crond restart
rm: cannot remove `/var/run/crond.pid': Permission denied [FAILED]

Starting crond: cannot start crond: crond is already runnin[FAILED]
[zimbra@fyodor root]$

i logged in the user Zimbra and got the above error...
Reply With Quote
  #17 (permalink)  
Old 02-26-2009, 06:30 AM
Moderator
 
Posts: 7,928
Default

You need to do it as root.
__________________
Reply With Quote
  #18 (permalink)  
Old 02-26-2009, 06:41 AM
Junior Member
 
Posts: 8
Default

d'oh!

service restarted with no issues. Thank you for bearing with me! =)
Reply With Quote
  #19 (permalink)  
Old 02-27-2009, 02:11 AM
Junior Member
 
Posts: 8
Default

so far have checked the Cron entries and restarted the cron daemon. Still receiving no daily mail reports

any other suggestions?
Reply With Quote
  #20 (permalink)  
Old 02-27-2009, 02:22 AM
Moderator
 
Posts: 7,928
Default

Have you checked /var/log/zimbra.log to see if it was actually sent but got rejected for some reason ?
__________________
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.