Quote:
Originally Posted by robotrock From the mysql_error log: Code: 081207 15:46:46 [ERROR] Fatal error: Can't open and lock privilege tables: Table
'mysql.host' doesn't exist
081207 15:46:46 mysqld ended |
Seems
other people are also getting this. I got the same error on a fresh install of the Open Source edition 5.0.13 in a CentOS 5.2 VMware guest.
Here's what I did to fix it:
Summary: Switch to the "zimbra" user, stop Zimbra, initialize zimbra to fix mysql, start up Zimbra so mysql is running as well as others, kill the logger and mysql, deleted the logger's db directory, initialize the logger and fix the passwords.
Summary details:
Code:
su - zimbra
zmcontrol stop
/opt/zimbra/libexec/zmmyinit
zmcontrol startup
ps -auxw | grep my.logger | grep -v grep | awk '{print $2}' | xargs kill
rm -rf logger/db
libexec/zmloggerinit
zmcontrol status Even though logger still failed, I then ran through
these instructions. And finally, ran "zmcontrol stop", "zmcontrol startup" and "zmcontrol status" and everything ran fine from there.
The cause may have been that the host computer (XP SP3) would totally crash (I mean power off) during the Zimbra install on the guest OS (CentOS 5.2) on VMware Server 1.0.8 (free

). The Zimbra VM image I'm building is for testing and possibly developing zimlets (without better docs, this is really hard

). When I powered it all back on, I'd just "rm -rf /opt/zimbra" and run the "./install.sh --platform-override" script over again. Funny how it finds a previous install of Zimbra after I'd deleted it. I thought everything was installed in /opt/zimbra... Where is it finding this info?
Anyhow, it's all running well now

.
P.S. I compiled the above answer from
here,
here and
here.