| Subcribe via RSS

Cleaning Zimbra Log and Re-Init It

November 13th, 2008 Posted in Uncategorized

In my Zimbra server, the directory /opt/zimbra/logger/db/data is growing to much.
The log files are huge. Some of the log files are more than 1 GB.
I want to clean it without breaking the system. After googling some sites, I found some documents about it.
Here are the steps that I took to clean it.
===
Log in as Zimbra and stop the Mysql logger:
su - zimbra
logmysql.server stop
Log out from zimbra account, delete the log files, re-init the logger and fix the permissions:
logout
rm -rf /opt/zimbra/logger/db/data/*
cd /opt/zimbra/libexec
./zmloggerinit
./zmfixperms
Log in as zimbra, start the logger and check the services status
su - zimbra
zmlogswatchctl start
zmcontrol status

After performing these steps, the log are slim.

Share this article:
  • Print this article!
  • Digg
  • del.icio.us
  • Facebook
  • Google Bookmarks
  • E-mail this story to a friend!
  • LinkedIn
  • Live
  • MySpace
  • RSS
  • Technorati
  • StumbleUpon
  • Twitter
  • Yahoo! Bookmarks

Related posts:

  1. Zimbra antivirus not started
  2. Redirect HTTP to HTTPS in Zimbra
  3. Frequently Used Zimbra CLI

Leave a Reply




  • ShoutMix chat widget