Results 1 to 8 of 8

Thread: Urgent - zmlocalconfig does not work - Tomcat is not running

Hybrid View

  1. #1
    Join Date
    Nov 2005
    Posts
    73
    Rep Power
    9

    Default Urgent - zmlocalconfig does not work - Tomcat is not running

    hi all

    I am trying to do a
    su - zimbra
    zmlocalconfig mysql_memory_percent "20"
    zmlocalconfig tomcat_java_heap_memory_percent "50"


    But the command zmlocalconfig does not work

    [zimbra@mail ~]$ zmlocalconfig mysql_memory_percent "30"
    Warning: null valued key '30'
    mysql_memory_percent = 40
    You have new mail in /var/spool/mail/zimbra


    As to why I am doing this -
    I cannot get mailbox started - it says Tomcat is no
    And in my log, I got this message
    2006-08-29 18:29:46,438 FATAL [LmtpServer-1] [] system - Fatal error occurred while handling connection
    java.lang.OutOfMemoryError: Java heap space


    Thank you very much.

  2. #2
    Join Date
    Oct 2005
    Location
    Thatcher, AZ
    Posts
    5,606
    Rep Power
    20

    Default

    First, What does
    ps auxww | grep sendmail
    ps auxww | grep postfix

    return?

  3. #3
    Join Date
    Nov 2005
    Posts
    73
    Rep Power
    9

    Default

    [root@mail ~]# ps auxww | grep sendmail
    root 7115 0.0 0.0 3768 684 pts/0 S+ 18:53 0:00 grep sendmail
    [root@mail ~]# ps auxww | grep postfix
    root 30339 0.0 0.0 6524 1640 ? Ss 18:29 0:00 /opt/zimbra/postfix-2.2.9/libexec/master
    postfix 30340 0.0 0.0 6576 1656 ? S 18:29 0:00 pickup -l -t fifo -u
    postfix 30341 0.0 0.0 6604 1716 ? S 18:29 0:00 qmgr -l -t fifo -u
    postfix 7200 0.0 0.0 6572 1616 ? S 18:54 0:00 showq -t unix -u
    root 7230 0.0 0.0 3764 672 pts/0 R+ 18:54 0:00 grep postfix


    Thank you.


    [zimbra@mail ~]$ zmcontrol status
    Host mail.function.com
    ldap Running
    logger Running
    mailbox Stopped
    tomcat is not running
    mta Running
    snmp Running
    spell Running
    [zimbra@mail ~]$





    Quote Originally Posted by wannabetenor
    First, What does
    ps auxww | grep sendmail
    ps auxww | grep postfix

    return?

  4. #4
    Join Date
    Oct 2005
    Location
    Thatcher, AZ
    Posts
    5,606
    Rep Power
    20

    Default

    Okay, I wanted to make sure you didn't have another mta running.

    what does zmlocalconfig -s return?

  5. #5
    Join Date
    Nov 2005
    Posts
    73
    Rep Power
    9

    Default

    [zimbra@mail ~]$ zmlocalconfig -s
    av_notify_user = admin@mydomainabc.com
    ldap_connect_pool_debug = false
    ldap_connect_pool_initsize = 1
    ldap_connect_pool_maxsize = 25
    ldap_connect_pool_prefsize = 0
    ldap_connect_pool_timeout = 120000
    ldap_connect_timeout = 10000
    ldap_host =
    ldap_is_master = true
    ldap_log_level = 0
    ldap_master_url = ldap://mail.fmydomainabc.com:389
    ldap_port =
    ldap_root_password = 9gFzMlmmo
    ldap_url = ldap://mail.mydomainabc.com
    localized_msgs_directory = ${zimbra_home}/conf/msgs
    logger_mysql_bind_address = localhost
    logger_mysql_data_directory = ${zimbra_home}/logger/db/data
    logger_mysql_directory = ${zimbra_home}/logger/mysql
    logger_mysql_mycnf = ${zimbra_home}/conf/my.logger.cnf
    logger_mysql_pidfile = ${zimbra_home}/logger/db/mysql.pid
    logger_mysql_port = 7307
    logger_mysql_socket = ${zimbra_home}/logger/db/mysql.sock
    mysql_bind_address = localhost
    mysql_data_directory = ${zimbra_db_directory}/data
    mysql_directory = ${zimbra_home}/mysql
    mysql_innodb_log_buffer_size = 8388608
    mysql_innodb_log_file_size = 104857600
    mysql_logger_root_password = DJaNaq4rlOUvn9GFZXrsJZvbU7E
    mysql_memory_percent = 40
    mysql_mycnf = ${zimbra_home}/conf/my.cnf
    mysql_pidfile = ${zimbra_db_directory}/mysql.pid
    mysql_port = 7306
    mysql_read_buffer_size = 1048576
    mysql_root_password = 49DwyUwYReWaSrcOCGXg4tKo2u
    mysql_socket = ${zimbra_db_directory}/mysql.sock
    mysql_sort_buffer_size = 1048576
    mysql_table_cache = 500
    nio_imap_enable = false
    nio_imap_log_buffers = false
    postfix_alias_maps = hash:/etc/aliases
    postfix_broken_sasl_auth_clients = yes
    postfix_command_directory = /opt/zimbra/postfix-${postfix_version}/sbin
    postfix_daemon_directory = /opt/zimbra/postfix-${postfix_version}/libexec
    postfix_header_checks = pcre:/opt/zimbra/conf/postfix_header_checks
    postfix_mailq_path = /opt/zimbra/postfix-${postfix_version}/sbin/mailq
    postfix_manpage_directory = /opt/zimbra/postfix-${postfix_version}/man
    postfix_newaliases_path = /opt/zimbra/postfix-${postfix_version}/sbin/newaliases
    postfix_queue_directory = /opt/zimbra/postfix-${postfix_version}/spool
    postfix_sender_canonical_maps = ldap:/opt/zimbra/conf/ldap-scm.cf
    postfix_sendmail_path = /opt/zimbra/postfix-${postfix_version}/sbin/sendmail
    postfix_smtpd_client_restrictions = reject_unauth_pipelining
    postfix_smtpd_data_restrictions = reject_unauth_pipelining
    postfix_smtpd_helo_required = yes
    postfix_smtpd_tls_cert_file = ${zimbra_home}/conf/smtpd.crt
    postfix_smtpd_tls_key_file = ${zimbra_home}/conf/smtpd.key
    postfix_smtpd_tls_loglevel = 3
    postfix_transport_maps = ldap:/opt/zimbra/conf/ldap-transport.cf
    postfix_version = 2.2.9
    postfix_virtual_alias_domains = ldap://opt/zimbra/conf/ldap-vad.cf
    postfix_virtual_alias_maps = ldap:/opt/zimbra/conf/ldap-vam.cf
    postfix_virtual_mailbox_domains = ldap:/opt/zimbra/conf/ldap-vmd.cf
    postfix_virtual_mailbox_maps = ldap:/opt/zimbra/conf/ldap-vmm.cf
    postfix_virtual_transport = error
    smtp_destination = admin@mydomainabc.com
    smtp_notify = yes
    smtp_source = admin@mydomainabc.com
    snmp_notify = yes
    snmp_trap_host = mail.mydomainabc.com
    ssl_allow_untrusted_certs = TRUE
    stats_img_folder = ${zimbra_home}/zimbramon/rrdtool/work
    tomcat_directory = ${zimbra_home}/tomcat
    tomcat_java_heap_memory_percent = 30
    tomcat_java_home = ${zimbra_java_home}
    tomcat_java_options = -client -XX:NewRatio=2
    tomcat_keystore = ${tomcat_directory}/conf/keystore
    tomcat_pidfile = ${zimbra_log_directory}/tomcat.pid
    wiki_enabled = false
    wiki_user = wiki
    zimbra_db_directory = ${zimbra_home}/db
    zimbra_extension_directory = ${zimbra_home}/lib/ext
    zimbra_gid = 501
    zimbra_home = /opt/zimbra
    zimbra_index_directory = ${zimbra_home}/index
    zimbra_index_idle_flush_time = 600
    zimbra_index_lru_size = 100
    zimbra_index_max_uncommitted_operations = 200
    zimbra_java_home = ${zimbra_home}/java
    zimbra_ldap_password = 9gFzMlmmo
    zimbra_ldap_userdn = uid=zimbra,cn=admins,cn=zimbra
    zimbra_log4j_properties = ${zimbra_home}/conf/log4j.properties
    zimbra_log_directory = ${zimbra_home}/log
    zimbra_logger_mysql_password = cPTJMIwutjROt6ZjGQx2QUP5d43o0bSc
    zimbra_mtareport_max_recipients = 50
    zimbra_mtareport_max_senders = 50
    zimbra_mysql_connector_maxActive = 16
    zimbra_mysql_password = jY8eHs2k4FO7N80wQn3dxCI2o
    zimbra_mysql_user = zimbra
    zimbra_server_hostname = mail.function.com
    zimbra_spam_report_queue_size = 100
    zimbra_store_directory = ${zimbra_home}/store
    zimbra_store_sweeper_max_age = 480
    zimbra_tmp_directory = /tmp/zimbra
    zimbra_uid = 501
    zimbra_user = zimbra
    zimlet_directory = ${tomcat_directory}/webapps/service/zimlet
    [zimbra@mail ~]$



    Thanks



    Quote Originally Posted by wannabetenor
    Okay, I wanted to make sure you didn't have another mta running.

    what does zmlocalconfig -s return?
    Last edited by zzzzsg; 08-29-2006 at 07:16 PM.

  6. #6
    Join Date
    Oct 2005
    Location
    Thatcher, AZ
    Posts
    5,606
    Rep Power
    20

    Default

    Quote Originally Posted by zzzzsg
    mysql_memory_percent = 40
    tomcat_java_home = ${zimbra_java_home}
    Looks like your mysql mem is already at 40%
    I actually cant seem to find the syntax for the command. I think it is something like:
    zmprov mcf mysql_memory_percent

    but no matter what I put after that, it gives me an error

Similar Threads

  1. Mysql error on install
    By tommygun in forum Installation
    Replies: 17
    Last Post: 05-29-2007, 09:29 PM
  2. Zimbra Upgrade FAILED Badly
    By kelley.ch in forum Installation
    Replies: 1
    Last Post: 09-04-2006, 04:10 PM
  3. Trouble sending mail from Outlook
    By czaveri in forum Users
    Replies: 15
    Last Post: 07-24-2006, 11:01 AM
  4. Error on install
    By tommygun in forum Installation
    Replies: 20
    Last Post: 07-17-2006, 03:49 PM
  5. upgrade to 30m1
    By rmvg in forum Installation
    Replies: 16
    Last Post: 09-23-2005, 10:47 PM

Posting Permissions

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