Results 1 to 7 of 7

Thread: zmmailboxdctl is not running

  1. #1
    u007 is offline Junior Member
    Join Date
    Jan 2012
    Posts
    7
    Rep Power
    3

    Default zmmailboxdctl is not running

    Hi,

    im new to zimbra,
    currently installed zimbra 7.1.3 on centos6 64bits on openvz with burst memory of 3Gb...
    previously i managed to start the server before doing some tuning, but now it seems to fail to start the mail service.
    mysql.server is showing not running, but i'm able to connect to mysql on port 7306...
    when i check /opt/zimbra/log/zmmaildctl.out, i see this:
    --------------------
    CompilerOracle: exclude com/zimbra/cs/session/SessionMap.putAndPrune
    CompilerOracle: exclude com/zimbra/cs/mailbox/MailItem.delete
    CompilerOracle: exclude org/apache/xerces/impl/XMLDocumentFragmentScannerImpl$FragmentContentDisp atcher.dispatch
    Exception in thread "main" java.lang.NoClassDefFoundError: \
    Caused by: java.lang.ClassNotFoundException: \
    at java.net.URLClassLoader$1.run(URLClassLoader.java: 202)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.j ava:190)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:3 06)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launche r.java:301)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:2 47)
    Could not find the main class: \. Program will exit.

    --------------------

    zmcontrol status
    ---------------------

    [zimbra@us1 log]$ zmcontrol status
    Picked up _JAVA_OPTIONS: -Xmx100m
    Host us1.mercstudio.net
    antispam Running
    antivirus Running
    imapproxy Running
    ldap Running
    logger Running
    mailbox Stopped
    mysql.server is not running.
    zmmailboxdctl is not running.
    memcached Running
    mta Running
    snmp Stopped
    zmswatch is not running.
    spell Running
    stats Running
    zmconfigd Running
    --------------------------
    [zimbra@us1 log]$ netstat -lp
    --------------------------
    (Not all processes could be identified, non-owned process info
    will not be shown, you would have to be root to see it all.)
    Active Internet connections (only servers)
    Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
    tcp 0 0 *:imaps *:* LISTEN 5276/nginx
    tcp 0 0 *op3s *:* LISTEN 5276/nginx
    tcp 0 0 localhost:7171 *:* LISTEN 1697/java
    tcp 0 0 *:7780 *:* LISTEN 5454/httpd
    tcp 0 0 us1.mercstudio.net:ldap *:* LISTEN -
    tcp 0 0 localhost:10663 *:* LISTEN 5178/zmlogger: zmrr
    tcp 0 0 localhost:10024 *:* LISTEN 5344/amavisd (maste
    tcp 0 0 localhost:10025 *:* LISTEN -
    tcp 0 0 localhost:7306 *:* LISTEN 10190/mysqld
    tcp 0 0 *:submission *:* LISTEN -
    tcp 0 0 *:memcache *:* LISTEN 5260/memcached
    tcp 0 0 localhost:dyna-access *:* LISTEN 5438/clamd
    tcp 0 0 *op3 *:* LISTEN 5276/nginx
    tcp 0 0 *:imap *:* LISTEN 5276/nginx
    tcp 0 0 *:urd *:* LISTEN -
    tcp 0 0 *:ssh *:* LISTEN -
    tcp 0 0 *:smtp *:* LISTEN -
    udp 0 0 *:memcache *:* 5260/memcached
    udp 0 0 *:56482 *:* 1697/java

    what should i do next?

    here are the custom config ive set after trying to tune the memory usage:

    zmlocalconfig -e tomcat_java_heap_memory_percent=40
    zmlocalconfig -e zmmtaconfig_interval=300
    zmlocalconfig -e zmstat_interval=300
    zmlocalconfig -e mailboxd_java_heap_memory_percent=10
    zmlocalconfig -e mailboxd_java_heap_new_size_percent=10

    zmlocalconfig -e mailboxd_java_options="-server -Djava.awt.headless=true -XX:NewRatio=2 -XX:PermSize=128m \
    -XX:MaxPermSize=128m -XX:SoftRefLRUPolicyMSPerMB=1"

    zmlocalconfig -e ldap_common_threads=16
    zmlocalconfig -e ldap_common_toolthreads=8
    zmlocalconfig -e ldap_db_cachesize=50000
    zmlocalconfig -e ldap_db_idlcachesize=50000
    zmlocalconfig -e ldap_db_dncachesize=0

  2. #2
    phoenix is offline Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,504
    Rep Power
    57

    Default

    Quote Originally Posted by u007 View Post
    currently installed zimbra 7.1.3 on centos6 64bits on openvz with burst memory of 3Gb...
    First point, openvz is not a supported platform for Zimbra. If you are going to run it in that environment you need at least 2GB of fixed RAM (preferably 4GB for production) for testing.

    Second point, you should not have imapproxy & memcahced enabled for a single server installation. Search the forums for details on how to disble n& remove those services and reset the ports to their defaults. When you done all of the above you should restart Zimbra and see what errors you get.
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  3. #3
    u007 is offline Junior Member
    Join Date
    Jan 2012
    Posts
    7
    Rep Power
    3

    Default problem disabling memcache...

    hi,

    i tried to follow some instruction to disable the memcache,
    but problem is, i think my mailboxd is not running, so i get this error:

    [zimbra@us1 james]$ zmcontrol status
    Picked up _JAVA_OPTIONS: -Xmx100m
    Host us1.mercstudio.net
    antispam Running
    antivirus Running
    imapproxy Running
    ldap Running
    logger Running
    mailbox Stopped
    mysql.server is not running.
    zmmailboxdctl is not running.
    memcached Running
    mta Running
    snmp Stopped
    zmswatch is not running.
    spell Running
    stats Running
    zmconfigd Running
    [zimbra@us1 james]$ zmprov ms `zmhostname` -zimbraServiceEnabled memcached
    Picked up _JAVA_OPTIONS: -Xmx100m
    Picked up _JAVA_OPTIONS: -Xmx100m
    Picked up _JAVA_OPTIONS: -Xmx100m
    Picked up _JAVA_OPTIONS: -Xmx100m
    [] INFO: I/O exception (java.net.ConnectException) caught when processing request: Connection refused
    [] INFO: Retrying request
    ERROR: zclient.IO_ERROR (invoke Connection refused, server: localhost) (cause: java.net.ConnectException Connection refused)

    can i manually mysql into zimbra db to change the setting?
    or is there any config file i could change?

  4. #4
    u007 is offline Junior Member
    Join Date
    Jan 2012
    Posts
    7
    Rep Power
    3

    Default

    i found the solution:

    #alternative zmprov
    zmprov -l
    ms [servername] -zimbraServiceEnabled memcached
    ms [servername] -zimbraServiceEnabled imapproxy

  5. #5
    u007 is offline Junior Member
    Join Date
    Jan 2012
    Posts
    7
    Rep Power
    3

    Default

    hi,

    ive disabled imap and memcache, but still the same error:
    --------------

    [zimbra@us1 james]$ zmcontrol status
    Picked up _JAVA_OPTIONS: -Xmx100m
    Host us1.mercstudio.net
    antispam Running
    antivirus Running
    ldap Running
    logger Running
    mailbox Stopped
    mysql.server is not running.
    zmmailboxdctl is not running.
    mta Running
    snmp Stopped
    zmswatch is not running.
    spell Running
    stats Running
    zmconfigd Running
    [zimbra@us1 james]$ tail -n 50 ~/log/zmmailboxd.out
    CompilerOracle: exclude com/zimbra/cs/session/SessionMap.putAndPrune
    CompilerOracle: exclude com/zimbra/cs/mailbox/MailItem.delete
    CompilerOracle: exclude org/apache/xerces/impl/XMLDocumentFragmentScannerImpl$FragmentContentDisp atcher.dispatch
    Exception in thread "main" java.lang.NoClassDefFoundError: \
    Caused by: java.lang.ClassNotFoundException: \
    at java.net.URLClassLoader$1.run(URLClassLoader.java: 202)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.j ava:190)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:3 06)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launche r.java:301)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:2 47)
    Could not find the main class: \. Program will exit.

  6. #6
    u007 is offline Junior Member
    Join Date
    Jan 2012
    Posts
    7
    Rep Power
    3

    Default netstat result

    [zimbra@us1 james]$ netstat -lp
    (Not all processes could be identified, non-owned process info
    will not be shown, you would have to be root to see it all.)
    Active Internet connections (only servers)
    Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
    tcp 0 0 localhost:ms-v-worlds *:* LISTEN -
    tcp 0 0 localhost:7171 *:* LISTEN 1981/java
    tcp 0 0 *:7780 *:* LISTEN 5375/httpd
    tcp 0 0 us1.mercstudio.net:ldap *:* LISTEN -
    tcp 0 0 localhost:10663 *:* LISTEN 3818/zmlogger: zmrr
    tcp 0 0 localhost:10024 *:* LISTEN 5261/amavisd (maste
    tcp 0 0 localhost:10025 *:* LISTEN -
    tcp 0 0 localhost:7306 *:* LISTEN 4080/mysqld
    tcp 0 0 *:submission *:* LISTEN -
    tcp 0 0 localhost:dyna-access *:* LISTEN 5360/clamd
    tcp 0 0 *:webcache *:* LISTEN -
    tcp 0 0 *:urd *:* LISTEN -
    tcp 0 0 *:ssh *:* LISTEN -
    tcp 0 0 *:smtp *:* LISTEN -
    udp 0 0 *:37383 *:* 1981/java

  7. #7
    u007 is offline Junior Member
    Join Date
    Jan 2012
    Posts
    7
    Rep Power
    3

    Default

    ive solved my problem:
    resetting this configuration allow me to run zimbra :

    zmlocalconfig -e mailboxd_java_options=""

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] Unable to start all of the blackberry services
    By scasperson in forum Zimbra Connector for BlackBerry
    Replies: 8
    Last Post: 11-18-2011, 07:30 AM
  2. zmmailboxdctl is stopped frequently..
    By tamilnandhu in forum Installation
    Replies: 13
    Last Post: 04-12-2008, 08:59 AM
  3. Can't seem to get global in BES
    By sdemeyer in forum Zimbra Connector for BlackBerry
    Replies: 12
    Last Post: 03-19-2008, 08:22 AM
  4. Post instsallation problems
    By Assaf in forum Installation
    Replies: 14
    Last Post: 01-29-2007, 11:38 AM
  5. Trouble sending mail from Outlook
    By czaveri in forum Users
    Replies: 15
    Last Post: 07-24-2006, 11:01 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
  •