Results 1 to 1 of 1

Thread: zimbra store process

Hybrid View

  1. #1
    Join Date
    Aug 2010
    Rep Power

    Default zimbra store process

    hello, I should fix a zimbra server with incosistent mysql data. After a disk failures-restore i've a lot of messages without the related record in mail_item as shown by the command:
    ./zmblobchk -m 24 start
    Mailbox 24, volume 3, /dati/zimbra/store/0/24/msg/33/136036-181524.msg: unexpected blob. File size is 1521.
    To insert the missing records in the table mail_item, i have to get how calculate the content.
    I figure out the rule used to name the message thanks to the wiki page about the mailbox database structure, but i don't know how to set the fields blob_digest, meta_data, parent_id, mod_metadata, index_id.
    Maybe i could leave null the index_id and force zimbra to reindex.
    It seems zimbra use the chain postfix trasport map - openldap - jetty - java code:

    #./postfix/sbin/postconf transport_maps
    transport_maps = proxy:ldap:/opt/zimbra/conf/
    #/opt/zimbra/openldap/bin/ldapsearch -Hldap:// -x -LLL -D "uid=zmpostfix,cn=appaccts,cn=zimbra" -w XXXXXXXX '(zimbraMailTransport=*)'
    #lsof -i :7025
    java 14743 zimbra 72u IPv6 8422064 TCP *:7025 (LISTEN)
    # ps -p 14743 wwwwwww
    14743 ? Sl 361:56 /opt/zimbra/java/bin/java -server -Djava.awt.headless=true -XX:+UseConcMarkSweepGC -XX:NewRatio=2 -XX:PermSize=128m -XX:MaxPermSize=128m -XX:SoftRefLRUPolicyMSPerMB=1 -verbose:gc -XX:+PrintGCDetails -XX:+PrintGCTimeStamps -XX:+PrintGCApplicationStoppedTime -Xss256k -Xms1485m -Xmx1485m -Xmn371m -Djava.library.path=/opt/zimbra/lib -Djava.endorsed.dirs=/opt/zimbra/mailboxd/common/endorsed -Dzimbra.config=/opt/zimbra/conf/localconfig.xml -Djetty.home=/opt/zimbra/mailboxd -DSTART=/opt/zimbra/mailboxd/etc/start.config -jar /opt/zimbra/mailboxd/start.jar /opt/zimbra/mailboxd/etc/ /opt/zimbra/mailboxd/etc/jetty-setuid.xml /opt/zimbra/mailboxd/etc/jetty.xml

    The xml file /opt/zimbra/mailboxd/etc/jetty.xml seems to configure the contexts-handlers for the zimbra web applications, the file /opt/zimbra/mailboxd/etc/jetty-setuid.xml it seems open various socket taking parameters by the file /opt/zimbra/mailboxd/etc/
    It calls the method openport of the com.zimbra.common.handlers.PrivilegedHandler, with the hash of proprieties read in the jetty proprieties.file as argument. This class imports ./ZimbraCommon/src/java/com/zimbra/common/util/ to instantiate the socket object.
    I can't found the accept call on the socket object, maybe I miss some steps, I'm not a java programmer.

    Could anyone help me to understand the stack call used to store the message?
    Is there an apposite procedure to create the mysql records from the files?
    Should I care something before to insert manually the missing records?
    Last edited by fusillator; 03-26-2012 at 09:27 AM.

Similar Threads

  1. Old Backup stay in TO_DELETE status and no clearing..
    By bartounet in forum Administrators
    Replies: 0
    Last Post: 10-05-2010, 07:40 AM
  2. Major Issue - 5.0RC2 NE to 5.0GA NE failed
    By DougWare in forum Installation
    Replies: 7
    Last Post: 01-06-2008, 08:56 PM
  3. Can't start Zimbra!
    By zibra in forum Administrators
    Replies: 5
    Last Post: 03-22-2007, 11:34 AM
  4. Fedora Core 3, Clean Install - Not working!
    By pcjackson in forum Installation
    Replies: 17
    Last Post: 03-05-2006, 06:38 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