Results 1 to 5 of 5

Thread: [SOLVED] Autocomplete failed

  1. #1
    Join Date
    Oct 2010
    Posts
    16
    Rep Power
    5

    Default [SOLVED] Autocomplete failed

    Hi there,

    after successfull upgrade from 6.0.8 to latest 7.0.1 everything loogs good, except one user, who has problem wit Autocomplete.
    Everytime in compose of new mail, and type few characters to To: field, Zimbra wont to show contacts, but show info Autocomplete failed.
    And in /opt/zimbra/log/mailbox.log is loooong information as you can see below.

    After Autocomplete error message in web client:
    2011-03-28 11:23:14,348 INFO [btpool0-28://mail.och.cz/service/soap/AutoCompleteRequest] [name=divis@raddy.cz;mid=13;ip=193.85.73.244;ua=Zim braWebClient - [unknown] (Win)/7.0.1_GA_3105;] soap - AutoCompleteRequest
    2011-03-28 11:23:14,409 INFO [btpool0-28://mail.och.cz/service/soap/AutoCompleteRequest] [name=divis@raddy.cz;mid=13;ip=193.85.73.244;ua=Zim braWebClient - [unknown] (Win)/7.0.1_GA_3105;] SoapEngine - handler exception
    com.zimbra.common.service.ServiceException: system failure: Caught IOException opening index
    ExceptionId:btpool0-28://mail.och.cz/service/soap/AutoCompleteRequest:1301304194408:bee0d34a4c7b83f1
    Code:service.FAILURE
    at com.zimbra.common.service.ServiceException.FAILURE (ServiceException.java:248)
    at com.zimbra.cs.index.LuceneIndex.expandWildcardToke n(LuceneIndex.java:459)
    at com.zimbra.cs.index.MailboxIndex.expandWildcardTok en(MailboxIndex.java:458)
    at com.zimbra.cs.index.query.TextQuery.<init>(TextQue ry.java:113)
    at com.zimbra.cs.index.query.TextQuery.<init>(TextQue ry.java:67)
    at com.zimbra.cs.index.query.parser.QueryParser.creat eContactQuery(QueryParser.java:660)
    at com.zimbra.cs.index.query.parser.QueryParser.creat eQuery(QueryParser.java:606)
    at com.zimbra.cs.index.query.parser.QueryParser.toTer m(QueryParser.java:353)
    at com.zimbra.cs.index.query.parser.QueryParser.toTex tClause(QueryParser.java:325)
    at com.zimbra.cs.index.query.parser.QueryParser.toCla use(QueryParser.java:288)
    at com.zimbra.cs.index.query.parser.QueryParser.toQue ry(QueryParser.java:265)
    at com.zimbra.cs.index.query.parser.QueryParser.parse (QueryParser.java:235)
    at com.zimbra.cs.index.ZimbraQuery.<init>(ZimbraQuery .java:439)
    at com.zimbra.cs.index.MailboxIndex.search(MailboxInd ex.java:143)
    at com.zimbra.cs.mailbox.IndexHelper.search(IndexHelp er.java:129)
    at com.zimbra.cs.mailbox.Mailbox.search(Mailbox.java: 3747)
    at com.zimbra.cs.mailbox.Mailbox.search(Mailbox.java: 3716)
    at com.zimbra.cs.mailbox.Mailbox.search(Mailbox.java: 3701)
    at com.zimbra.cs.mailbox.ContactAutoComplete.queryFol ders(ContactAutoComplete.java:578)
    at com.zimbra.cs.mailbox.ContactAutoComplete.query(Co ntactAutoComplete.java:337)
    at com.zimbra.cs.service.mail.AutoComplete.query(Auto Complete.java:85)
    at com.zimbra.cs.service.mail.AutoComplete.handle(Aut oComplete.java:47)
    at com.zimbra.soap.SoapEngine.dispatchRequest(SoapEng ine.java:406)
    at com.zimbra.soap.SoapEngine.dispatch(SoapEngine.jav a:281)
    at com.zimbra.soap.SoapEngine.dispatch(SoapEngine.jav a:158)
    at com.zimbra.soap.SoapServlet.doWork(SoapServlet.jav a:294)
    at com.zimbra.soap.SoapServlet.doPost(SoapServlet.jav a:215)
    at javax.servlet.http.HttpServlet.service(HttpServlet .java:725)
    at com.zimbra.cs.servlet.ZimbraServlet.service(Zimbra Servlet.java:208)
    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$CachedCha in.doFilter(ServletHandler.java:1166)
    at com.zimbra.cs.servlet.SetHeaderFilter.doFilter(Set HeaderFilter.java:79)
    at org.mortbay.jetty.servlet.ServletHandler$CachedCha in.doFilter(ServletHandler.java:1157)
    at org.mortbay.servlet.UserAgentFilter.doFilter(UserA gentFilter.java:81)
    at org.mortbay.servlet.GzipFilter.doFilter(GzipFilter .java:132)
    at org.mortbay.jetty.servlet.ServletHandler$CachedCha in.doFilter(ServletHandler.java:1157)
    at org.mortbay.jetty.servlet.ServletHandler.handle(Se rvletHandler.java:388)
    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.handler.DebugHandler.handle(Debu gHandler.java:77)
    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:543)
    at org.mortbay.jetty.HttpConnection$RequestHandler.co ntent(HttpConnection.java:946)
    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:405)
    at org.mortbay.io.nio.SelectChannelEndPoint.run(Selec tChannelEndPoint.java:410)
    at org.mortbay.thread.BoundedThreadPool$PoolThread.ru n(BoundedThreadPool.java:451)
    Caused by: java.io.FileNotFoundException: /opt/zimbra/index/0/13/index/0/_33_6.del (No such file or directory)
    at java.io.RandomAccessFile.open(Native Method)
    at java.io.RandomAccessFile.<init>(RandomAccessFile.j ava:212)
    at org.apache.lucene.store.SimpleFSDirectory$SimpleFS IndexInput$Descriptor.<init>(SimpleFSDirectory.jav a:76)
    at org.apache.lucene.store.SimpleFSDirectory$SimpleFS IndexInput.<init>(SimpleFSDirectory.java:97)
    at org.apache.lucene.store.NIOFSDirectory$NIOFSIndexI nput.<init>(NIOFSDirectory.java:98)
    at org.apache.lucene.store.NIOFSDirectory.openInput(N IOFSDirectory.java:78)
    at org.apache.lucene.store.FSDirectory.openInput(FSDi rectory.java:347)
    at com.zimbra.cs.index.LuceneDirectory.openInput(Luce neDirectory.java:135)
    at org.apache.lucene.util.BitVector.<init>(BitVector. java:219)
    at org.apache.lucene.index.SegmentReader.loadDeletedD ocs(SegmentReader.java:649)
    at org.apache.lucene.index.SegmentReader.get(SegmentR eader.java:609)
    at org.apache.lucene.index.SegmentReader.get(SegmentR eader.java:583)
    at org.apache.lucene.index.DirectoryReader.<init>(Dir ectoryReader.java:109)
    at org.apache.lucene.index.ReadOnlyDirectoryReader.<i nit>(ReadOnlyDirectoryReader.java:27)
    at org.apache.lucene.index.DirectoryReader$1.doBody(D irectoryReader.java:79)
    at org.apache.lucene.index.SegmentInfos$FindSegmentsF ile.run(SegmentInfos.java:677)
    at org.apache.lucene.index.DirectoryReader.open(Direc toryReader.java:73)
    at org.apache.lucene.index.IndexReader.open(IndexRead er.java:316)
    at org.apache.lucene.index.IndexReader.open(IndexRead er.java:262)
    at com.zimbra.cs.index.LuceneIndex.openIndexReader(Lu ceneIndex.java:696)
    at com.zimbra.cs.index.LuceneIndex.getIndexReaderRef( LuceneIndex.java:785)
    at com.zimbra.cs.index.LuceneIndex.getIndexSearcherRe f(LuceneIndex.java:527)
    at com.zimbra.cs.index.LuceneIndex.expandWildcardToke n(LuceneIndex.java:423)
    ... 55 more


    Any idea what is bad? The problem is only in one account.

    Thank You.

    Martin

  2. #2
    Join Date
    May 2008
    Posts
    118
    Rep Power
    7

    Default

    Same here (just upgraded from 6.0.10 -> 7.0.1)

    Though my stack trace is slightly different:
    2011-04-03 11:35:09,194 ERROR [btpool0-165://zimbra.woofplanet.com/service/soap/AutoCompleteRequest] [name=scottchapman@woofplanet.com;mid=12;ip=96.237. 175.2;ua=ZimbraWebClient - SAF3 (Win)/7.0.1_GA_3105;] lucene - Failed to close IndexWriter LuceneIndex{mbox=12, dir=org.apache.lucene.store.NIOFSDirectory@/opt/zimbra/index/0/12/index/0 lockFactory=org.apache.lucene.store.SingleInstance LockFactory@45a8a7e}
    java.io.FileNotFoundException: /opt/zimbra/index/0/12/index/0/_fn7_3y.del (No such file or directory)
    ---------------------------------------------
    Release 7.1,3_GA.UBUNTU10_64 UBUNTU10_64 FOSS edition.

  3. #3
    Join Date
    Oct 2010
    Posts
    16
    Rep Power
    5

    Default

    Can You do reindex user account?

  4. #4
    Join Date
    May 2008
    Posts
    118
    Rep Power
    7

    Default

    Yep. re-index that specific user account successfully.

    I get a different error now:
    java.lang.ClassCastException: com.zimbra.common.mime.MimeBodyPart cannot be cast to com.zimbra.common.mime.MimeMultipart
    I happen to see this error frequently for different SOAP requests.
    Last edited by ScottChapman; 04-03-2011 at 12:16 PM.
    ---------------------------------------------
    Release 7.1,3_GA.UBUNTU10_64 UBUNTU10_64 FOSS edition.

  5. #5
    Join Date
    Apr 2007
    Location
    Kajang, Selangor, Malaysia
    Posts
    122
    Rep Power
    8

    Default

    I did have the same issue..searched and looked at this thread..try re-indexing as suggested..and it resolved the issue.
    Rgds;
    Matnor

Similar Threads

  1. Replies: 7
    Last Post: 02-13-2013, 01:36 AM
  2. Install Zimbra 6.0.8 x64 on Debian Lenny Fail
    By Titi974 in forum Installation
    Replies: 6
    Last Post: 10-21-2010, 05:47 AM
  3. Problem with Mail Server - Need help!
    By joeleo in forum Installation
    Replies: 2
    Last Post: 03-04-2008, 11:03 AM
  4. My Zimbra server down ... please help :)
    By frankb in forum Administrators
    Replies: 2
    Last Post: 12-12-2007, 10:29 AM
  5. Lotus migration
    By babou in forum Migration
    Replies: 15
    Last Post: 03-05-2007, 09:33 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
  •