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 10-16-2009, 03:07 AM
Senior Member
 
Posts: 58
Default [SOLVED] Ubuntu 6.06 32bit > 8.04 64bit + 5.0.18 > 6.0.1 upgrade = No Search

After a day and night of torment, I managed to follow the numerous guides and move OSS Zimbra 5.0.18 from Ubuntu 6.06LTS 32bit to Ubuntu 8.04LTS 64bit.

Initially it was missing nginx and memcached, but the essentials were working.

I then upgraded Zimbra to 6.0.1 Ubuntu 64bit which resolved the two errors above.

Rebuilt the ssh keys and all ok.

BUT - search only returns emails received since the move/upgrade. Is there a mysql or similar index that needs rebuilding?

I copied /index/* and /store/* and ran zmfixperms numerous times...

Anyone any ideas?

Bertie
Reply With Quote
  #2 (permalink)  
Old 10-16-2009, 03:45 AM
Moderator
 
Posts: 7,911
Default

Have you tried re-indexing the mailbox from the Admin GUI ?
__________________
Reply With Quote
  #3 (permalink)  
Old 10-16-2009, 03:51 AM
Senior Member
 
Posts: 58
Default

Will try this tonight as I imagine it will take a long time.

Is there no method of rebuilding all mailboxes, instead of doing each one individually?

Bertie
Reply With Quote
  #4 (permalink)  
Old 10-16-2009, 04:14 AM
Moderator
 
Posts: 7,911
Default

Code:
su - zimbra
for x in $(zmprov -l gaa)
do
   zmprov rim ${x} start
done
__________________
Reply With Quote
  #5 (permalink)  
Old 10-16-2009, 04:17 AM
Senior Member
 
Posts: 58
Default

Thanks!

Will try one through the Admin GUI, then try the command line if that works.

Will reply on here tomorrow... fingers crossed!

Bertie
Reply With Quote
  #6 (permalink)  
Old 10-16-2009, 05:14 AM
Zimbra Consultant & Moderator
 
Posts: 19,655
Default

Quote:
Originally Posted by bertie_uk View Post
After a day and night of torment, I managed to follow the numerous guides and move OSS Zimbra 5.0.18 from Ubuntu 6.06LTS 32bit to Ubuntu 8.04LTS 64bit.

Initially it was missing nginx and memcached, but the essentials were working.

I then upgraded Zimbra to 6.0.1 Ubuntu 64bit which resolved the two errors above.
You don't need nginx & memcached (i.e. the proxy) installed on a single server, is that what you have?
__________________
Regards


Bill
Reply With Quote
  #7 (permalink)  
Old 10-16-2009, 04:19 PM
Senior Member
 
Posts: 58
Default

Tried the reindex from the admin GUI:

0 messages reindexed; 0 messages remaining; 0 messages failed

for a mailbox with 1.5Gb isn't quite right I think.....

And the same for every mailbox I try.

phoenix: nginx & memcached were giving errors when I started 5.0.18 on the new server. The old 5.0.18 had started life as early as Zimbra 4.0 I think. I wasn't too bothered and after searching on here, decided to install the imapproxy during the 6.0.1 install to fix them.

Bertie
Reply With Quote
  #8 (permalink)  
Old 10-17-2009, 01:13 AM
Moderator
 
Posts: 7,911
Default

Any errors in /opt/zimbra/log/mailbox.log ?
__________________
Reply With Quote
  #9 (permalink)  
Old 10-17-2009, 01:25 AM
Zimbra Consultant & Moderator
 
Posts: 19,655
Default

Quote:
Originally Posted by bertie_uk View Post
phoenix: nginx & memcached were giving errors when I started 5.0.18 on the new server. The old 5.0.18 had started life as early as Zimbra 4.0 I think. I wasn't too bothered and after searching on here, decided to install the imapproxy during the 6.0.1 install to fix them.
You should NOT have them installed on a single server (it will cause problems) and I'd suggest you remove them before proceeding any further with your problem diagnosis. You can check if the proxy is installed/running with:

Code:
zmproxyctl status
zmprov gs `zmhostname` | grep zimbraServiceEnabled
zmprov gs `zmhostname` | grep zimbraServiceInstalled
If it's in, then run this:

Code:
zmproxyctl stop
zmprov ms `zmhostname` -zimbraServiceEnabled imapproxy
zmcontrol stop
zmcontrol start
To reset the ports run the following (on one line):

Code:
zmprov -l ms `zmhostname` zimbraPop3BindPort 110 zimbraPop3SSLBindPort 995 zimbraPop3ProxyBindPort 7110 zimbraPop3SSLProxyBindPort 7995 zimbraImapBindPort 143 zimbraImapSSLBindPort 993 zimbraImapProxyBindPort 7143 zimbraImapSSLProxyBindPort 7993
then restart. When you've done that continue with your current problem diagnosis by check the log files as you've been asked in the post above this one.
__________________
Regards


Bill
Reply With Quote
  #10 (permalink)  
Old 10-17-2009, 03:31 AM
Senior Member
 
Posts: 58
Default

Thanks Bill, will follow those proxy removal instructions tonight.

I've realised the re-indexing runs in the background as the account I tried late last night is now returning search results from before the move.

Have now kicked off re-indexing all the accounts, so this should now be solved.

Thanks for the help

Bertie
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.