I have an odd issue where ZD won't sync 2 of my accounts but it will sync 2 others. At first I thought it was because one of the ones it would sync was a google apps account for my school but to test that I created a band new gmail account and that one syncs fine so I am thinking that something (folder/message/contact/calendar entry). So I thought that I would post on here and include a log that was generated this morning when I closed Zimbra and deleted all logs, opened Zimbra and did a manual sync attempt.

-Nick

2014-03-27 10:23:15,564 DEBUG [btpool0-5] [mid=9;] datasource - Get all mappings for knucklehead in folder 2
2014-03-27 10:23:17,186 ERROR [btpool0-5] [mid=9;] datasource - Synchronization of folder '/Inbox' failed
com.zimbra.cs.mailclient.CommandFailedException: SELECT failed: Error in response
at com.zimbra.cs.mailclient.imap.ImapRequest.failed(I mapRequest.java:210)
at com.zimbra.cs.mailclient.imap.ImapRequest.send(Ima pRequest.java:103)
at com.zimbra.cs.mailclient.imap.ImapRequest.sendChec kStatus(ImapRequest.java:111)
at com.zimbra.cs.mailclient.imap.ImapConnection.doSel ectOrExamine(ImapConnection.java:205)
at com.zimbra.cs.mailclient.imap.ImapConnection.selec t(ImapConnection.java:192)
at com.zimbra.cs.datasource.imap.RemoteFolder.select( RemoteFolder.java:198)
at com.zimbra.cs.datasource.imap.ImapFolderSync.syncM essages(ImapFolderSync.java:269)
at com.zimbra.cs.datasource.imap.ImapSync.syncMessage s(ImapSync.java:326)
at com.zimbra.cs.datasource.imap.ImapSync.syncFolders (ImapSync.java:239)
at com.zimbra.cs.datasource.imap.ImapSync.importData( ImapSync.java:164)
at com.zimbra.cs.datasource.imap.ImapSync.importData( ImapSync.java:136)
at com.zimbra.cs.offline.OfflineImport.importData(Off lineImport.java:100)
at com.zimbra.cs.offline.GMailImport.importData(GMail Import.java:53)
at com.zimbra.cs.datasource.DataSourceManager.importD ata(DataSourceManager.java:317)
at com.zimbra.cs.datasource.DataSourceManager.importD ata(DataSourceManager.java:277)
at com.zimbra.cs.mailbox.DataSourceMailbox.syncAllLoc alDataSources(DataSourceMailbox.java:439)
at com.zimbra.cs.mailbox.DataSourceMailbox.sync(DataS ourceMailbox.java:478)
at com.zimbra.cs.service.offline.OfflineSync.handle(O fflineSync.java:55)
at com.zimbra.soap.SoapEngine.dispatchRequest(SoapEng ine.java:412)
at com.zimbra.soap.SoapEngine.dispatch(SoapEngine.jav a:287)
at com.zimbra.soap.SoapEngine.dispatch(SoapEngine.jav a:158)
at com.zimbra.soap.SoapServlet.doWork(SoapServlet.jav a:303)
at com.zimbra.soap.SoapServlet.doPost(SoapServlet.jav a:217)
at javax.servlet.http.HttpServlet.service(HttpServlet .java:725)
at com.zimbra.cs.servlet.ZimbraServlet.service(Zimbra Servlet.java:206)
at javax.servlet.http.HttpServlet.service(HttpServlet .java:814)
at org.mortbay.jetty.servlet.ServletHolder.handle(Ser vletHolder.java:511)
at org.mortbay.jetty.servlet.ServletHandler.handle(Se rvletHandler.java:390)
at org.mortbay.jetty.security.SecurityHandler.handle( SecurityHandler.java:218)
at org.mortbay.jetty.servlet.SessionHandler.handle(Se ssionHandler.java:182)
at org.mortbay.jetty.handler.ContextHandler.handle(Co ntextHandler.java:765)
at org.mortbay.jetty.webapp.WebAppContext.handle(WebA ppContext.java:422)
at org.mortbay.jetty.handler.ContextHandlerCollection .handle(ContextHandlerCollection.java:230)
at org.mortbay.jetty.handler.HandlerCollection.handle (HandlerCollection.java:114)
at org.mortbay.jetty.handler.HandlerWrapper.handle(Ha ndlerWrapper.java:152)
at org.mortbay.jetty.handler.rewrite.RewriteHandler.h andle(RewriteHandler.java:230)
at org.mortbay.jetty.handler.HandlerWrapper.handle(Ha ndlerWrapper.java:152)
at org.mortbay.jetty.Server.handle(Server.java:326)
at org.mortbay.jetty.HttpConnection.handleRequest(Htt pConnection.java:585)
at org.mortbay.jetty.HttpConnection$RequestHandler.co ntent(HttpConnection.java:988)
at org.mortbay.jetty.HttpParser.parseNext(HttpParser. java:756)
at org.mortbay.jetty.HttpParser.parseAvailable(HttpPa rser.java:218)
at org.mortbay.jetty.HttpConnection.handle(HttpConnec tion.java:415)
at org.mortbay.io.nio.SelectChannelEndPoint.run(Selec tChannelEndPoint.java:429)
at org.mortbay.thread.BoundedThreadPool$PoolThread.ru n(BoundedThreadPool.java:451)
Caused by: com.zimbra.cs.mailclient.ParseException: Invalid flag character ']'
at com.zimbra.cs.mailclient.imap.ImapInputStream.read Flag(ImapInputStream.java:90)
at com.zimbra.cs.mailclient.imap.Flags.read(Flags.jav a:58)
at com.zimbra.cs.mailclient.imap.ImapResponse.readUnt agged(ImapResponse.java:83)
at com.zimbra.cs.mailclient.imap.ImapResponse.readRes ponse(ImapResponse.java:51)
at com.zimbra.cs.mailclient.imap.ImapResponse.read(Im apResponse.java:38)
at com.zimbra.cs.mailclient.imap.ImapConnection.readR esponse(ImapConnection.java:654)
at com.zimbra.cs.mailclient.imap.ImapConnection.waitF orResponse(ImapConnection.java:647)
at com.zimbra.cs.mailclient.imap.ImapConnection.sendR equest(ImapConnection.java:515)
at com.zimbra.cs.mailclient.imap.ImapRequest.send(Ima pRequest.java:95)
... 43 more
2014-03-27 10:23:17,189 DEBUG [btpool0-5] [mid=9;] datasource - Local folder '/Unsubscribe': Syncing messages for folder
2014-03-27 10:23:17,190 DEBUG [btpool0-5] [mid=9;] datasource - removeSyncState: fid = 860, state = null
2014-03-27 10:23:17,190 DEBUG [btpool0-5] [mid=9;] datasource - Get all mappings for knucklehead in folder 860
2014-03-27 10:23:17,191 ERROR [btpool0-5] [mid=9;] datasource - Synchronization of folder '/Unsubscribe' failed
java.io.IOException: Connection is closed
at com.zimbra.cs.mailclient.imap.ImapConnection.sendR equest(ImapConnection.java:498)
at com.zimbra.cs.mailclient.imap.ImapRequest.send(Ima pRequest.java:95)
at com.zimbra.cs.mailclient.imap.ImapRequest.sendChec kStatus(ImapRequest.java:111)
at com.zimbra.cs.mailclient.imap.ImapConnection.doSel ectOrExamine(ImapConnection.java:205)
at com.zimbra.cs.mailclient.imap.ImapConnection.selec t(ImapConnection.java:192)
at com.zimbra.cs.datasource.imap.RemoteFolder.select( RemoteFolder.java:198)
at com.zimbra.cs.datasource.imap.ImapFolderSync.syncM essages(ImapFolderSync.java:269)
at com.zimbra.cs.datasource.imap.ImapSync.syncMessage s(ImapSync.java:326)
at com.zimbra.cs.datasource.imap.ImapSync.syncFolders (ImapSync.java:239)
at com.zimbra.cs.datasource.imap.ImapSync.importData( ImapSync.java:164)
at com.zimbra.cs.datasource.imap.ImapSync.importData( ImapSync.java:136)
at com.zimbra.cs.offline.OfflineImport.importData(Off lineImport.java:100)
at com.zimbra.cs.offline.GMailImport.importData(GMail Import.java:53)
at com.zimbra.cs.datasource.DataSourceManager.importD ata(DataSourceManager.java:317)
at com.zimbra.cs.datasource.DataSourceManager.importD ata(DataSourceManager.java:277)
at com.zimbra.cs.mailbox.DataSourceMailbox.syncAllLoc alDataSources(DataSourceMailbox.java:439)
at com.zimbra.cs.mailbox.DataSourceMailbox.sync(DataS ourceMailbox.java:478)
at com.zimbra.cs.service.offline.OfflineSync.handle(O fflineSync.java:55)
at com.zimbra.soap.SoapEngine.dispatchRequest(SoapEng ine.java:412)
at com.zimbra.soap.SoapEngine.dispatch(SoapEngine.jav a:287)
at com.zimbra.soap.SoapEngine.dispatch(SoapEngine.jav a:158)
at com.zimbra.soap.SoapServlet.doWork(SoapServlet.jav a:303)
at com.zimbra.soap.SoapServlet.doPost(SoapServlet.jav a:217)
at javax.servlet.http.HttpServlet.service(HttpServlet .java:725)
at com.zimbra.cs.servlet.ZimbraServlet.service(Zimbra Servlet.java:206)
at javax.servlet.http.HttpServlet.service(HttpServlet .java:814)
at org.mortbay.jetty.servlet.ServletHolder.handle(Ser vletHolder.java:511)
at org.mortbay.jetty.servlet.ServletHandler.handle(Se rvletHandler.java:390)
at org.mortbay.jetty.security.SecurityHandler.handle( SecurityHandler.java:218)
at org.mortbay.jetty.servlet.SessionHandler.handle(Se ssionHandler.java:182)
at org.mortbay.jetty.handler.ContextHandler.handle(Co ntextHandler.java:765)
at org.mortbay.jetty.webapp.WebAppContext.handle(WebA ppContext.java:422)
at org.mortbay.jetty.handler.ContextHandlerCollection .handle(ContextHandlerCollection.java:230)
at org.mortbay.jetty.handler.HandlerCollection.handle (HandlerCollection.java:114)
at org.mortbay.jetty.handler.HandlerWrapper.handle(Ha ndlerWrapper.java:152)
at org.mortbay.jetty.handler.rewrite.RewriteHandler.h andle(RewriteHandler.java:230)
at org.mortbay.jetty.handler.HandlerWrapper.handle(Ha ndlerWrapper.java:152)
at org.mortbay.jetty.Server.handle(Server.java:326)
at org.mortbay.jetty.HttpConnection.handleRequest(Htt pConnection.java:585)
at org.mortbay.jetty.HttpConnection$RequestHandler.co ntent(HttpConnection.java:988)
at org.mortbay.jetty.HttpParser.parseNext(HttpParser. java:756)
at org.mortbay.jetty.HttpParser.parseAvailable(HttpPa rser.java:218)
at org.mortbay.jetty.HttpConnection.handle(HttpConnec tion.java:415)
at org.mortbay.io.nio.SelectChannelEndPoint.run(Selec tChannelEndPoint.java:429)
at org.mortbay.thread.BoundedThreadPool$PoolThread.ru n(BoundedThreadPool.java:451)
2014-03-27 10:23:17,193 DEBUG [btpool0-5] [mid=9;] datasource - Closing connection
2014-03-27 10:23:17,193 INFO [btpool0-5] [mid=9;] gab - Importing contacts for data source 'knucklehead-contacts'
2014-03-27 10:23:17,578 DEBUG [btpool0-5] [mid=9;] gab - Loaded sync state for data source 'knucklehead-contacts': {lastModSequence=542, lastRevisionContact=2014-03-27T07:40:47.585, lastRevisionGroup=2014-01-07T22:25:34.251, lastContactURL=http://www.google.com/m8/feeds/groups/knucklehead101%40gmail.com/base/6}
2014-03-27 10:23:17,739 DEBUG [btpool0-5] [mid=9;] gab - Found 0 remote contact change(s)
2014-03-27 10:23:17,808 DEBUG [btpool0-5] [mid=9;] gab - System group 'My Contacts' url = http://www.google.com/m8/feeds/group...ail.com/base/6
2014-03-27 10:23:17,810 DEBUG [btpool0-5] [mid=9;] gab - Found 0 local contact changes
2014-03-27 10:23:17,810 DEBUG [btpool0-5] [mid=9;] gab - Contact changes pushed: 0 added, 0 updated, and 0 deleted
2014-03-27 10:23:17,810 DEBUG [btpool0-5] [mid=9;] gab - Saving sync state for data source 'knucklehead-contacts': {lastModSequence=599, lastRevisionContact=2014-03-27T07:40:47.585, lastRevisionGroup=2014-01-07T22:25:34.251, lastContactURL=http://www.google.com/m8/feeds/groups/knucklehead101%40gmail.com/base/6}
2014-03-27 10:23:17,826 INFO [btpool0-5] [mid=9;] gab - Finished importing contacts for data source 'knucklehead-contacts'
2014-03-27 10:23:17,830 DEBUG [btpool0-5] [mid=9;] dav - WebDAV request (depth=zero): /calendar/dav/Knucklehead101@gmail.com/user
2014-03-27 10:23:18,208 DEBUG [btpool0-5] [mid=9;] dav - WebDAV request (depth=one): /calendar/dav/knucklehead101%40gmail.com/
2014-03-27 10:23:18,429 DEBUG [btpool0-5] [mid=9;] datasource - Get all mappings for knucklehead-caldav in folder 10
2014-03-27 10:23:18,477 INFO [btpool0-5] [mid=9;] datasource - Import completed for data source 'knucklehead'
2014-03-27 10:23:18,481 ERROR [btpool0-5] [mid=9;] offline - sync failure: knucklehead
com.zimbra.common.service.ServiceException: system failure: Folder sync failed
ExceptionId:btpool0-5:1395940997193:1ef4cdef5a5d4db0
Code:service.FAILURE
at com.zimbra.common.service.ServiceException.FAILURE (ServiceException.java:253)
at com.zimbra.cs.datasource.imap.ImapSync.importData( ImapSync.java:169)
at com.zimbra.cs.datasource.imap.ImapSync.importData( ImapSync.java:136)
at com.zimbra.cs.offline.OfflineImport.importData(Off lineImport.java:100)
at com.zimbra.cs.offline.GMailImport.importData(GMail Import.java:53)
at com.zimbra.cs.datasource.DataSourceManager.importD ata(DataSourceManager.java:317)
at com.zimbra.cs.datasource.DataSourceManager.importD ata(DataSourceManager.java:277)
at com.zimbra.cs.mailbox.DataSourceMailbox.syncAllLoc alDataSources(DataSourceMailbox.java:439)
at com.zimbra.cs.mailbox.DataSourceMailbox.sync(DataS ourceMailbox.java:478)
at com.zimbra.cs.service.offline.OfflineSync.handle(O fflineSync.java:55)
at com.zimbra.soap.SoapEngine.dispatchRequest(SoapEng ine.java:412)
at com.zimbra.soap.SoapEngine.dispatch(SoapEngine.jav a:287)
at com.zimbra.soap.SoapEngine.dispatch(SoapEngine.jav a:158)
at com.zimbra.soap.SoapServlet.doWork(SoapServlet.jav a:303)
at com.zimbra.soap.SoapServlet.doPost(SoapServlet.jav a:217)
at javax.servlet.http.HttpServlet.service(HttpServlet .java:725)
at com.zimbra.cs.servlet.ZimbraServlet.service(Zimbra Servlet.java:206)
at javax.servlet.http.HttpServlet.service(HttpServlet .java:814)
at org.mortbay.jetty.servlet.ServletHolder.handle(Ser vletHolder.java:511)
at org.mortbay.jetty.servlet.ServletHandler.handle(Se rvletHandler.java:390)
at org.mortbay.jetty.security.SecurityHandler.handle( SecurityHandler.java:218)
at org.mortbay.jetty.servlet.SessionHandler.handle(Se ssionHandler.java:182)
at org.mortbay.jetty.handler.ContextHandler.handle(Co ntextHandler.java:765)
at org.mortbay.jetty.webapp.WebAppContext.handle(WebA ppContext.java:422)
at org.mortbay.jetty.handler.ContextHandlerCollection .handle(ContextHandlerCollection.java:230)
at org.mortbay.jetty.handler.HandlerCollection.handle (HandlerCollection.java:114)
at org.mortbay.jetty.handler.HandlerWrapper.handle(Ha ndlerWrapper.java:152)
at org.mortbay.jetty.handler.rewrite.RewriteHandler.h andle(RewriteHandler.java:230)
at org.mortbay.jetty.handler.HandlerWrapper.handle(Ha ndlerWrapper.java:152)
at org.mortbay.jetty.Server.handle(Server.java:326)
at org.mortbay.jetty.HttpConnection.handleRequest(Htt pConnection.java:585)
at org.mortbay.jetty.HttpConnection$RequestHandler.co ntent(HttpConnection.java:988)
at org.mortbay.jetty.HttpParser.parseNext(HttpParser. java:756)
at org.mortbay.jetty.HttpParser.parseAvailable(HttpPa rser.java:218)
at org.mortbay.jetty.HttpConnection.handle(HttpConnec tion.java:415)
at org.mortbay.io.nio.SelectChannelEndPoint.run(Selec tChannelEndPoint.java:429)
at org.mortbay.thread.BoundedThreadPool$PoolThread.ru n(BoundedThreadPool.java:451)
Caused by: com.zimbra.common.service.ServiceException: system failure: Synchronization of folder '/Unsubscribe' failed
ExceptionId:btpool0-5:1395940997192:1ef4cdef5a5d4db0
Code:service.FAILURE
at com.zimbra.common.service.ServiceException.FAILURE (ServiceException.java:253)
at com.zimbra.cs.datasource.imap.ImapSync.syncFailed( ImapSync.java:388)
at com.zimbra.cs.datasource.imap.ImapSync.syncMessage s(ImapSync.java:329)
at com.zimbra.cs.datasource.imap.ImapSync.syncFolders (ImapSync.java:239)
at com.zimbra.cs.datasource.imap.ImapSync.importData( ImapSync.java:164)
... 35 more
Caused by: java.io.IOException: Connection is closed
at com.zimbra.cs.mailclient.imap.ImapConnection.sendR equest(ImapConnection.java:498)
at com.zimbra.cs.mailclient.imap.ImapRequest.send(Ima pRequest.java:95)
at com.zimbra.cs.mailclient.imap.ImapRequest.sendChec kStatus(ImapRequest.java:111)
at com.zimbra.cs.mailclient.imap.ImapConnection.doSel ectOrExamine(ImapConnection.java:205)
at com.zimbra.cs.mailclient.imap.ImapConnection.selec t(ImapConnection.java:192)
at com.zimbra.cs.datasource.imap.RemoteFolder.select( RemoteFolder.java:198)
at com.zimbra.cs.datasource.imap.ImapFolderSync.syncM essages(ImapFolderSync.java:269)
at com.zimbra.cs.datasource.imap.ImapSync.syncMessage s(ImapSync.java:326)
... 37 more