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 01-18-2010, 10:33 AM
Intermediate Member
 
Posts: 17
Default zmrestore read timeout during restore

Hi, we have some problem to restore mailbox from backup.
We are using Zimbra Network Edition 6.04

When you run the follow command, after few minutes we get a read timed out

zmrestore -d -a xxxxx@xxxx -restoreToTime "2010/01/18 14:00:00" -ca -pre restored_

[zimbra@aee01zmb log]$ zmrestore -d -a xxxxx@xxxx -restoreToTime "2010/01/18 14:00:00" -ca -pre restored_
using restore to time of 2010/01/18 14:00:00
Error occurred: Read timed out
java.net.SocketTimeoutException: Read timed out
at java.net.SocketInputStream.socketRead0(Native Method)
at java.net.SocketInputStream.read(SocketInputStream. java:129)
at com.sun.net.ssl.internal.ssl.InputRecord.readFully (InputRecord.java:293)
at com.sun.net.ssl.internal.ssl.InputRecord.read(Inpu tRecord.java:331)
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRec ord(SSLSocketImpl.java:789)
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readDat aRecord(SSLSocketImpl.java:746)
at com.sun.net.ssl.internal.ssl.AppInputStream.read(A ppInputStream.java:75)
at java.io.BufferedInputStream.fill(BufferedInputStre am.java:218)
at java.io.BufferedInputStream.read(BufferedInputStre am.java:237)
at org.apache.commons.httpclient.HttpParser.readRawLi ne(HttpParser.java:77)
at org.apache.commons.httpclient.HttpParser.readLine( HttpParser.java:105)
at org.apache.commons.httpclient.HttpConnection.readL ine(HttpConnection.java:1115)
at org.apache.commons.httpclient.MultiThreadedHttpCon nectionManager$HttpConnectionAdapter.readLine(Mult iThreadedHttpConnectionManager.java:1373)
at org.apache.commons.httpclient.HttpMethodBase.readS tatusLine(HttpMethodBase.java:1832)
at org.apache.commons.httpclient.HttpMethodBase.readR esponse(HttpMethodBase.java:1590)
at org.apache.commons.httpclient.HttpMethodBase.execu te(HttpMethodBase.java:995)
at org.apache.commons.httpclient.HttpMethodDirector.e xecuteWithRetry(HttpMethodDirector.java:397)
at org.apache.commons.httpclient.HttpMethodDirector.e xecuteMethod(HttpMethodDirector.java:170)
at org.apache.commons.httpclient.HttpClient.executeMe thod(HttpClient.java:396)
at com.zimbra.common.soap.SoapHttpTransport.invoke(So apHttpTransport.java:280)
at com.zimbra.common.soap.SoapHttpTransport.invoke(So apHttpTransport.java:206)
at com.zimbra.common.soap.SoapTransport.invoke(SoapTr ansport.java:356)
at com.zimbra.common.soap.SoapTransport.invokeWithout Session(SoapTransport.java:342)
at com.zimbra.cs.backup.RestoreUtil.restore(RestoreUt il.java:210)
at com.zimbra.cs.backup.RestoreUtil.main(RestoreUtil. java:59)

May you help me??

Best Regards

Mauro
Reply With Quote
  #2 (permalink)  
Old 01-19-2010, 11:06 PM
Intermediate Member
 
Posts: 17
Default Other information

The restore process starts in background, and after the cli error it still run until the end.
In the mailbox log i can see the restore proces finish correctly, but i don't understand why the cli after few minutes exit with a read only error.

By Mauro
Reply With Quote
  #3 (permalink)  
Old 01-20-2010, 03:44 AM
Outstanding Member
 
Posts: 594
Default

Its because your system time is not proper which causes the AUTh Token to expire.
Reply With Quote
  #4 (permalink)  
Old 01-22-2010, 02:44 PM
Intermediate Member
 
Posts: 17
Default How can i fix the time problem ??

My system is sync with ntpd server.
How can i fix the sync time problem ???

Best regards
Reply With Quote
  #5 (permalink)  
Old 05-09-2010, 01:50 PM
Active Member
 
Posts: 26
Default

We started having this "Read timeout" during zmrestore after we upgrade to 6.0.6. It seems having to do with this new localconfig:

httpclient_client_connection_timeout = 30000

I don't know why zmrestore is timedout about either. It runs in background for sure. How can we be sure the "timeout" is harmless that the restore can continue successfully?

Xueshan
Reply With Quote
  #6 (permalink)  
Old 05-13-2010, 11:14 AM
Zimbra Employee
 
Posts: 37
Default Bug submitted

Submitted bug 47051 for the socket read timeout error during zmrestore.
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.