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 in the forums, please register and review our posting policy & tips. We also encourage you to explore all things Zimbra with our team and members of the community.

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 12-30-2007, 12:15 PM
Loyal Member
 
Posts: 83
Thumbs down [SOLVED] Upgrade 4.5.7 > 5.0 GA Failed

All seemed to be going well until:
Code:
Updating from 5.0.0_RC3
prov> prov> 5 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,  line 16.
Compilation failed in require at /opt/zimbra/zimbramon/lib/Net/LDAP.pm line 970,  line 16.
Any idea what requirement might be missing?

I'm running on Centos 4.5

Going to restore my 4.5.7 for now.
Reply With Quote
  #2 (permalink)  
Old 12-30-2007, 07:36 PM
Zimbra Contractor
 
Posts: 5,651
Default

5.0 GA ships an XS compiled version of Scalar::Util in its perl modules for RHEL4. As root, read the ~zimbra/.bashrc, and set the PERLLIB and PERL5LIB environment variables to match what the zimbra user does, and then try installing. As usual, don't forget a backup.
Reply With Quote
  #3 (permalink)  
Old 12-30-2007, 11:14 PM
Loyal Member
 
Posts: 83
Default

OK, I'll give that a try tomorrow sometime.

Oh, yes. I always do a backup prior to upgrading. I'm happily back on 4.5.7 for now. But can't wait to get going on 5.0!

Thanks for the help. I'll let you know how it goes.

james
Reply With Quote
  #4 (permalink)  
Old 01-01-2008, 10:57 AM
Loyal Member
 
Posts: 83
Default

OK, after restoring to 4.5.7 after backup I attempted another upgrade.

I set the env variables for PERLLIB and PERL5LIB to match that from the zimbra .bashrc file.

Same results. The upgrade failed at the EXACT same place:

Code:
Checking 5.0.0_RC3
Updating from 5.0.0_RC3
prov> prov> 5 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,  line 16.
Compilation failed in require at /opt/zimbra/zimbramon/lib/Net/LDAP.pm line 970,  line 16.
Here is my PERLLIB and PERL5LIB values:

Code:
echo $PERLLIB
/opt/zimbra/zimbramon/lib/x86_64-linux-thread-multi:/opt/zimbra/zimbramon/lib:/opt/zimbra/zimbramon/lib/i386-linux-thread-multi:/opt/zimbra/zimbramon/lib/i486-linux-gnu-thread-multi:/opt/zimbra/zimbramon/lib/i586-linux-thread-multi:/opt/zimbra/zimbramon/lib/darwin-thread-multi-2level
and

Code:
 echo $PERL5LIB
/opt/zimbra/zimbramon/lib/x86_64-linux-thread-multi:/opt/zimbra/zimbramon/lib:/opt/zimbra/zimbramon/lib/i386-linux-thread-multi:/opt/zimbra/zimbramon/lib/i486-linux-gnu-thread-multi:/opt/zimbra/zimbramon/lib/i586-linux-thread-multi:/opt/zimbra/zimbramon/lib/darwin-thread-multi-2level
I tried updating Scalar::Util from CPAN using

Code:
cpan -fi Scalar::Util
And re-tried the install, but had the same results. Frustrating!

This seems to be more than a missing env variable... but looks like I'm missing some Perl module or something. Any idea what might be missing?

Thanks!

Last edited by jimbo : 01-01-2008 at 12:44 PM.
Reply With Quote
  #5 (permalink)  
Old 01-01-2008, 02:20 PM
Contributor
 
Posts: 182
Default Upgrade from 4.5.1 to 5.0 error on CentOS 4.5

I get the same error from CentOS 4.5 zcs 4.5.10 upgrade to zcs 5.0

Code:
5 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,  line 17.
Compilation failed in require at /opt/zimbra/zimbramon/lib/Net/LDAP.pm line 970,  line 17.
I copied the PERLLIB and PERL5LIB variables to my /root/.bashrc

Any ideas please?

Thanks

Costa
__________________
------------------------------
http://www.lcrm.co.uk
Reply With Quote
  #6 (permalink)  
Old 01-01-2008, 03:34 PM
Contributor
 
Posts: 182
Default Solved my upgrade problem

Explained how I solved this problem on CentOS 4.5 x86_64 platform...

Thread here

Good luck all - best wishes for 2008
__________________
------------------------------
http://www.lcrm.co.uk
Reply With Quote
  #7 (permalink)  
Old 01-01-2008, 08:41 PM
Loyal Member
 
Posts: 83
Default

Well, I tried that too, but no joy.

Still stuck on this one.
Reply With Quote
  #8 (permalink)  
Old 01-02-2008, 01:08 AM
Contributor
 
Posts: 182
Exclamation

Jimbo,

Hi mate, hope you had a good holiday.

Try upgrading to 4.5.7/8/9/10 and then try again to finally upgrade to 5.0.

I must say I had to run the ./install.sh script numerous times and rebooted my server about three times in between.

Here is what I would check, assuming you are running ~RHEL4:

Code:
yum update -y
Download your specific next upgrade Zimbra Version from:

SourceForge.net: Files

Backup your zcs install:

Code:
rsync -ra /opt/zimbra /backup/ --progress
Unzip and run the installer for your downloaded Zimbra Version.

!!
Remove any variables in the /root/.bashrc file
Logout as root and then back in again and ensure no $PERLLIB etc variables are set
!!
Run the instructions in the root shell from here

Now try ./install.sh again...if it fails..reboot and try runig ./install.sh again ... repeat as necessary it took me three reboots.

Make note each time you try to upgrade as to the version your system is upgrading from...

Good luck
__________________
------------------------------
http://www.lcrm.co.uk
Reply With Quote
  #9 (permalink)  
Old 01-02-2008, 09:29 PM
Loyal Member
 
Posts: 83
Default

OK, I'll try again... probably not until the weekend, but I'll post results here.

Thanks for all your help!

Can't wait to be on 5.0!
Reply With Quote
  #10 (permalink)  
Old 01-04-2008, 05:35 AM
Contributor
 
Posts: 182
Question

Hi jimbo - any luck ?
__________________
------------------------------
http://www.lcrm.co.uk
Reply With Quote
Reply


Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Upgrading from 4.5.10 > 5.0 failed. Stergil Installation 3 01-08-2008 01:21 PM
My Zimbra server down ... please help :) frankb Administrators 2 12-12-2007 10:29 AM
Upgrade to zdesktop 0.58 : Failed to inject zimlets Klug Installation Help 2 10-05-2007 07:51 PM
[SOLVED] Upgrade 3.0.1 > 4.5.7 Possible? jimbo Installation 3 10-01-2007 12:22 PM
Lotus migration babou Migration 15 03-05-2007 09:33 PM

Why Join?

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

Zimbrablog.com

sourceforge.net



 

Search Engine Optimization by vBSEO 3.1.0