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 03-16-2009, 02:24 AM
Member
 
Posts: 11
Default Database Integrity check report

Hello,
I have recived the following email,
Database errors found.
/opt/zimbra/mysql/bin/mysqlcheck --defaults-file=/opt/zimbra/conf/my.cnf -S /opt/zimbra/db/mysql.sock -A -C -s -u root --password=XXXXXXXXXXX
mysql.db
warning : 1 client is using or hasn't closed the table properly
mysql.user
warning : 1 client is using or hasn't closed the table properly
zimbra.jiveID
warning : 1 client is using or hasn't closed the table properly
zimbra.jiveUserProp
warning : 2 clients are using or haven't closed the table properly
zimbra.jiveVersion
warning : 1 client is using or hasn't closed the table properly

Any ideias how i can fix this?

Thanks

Last edited by uxbod; 03-16-2009 at 02:26 AM.. Reason: removed password
Reply With Quote
  #2 (permalink)  
Old 03-16-2009, 02:28 AM
Moderator
 
Posts: 7,928
Default

if you connect with MySQL and those parameters you can then
Code:
show tables;
check table {for each table reported above and if any fail}
repair table {table name}
__________________
Reply With Quote
  #3 (permalink)  
Old 03-16-2009, 03:11 AM
Member
 
Posts: 11
Default

Hello,
Will try that, and post the results.

Thanks
Reply With Quote
  #4 (permalink)  
Old 03-16-2009, 03:42 AM
Member
 
Posts: 11
Default

Hello,
I have runned the following commands,

mysql> CHECK TABLE jiveUserProp EXTENDED;
+---------------------+-------+----------+----------+
| Table | Op | Msg_type | Msg_text |
+---------------------+-------+----------+----------+
| zimbra.jiveUserProp | check | status | OK |
+---------------------+-------+----------+----------+
1 row in set (0.00 sec)

mysql> CHECK TABLE jiveID EXTENDED;
+---------------+-------+----------+----------+
| Table | Op | Msg_type | Msg_text |
+---------------+-------+----------+----------+
| zimbra.jiveID | check | status | OK |
+---------------+-------+----------+----------+
1 row in set (0.00 sec)

mysql> CHECK TABLE jiveVersion EXTENDED;
+--------------------+-------+----------+----------+
| Table | Op | Msg_type | Msg_text |
+--------------------+-------+----------+----------+
| zimbra.jiveVersion | check | status | OK |
+--------------------+-------+----------+----------+
1 row in set (0.00 sec)

mysql> CHECK TABLE mysql.db EXTENDED;
+----------+-------+----------+----------+
| Table | Op | Msg_type | Msg_text |
+----------+-------+----------+----------+
| mysql.db | check | status | OK |
+----------+-------+----------+----------+
1 row in set (0.01 sec)

mysql>

And it looks like no errors have been found, is this normal?

Thanks
Reply With Quote
  #5 (permalink)  
Old 03-16-2009, 03:55 AM
Moderator
 
Posts: 7,928
Default

If the tables are all okay, and you can afford a short downtime period, then you could shutdown ZCS and run
Code:
myisamchk --update-state {ZCS DataPath/*.MYI}
__________________
Reply With Quote
  #6 (permalink)  
Old 03-16-2009, 04:29 AM
Member
 
Posts: 11
Default

when you say ZCS DataPath you are refering to /opt/zimbra?

Thanks
Reply With Quote
  #7 (permalink)  
Old 03-16-2009, 04:30 AM
Moderator
 
Posts: 7,928
Default

Yes where the MySQL datafiles are stored for ZCS.
__________________
Reply With Quote
  #8 (permalink)  
Old 03-16-2009, 04:36 AM
Member
 
Posts: 11
Default

So it should be
/opt/zimbra/db/data
or do i need to insert the zimbra folder also?
/opt/zimbra/db/data/zimbra

Thanks
Reply With Quote
  #9 (permalink)  
Old 03-16-2009, 04:37 AM
Moderator
 
Posts: 7,928
Default

You need to specify the full path to where the MYI files are held.
__________________
Reply With Quote
  #10 (permalink)  
Old 03-16-2009, 07:24 AM
Member
 
Posts: 11
Default

Systems says mysql not installed,i also have tried to rum as zimbra user but no luck.
Any other way?

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.