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 01-14-2010, 03:17 PM
Junior Member
 
Posts: 5
Default [SOLVED] MySQL Error/Corruption

Hi,

We've been trying to install Zimbra network edition to trial it on one of our servers here. The installation seemed to go through without any issues, but we're constantly getting the below message when trying to establish whether everything is running with "zmcontrol status"

mailbox Stopped
zmmtaconfig is running.
mysql.server is not running
mailboxd is running.

We have tried several of the steps on these forums, including trying a reinstall, fixing permissions with zmfixperms, mysql_install_db, etc. Zimbra was getting installed to a clean box, fully updated RHEL5 64 bit edition with no other services or servers running on it. Below are the contents of mysql_error.log and the result of zmdbintegrityreport. I'm unsure if the two issues are related, but included here anyway.

Any help would be appreciated, since we're keen to get Zimbra up and running so we can start testing it!

Zmdbintegrity report output -

Code:
 /opt/zimbra/mysql/bin/mysqlcheck: Got error: 2002: Can't connect to local MySQL server through socket '/opt/zimbra/db/mysql.sock' (2) when trying to connect
command failed

Mysql_error.log output -

Code:
100114 16:48:34  mysqld started
InnoDB: The log sequence number in ibdata files does not match
InnoDB: the log sequence number in the ib_logfiles!
100114 16:48:34  InnoDB: Database was not shut down normally!
InnoDB: Starting crash recovery.
InnoDB: Reading tablespace information from the .ibd files...
InnoDB: Restoring possible half-written data pages from the doublewrite
InnoDB: buffer...
InnoDB: Creating foreign key constraint system tables
InnoDB: Starting in background the rollback of uncommitted transactions
100114 16:48:35  InnoDB: Rollback of non-prepared transactions completed
InnoDB: Foreign key constraint system tables created
100114 16:48:35  InnoDB: Started; log sequence number 0 36808
100114 16:48:35 [ERROR] Fatal error: Can't open and lock privilege tables: Table 'mysql.host' doesn't exist
100114 16:48:35  mysqld ended

Result of mysql.server start and mysql.server status which generates the mysql_error.log entries

Code:
 [zimbra@zimbra libexec]$ mysql.server start
Starting mysqld...done.
[zimbra@zimbra libexec]$ mysql.server status
mysql is not running
[zimbra@zimbra libexec]$
Reply With Quote
  #2 (permalink)  
Old 01-14-2010, 04:24 PM
Junior Member
 
Posts: 5
Default

Issue has been solved... a *third* reinstall of zimbra appeared to fix the issue.
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.