Page 1 of 2 12 LastLast
Results 1 to 10 of 11

Thread: Update to 5.0.11 - zmmailboxd stopped at 15 minutes after update

  1. #1
    SergKz is offline Member
    Join Date
    Oct 2008
    Posts
    12
    Rep Power
    6

    Angry Update to 5.0.11 - zmmailboxd stopped at 15 minutes after update

    Fedora8, Intel motherboard, 4GB memory, Zimbra OSS 5.0.0. Worked well from the moment of installation version 5.0.0. I have updated Zimbra to version 5.0.11 and have received regular stops mailboxd in 15-20 minutes after start. Manipulations with parameter mailboxd_java_heap_memory_percent have not given any changes.
    After a stop there is an error in mailboxd.log:
    #
    FATAL [LmtpServer-2] [] system - Fatal error occurred while handling connection java.lang is fixed.
    OutOfMemoryError: Java heap space at org.apache.lucene.store. IndexInput.readString (IndexInput.java:111)
    .....
    ...etc... lot of Java errors....
    #
    How to eliminate the stop reasons? Now I have temporarily corrected it, restarting zmmailboxdctl each 15 minutes through crontab.

  2. #2
    uxbod's Avatar
    uxbod is offline Moderator
    Join Date
    Nov 2006
    Location
    UK
    Posts
    8,016
    Rep Power
    24

    Default

    [SOLVED] Uploading large files to Briefcase... timeout?

    What have you set the percentage to now ?
    Code:
    su - zimbra
    zmlocalconfig mailboxd_java_heap_memory_percent

  3. #3
    SergKz is offline Member
    Join Date
    Oct 2008
    Posts
    12
    Rep Power
    6

    Default

    Now the parameter mailboxd_java_heap_memory_percent is set to 50.
    I have tried values from 30 to 75 (and restarting zimbra) with no effect.
    The mailboxd stopped again and again approximately each 17-20 minutes, sometimes 12 minutes.

  4. #4
    uxbod's Avatar
    uxbod is offline Moderator
    Join Date
    Nov 2006
    Location
    UK
    Posts
    8,016
    Rep Power
    24

    Default

    Could you post the full error message when it happens again please. I have seen one bug reported with this error, but it was in ZCD, when handling a large message :- Bug 30745 - OOME when handling GetMsg

  5. #5
    SergKz is offline Member
    Join Date
    Oct 2008
    Posts
    12
    Rep Power
    6

    Default

    After restarting, lot of error mesages appeared in mailibox.log
    The file with messages is attached.
    Also, the webmail stops working alreay at 3-5 minutes after restart zmmailboxd, and begin to say error "network error zclient/io" in browser.
    The pop3 daemon works at that moment well, but it crashed too with period 15-20 minutes after restart.
    Attached Files Attached Files
    Last edited by SergKz; 12-01-2008 at 02:59 AM.

  6. #6
    uxbod's Avatar
    uxbod is offline Moderator
    Join Date
    Nov 2006
    Location
    UK
    Posts
    8,016
    Rep Power
    24

    Default

    Okay looks like you may have some corruption in the mailbox of sergkz. Could you try re-indexing it from the Admin GUI, alternatively from the command line using
    Code:
    su - zimbra
    zmprov rim <name>@<domain>.com start
    Last edited by uxbod; 12-01-2008 at 03:05 AM.

  7. #7
    SergKz is offline Member
    Join Date
    Oct 2008
    Posts
    12
    Rep Power
    6

    Default

    I have tried it.
    The result:
    $ zmprov rim sergkz@sayan.ru start
    status: started
    $ zmprov rim sergkz@sayan.ru status
    ERROR: service.NOT_IN_PROGRESS (mbox 40a8eb83-98c6-45a2-89e9-317f06328e09 is not currently running action ReIndex)
    $
    is it right?
    also, after some minutes I see the other error:
    $
    $zmprov rim sergkz@sayan.ru status
    ERROR: zclient.IO_ERROR (invoke cannot determine soap protocol in reply: <html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"/><title>Error 503 SERVICE_UNAVAILABLE</title></head><body><h2>HTTP ERROR: 503</h2><pre>SERVICE_UNAVAILABLE</pre><p>RequestURI=/service/admin/soap/</p><p><i><small><a href="http://jetty.mortbay.org">Powered by jetty://</a></small></i></p></body></html>, server: localhost) (cause: com.zimbra.common.soap.SoapParseException cannot determine soap protocol in reply: <html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"/><title>Error 503 SERVICE_UNAVAILABLE</title></head><body><h2>HTTP ERROR: 503</h2><pre>SERVICE_UNAVAILABLE</pre><p>RequestURI=/service/admin/soap/</p><p><i><small><a href="http://jetty.mortbay.org">Powered by jetty://</a></small></i></p></body></html>)
    Last edited by SergKz; 12-01-2008 at 07:00 PM.

  8. #8
    Jbrabander's Avatar
    Jbrabander is offline Elite Member
    Join Date
    May 2008
    Location
    Park City, KS
    Posts
    342
    Rep Power
    6

    Default

    Just to ask...

    Would it be possible to load 5.0 on another server and move his mailboxes over to it? I'm just thinking that maybe that would get his mail at least running while getting the original server issues fixed.

  9. #9
    SergKz is offline Member
    Join Date
    Oct 2008
    Posts
    12
    Rep Power
    6

    Default

    Quote Originally Posted by Jbrabander View Post
    Just to ask...
    Would it be possible to load 5.0 on another server and move his mailboxes over to it? I'm just thinking that maybe that would get his mail at least running while getting the original server issues fixed.
    How can I to move mailboxes WITHOUT old mail?
    For example, I want to move mailboxes with letters only recieved last month.
    The recommended method moving-zcs-to-another-server moved all of old databases, old versions (the server was upgraded not once) etc... And all of bugs, I think.
    And if I decide to drop content of mailboxes and move only accounts (usernames and passwords) - is there standard procedure to move it?
    Or I must use LDAPexplorer to manually move accounts?

  10. #10
    SergKz is offline Member
    Join Date
    Oct 2008
    Posts
    12
    Rep Power
    6

    Default

    I have made it!
    To begin, I have installed the clean, fresh zimbra OSE to new server.
    After that I wrote the script (shell+awk) to generate command file with zmprov to export account list with mailn parameters (name, password, givenName) to ahother server.
    The awk script is:
    #cat zmgetacc.awk
    $2=="name"{printf "&#37;s","/opt/zimbra/bin/zmprov ca "$3" 123 "}
    $1=="displayName:"{printf "displayName \"%s %s",$2,$3"\""}
    $1=="givenName:"{printf "%s"," givenName \""$2"\""}
    $1=="sn:"{printf "%s"," sn \""$2"\""}
    $1=="userPassword:"{print " userPassword "$2}
    #
    The process of accounts transfer is:
    1. First step - get text dump of account at old server using zmprov
    # su zimbra -c "/opt/zimbra/bin/zmprov gaa -v" > accounts-all.txt
    (the su is neeeded as the bug workaround with non-correct set of LANG environment variable in zimbra system account and trouble to display/edit non-ascii symbols in zimbra account)
    2. Second step - convert accounts dump to zmprov command file
    # awk -f zmgetacc.awk accounts-all.txt > zmcracc.sh
    Now we have command file zmcracc.sh with lines like
    --
    /opt/zimbra/bin/zmprov ca abc@domain.com 123 displayName "ABC abcname" givenName "ABC" sn "ABC" userPassword {SSHA}+N+V8Yk8w0IgX9AoQWqcYqUbfEgxZBqp
    --
    3. Third step - create account on the new server.
    Get the file zmcracc.sh by any method to the new server and run:
    su zimbra -c "sh zmcracc.sh"
    It requires about 1 second to each account (on my server) so after some minutes we have all accounts created on the new server.
    So, all the accounts already works on the new server, and the rest (if needed) is to run imapsync to move content of select mailboxes to new server.
    Last edited by SergKz; 12-07-2008 at 02:25 AM.

Page 1 of 2 12 LastLast

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Update: shortcuts stopped working
    By efraim in forum Error Reports
    Replies: 3
    Last Post: 11-04-2008, 12:16 AM
  2. zmmailboxdctl is stopped frequently..
    By tamilnandhu in forum Installation
    Replies: 13
    Last Post: 04-12-2008, 08:59 AM
  3. Update Received Date in Folder-Listing
    By Oswald-Kolle in forum Installation
    Replies: 25
    Last Post: 08-21-2007, 04:21 PM
  4. The mailbox and mta dies in FC4 GA version
    By meikka in forum Installation
    Replies: 72
    Last Post: 03-16-2006, 05:30 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
  •