Not so easy unfortunately. The md5sum checks out.
It seems the SQL server is already running. I tried to run the ./install.sh one more time, and this time I get the following error when verifying db integrity:
Quote:
Do you want to verify message store database integrity? [Y] y
Verifying integrity of message store databases. This may take a while.
Starting mysqld...done.
/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
No errors found
command failed
|
This did not happen during the first install/upgrade.
Also, when I start the sql server manually, I get the same error message as I get during install :
Quote:
mail2:~# /opt/zimbra/bin/mysql --user=zimbra --password=<my password> --database=zimbra --batch --skip-column-names
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/opt/zimbra/db/mysql.sock' (2)
|
However, doing a '/opt/zimbra/bin/mysql.server status' tells me the mysq server is not running. Trying to start it with '/opt/zimbra/bin/mysql.server start' works without error, but status is stil 'not running' and the following is logged in /opt/zimbra/log/mysql_error.log
Quote:
100620 12:35:48 mysqld started
100620 12:35:50 InnoDB: Started; log sequence number 0 565847811
100620 12:35:50 [ERROR] Can't start server: Bind on TCP/IP port: Address already in use
100620 12:35:50 [ERROR] Do you already have another mysqld server running on port: 7306 ?
100620 12:35:50 [ERROR] Aborting
100620 12:35:50 InnoDB: Starting shutdown...
100620 12:35:51 InnoDB: Shutdown completed; log sequence number 0 565847811
100620 12:35:51 [Note] /opt/zimbra/mysql/libexec/mysqld: Shutdown complete
100620 12:35:51 mysqld ended
|
When I do a 'ps aux | grep sql' , I get:
Quote:
zimbra 11793 0.0 0.0 3164 1644 ? S 01:19 0:00 /bin/sh /opt/zimbra/mysql/bin/mysqld_safe --defaults-file=/opt/zimbra/conf/my.cnf --external-locking --log-error=/opt/zimbra/log/mysql_error.log --ledir=/opt/zimbra/mysql/libexec
zimbra 11839 0.0 2.2 569064 46796 ? Sl 01:19 0:00 /opt/zimbra/mysql/libexec/mysqld --defaults-file=/opt/zimbra/conf/my.cnf --basedir=/opt/zimbra/mysql --datadir=/opt/zimbra/db/data --pid-file=/opt/zimbra/db/mysql.pid --skip-external-locking --port=7306 --socket=/opt/zimbra/db/mysql.sock --external-locking
root 9838 0.0 0.0 2856 688 pts/0 R+ 12:19 0:00 grep sql
|
This is obviously a different binary.....
As you can tell, I have no clue about mysql, and some of the suff I'm trying is probably way off. However, I believe something is not right on the database side of things.
I have not had any db problems in the past. I run Zimbra on a VM on Debian 4 OS. The VM has 2 GB of RAM.