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-25-2007, 04:28 AM
Loyal Member
 
Posts: 96
Default centos4 upgrade to 5.0 errors

centos follows the RHEL path so i thought an upgrade from 4.5.10 to 5.0 would be fine but it fails at this point:

Code:
Updating from 5.0.0_RC3
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 1 6.
Compilation failed in require at /opt/zimbra/zimbramon/lib/Net/LDAP.pm line 970,  line 16.
i need some help. at this point my mail is down. i'm not sure if i should revert back. or try.
Reply With Quote
  #2 (permalink)  
Old 12-25-2007, 06:14 AM
Zimbra Contractor
 
Posts: 10,054
Default

Have you actually installed the correct version of Zimbra for your o/s i.e which version of Centos is this and do you have the correct Zimbra version for that o/s?
__________________
Regards


Bill
Reply With Quote
  #3 (permalink)  
Old 12-25-2007, 07:50 AM
Loyal Member
 
Posts: 96
Default

the current successful version i was running was:

zcs-4.5.10_GA_1575.RHEL4

the version i tried to upgrade to was:

zcs-5.0.0_GA_1869.RHEL4.20071218182359
Reply With Quote
  #4 (permalink)  
Old 12-25-2007, 08:23 AM
Zimbra Contractor
 
Posts: 10,054
Default

OK, in that case check this post and follow the instructions.
__________________
Regards


Bill
Reply With Quote
  #5 (permalink)  
Old 12-25-2007, 09:39 AM
Loyal Member
 
Posts: 96
Default

forgive my ignorance but does that mean that the PERLLIB and PERL5LIB environment variables in root's .bashrc need to match zimbra user's .bashrc?

i'm pretty sure that is what i read. can you please confirm?

thanks.
Reply With Quote
  #6 (permalink)  
Old 12-25-2007, 09:44 AM
Zimbra Contractor
 
Posts: 10,054
Default

Yes, that's what I read too.
__________________
Regards


Bill
Reply With Quote
  #7 (permalink)  
Old 12-26-2007, 03:35 AM
Loyal Member
 
Posts: 96
Default

i did try that but still got the same error. i copied the PERLLIB and PERL5LIB to root's .bashrc but still got the same errors. those variables did not exist in root's .bashrc so i just added them at the bottom including the export parameters for them.

it looks as though it's only partially installed. some of the GUI is there and all services are running but MTA. i can't get it to work though. is there something i did wrong with the copy paste into .bashrc?
Reply With Quote
  #8 (permalink)  
Old 01-01-2008, 09:15 AM
Zimbra Employee
 
Posts: 320
Default

Actually, what I meant was to export those as the root user. Copying them into root's .bashrc won't do anything unless you log out as root and then log back in to pick it up, or reset the environment.

--Quanah
__________________
Quanah Gibson-Mount
Principal Software Engineer
Zimbra, Inc
--------------------
Zimbra :: the leader in open source messaging and collaboration
Reply With Quote
  #9 (permalink)  
Old 01-01-2008, 03:31 PM
Contributor
 
Posts: 182
Thumbs up My solution

Trying to upgrade from 4.5.10 to 5.0 on CentOS 4 x86_64.

Failed with error:

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.
After reading a few threads, I tried running:

Code:
cpan -i Scalar::Util
(I had problems with my cpan server so deleted /usr/lib/perl5/5.8.5/CPAN/Config.pm, then ran the code above again and setup some cpan servers from here)

After installing - I re-ran the ./install.sh and it worked ok...

Good luck all - best wishes for 2008

*** Note all code extracts were performed as root
__________________
------------------------------
http://www.lcrm.co.uk

Last edited by Costa-101 : 01-01-2008 at 03:35 PM.
Reply With Quote
  #10 (permalink)  
Old 01-13-2008, 10:58 AM
Member
 
Posts: 11
Default Fix For CentOS And Zimbra 5.0.1 or 5.0.0 upgrade

After much searching and hair pulling out as 50K email accounts on my server quit working it seems that the Perl RPM in CentOS *Plus* is broken (missing XS that Zimbra needs during install) but the Perl that comes with CentOS (non-Plus) has XS in it. See the below link on how to restore back to the plain Perl with XS support. After I did this my upgrade went perfectly. Everything else in the above posts did not work for me.

[SOLVED] CentOS is NOT supported
Reply With Quote
Reply


Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Successful upgrade from OpenSuSE 10.0 (4.5.9 to 5.0) bradb21 Installation 6 01-02-2008 10:02 AM
ZCS 5.0 FOSS is Released!!! jholder Announcements 1 12-21-2007 11:21 AM
dspam errors after 5.0 upgrade Krishopper Administrators 2 12-20-2007 04:57 PM
[SOLVED] Upgrade from 4.5 to 5.0 Stergil Installation 2 10-05-2007 01:50 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