Sits at loading screen?

General discussion about Zimbra Desktop.
moshen
Posts: 4
Joined: Fri Sep 12, 2014 11:21 pm

Sits at loading screen?

Postby moshen » Fri Feb 15, 2008 9:59 am

Running the latest build of zimbra desktop on Ubuntu 7.10... Install was successful, setup my gmail account, let it run for awhile and closed it. Opened it today and it does not get past the "loading..." screen.
Error in zdesktop.err (with no timestamp):

Zimbra server process is running as uid=1000 euid=1000 gid=1000 egid=1000

java.net.SocketTimeoutException: Read timed out

at java.net.SocketInputStream.socketRead0(Native Method)

at java.net.SocketInputStream.read(Unknown Source)

at com.sun.net.ssl.internal.ssl.InputRecord.readFully(Unknown Source)

at com.sun.net.ssl.internal.ssl.InputRecord.read(Unknown Source)

at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord(Unknown Source)

at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readDataRecord(Unknown Source)

at com.sun.net.ssl.internal.ssl.AppInputStream.read(Unknown Source)

at com.sun.mail.util.TraceInputStream.read(TraceInputStream.java:97)

at java.io.BufferedInputStream.fill(Unknown Source)

at java.io.BufferedInputStream.read(Unknown Source)

at com.zimbra.cs.mailtest.ImapParser.peek(ImapParser.java:247)

at com.zimbra.cs.mailtest.ImapParser.peekChar(ImapParser.java:231)

at com.zimbra.cs.mailtest.ImapResponse.parse(ImapResponse.java:26)

at com.zimbra.cs.mailtest.ImapResponse.read(ImapResponse.java:18)

at com.zimbra.cs.mailtest.UidFetch.doFETCH(UidFetch.java:56)

at com.zimbra.cs.mailtest.UidFetch.access$000(UidFetch.java:22)

at com.zimbra.cs.mailtest.UidFetch$1.doCommand(UidFetch.java:33)

at com.sun.mail.imap.IMAPFolder.doProtocolCommand(IMAPFolder.java:2602)

at com.sun.mail.imap.IMAPFolder.doCommand(IMAPFolder.java:2556)

at com.zimbra.cs.mailtest.UidFetch.fetch(UidFetch.java:30)

at com.zimbra.cs.datasource.ImapImport.importFolder(ImapImport.java:627)

at com.zimbra.cs.datasource.ImapImport.importData(ImapImport.java:350)

at com.zimbra.cs.datasource.DataSourceManager.importData(DataSourceManager.java:148)

at com.zimbra.cs.mailbox.LocalMailbox.syncAllLocalDataSources(LocalMailbox.java:256)

at com.zimbra.cs.mailbox.LocalMailbox.sync(LocalMailbox.java:294)

at com.zimbra.cs.mailbox.LocalMailbox.syncOnTimer(LocalMailbox.java:236)

at com.zimbra.cs.mailbox.DesktopMailbox$1.run(DesktopMailbox.java:85)

at java.util.TimerThread.mainLoop(Unknown Source)

at java.util.TimerThread.run(Unknown Source)

java.net.SocketTimeoutException: Read timed out

at java.net.SocketInputStream.socketRead0(Native Method)

at java.net.SocketInputStream.read(Unknown Source)

at com.sun.net.ssl.internal.ssl.InputRecord.readFully(Unknown Source)

at com.sun.net.ssl.internal.ssl.InputRecord.read(Unknown Source)

at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord(Unknown Source)

at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readDataRecord(Unknown Source)

at com.sun.net.ssl.internal.ssl.AppInputStream.read(Unknown Source)

at com.sun.mail.util.TraceInputStream.read(TraceInputStream.java:97)

at java.io.BufferedInputStream.fill(Unknown Source)

at java.io.BufferedInputStream.read(Unknown Source)

at com.zimbra.cs.mailtest.ImapParser.peek(ImapParser.java:247)

at com.zimbra.cs.mailtest.ImapParser.peekChar(ImapParser.java:231)

at com.zimbra.cs.mailtest.ImapResponse.parse(ImapResponse.java:26)

at com.zimbra.cs.mailtest.ImapResponse.read(ImapResponse.java:18)

at com.zimbra.cs.mailtest.UidFetch.doFETCH(UidFetch.java:56)

at com.zimbra.cs.mailtest.UidFetch.access$000(UidFetch.java:22)

at com.zimbra.cs.mailtest.UidFetch$1.doCommand(UidFetch.java:33)

at com.sun.mail.imap.IMAPFolder.doProtocolCommand(IMAPFolder.java:2602)

at com.sun.mail.imap.IMAPFolder.doCommand(IMAPFolder.java:2556)

at com.zimbra.cs.mailtest.UidFetch.fetch(UidFetch.java:30)

at com.zimbra.cs.datasource.ImapImport.importFolder(ImapImport.java:627)

at com.zimbra.cs.datasource.ImapImport.importData(ImapImport.java:350)

at com.zimbra.cs.datasource.DataSourceManager.importData(DataSourceManager.java:148)

at com.zimbra.cs.mailbox.LocalMailbox.syncAllLocalDataSources(LocalMailbox.java:256)

at com.zimbra.cs.mailbox.LocalMailbox.sync(LocalMailbox.java:294)

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

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

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

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

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

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

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

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)

java.net.SocketTimeoutException: Read timed out

at java.net.SocketInputStream.socketRead0(Native Method)

at java.net.SocketInputStream.read(Unknown Source)

at com.sun.net.ssl.internal.ssl.InputRecord.readFully(Unknown Source)

at com.sun.net.ssl.internal.ssl.InputRecord.read(Unknown Source)

at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord(Unknown Source)

at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readDataRecord(Unknown Source)

at com.sun.net.ssl.internal.ssl.AppInputStream.read(Unknown Source)

at com.sun.mail.util.TraceInputStream.read(TraceInputStream.java:97)

at java.io.BufferedInputStream.fill(Unknown Source)

at java.io.BufferedInputStream.read(Unknown Source)

at com.zimbra.cs.mailtest.ImapParser.peek(ImapParser.java:247)

at com.zimbra.cs.mailtest.ImapParser.peekChar(ImapParser.java:231)

at com.zimbra.cs.mailtest.ImapResponse.parse(ImapResponse.java:26)

at com.zimbra.cs.mailtest.ImapResponse.read(ImapResponse.java:18)

at com.zimbra.cs.mailtest.UidFetch.doFETCH(UidFetch.java:56)

at com.zimbra.cs.mailtest.UidFetch.access$000(UidFetch.java:22)

at com.zimbra.cs.mailtest.UidFetch$1.doCommand(UidFetch.java:33)

at com.sun.mail.imap.IMAPFolder.doProtocolCommand(IMAPFolder.java:2602)

at com.sun.mail.imap.IMAPFolder.doCommand(IMAPFolder.java:2556)

at com.zimbra.cs.mailtest.UidFetch.fetch(UidFetch.java:30)

at com.zimbra.cs.datasource.ImapImport.importFolder(ImapImport.java:627)

at com.zimbra.cs.datasource.ImapImport.importData(ImapImport.java:350)

at com.zimbra.cs.datasource.DataSourceManager.importData(DataSourceManager.java:148)

at com.zimbra.cs.mailbox.LocalMailbox.syncAllLocalDataSources(LocalMailbox.java:256)

at com.zimbra.cs.mailbox.LocalMailbox.sync(LocalMailbox.java:294)

at com.zimbra.cs.mailbox.LocalMailbox.syncOnTimer(LocalMailbox.java:236)

at com.zimbra.cs.mailbox.DesktopMailbox$1.run(DesktopMailbox.java:85)

at java.util.TimerThread.mainLoop(Unknown Source)

at java.util.TimerThread.run(Unknown Source)

java.net.SocketTimeoutException: Read timed out

at java.net.SocketInputStream.socketRead0(Native Method)

at java.net.SocketInputStream.read(Unknown Source)

at com.sun.net.ssl.internal.ssl.InputRecord.readFully(Unknown Source)

at com.sun.net.ssl.internal.ssl.InputRecord.readV3Record(Unknown Source)

at com.sun.net.ssl.internal.ssl.InputRecord.read(Unknown Source)

at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord(Unknown Source)

at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readDataRecord(Unknown Source)

at com.sun.net.ssl.internal.ssl.AppInputStream.read(Unknown Source)

at com.sun.mail.util.TraceInputStream.read(TraceInputStream.java:97)

at java.io.BufferedInputStream.read1(Unknown Source)

at java.io.BufferedInputStream.read(Unknown Source)

at java.io.DataInputStream.readFully(Unknown Source)

at java.io.DataInputStream.readFully(Unknown Source)

at com.zimbra.cs.mailtest.ImapParser.readLiteral(ImapParser.java:148)

at com.zimbra.cs.mailtest.ImapParser.readAString(ImapParser.java:77)

at com.zimbra.cs.mailtest.ImapParser.readList(ImapParser.java:94)

at com.zimbra.cs.mailtest.ImapResponse.readUntagged(ImapResponse.java:102)

at com.zimbra.cs.mailtest.ImapResponse.parse(ImapResponse.java:32)

at com.zimbra.cs.mailtest.ImapResponse.read(ImapResponse.java:18)

at com.zimbra.cs.mailtest.UidFetch.doFETCH(UidFetch.java:56)

at com.zimbra.cs.mailtest.UidFetch.access$000(UidFetch.java:22)

at com.zimbra.cs.mailtest.UidFetch$1.doCommand(UidFetch.java:33)

at com.sun.mail.imap.IMAPFolder.doProtocolCommand(IMAPFolder.java:2602)

at com.sun.mail.imap.IMAPFolder.doCommand(IMAPFolder.java:2556)

at com.zimbra.cs.mailtest.UidFetch.fetch(UidFetch.java:30)

at com.zimbra.cs.datasource.ImapImport.importFolder(ImapImport.java:627)

at com.zimbra.cs.datasource.ImapImport.importData(ImapImport.java:350)

at com.zimbra.cs.datasource.DataSourceManager.importData(DataSourceManager.java:148)

at com.zimbra.cs.mailbox.LocalMailbox.syncAllLocalDataSources(LocalMailbox.java:256)

at com.zimbra.cs.mailbox.LocalMailbox.sync(LocalMailbox.java:294)

at com.zimbra.cs.mailbox.LocalMailbox.syncOnTimer(LocalMailbox.java:236)

at com.zimbra.cs.mailbox.DesktopMailbox$1.run(DesktopMailbox.java:85)

at java.util.TimerThread.mainLoop(Unknown Source)

at java.util.TimerThread.run(Unknown Source)

Error in mailbox.log :

2008-02-15 08:59:34,242 ERROR [sync-timer-someemail@gmail.com] [] offline - sync failure: my gmail

com.zimbra.common.service.ServiceException: system failure: FETCH failed

ExceptionId:localhost:sync-timer-someemail@gmail.com:1203087574241:dc9367bbde74455a

Code:service.FAILURE

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

at com.zimbra.cs.datasource.ImapImport.importData(ImapImport.java:364)

at com.zimbra.cs.datasource.DataSourceManager.importData(DataSourceManager.java:148)

at com.zimbra.cs.mailbox.LocalMailbox.syncAllLocalDataSources(LocalMailbox.java:256)

at com.zimbra.cs.mailbox.LocalMailbox.sync(LocalMailbox.java:294)

at com.zimbra.cs.mailbox.LocalMailbox.syncOnTimer(LocalMailbox.java:236)

at com.zimbra.cs.mailbox.DesktopMailbox$1.run(DesktopMailbox.java:85)

at java.util.TimerThread.mainLoop(Unknown Source)

at java.util.TimerThread.run(Unknown Source)

Caused by: java.io.IOException: FETCH failed

at com.zimbra.cs.mailtest.UidFetch.fetch(UidFetch.java:41)

at com.zimbra.cs.datasource.ImapImport.importFolder(ImapImport.java:627)

at com.zimbra.cs.datasource.ImapImport.importData(ImapImport.java:350)

... 7 more

Caused by: javax.mail.MessagingException: FETCH failed: java.net.SocketTimeoutException: Read timed out;

nested exception is:

com.sun.mail.iap.ProtocolException: FETCH failed: java.net.SocketTimeoutException: Read timed out

at com.sun.mail.imap.IMAPFolder.doCommand(IMAPFolder.java:2561)

at com.zimbra.cs.mailtest.UidFetch.fetch(UidFetch.java:30)

... 9 more

Caused by: com.sun.mail.iap.ProtocolException: FETCH failed: java.net.SocketTimeoutException: Read timed out

at com.zimbra.cs.mailtest.UidFetch$1.doCommand(UidFetch.java:36)

at com.sun.mail.imap.IMAPFolder.doProtocolCommand(IMAPFolder.java:2602)

at com.sun.mail.imap.IMAPFolder.doCommand(IMAPFolder.java:2556)

... 10 more

2008-02-15 09:09:34,395 INFO [sync-timer-someemail@gmail.com] [] datasource - Importing data.

2009-02-15 09:09:39,687 INFO [sync-timer-someemail@gmail.com] [] datasource - Importing from IMAP folder INBOX to local folder /Inbox


jjzhuang
Elite member
Elite member
Posts: 1687
Joined: Fri Sep 12, 2014 10:24 pm

Sits at loading screen?

Postby jjzhuang » Fri Feb 15, 2008 11:00 am

Could you try two thinngs first?
1) find the pid of the java process for zdesktop background service and do a 'kill -3 '. The process stack will be written to /log/zdesktop.out. That will show us if there's any real lockup.
2) do a reload in the gui window by shortcut key 'shift+F5'. see if that was simply a gui freeze.
Thanks!
moshen
Posts: 4
Joined: Fri Sep 12, 2014 11:21 pm

Sits at loading screen?

Postby moshen » Fri Feb 15, 2008 11:16 am

1) Sent the -3 (QUIT?) signal to the java process. Here are the contents of zdesktop.out:
0 INFO [main] log - Logging to org.slf4j.impl.Log4jLoggerAdapter(org.mortbay

.log) via org.mortbay.log.Slf4jLog

759 INFO [main] log - jetty-6.1.5

1059 INFO [main] log - No Transaction manager found - if your webapp requires o

ne, please configure one.
2) shift + F5 does nothing. It still sits with the gnome loading pointer at the loading screen. top looks like there is some periodic activity, but I've left it running for over a 1/2 hour this morning with no visible change and when using: 'tail -f' I did not see any changes to the log files.
Thanks for the help!
jjzhuang
Elite member
Elite member
Posts: 1687
Joined: Fri Sep 12, 2014 10:24 pm

Sits at loading screen?

Postby jjzhuang » Fri Feb 15, 2008 11:19 am

Actually i meant to say zmmailboxd.out, not zdesktop.out. Check for the process dump there after sending -3 signal. Thanks!
moshen
Posts: 4
Joined: Fri Sep 12, 2014 11:21 pm

Sits at loading screen?

Postby moshen » Fri Feb 15, 2008 11:58 am

The dump is attached. Thanks!

zmmailboxd.tgz

jjzhuang
Elite member
Elite member
Posts: 1687
Joined: Fri Sep 12, 2014 10:24 pm

Sits at loading screen?

Postby jjzhuang » Fri Feb 15, 2008 12:03 pm

Yup, that's what we need. We'll take a look. Thanks!
jjzhuang
Elite member
Elite member
Posts: 1687
Joined: Fri Sep 12, 2014 10:24 pm

Sits at loading screen?

Postby jjzhuang » Fri Feb 15, 2008 6:47 pm

Hi moshen,
The stack trace shows something very curious. Could you take a few more snapshots by doing 'kill -3'? Say at 5 second interval and take 10 snapshots?
Also when it's locked like this, is there a lot of disk I/O and CPU activity?
Thanks!
moshen
Posts: 4
Joined: Fri Sep 12, 2014 11:21 pm

Sits at loading screen?

Postby moshen » Mon Feb 18, 2008 12:25 pm

I started up Zimbra desktop to take your snapshots and I received this error:
The connection was refused when attempting to contact localhost:7633
Is this another problem altogether? From what I remember, running top showed minimal cpu activity previously.
Thanks!
jjzhuang
Elite member
Elite member
Posts: 1687
Joined: Fri Sep 12, 2014 10:24 pm

Sits at loading screen?

Postby jjzhuang » Tue Feb 19, 2008 3:15 pm

It may or may not be the same problem. Have you restarted the process since you installed it? What platform is this? If it hasn't been restarted, please take a few more thread dump snapshots. Thanks!

Return to “General Questions”

Who is online

Users browsing this forum: No registered users and 5 guests