[SOLVED] sync failure

If Zimbra Desktop had a sync failure, it may have told you to post your error in this section.
eombah
Advanced member
Advanced member
Posts: 87
Joined: Fri Sep 12, 2014 10:19 pm

[SOLVED] sync failure

Postby eombah » Sat Sep 20, 2008 5:48 am

Hi,
Almost finished syncing a large Zimbra account (completed 3.4 GB of 3.6 GB), a sync error occurs.

I don't get an error report so I turned on DEBUG mode.

mailbox.log now says:


2008-09-20 11:26:53,253 DEBUG [btpool0-0] [name=bart@abc.com;aname=local@host.local;mid=3;ip=127.0.0.1;ua=ZimbraWebClient - PRISM (Linux)/0.0;] request - GET https://webmail.abc.com/home/~/?fmt=tgz&list=34722,34721,34720,34719,34718,34717,34715,34714,34713,34712,34711,34710,34709,34708,34707,34706,34705,34704,34702,34700,34699,34697,34696,34694,34693,34692,34691,34690,34689,34688,34687,34686,34684,34683,34681,34680,34678,34677,34675,34673,34672,34671,34670,34669,34668,34667,34666,34665,34664,34663,34662,34661,34660,34659,34658,34657,34656,34655,34654,34653,34652,34651,34650,34649,34647,34646,34645,34644,34643,34641,34640,34639,34638,34637,34636,34635,34633,34631,34630,34628,34627,34626,34625,34624,34622,34621,34620,34619,34618,34617,34616,34615,34614,34613,34612,34611,34610,34609,34607,34606

2008-09-20 11:26:53,422 ERROR [btpool0-0] [name=bart@abc.com;aname=local@host.local;mid=3;ip=127.0.0.1;ua=ZimbraWebClient - PRISM (Linux)/0.0;] offline - sync failure: bart@abc.com

com.zimbra.common.service.ServiceException: system failure: InitialSync.syncMessagesAsTgz

ExceptionId:btpool0-0:1221906413421:4c705020b968722b

Code:service.FAILURE

at com.zimbra.common.service.ServiceException.FAILURE(ServiceException.java:253)

at com.zimbra.cs.mailbox.SyncExceptionHandler.checkRecoverableException(SyncExceptionHandler.java:38)

at com.zimbra.cs.mailbox.InitialSync.syncMessagesAsTgz(InitialSync.java:882)

at com.zimbra.cs.mailbox.InitialSync.syncMessages(InitialSync.java:840)

at com.zimbra.cs.mailbox.InitialSync.syncMessagelikeItems(InitialSync.java:423)

at com.zimbra.cs.mailbox.InitialSync.initialFolderSync(InitialSync.java:313)

at com.zimbra.cs.mailbox.InitialSync.prioritySync(InitialSync.java:387)

at com.zimbra.cs.mailbox.InitialSync.initialFolderSync(InitialSync.java:372)

at com.zimbra.cs.mailbox.InitialSync.initialFolderSync(InitialSync.java:377)

at com.zimbra.cs.mailbox.InitialSync.resume(InitialSync.java:188)

at com.zimbra.cs.mailbox.InitialSync.resume(InitialSync.java:174)

at com.zimbra.cs.mailbox.MailboxSync.sync(MailboxSync.java:192)

at com.zimbra.cs.mailbox.OfflineMailbox.sync(OfflineMailbox.java:115)

at com.zimbra.cs.service.offline.OfflineSync.handle(OfflineSync.java:44)

at com.zimbra.soap.SoapEngine.dispatchRequest(SoapEngine.java:411)

at com.zimbra.soap.SoapEngine.dispatch(SoapEngine.java:268)

at com.zimbra.soap.SoapEngine.dispatch(SoapEngine.java:160)

at com.zimbra.soap.SoapServlet.doPost(SoapServlet.java:266)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)

at com.zimbra.cs.servlet.ZimbraServlet.service(ZimbraServlet.java:188)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)

at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:487)

at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:362)

at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)

at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)

at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:716)

at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:406)

at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:211)

at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)

at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:139)

at org.mortbay.jetty.handler.RewriteHandler.handle(RewriteHandler.java:176)

at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:139)

at org.mortbay.jetty.Server.handle(Server.java:313)

at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:506)

at org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:844)

at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:644)

at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:211)

at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:381)

at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:396)

at org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:442)

Caused by: com.zimbra.common.service.ServiceException: system failure: Unable to read/write message id=34722

ExceptionId:btpool0-0:1221906413421:4c705020b968722b

Code:service.FAILURE

at com.zimbra.common.service.ServiceException.FAILURE(ServiceException.java:253)

at com.zimbra.cs.mailbox.InitialSync.saveMessage(InitialSync.java:1014)

at com.zimbra.cs.mailbox.InitialSync.syncMessagesAsTgz(InitialSync.java:879)

... 37 more

Caused by: java.io.IOException: unexpected EOF with 1 bytes unread

at com.zimbra.common.util.tar.TarInputStream.read(TarInputStream.java:353)

at com.zimbra.common.util.tar.TarInputStream.read(TarInputStream.java:298)

at com.zimbra.common.util.ByteUtil.readInput(ByteUtil.java:614)

at com.zimbra.cs.mailbox.InitialSync.saveMessage(InitialSync.java:1003)

... 38 more

I had exactly the same promblem with this account on another zdesktop machine.

I only have it with this account.

I'm running zdesktop_0_90_build_1278_linux_i686.sh
-Bart


eombah
Advanced member
Advanced member
Posts: 87
Joined: Fri Sep 12, 2014 10:19 pm

[SOLVED] sync failure

Postby eombah » Sun Sep 21, 2008 7:04 am

I investigated some more.
In firefox I navigate to
this">https://webmail.abc.com/home/~/?fmt=tgz&list=34722
this
returns a tgz file. Opening it in File Roller fails.

Command line output is:
tar: Unexpected EOF in archive

tar: Error is not recoverable: exiting now


Fetching the next message, 34723, opens fine in File Roller.

So it looks as if there's something wrong with message 34722.
I viewed message 34722 using more, there were strange characters in it and an attachment named winmail.dat.
I couldn't delete the message using the Zimbra Advanced Client so I deleted it with Thunderbird, this worked.
I killed the server part of zdesktop and restarted, after that it started to sync again, up until the message 35885. I couldn't delete this one from the Zmmbra Advanced Client nor using Thunderbird so I deleted it "hard" from the mail server's file system. Then restarted zdesktop and it's syncing again. Guess I'll have to reindex my mailbox.
So in my case, syncing stopped working due to corrupted messages. I don't know how they got corrupted, I guess in one of the two migrations from Cyrus IMAP to zimbra that I have performed over the last two years.
So for me this is SOLVED, I'll mark it as such.
-Bart
jjzhuang
Elite member
Elite member
Posts: 1687
Joined: Fri Sep 12, 2014 10:24 pm

[SOLVED] sync failure

Postby jjzhuang » Mon Sep 22, 2008 3:32 am

You probably ran into this issue:
Access Denied
eombah
Advanced member
Advanced member
Posts: 87
Joined: Fri Sep 12, 2014 10:19 pm

[SOLVED] sync failure

Postby eombah » Mon Sep 22, 2008 2:54 pm

I get:
You are not authorized to access bug #31519.
jjzhuang
Elite member
Elite member
Posts: 1687
Joined: Fri Sep 12, 2014 10:24 pm

[SOLVED] sync failure

Postby jjzhuang » Mon Sep 22, 2008 5:42 pm

my bad. i referenced a zimbra internal bug. sorry.

Return to “Error Reports”

Who is online

Users browsing this forum: No registered users and 3 guests