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

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 11-16-2008, 06:10 PM
Special Member
 
Posts: 117
Default Moving Zimbra to a different platform

I am considering moving my Zimbra installation from OpenSUSE 10 to Ubuntu.

is there any documentation on how to do this?
Reply With Quote
  #2 (permalink)  
Old 11-16-2008, 09:07 PM
Moderator
 
Posts: 6,237
Default

Moving ZCS to Another Server » Zimbra :: Blog (note how the ./install.sh -s is used in step 3)


If changing architecture (x86 vs x86_64) have a read of Exporting and Importing Zimbra LDAP Data » Zimbra :: Blog (I know you're not NE but for those running across this later here's another article: Network Edition: Moving from 32-bit to 64-bit Server - Zimbra :: Wiki)
Reply With Quote
  #3 (permalink)  
Old 12-30-2008, 01:34 PM
Special Member
 
Posts: 117
Default

I followed the instructions. But I am getting the following error:

Setting defaults...done.
Setting defaults from existing config...done.
Checking for port conflicts
Setting defaults from ldap...done.
is only avaliable with the XS version at /opt/zimbra/zimbramon/lib/IO/Socket/SSL.pm line 30
BEGIN failed--compilation aborted at /opt/zimbra/zimbramon/lib/IO/Socket/SSL.pm line 30.
Compilation failed in require at /opt/zimbra/zimbramon/lib/Net/LDAP.pm line 991.

I have checked, and I do have Scalar::Util. Per another thread I ran the following bit of perl code:
#!/usr/bin/perl
use lib "/opt/zimbra/libexec";
use lib "/opt/zimbra/libexec/scripts";
use lib "/opt/zimbra/zimbramon/mrtg/lib/mrtg2";
use lib "/opt/zimbra/zimbramon/lib";
use lib "/opt/zimbra/zimbramon/lib/Zimbra";
use Scalar::Util qw/dualvar/;

And it completed without error.

So, I think I am close, any ideas on how to resolve this?

I am on Ubuntu LTS 8.04 (moving from openSUSE 10)
Reply With Quote
  #4 (permalink)  
Old 12-30-2008, 09:41 PM
Advanced Member
 
Posts: 220
Default

Hello,

Which Zimbra Release you are using it on ubuntu 8.04? I'm using this: http://h.yimg.com/lo/downloads/5.0.1...1117052520.tgz with the instrucation as mmorse provided and I moved the zimbra to 3 different servers without any problems.

This is a short document handled by me to move zimbra from server to server (Same OS Same ZCS version)

Code:
# Backing Up
$ As zimbra: zmcontrol stop
$ As root: ps aux | grep zimbra (make sure everything’s stopped)
$ As root: rsync -avr /opt/zimbra /mnt/migration (this may take a while)

# Create a "dummy" Install Then Remove It
$ As root: Run the installer with the -s option: ./install.sh -s
$ As root: Remove the dummy install: rm -rf /opt/zimbra

# Mount Your Backup HD, rsync, and Install
$ As root: rsync -avr /mnt/migration/zimbra /opt/
$ As root: chown -R zimbra:zimbra /opt/zimbra
$ As root: run zmfixperms located in /opt/zimbra/libexec
$ As root: rerun the installer without the -s option (It will detect ZCS already installed, and ask if you want to upgrade. Select Yes)

# If the mailbox mysql.server is not running Try initializing mysql by hand:
$ As zimbra: /opt/zimbra/libexec/zmmyinit

# If you couldn't get the mail queue from the admin consol
$ As zimbra: zmsshkeygen
$ As zimbra: zmupdateauthkeys
Cheers,

Last edited by snake_eyes; 12-30-2008 at 09:45 PM..
Reply With Quote
  #5 (permalink)  
Old 12-31-2008, 05:37 AM
Special Member
 
Posts: 117
Default

Yep, that's the one I am using, and that is exactly the process I used.

I suspect that the problem is the difference in platforms from my source to my destination. Since it appears to not be using the perl libraries on my machine.

My installation has two directories in /opt/zimbra/zimbramon/lib (i486-linux-gnu-thread-multi & i586-linux-thread-multi) which both appear to have the proper auto libraries.

Any other ideas? I am pretty much dead in the water...
Reply With Quote
  #6 (permalink)  
Old 12-31-2008, 05:03 PM
Zimbra Employee
 
Posts: 580
Default

The problem with the technique you are using is that it keeps around the perl libraries that were built on a different platform, which is where the incompatibility is coming from. After you rsync over /opt/zimbra, remove the old /opt/zimbra/zimbramon/lib directory, before re-running the installer for the correct platform. That way, the correct perl libraries will get installed when it reinstalls zimbra-core.
__________________
Quanah Gibson-Mount
Sr. Member of Technical Staff
Zimbra, Inc
A Division of VMware, Inc.
--------------------
Zimbra :: the leader in open source messaging and collaboration
Reply With Quote
  #7 (permalink)  
Old 01-05-2009, 07:40 AM
Special Member
 
Posts: 117
Default

Perfect. Worked like a champ.

Thanks!
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.