Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
Go Back   Zimbra :: Forums > Zimbra Collaboration Suite > Installation

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 10-11-2007, 06:08 AM
Elite Member
 
Posts: 286
Default Database errors found. now?

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=P4F.87begMuVgNOKvoAJzkL6ve6 --auto-repair
mysql.db
warning : 2 clients are using or haven't closed the table properly
mysql.help_category
error : Table upgrade required. Please do "REPAIR TABLE `help_category`" to fix it!
mysql.help_keyword
error : Table upgrade required. Please do "REPAIR TABLE `help_keyword`" to fix it!
mysql.help_topic
error : Table upgrade required. Please do "REPAIR TABLE `help_topic`" to fix it!
mysql.user
error : Table upgrade required. Please do "REPAIR TABLE `user`" to fix it!
zimbra.config
error : Table upgrade required. Please do "REPAIR TABLE `config`" to fix it!
zimbra.mailbox_metadata
error : Table upgrade required. Please do "REPAIR TABLE `mailbox_metadata`" to fix it!
zimbra.out_of_office
error : Table upgrade required. Please do "REPAIR TABLE `out_of_office`" to fix it!
zimbra.service_status
error : Table upgrade required. Please do "REPAIR TABLE `service_status`" to fix it!
zimbra.table_maintenance
error : Table upgrade required. Please do "REPAIR TABLE `table_maintenance`" to fix it!
zimbra.volume
error : Table upgrade required. Please do "REPAIR TABLE `volume`" to fix it!

Checking for installable packages

Found zimbra-core
Found zimbra-ldap
Found zimbra-logger
Found zimbra-mta
Found zimbra-snmp
Found zimbra-store
Found zimbra-apache
Found zimbra-spell


The Zimbra Collaboration Suite appears already to be installed.
It can be upgraded with no effect on existing accounts,
or the current installation can be completely removed prior
to installation for a clean install.

Do you wish to upgrade? [Y] N

*** WARNING - you are about to delete all existing users and mail

Delete users/mail? [N]

Do you wish to upgrade? [Y]

Now??
what shoul i do??
if i answer Y .what next? system will be upgraded?
i tried to answer no and i get a terrible:
*** WARNING - you are about to delete all existing users and mail

Please any help will be very apreciated
TIA

Last edited by maumar; 10-11-2007 at 06:15 AM..
Reply With Quote
  #2 (permalink)  
Old 10-20-2007, 02:01 PM
Member
 
Posts: 13
Default I am getting the same trying to upgrade from 4.5.6 to 4.5.7

Do you want to verify message store database integrity? [Y]
Verifying integrity of message store databases. This may take a while.
Starting mysqld daemon with databases from /opt/zimbra/db/data
mysqld is alive
Generating report
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=NBHrySp9ISR_ILPzM38FiSnq --auto-repair
mysql.help_category
error : Table upgrade required. Please do "REPAIR TABLE `help_category`" to fix it!
mysql.help_keyword
error : Table upgrade required. Please do "REPAIR TABLE `help_keyword`" to fix it!
mysql.help_topic
error : Table upgrade required. Please do "REPAIR TABLE `help_topic`" to fix it!
mysql.user
error : Table upgrade required. Please do "REPAIR TABLE `user`" to fix it!
zimbra.config
error : Table upgrade required. Please do "REPAIR TABLE `config`" to fix it!
zimbra.mailbox_metadata
error : Table upgrade required. Please do "REPAIR TABLE `mailbox_metadata`" to fix it!
zimbra.out_of_office
error : Table upgrade required. Please do "REPAIR TABLE `out_of_office`" to fix it!
zimbra.service_status
error : Table upgrade required. Please do "REPAIR TABLE `service_status`" to fix it!
zimbra.table_maintenance
error : Table upgrade required. Please do "REPAIR TABLE `table_maintenance`" to fix it!
zimbra.volume
error : Table upgrade required. Please do "REPAIR TABLE `volume`" to fix it!

Checking for installable packages

Found zimbra-core
Found zimbra-ldap
Found zimbra-logger
Found zimbra-mta
Found zimbra-snmp
Found zimbra-store
Found zimbra-apache
Found zimbra-spell


The Zimbra Collaboration Suite appears already to be installed.
It can be upgraded with no effect on existing accounts,
or the current installation can be completely removed prior
to installation for a clean install.

Do you wish to upgrade? [Y]
Reply With Quote
  #3 (permalink)  
Old 10-26-2007, 06:25 PM
Starter Member
 
Posts: 1
Default I get the same.

Anyone know what to do here?

I tried to run "repair table xxx" from the mysql shell, this is what I got:
mysql> REPAIR TABLE config;
+---------------+--------+----------+---------------------------------------------------------+
| Table | Op | Msg_type | Msg_text |
+---------------+--------+----------+---------------------------------------------------------+
| zimbra.config | repair | note | The storage engine for the table doesn't support repair |
+---------------+--------+----------+---------------------------------------------------------+
1 row in set (0.00 sec)
Reply With Quote
  #4 (permalink)  
Old 10-26-2007, 06:38 PM
Former Zimbran
 
Posts: 5,606
Default

Hi guys-
Sorry I didn't reply to this sooner.

The error can be safely ignored. Once you proceed, the upgrade script will call mysql_upgrade with the right parameters. This will fix the problem.

Hope that helps,
john
Reply With Quote
  #5 (permalink)  
Old 04-01-2008, 09:28 AM
Senior Member
 
Posts: 54
Default

I'm getting what they were getting... is this still safe to ignore?

Quote:
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=YABG1Sy6x1.20BPnVihAQTvAAATQSfg_
zimbra.jiveID
warning : 1 client is using or hasn't closed the table properly
zimbra.jiveRoster
warning : 1 client is using or hasn't closed the table properly
zimbra.jiveRosterGroups
warning : 1 client is using or hasn't closed the table properly
zimbra.jiveUserProp
warning : 1 client is using or hasn't closed the table properly
Only anomaly is that zimbra seems to be randomly "forgetting" my new HTML signature, and reverting back to the plaintext version I had before updating from 5.0.1 to 5.0.3.

I'm getting these errors, btw, in database integrity check emails to the administrator. I see they're referring to Jive, which isn't that critical... but still a bit worrisome.
__________________
mark daniel | actc
zcs 6 ose | mac pro | mac os x server 10.4.11
Reply With Quote
  #6 (permalink)  
Old 04-02-2008, 06:13 AM
Active Member
 
Posts: 40
Default

Greetings...

If you're nervous and want to do a full backup first, read on...

Zimbra does its own thing, all out of /opt/zimbra, even on a mac.
So, if you stop zimbra, and make sure that the database, and http
are also stopped, then you can back up the /opt/zimbra
directory structure and that'll cover things well.

You can use:

cd /opt; tar czf zimbra.20080401.tar.gz zimbra

to make a big, compressed backup.

Or, if you like, you can use rsync (remote synchronize):

cd /opt; rsync -avz zimbra /tmp

to make a complete copy in your local /tmp directory,
or you can use rsync to another system:

cd /opt; rsync -avz zimbra username@someotherinternalsystem:/var/tmp

You get the idea. Just make sure all of the services are stopped first.
The mysql database is great in that if it's stopped, backing up all of the
files is the equivalent of backing up the database.

Hope this helps.
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.