The problem. My FOSS 5.0.20 version of zimbra has not been able to show a status of services in the admin console since I migrated servers. I also don't get the admin e-mails with mail statistics. Both were working before my migration.
Code:
zimbra@zimbra:~$ zmcontrol -v
Release 5.0.20_GA_3127.UBUNTU8 UBUNTU8 FOSS edition
Code:
zimbra@zimbra:~$ zmloggerctl stop
Stopping mysqld...done.
Stopping logswatch...done.
zimbra@zimbra:~$ ps ax | grep mysql
3631 pts/0 S 0:00 /usr/bin/perl -w /opt/zimbra/libexec/zmstat-mysql
17601 pts/0 S+ 0:00 grep mysql
zimbra@zimbra:~$ zmloggerctl start
Starting mysqld...done.
Starting logswatch...done.
zimbra@zimbra:~$ zmloggerctl status
logmysql.server is not running
zimbra@zimbra:~$ ps ax | grep mysql
3631 pts/0 S 0:00 /usr/bin/perl -w /opt/zimbra/libexec/zmstat-mysql
17638 pts/0 S 0:00 /bin/sh /opt/zimbra/logger/mysql/bin/mysqld_safe --defaults-file=/opt/zimbra/conf/my.logger.cnf --external-locking --log-error=/opt/zimbra/log/logger_mysql_error.log --ledir=/opt/zimbra/logger/mysql/libexec
17696 pts/0 Sl 0:00 /opt/zimbra/logger/mysql/libexec/mysqld --defaults-file=/opt/zimbra/conf/my.logger.cnf --basedir=/opt/zimbra/logger/mysql --datadir=/opt/zimbra/logger/db/data --pid-file=/opt/zimbra/logger/db/mysql.pid --skip-external-locking --port=7307 --socket=/opt/zimbra/logger/db/mysql.sock --external-locking
17965 pts/0 R+ 0:00 grep mysql
zimbra@zimbra:~$ logmysql.server status
mysql is running with pid 17696
When I try to access the server status page in the admin console I get:
Code:
Server error encountered Message: system failure: getting database logger connection Error code: service.FAILURE Method: GetServiceStatusRequest Details:soap:Receiver
I have gone through the logger wiki and have not found any corruption.
today in working on the problem found a post describing how to delete the DB and re-initialize it, which I did, but did not help:
basically (from memory):
shut down logger service as zimbra user
rm -rf /opt/zimbra/logger/db/data/*
chown zimbra.zimbra /opt/zimbra/db/data
chmod 775 /opt/zimbra/db/data
cd /opt/zimbra/libexec/
./zmloggerinit
./zmfixperms --verbose --extended
start the logger as zimbra user (which stated it was already running).
no change.
I am running on Ubuntu 8.0.4 physical PE 2650 server. I migrated from a VM server running OpenSuse 10.1 as there was no supported upgrade path to 6.x in OpenSuse.
any ideas or addition resources/places to look for what is going on?