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 03-03-2010, 08:38 PM
Trained Alumni
 
Posts: 108
Default [SOLVED] Anyone else having trouble restoring mail accounts on 6.0.5?

Hey Everyone,

I'm having zero success restoring any mailbox account on ALL our 6.0.5 mailbox servers. Is anyone else having issues? The backups are successful, and now we need to restore a few accounts. Anyways, I've already opened a Support Ticket, so we'll see if they uncover anything obvious (mailboxd restarts didn't fix it).

Java is throwing all kinds of tracebacks- heres a few:

Code:
Caused by: com.mysql.jdbc.exceptions.MySQLIntegrityConstraintViolationException: Cannot add or update a child row: a foreign key constraint fails (`mboxgroup29/mail_item`, CONSTRAINT `fk_mail_item_mailbox_id` FOREIGN KEY (`mailbox_id`) REFERENCES `zimbra`.`mailbox` (`id`))
and

Code:
Caused by: com.zimbra.common.service.ServiceException: system failure: writing new object of type 5
ExceptionId:LmtpServer-20:1267676645098:dc967d3c5dbedcba
Code:service.FAILURE
We've tried a random sample accounts, and all have failed:
Code:
[zimbra@zmbx02 ~]$ time zmrestore -a username@example.org -ca -pre restore_
Error occurred: Read timed out

real    5m3.001s
user    0m4.733s
sys     0m0.301s
[zimbra@zmbx02 ~]$

Last edited by Jesster; 03-03-2010 at 08:56 PM.. Reason: Clarified commands - and included CLI error message.
Reply With Quote
  #2 (permalink)  
Old 03-08-2010, 04:45 PM
Trained Alumni
 
Posts: 108
Default

Also experiencing this "Read timed out" on mailbox moves:

Code:
[zimbra@zimbra]$ time (zmmailboxmove -a username@example.org -t server2.example.org)
Error occurred: Read timed out

real    5m2.333s
user    0m4.189s
sys     0m0.232s
Reply With Quote
  #3 (permalink)  
Old 03-09-2010, 06:40 AM
Moderator
 
Posts: 1,209
Default

Quote:
Originally Posted by Jesster View Post
Also experiencing this "Read timed out" on mailbox moves:

Code:
[zimbra@zimbra]$ time (zmmailboxmove -a username@example.org -t server2.example.org)
Error occurred: Read timed out

real    5m2.333s
user    0m4.189s
sys     0m0.232s
FWIW we are getting the same read time out errors on 6.0.5 larger mailbox moves, but the mailbox move completes OK in the background. We just refresh the Admin Console and wait until the mailbox status changes from "Maintenance" to "Active".

Haven't tried restoring a mailbox yet, but will do so and report back in the next day or so.

All the best,
Mark
__________________
___________________________________
L. Mark Stone, CIO


"Uptime. All the time."

477 Congress Street | Portland, ME 04101-3431 | (207) 772-5678

proactive maintenance and monitoring | technology consulting
Zimbra groupware | EMR implementations | private cloud hosting
Reply With Quote
  #4 (permalink)  
Old 03-09-2010, 07:51 AM
Trained Alumni
 
Posts: 108
Default

Thanks LMStone,

I noticed my tests are with accounts 800MB or greater. They are all successful regardless of the CLI error. I am working with support on this, and it sounds like they have a 5 minute Soap Timeout

Code:
zmlocalconfig httpclient_soaphttptransport_so_timeout
mine is set to 300000 which Support says is 5 minutes
to set the timeout to Infinite, just set it to 0. I will do some testing today.

--
Jessie
Reply With Quote
  #5 (permalink)  
Old 04-06-2010, 01:45 PM
Moderator
 
Posts: 1,432
Default

Any update on this? I haven't tested but it'd be good to know if this is a common issue.
__________________
Elliot Wilen
Berkeley, CA

Don't forget to enter your Zimbra version in your forum profile.
Reply With Quote
  #6 (permalink)  
Old 04-06-2010, 10:27 PM
Trained Alumni
 
Posts: 108
Default

Quote:
Originally Posted by ewilen View Post
Any update on this? I haven't tested but it'd be good to know if this is a common issue.
Hey Elliot,

See my previous post - we needed to change the timeout for the soap stuff to 0, the 6.0.x default is 5 minutes. I'm not sure why others aren't complaining. maybe they are restoring smaller mailboxes.
Reply With Quote
  #7 (permalink)  
Old 04-07-2010, 01:05 PM
Moderator
 
Posts: 1,432
Default

Ah, so after changing the default, you got rid of the (cosmetic) error. Thanks.
__________________
Elliot Wilen
Berkeley, CA

Don't forget to enter your Zimbra version in your forum profile.
Reply With Quote
  #8 (permalink)  
Old 06-29-2010, 06:50 PM
Loyal Member
 
Posts: 83
Default

zmlocalconfig httpclient_soaphttptransport_so_timeout

Running this command shows my timeout to be 300000 as well.

What is the command to actually change the timeout value?

Is it better to increase the value to 10 or 20 minutes? Seems like setting it to infinite defeats the purpose of a timeout.

Eric
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.