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 11-15-2009, 02:25 PM
Active Member
 
Posts: 32
Default Daily reports stopped working

>zmcontrol -v
Release 5.0.18_GA_3011.RHEL5_20090707164432 RHEL5 FOSS edition

A few days back the daily reports stopped working. I haven't updated any components. No major/minor changes in the server either.

Executing this
>/opt/zimbra/libexec/zmdailyreport -m

i get the result as

DBD::mysql::st execute failed: Table './zimbra_logger/mta' is marked as crashed and last (automatic?) repair failed at /opt/zimbra/libexec/zmdailyreport line 506, <CONF> line 340.

The Server Status on the console shows the data is stale besides the current date & time.

Can you please guide me to the right direction, as to, how should i make the daily reports work again.

Thanks
Reply With Quote
  #2 (permalink)  
Old 11-15-2009, 07:11 PM
raj raj is offline
Moderator
 
Posts: 768
Default

your logger database has crashed or crroupted
you can delete it and create again
Please Backup first in full, you can follow any of the methods listed in the wiki
Open Source Edition Backup Procedure - Zimbra :: Wiki
double check that your backup is good


Now you can delete and recreate the Logger
Quote:
su - zimbra
logmysql.server stop
logout
rm -rf /opt/zimbra/logger/db/data/*
chown zimbra:zimbra /opt/zimbra/db/data
chmod 775 /opt/zimbra/db/data
cd /opt/zimbra/libexec
./zmloggerinit
./zmfixperms --verbose --extended
su - zimbra
zmlogswatchctl start
logout
Raj
__________________
i2k2 Networks
Dedicated & Shared Zimbra Hosting Provider
Reply With Quote
  #3 (permalink)  
Old 11-16-2009, 11:36 AM
Active Member
 
Posts: 32
Default

Thank you !
i will try it soon.
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.