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 02-13-2011, 02:01 PM
Junior Member
 
Posts: 5
Question [SOLVED] Error : You can't use locks with log tables (after upgrade to ZCS OSE 7)

Hi all!

Recently, I updated the ZCS OSE from version 6.0.10 GA Release to 7.0.0 GA Release. After the upgrade, I get error notifications MySQL:

Code:
$ /opt/zimbra/mysql/bin/mysqlcheck --defaults-file=/opt/zimbra/conf/my.cnf -S /opt/zimbra/db/mysql.sock -A -C -s -u root --password=mypass mysql.general_log
mysql.general_log
Error    : You can't use locks with log tables.
mysql.slow_log
Error    : You can't use locks with log tables.
This is a bug MySQL? Everything works fine, but annoying these messages. How can I fix this bug? Thanks for your help!
Reply With Quote
  #2 (permalink)  
Old 02-13-2011, 02:22 PM
Moderator
 
Posts: 6,237
Default

As it's on mysql.general_log and mysql.slow_log you can probably ignore it / I get the same.

Assuming libexec/zmdbintregityreport -v is otherwise fine with no 'table upgrade required / repair table' messages suggesting you would have to run libexec/scripts/mibrate20100913-Mysql51.pl

Running table checks implicitly locks the table (equivalent to executing 'LOCK TABLES') to prevent concurrency issues. The log engine is a table type (just like myisam and innodb) that was introduced in 5.1 which do not need - and thus do not support - locking. The mysql slow log and general log use said engine by default.

Long story short, the message you are seeing is harmless & will be addressed in MySQL Bugs: #30487: mysql_upgrade mislead. errors / mysqlcheck 'You can't use locks with log table.' or MySQL Bugs: #43829: mysql_upgrade and log tables
Reply With Quote
  #3 (permalink)  
Old 02-13-2011, 02:37 PM
Junior Member
 
Posts: 5
Default

Mmorse, thanks for the quick reply! We'll wait for fixing bugs in future versions...
Reply With Quote
  #5 (permalink)  
Old 10-11-2011, 01:31 AM
Loyal Member
 
Posts: 93
Default

Its been 4 years now (MySQL Bugs: #30487: mysql_upgrade mislead. errors / mysqlcheck 'You can't use locks with log table.'), why hasnt this been resolved yet? As a paying customer, I expect bugs to be resolved in a timely manner.
Reply With Quote
  #6 (permalink)  
Old 10-11-2011, 02:57 AM
Zimbra Consultant & Moderator
 
Posts: 20,316
Default

Quote:
Originally Posted by MACscr View Post
Its been 4 years now (MySQL Bugs: #30487: mysql_upgrade mislead. errors / mysqlcheck 'You can't use locks with log table.'), why hasnt this been resolved yet? As a paying customer, I expect bugs to be resolved in a timely manner.
Why don't you ask Oracle, that's a MySQL bug (you've even quoted the MySQL bug report) and not a Zimbra bug.
__________________
Regards


Bill
Reply With Quote
  #7 (permalink)  
Old 10-11-2011, 03:02 AM
Loyal Member
 
Posts: 93
Default

Quote:
Originally Posted by phoenix View Post
Why don't you ask Oracle, that's a MySQL bug (you've even quoted the MySQL bug report) and not a Zimbra bug.
You are totally right. My apologies. I have pretty much always had problems with zimbra updates, so was just frustrated after spending 4 hours this morning trying to resolve the issue and then eventually having to restore the backup. Ignore my oversight.
Reply With Quote
  #8 (permalink)  
Old 01-09-2012, 09:10 AM
Starter Member
 
Posts: 1
Default

Quote:
Originally Posted by phoenix View Post
Why don't you ask Oracle, that's a MySQL bug (you've even quoted the MySQL bug report) and not a Zimbra bug.
I understand the table warning being a MySQL problem but is there a way I can stop MySQL from sending me the root MySQL password?

Last edited by cfcpw; 01-09-2012 at 09:18 AM.. Reason: correction
Reply With Quote
  #9 (permalink)  
Old 01-24-2012, 10:19 PM
TNL TNL is offline
Starter Member
 
Posts: 1
Default

I have the same problem and glad to know that the error means nothing but really nervous when see my root MySQL passwd is on the message.
Hopefully, it will resolve soon.
Reply With Quote
  #10 (permalink)  
Old 02-05-2012, 08:22 PM
Senior Member
 
Posts: 60
Default

Quote:
Originally Posted by phoenix View Post
Why don't you ask Oracle, that's a MySQL bug (you've even quoted the MySQL bug report) and not a Zimbra bug.
I respectfully disagree here. MySQL is bundled with Zimbra, and I paid for Zimbra. I didn't install MySQL on my own, I wouldn't have it there if Zimbra didn't put it there, and I certainly didn't pay for MySQL.

VMWare should do one or more of the following:

a) find the bug in MySQL and submit a bugfix
b) find the bug in MySQL and fix it in the Zimbra distribution
c) switch to a different database
d) hide the problem by filtering script output and redirecting it to /dev/null where applicable
e) change zmdbintegrityreport to not acknowledge those errors

Mailing out the mysql password nightly for four years isn't acceptable. Heck, I'm annoyed enough now that maybe I'll write my own patch for Zimbra.

Chris
__________________
Christopher Lindsey, Technical Program Manager
National Center for Supercomputing Applications
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.