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 07-19-2011, 01:39 PM
Senior Member
 
Posts: 68
Default ZCS FOSS 5 Migration to CentOS 5.6

Doing a non-production box migration of existing Zimbra 5 install to new CentOS 5.6 Box (From OpenSUSE)
First, this migration guide is awesome!
Moving ZCS to New Server - Zimbra :: Wiki
Following this basically to the letter. First initial regular (for test) and -s install seem to go without any issues. Issue I have is after 2nd install after doing rsync of data I get this error:
Code:
Starting ldap...done.
Setting defaults...done.
Setting defaults from existing config...done.
Checking for port conflicts
Setting defaults from ldap...done.
dualvar is only available with the XS version of Scalar::Util 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 998.
From doing searches I see this is a somewhat common error with CentOS. Any thoughts? I actually thought the fix was the uid/gid's being different and got a tad excited when I saw that and fixed, but no go....
Reply With Quote
  #2 (permalink)  
Old 07-19-2011, 01:42 PM
Senior Member
 
Posts: 68
Default

Using this installer:
zcs-5.0.18_GA_3011.RHEL5.20090707164432]#
Reply With Quote
  #3 (permalink)  
Old 07-19-2011, 02:24 PM
raj raj is offline
Moderator
 
Posts: 768
Default

are you sure you installed all the dependencies on target machine before installing/upgrading

Quote:
yum install nc which libidn curl fetchmail gmp compat-libstdc++-296 compat-libstdc++-33 compat-db libtool-ltdl perl-IO-Socket-INET6
also read this
[SOLVED] Still no fix ... " is only avaliable with the XS version at" issue

Raj
__________________
i2k2 Networks
Dedicated & Shared Zimbra Hosting Provider
Reply With Quote
  #4 (permalink)  
Old 07-20-2011, 08:24 AM
Senior Member
 
Posts: 68
Default Almost there....:-<

Raj, thanks for the reply! :->
Thought I was on to something as I did miss compat-db and I did need to update curl and curl-devel. But alas no luck and still get same exact error. darn.... Here is process I did for clarification-all ran with no error until end:
Removed Zimbra Install - /.install.sh --uninstall
Removed /opt/zimbra folder
Ran yum script you provided
Ran /.install.sh -s --platform-override
Ran /rm -rf /opt/zimbra
rsync'ed backup of /opt/zimbra from existing OpenSUSE server from external HD
Ran zmfixperms
Modified /opt/zimbra/conf/localconfig.xml with current zimbra uid and gid (Instead of 1000 was now 500 on CentOS box)
Ran /.install.sh --platform-override
Receive same above error towards end of Zimbra install..

Any other ideas? Thanks again!
Reply With Quote
  #5 (permalink)  
Old 07-20-2011, 08:53 AM
Trained Alumni
 
Posts: 74
Default

Not sure if this will help or if it is any different, But I migrated zimbra 7.0 from centos 4 to centos 5 about two months ago. I followed this guide exactly and didn't have any problems.
» Zimbra :: Blog
Reply With Quote
  #6 (permalink)  
Old 07-20-2011, 08:55 AM
Senior Member
 
Posts: 68
Default

Yep, thats the exact doc I am using...Thanks for the reply! :->

Quote:
Originally Posted by mtorres View Post
Not sure if this will help or if it is any different, But I migrated zimbra 7.0 from centos 4 to centos 5 about two months ago. I followed this guide exactly and didn't have any problems.
» Zimbra :: Blog
Reply With Quote
  #7 (permalink)  
Old 07-25-2011, 07:26 AM
Senior Member
 
Posts: 68
Default Still way confused...:-<

Ok, this issue has me way confused as I look more into it......
IF I remove all Zimbra 'stuff' and do a standard install on my CentOS 5.6 box using the zcs-5.0.18_GA_3011.RHEL5.20090707164432 installer
/.install.sh --platform-override
it WORKS and I can even sign into Admin console, add users and then sign in as that user.
Problem with the 'XS version of Scalar:Util' ONLY crops up if I try to do a migration as described in the WiKi from my OpenSUSE 10.3 backup.

What am I missing?
Reply With Quote
  #8 (permalink)  
Old 07-25-2011, 04:21 PM
raj raj is offline
Moderator
 
Posts: 768
Default

Just for the sake of it try higher version in the last step..like latest 6.0 ( or 7 if you like)
i think its the PERL issue which is conflicting.
OpenSUSE PERL is differnet than CENTOS PERL.

i know zimbra ships with its own version of PERL and in older verions there was an issue.

Raj
__________________
i2k2 Networks
Dedicated & Shared Zimbra Hosting Provider
Reply With Quote
  #9 (permalink)  
Old 07-26-2011, 05:04 AM
Senior Member
 
Posts: 68
Default

Raj,
Thanks for the info and responce, but would I be able to migrate using my Zimbra 5.0.18 backup if I loaded like say ZCS 6?
Reply With Quote
  #10 (permalink)  
Old 07-26-2011, 06:23 AM
raj raj is offline
Moderator
 
Posts: 768
Default

yes..
1) backup - rsync from SOURCE server (after services stopped)
2) install SAME version of zimbra with -s
3) copy over your rsync to TARGET server
4) fix file permissions
5) Run installer with latest version and do UPGRADE when asked

* above instructions dont take care of 32 bit to 64 bit conversion..you need to read that on forums and wiki

Raj
__________________
i2k2 Networks
Dedicated & Shared Zimbra Hosting Provider
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.