Results 1 to 6 of 6

Thread: zmrestore read timeout during restore

  1. #1
    Join Date
    Feb 2009
    Posts
    17
    Rep Power
    6

    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

  2. #2
    Join Date
    Feb 2009
    Posts
    17
    Rep Power
    6

    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

  3. #3
    Join Date
    Jun 2008
    Posts
    594
    Rep Power
    8

    Default

    Its because your system time is not proper which causes the AUTh Token to expire.

  4. #4
    Join Date
    Feb 2009
    Posts
    17
    Rep Power
    6

    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

  5. #5
    Join Date
    Feb 2008
    Posts
    26
    Rep Power
    7

    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

  6. #6
    Join Date
    Mar 2006
    Location
    Greenwood, IN
    Posts
    90
    Rep Power
    9

    Default Bug submitted

    Submitted bug 47051 for the socket read timeout error during zmrestore.

Similar Threads

  1. bayes db..
    By osiris in forum Administrators
    Replies: 9
    Last Post: 06-15-2011, 12:14 PM
  2. speed up the net
    By mcesari in forum Administrators
    Replies: 10
    Last Post: 04-25-2008, 12:24 PM
  3. Read Timeout For Some External Email
    By sudiria in forum Installation
    Replies: 0
    Last Post: 10-04-2007, 02:56 AM
  4. Read Timeout
    By Max Ma in forum Administrators
    Replies: 1
    Last Post: 10-02-2007, 09:47 PM
  5. Replies: 13
    Last Post: 10-31-2005, 04:22 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
  •