Results 1 to 2 of 2

Thread: Can't start mailbox...

  1. #1
    redbaron is offline Intermediate Member
    Join Date
    Jul 2007
    Posts
    16
    Rep Power
    7

    Default Can't start mailbox...

    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

  2. #2
    jholder's Avatar
    jholder is offline Former Zimbran
    Join Date
    Oct 2005
    Location
    Thatcher, AZ
    Posts
    5,606
    Rep Power
    20

    Default

    Looks like Zimbra is already running.
    Try stopping it
    Code:
    $su - zimbra
    $zmcontrol stop

    Then start it
    Code:
    $su - zimbra
    $zmcontrol start

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 210
    Last Post: 01-17-2012, 01:19 AM
  2. Replies: 7
    Last Post: 02-03-2011, 07:01 AM
  3. After reboot mailbox and tomcat don't start
    By gon in forum Administrators
    Replies: 1
    Last Post: 11-02-2007, 11:50 AM
  4. Is it started or not
    By kwelipatton in forum Installation
    Replies: 10
    Last Post: 03-28-2006, 11:11 PM
  5. No listener on port 7071
    By earthling in forum Installation
    Replies: 3
    Last Post: 11-14-2005, 08:16 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •