Hi all,
I'm having some problems starting the mailbox. If I use the startup script (in /etc/init.d) only ldap starts.
if I use
Code:
zmcontrol start
Host slinkilin.pnc.co.il
Starting ldap...Done. Code:
ps -ef | grep zimbra
zimbra 25347 1 0 22:48 ? 00:00:00 /opt/zimbra/openldap/libexec/slapd -l LOCAL0 -4 -u zimbra -h ldap://slinkilin.pnc.co.il:389 -f /opt/zimbra/conf/slapd.conf
Code:
zmcontrol status
Cannot determine services - exiting
So, I opened the bin/zmcontrol and started the services manually by the same order they are in the script.
Code:
/opt/zimbra/bin/zmloggerctl start
Starting mysqld daemon with databases from /opt/zimbra/logger/db/data
[zimbra@slinkilin ~]$ STOPPING server from pid file /opt/zimbra/logger/db/mysql.pid
070813 22:59:09 mysqld ended
-----
ps -ef | grep zimbra
zimbra 17538 31204 0 22:39 pts/1 00:00:00 less bin/zmcontrol
zimbra 25347 1 0 22:48 ? 00:00:00 /opt/zimbra/openldap/libexec/slapd -l LOCAL0 -4 -u zimbra -h ldap://ZZZ.YYY:389 -f /opt/zimbra/conf/slapd.conf
zimbra 25427 31204 0 22:49 pts/1 00:00:00 less bin/zmcontrol
zimbra 26045 1 0 22:59 pts/1 00:00:00 /usr/bin/perl /opt/zimbra/libexec/logswatch --config-file=/opt/zimbra/conf/logswatchrc --use-cpan-file-tail --script-dir=/tmp -t /var/log/zimbra.log
zimbra 26047 26045 0 22:59 pts/1 00:00:00 /usr/bin/perl /tmp/.swatch_script.26045
zimbra 26049 26047 0 22:59 pts/1 00:00:00 /usr/bin/perl /opt/zimbra/libexec/zmlogger
Then I start the mailbox:
Code:
/opt/zimbra/bin/zmmailboxctl start
There is allot of output, but in the end there is this:
Code:
Starting mysqld daemon with databases from /opt/zimbra/db/data
ERROR: problem reading config from ldap. Make sure ldap is running.
Also I can see a strange lines in the log:
Code:
Looking up key=mailbox with type=SERVICE
Mon Aug 13 23:01:56 2007 main::lookUpConfig::434 SERVICE lookup mailbox=0
Mon Aug 13 23:01:56 2007 main::checkConditional::466 Checking conditional for negate=0 type=SERVICE mailbox=0
Mon Aug 13 23:01:56 2007 main::checkConditional::466 Checking conditional for negate=0 type=SERVICE mailbox= return=0
Mon Aug 13 23:01:56 2007 main::readConfig::176 Service mailbox is not enabled. Skipping webxml
I remember that I did enabled the mailbox in my setup... (how can I check this) Code:
ps -ef | grep zimbra
zimbra 339 26049 0 23:06 pts/1 00:00:00 sh -c /opt/zimbra/bin/logmysqladmin status > /dev/null 2>&1
zimbra 340 339 0 23:06 pts/1 00:00:00 /bin/bash /opt/zimbra/bin/logmysqladmin status
zimbra 373 340 0 23:06 pts/1 00:00:00 /opt/zimbra/java/bin/java -client -Dzimbra.home=/opt/zimbra -cp /opt/zimbra/lib/jars/zimbracommon.jar:/opt/zimbra/lib/jars/commons-logging.jar:/opt/zimbra/lib/jars/commons-cli-2.0.jar:/opt/zimbra/lib/jars/dom4j-1.5.jar:/opt/zimbra/lib/jars/log4j-1.2.8.jar:/opt/zimbra/lib/jars/commons-httpclient-2.0.1.jar com.zimbra.common.localconfig.Main -q -m export
root 415 17119 0 23:06 pts/2 00:00:00 grep zimbra
zimbra 17538 31204 0 22:39 pts/1 00:00:00 less bin/zmcontrol
zimbra 25347 1 0 22:48 ? 00:00:00 /opt/zimbra/openldap/libexec/slapd -l LOCAL0 -4 -u zimbra -h ldap://ZZZ.YYY:389 -f /opt/zimbra/conf/slapd.conf
zimbra 25427 31204 0 22:49 pts/1 00:00:00 less bin/zmcontrol
zimbra 26045 1 0 22:59 pts/1 00:00:00 /usr/bin/perl /opt/zimbra/libexec/logswatch --config-file=/opt/zimbra/conf/logswatchrc --use-cpan-file-tail --script-dir=/tmp -t /var/log/zimbra.log
zimbra 26047 26045 0 22:59 pts/1 00:00:00 /usr/bin/perl /tmp/.swatch_script.26045
zimbra 26049 26047 0 22:59 pts/1 00:00:00 /usr/bin/perl /opt/zimbra/libexec/zmlogger
zimbra 28697 1 0 23:01 pts/1 00:00:00 /usr/bin/perl /opt/zimbra/libexec/zmmtaconfig
zimbra 28868 1 0 23:01 pts/1 00:00:00 /bin/sh /opt/zimbra/mysql/bin/mysqld_safe --defaults-file=/opt/zimbra/conf/my.cnf --ledir=/opt/zimbra/mysql/libexec
zimbra 28912 28868 0 23:01 pts/1 00:00: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
root 29290 1 0 23:02 ? 00:00:00 /opt/zimbra/libexec/zmtomcatmgr start -Xms300m -Xmx300m -client -XX:NewRatio=2 -Djava.awt.headless=true
root 29292 29290 3 23:02 ? 00:00:09 /opt/zimbra/jdk1.5.0_08/bin/java -Xms300m -Xmx300m -client -XX:NewRatio=2 -Djava.awt.headless=true -Dcatalina.base=/opt/zimbra/apache-tomcat-5.5.15 -Dcatalina.home=/opt/zimbra/apache-tomcat-5.5.15 -Djava.io.tmpdir=/opt/zimbra/apache-tomcat-5.5.15/temp -Djava.library.path=/opt/zimbra/lib -Djava.endorsed.dirs=/opt/zimbra/apache-tomcat-5.5.15/common/endorsed -classpath /opt/zimbra/apache-tomcat-5.5.15/bin/bootstrap.jar:/opt/zimbra/apache-tomcat-5.5.15/bin/commons-logging-api.jar:/opt/zimbra/lib/jars/zimbra-launcher.jar com.zimbra.cs.launcher.TomcatLauncher
What am I doing wrong?
Gili