Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
Go Back   Zimbra :: Forums > Zimbra Collaboration Suite > Administrators

Welcome to the Zimbra :: Forums!
Welcome, if you would like to post a comment please register. We also encourage you to explore all things Zimbra with our team and members of the community.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 11-27-2008, 06:10 PM
Member
 
Posts: 12
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.
Reply With Quote
  #2 (permalink)  
Old 12-01-2008, 12:09 AM
Moderator
 
Posts: 7,928
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
__________________
Reply With Quote
  #3 (permalink)  
Old 12-01-2008, 01:18 AM
Member
 
Posts: 12
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.
Reply With Quote
  #4 (permalink)  
Old 12-01-2008, 01:22 AM
Moderator
 
Posts: 7,928
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
__________________
Reply With Quote
  #5 (permalink)  
Old 12-01-2008, 01:48 AM
Member
 
Posts: 12
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
File Type: txt err_restart.txt (15.4 KB, 130 views)

Last edited by SergKz; 12-01-2008 at 01:59 AM..
Reply With Quote
  #6 (permalink)  
Old 12-01-2008, 01:59 AM
Moderator
 
Posts: 7,928
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 02:05 AM..
Reply With Quote
  #7 (permalink)  
Old 12-01-2008, 05:50 PM
Member
 
Posts: 12
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 06:00 PM..
Reply With Quote
  #8 (permalink)  
Old 12-02-2008, 12:58 PM
Elite Member
 
Posts: 337
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.
Reply With Quote
  #9 (permalink)  
Old 12-06-2008, 08:02 PM
Member
 
Posts: 12
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?
Reply With Quote
  #10 (permalink)  
Old 12-07-2008, 01:10 AM
Member
 
Posts: 12
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 "%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 01:25 AM..
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads

Why Join?

Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.

blog.zimbra.com




 

SEO by vBSEO ©2011, Crawlability, Inc.