Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
Go Back   Zimbra :: Forums > Zimbra Collaboration Suite > Installation

Welcome to the Zimbra :: Forums!
Welcome, if you would like to post a comment please register. We also encourage you to explore all things Zimbra with our team and members of the community.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 07-16-2009, 05:43 AM
Active Member
 
Posts: 44
Default [SOLVED] search error 5.0.18

Hi,

im not sure to write in the right forum, please gentel.

We, a group of studys, use at our server Zimbra 5.0.18 Community Edition.
I installed it, and it runs very well. Now, we changed the Server and i take all data and restore it at the new system. I used rsync to do this.

All is okey, i changed the IP for the mta in the adminpanel and all was ok.

I have 2000 mails in my box and i would search for a keyword like a name or some else. I did it often in the past, it works good. Now i tried it and its not working.
normaly there is a list of mails where the searchobject is in. Now, there is only a clear window without any mails.

I tried to search with a * and the end, then i got a error message.
I dont see the reason at this message.

Can somebody tell me what i can do ?
I make a reboot, i stop/start the services manual... nothing !

Thx for a answere

Greetz Centro
Reply With Quote
  #2 (permalink)  
Old 07-16-2009, 05:52 AM
Outstanding Member
 
Posts: 708
Default

zmprov reindexmailbox centro@domain

Wait approximately 30 minutes and search again.

If that doesn't work, provide more details on the move. Are the old and new servers running different operating systems?
Reply With Quote
  #3 (permalink)  
Old 07-16-2009, 08:01 AM
Active Member
 
Posts: 44
Default

Hi,

thanks for fast reply.

I wrote your command into the shell as user zimbra but there are a wrong syntax i think ?!

The exact error at Zimbra Web:
Code:
method:	SearchRequest
msg:	system failure: Caught IOException opening index
code:	service.FAILURE
detail:	soap:Receiver
trace:	btpool0-12:1247755882092:894a95c434ee3c5d
request:	

Body: {
  SearchRequest: {
    _jsns: "urn:zimbraMail",
    fetch: 1,
    html: 1,
    limit: 100,
    locale: {
      _content: "de"
     },
    offset: 0,
    query: "Felix*",
    sortBy: "dateDesc",
    types: "message",
    tz: {
      id: "(GMT+01.00) Amsterdam / Berlin / Bern / Rome / Stockholm / Vienna"
     }
   }
 },
Header: {
  context: {
    _jsns: "urn:zimbra",
    account: {
      _content: "ottomitschke@mitschke.cc",
      by: "name"
     },
    authToken: "(removed)",
    format: {
      type: "js"
     },
    notify: {
      seq: 8
     },
    sessionId: {
      _content: 118,
      id: 118
     },
    userAgent: {
      name: "ZimbraWebClient - FF3.0 (Win)",
      version: "5.0.13_GA_2791.DEBIAN4.0"
     }
   }
 }
The old as the new System is running on Debian ETCH 32 bit.

The Output with your command:
Code:
zimbra@xchange:/root$ zmprov reIndexMailbox centro@domain
usage:  reIndexMailbox(rim) {name@domain|id} {action} [{reindex-by} {value1} [value2...]]

zmprov [args] [cmd] [cmd-args ...]

  -h/--help                             display usage
  -f/--file                             use file as input stream
  -s/--server   {host}[:{port}]         server hostname and optional port
  -l/--ldap                             provision via LDAP instead of SOAP
  -L/--logpropertyfile                  log4j property file, valid only with -l
  -a/--account  {name}                  account name to auth as
  -p/--password {pass}                  password for account
  -P/--passfile {file}                  read password from file
  -z/--zadmin                           use zimbra admin name/password from localconfig for admin/password
  -y/--authtoken {authtoken}            use auth token string(has to be in JSON format) from command line
  -Y/--authtokenfile {authtoken file}   use auth token string(has to be in JSON format) from command line
  -v/--verbose                          verbose mode (dumps full exception stack trace)
  -d/--debug                            debug mode (dumps SOAP messages)

 zmprov is used for provisioning. Try:

     zmprov help account         help on account-related commands
     zmprov help calendar        help on calendar resource-related commands
     zmprov help commands        help on all commands
     zmprov help config          help on config-related commands
     zmprov help cos             help on COS-related commands
     zmprov help domain          help on domain-related commands
     zmprov help list            help on distribution list-related commands
     zmprov help misc            help on misc commands
     zmprov help mailbox         help on mailbox-related commands
     zmprov help notebook        help on notebook-related commands
     zmprov help search          help on search-related commands
     zmprov help server          help on server-related commands
     zmprov help freebusy        help on free/busy-related commands

zimbra@xchange:/root$
I wrote "centro@domain" for example, sure i wrote the real address at the command

Greetz Centro
Reply With Quote
  #4 (permalink)  
Old 07-16-2009, 08:02 AM
Outstanding Member
 
Posts: 708
Default

Correction:
Quote:
zmprov rim centro@domain start
Reindex Mailbox from Command Line?

Though the error you received suggests that it could be a permissions problem. Are /opt/zimbra/index and all of its subdirectories owned by user zimbra?
Reply With Quote
  #5 (permalink)  
Old 07-16-2009, 08:05 AM
Active Member
 
Posts: 44
Default

Thx a lot!

with the small word "start" it will work!

Greetz Centro
Reply With Quote
  #6 (permalink)  
Old 07-16-2009, 08:23 AM
Active Member
 
Posts: 44
Default

OK, i wait now near to 20 minutes and YES! it works!

Thanks a lot!
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads

Why Join?

Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.

blog.zimbra.com




 

SEO by vBSEO ©2011, Crawlability, Inc.