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 05-13-2009, 04:29 PM
Loyal Member
 
Posts: 91
Default How to Reset and Reinitialize Logger DB?

We had some issues with the logger db, on 5.0.11, it was killing the box. We disabled it and it fixed the problems. We just upgraded to 5.0.16 and were wondering how we can reset and reinitialize the Logger DB before we turn on the service again?

Thanks,
Leo
Reply With Quote
  #2 (permalink)  
Old 05-13-2009, 05:19 PM
raj raj is offline
Moderator
 
Posts: 599
Default

do exactly as below and it will delete everything for logger and create everything new for logger db

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

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