View Single Post
  #10 (permalink)  
Old 07-06-2010, 08:00 AM
cvidal cvidal is offline
Project Contributor
 
Posts: 136
Default

This looks like a bug in zmstorectl. At the beginning of the script it defines:
Code:
MYSQL="${zimbra_home}/bin/mysql -u zimbra -P ${zimbra_mysql_password}"
This is wrong, '-P' is used to indicate the port, not the password. Also, the script ${zimbra_home}/bin/mysql already sets the correct user, password and socket.

The problem with this is that "flushDirtyPages()" fails when MySQL is stopped.

The solution is to define MYSQL as:
Code:
MYSQL="${zimbra_home}/bin/mysql"
I have just posted this as bug 48702.

This happens only on the Open Source edition, NE is OK (at least the OS for RHEL5).

Last edited by cvidal; 07-06-2010 at 08:27 AM..
Reply With Quote