I did search, just obviously not for the right terms.
So, the problems continue. I tried several options:
zimbra@mail:~$ zmcontrol status
Host mail.majortheatre.com
antispam Running
antivirus Running
ldap Running
logger Stopped
logmysql.server is not running
zmlogswatchctl is not running
mailbox Running
mta Running
snmp Running
spell Running
zimbra@mail:~$ zmlogswatchctl start
zimbra@mail:~$ logmysql.server start
/opt/zimbra/bin/logmysql.server: line 89: syntax error: unexpected end of file
zimbra@mail:~$ cd libexec
zimbra@mail:~/libexec$ ./zmloggerinit
* Creating required directories
* Creating database in /opt/zimbra/logger/db/data
* Starting logger_mysql server
* Loading schema /opt/zimbra/db/loggerdb.sql
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/opt/zimbra/logger/db/mysql.sock' (2)
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/opt/zimbra/logger/db/mysql.sock' (2)
* Setting random password for mysql root user in zimbra local config
* Setting random password for mysql zimbra user in zimbra local config
* Changing mysql root user password
/opt/zimbra/logger/mysql/bin/mysqladmin: connect to server at 'localhost' failed
error: 'Can't connect to local MySQL server through socket '/opt/zimbra/logger/db/mysql.sock' (2)'
Check that mysqld is running and that the socket: '/opt/zimbra/logger/db/mysql.sock' exists!
* Changing mysql zimbra user password
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/opt/zimbra/logger/db/mysql.sock' (2)
**** PASSWORD CHANGE FAILED
zimbra@mail:~/libexec$
However, mysql.sock does exist.
I saw in another thread
here that I should delete the mysql.sock file.
So I tried:
zimbra@mail:~/libexec$ cd /opt/zimbra/logger/db/
zimbra@mail:~/logger/db$ locate mysql.sock
/opt/zimbra/db/mysql.sock
/backup/opt/zimbra/db/mysql.sock
/backup/opt/zimbra/logger/db/mysql.sock
zimbra@mail:~/logger/db$ rm mysql.sock
rm: cannot lstat `mysql.sock': No such file or directory
So, it thinks it exists, but it doesn't. How do I create a new one?
Mysql in general works, as the mailbox is still working.
Edit: I forgot to mention I tried changing the password also, but that would fail too. Let me know if you would like me to post that session also.