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 04-02-2009, 07:54 AM
Senior Member
 
Posts: 73
Default [SOLVED] Something Has Broken MySQL

The past few days I stopped getting my daily email reports.

I have read through the many posts and tried a few suggestions with no success.

I deleted the directory as recommended in another post:

Code:
rm -rf /opt/zimbra/logger/db/*
Now, if I run:
Code:
[zimbra: ./db] # logmysql.server start
[zimbra: ./db] # Starting mysqld daemon with databases from /opt/zimbra/logger/db/data
STOPPING server from pid file /opt/zimbra/logger/db/mysql.pid
090402 09:45:53  mysqld ended
Or, I have also tried:
Code:
[zimbra: ./data] # zmloggerctl start 
[zimbra: ./data] # Starting mysqld daemon with databases from /opt/zimbra/logger/db/data
STOPPING server from pid file /opt/zimbra/logger/db/mysql.pid
090402 09:44:37  mysqld ended
...and:
Code:
[zimbra: ./db] # logmysqladmin status
/opt/zimbra/logger/mysql/bin/mysqladmin: connect to server at 'localhost' failed
error: 'Can't connect to local MySQL server through socket '/opt/zimbra/logger/db/mysql.sock' (2)'
Check that mysqld is running and that the socket: '/opt/zimbra/logger/db/mysql.sock' exists!

I am obviously missing something. Any suggestions?

Thanks.

Last edited by msf004; 04-02-2009 at 08:32 AM..
Reply With Quote
  #2 (permalink)  
Old 04-02-2009, 09:06 AM
Senior Member
 
Posts: 73
Default Found It

Sorry for the post. After enough digging around I learned of the zmloggerinit command that is located in the libexec directory.

Running /opt/zimbra/libexec/zmloggerinit seems to have rebuilt the tables that I deleted from my rm -rf /opt/zimbra/logger/db/* command.

Thanks
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.