snake_eyes
December 24th, 2008, 06:21 AM
Hello,
I installed Zimbra on test machine and it was working well, I prepared a new machine in order to be the production server, I follow those links:
Moving ZCS to New Server - Zimbra :: Wiki (http://wiki.zimbra.com/index.php?title=Moving_ZCS_to_New_Server)
Open Source Edition Backup Procedure - Zimbra :: Wiki (http://wiki.zimbra.com/index.php?title=Open_Source_Edition_Backup_Procedu re)
finally when I tried to start the server I got:
zimbra@mail:~$ zmcontrol status
antispam Running
antivirus Running
ldap Running
logger Stopped
logmysql.server is not running
mailbox Stopped
mysql.server is not running.
mta Running
snmp Running
spell Running
stats Stopped
If we execute logmysql as zimbra user, we get:
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/opt/zimbra/logger/db/mysql.sock' (2)
The error in /opt/zimbra/log/logger_mysql_error is:
Warning: World-writable config file '/opt/zimbra/conf/my.logger.cnf' is ignored
Warning: World-writable config file '/opt/zimbra/conf/my.logger.cnf' is ignored
Starting mysqld daemon with databases from /opt/zimbra/mysql-standard-5.0.51a-pc-linux-gnu-i686-glibc23/var
081223 17:10:00 mysqld started
Warning: World-writable config file '/opt/zimbra/conf/my.logger.cnf' is ignored
081223 17:10:00 [Warning] Can't create test file /opt/zimbra/mysql-standard-5.0.51a-pc-linux-gnu-i686-glibc23/var/mail.lower-test
081223 17:10:00 [Warning] Can't create test file /opt/zimbra/mysql-standard-5.0.51a-pc-linux-gnu-i686-glibc23/var/mail.lower-test
^G/opt/zimbra/logger/mysql/libexec/mysqld: Can't change dir to '/opt/zimbra/mysql-standard-5.0.51a-pc-linux-gnu-i686-glibc23/var/' (Errcode: 2)
081223 17:10:00 [ERROR] Aborting
081223 17:10:00 [Note] /opt/zimbra/logger/mysql/libexec/mysqld: Shutdown complete
STOPPING server from pid file /opt/zimbra/mysql-standard-5.0.51a-pc-linux-gnu-i686-glibc23/var/mail.mydomain.com.pid
081223 17:10:00 mysqld ended
081223 17:10:00 mysqld ended
No output for the file /opt/zimbra/log/zmmyinit.log.
Also, I tried to access Zimbra Administration Console through HTTP, but it doesn't works.
Can someone please help?
Cheers,
I installed Zimbra on test machine and it was working well, I prepared a new machine in order to be the production server, I follow those links:
Moving ZCS to New Server - Zimbra :: Wiki (http://wiki.zimbra.com/index.php?title=Moving_ZCS_to_New_Server)
Open Source Edition Backup Procedure - Zimbra :: Wiki (http://wiki.zimbra.com/index.php?title=Open_Source_Edition_Backup_Procedu re)
finally when I tried to start the server I got:
zimbra@mail:~$ zmcontrol status
antispam Running
antivirus Running
ldap Running
logger Stopped
logmysql.server is not running
mailbox Stopped
mysql.server is not running.
mta Running
snmp Running
spell Running
stats Stopped
If we execute logmysql as zimbra user, we get:
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/opt/zimbra/logger/db/mysql.sock' (2)
The error in /opt/zimbra/log/logger_mysql_error is:
Warning: World-writable config file '/opt/zimbra/conf/my.logger.cnf' is ignored
Warning: World-writable config file '/opt/zimbra/conf/my.logger.cnf' is ignored
Starting mysqld daemon with databases from /opt/zimbra/mysql-standard-5.0.51a-pc-linux-gnu-i686-glibc23/var
081223 17:10:00 mysqld started
Warning: World-writable config file '/opt/zimbra/conf/my.logger.cnf' is ignored
081223 17:10:00 [Warning] Can't create test file /opt/zimbra/mysql-standard-5.0.51a-pc-linux-gnu-i686-glibc23/var/mail.lower-test
081223 17:10:00 [Warning] Can't create test file /opt/zimbra/mysql-standard-5.0.51a-pc-linux-gnu-i686-glibc23/var/mail.lower-test
^G/opt/zimbra/logger/mysql/libexec/mysqld: Can't change dir to '/opt/zimbra/mysql-standard-5.0.51a-pc-linux-gnu-i686-glibc23/var/' (Errcode: 2)
081223 17:10:00 [ERROR] Aborting
081223 17:10:00 [Note] /opt/zimbra/logger/mysql/libexec/mysqld: Shutdown complete
STOPPING server from pid file /opt/zimbra/mysql-standard-5.0.51a-pc-linux-gnu-i686-glibc23/var/mail.mydomain.com.pid
081223 17:10:00 mysqld ended
081223 17:10:00 mysqld ended
No output for the file /opt/zimbra/log/zmmyinit.log.
Also, I tried to access Zimbra Administration Console through HTTP, but it doesn't works.
Can someone please help?
Cheers,