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 09-23-2008, 01:47 PM
Senior Member
 
Posts: 57
Question Installing on CentOS

Which built of the Open Source would you reccommend to install on CentOS 4.6?

The one for RedHat, SuSE, Ubuntu, etc...
Reply With Quote
  #2 (permalink)  
Old 09-23-2008, 03:45 PM
Moderator
 
Posts: 6,236
Default

RHEL4
(CentOS is based on Red Hat Enterprise Linux)
Reply With Quote
  #3 (permalink)  
Old 09-24-2008, 08:23 AM
Senior Member
 
Posts: 57
Default Didn't work

I tried but CentOS 4.6 is not good enough for Zimbra for RHEL4 it needs packages that are way beyond CentOS 4.6 distribution.
Reply With Quote
  #4 (permalink)  
Old 09-24-2008, 08:49 AM
Moderator
 
Posts: 6,236
Default

What's your errors? I doubt it's not anything we can't work through - it's like 95% identical in all intensive purposes for your usage case.

Just 'MISSING x package'? yum install package...

CentOS - UTF-8 - unicode start - Zimbra :: Wiki ?

64bit & libstdc++.so.5 ? > Platform Specific - Zimbra :: Wiki

Perl Scalar::Util ? (you'll see errors like 'is only avaliable with the XS version' ending in SSL.pm & LDAP.pm)
Quote:
Originally Posted by quanah View Post
What I meant as far as setting the perl bits in the root environment similar to what is in the zimbra user's, is, as root, run these at the shell on RHEL4:

Code:
export PERLLIB=/opt/zimbra/zimbramon/lib:/opt/zimbra/zimbramon/lib/i386-linux-thread-multi
export PERLLIB
PERL5LIB=$PERLLIB
export PERL5LIB
This should tell perl to use the Zimbra perl libraries before using the system perl libraries.

The root of the problem is that RedHat, for whatever reason, decided to build Scalar::Util without XS support on 32-bit RHEL4. RHEL4 64-bit, RHEL5, and RHEL5 64-bit do not have this issue.

--Quanah
Or if you wish to change perl versions:
Quote:
Originally Posted by jdell View Post
This worked for me on a test server, but I haven't actually tried the 5.0 upgrade for real. I'm waiting for 5.0.1. YMMV...

I traded emails with hughesjr, and he suggests that this is a 'safe' way to downgrade perl 5.8.8 to perl 5.8.5 using rpm --nodeps is as follows:

Just to be safe, stop anything you think might be related to perl including zimbra

Check your perl verison
#perl -v
This is perl, v5.8.8 built for i386-linux-thread-multi
#sudo rpm -e --nodeps perl-5.8.8-4.el4s1
(also uninstall perl-suid if you have it installed)
#sudo vi /etc/yum.repos.d/CentOS-Base.repo (add 'exclude=perl*' under [centosplus])
#sudo yum install perl (for me this also added perl-Filter through yum dependency checking)
#sudo reboot
#perl -v
This is perl, v5.8.5 built for i386-linux-thread-multi

After these steps, check if the directory or any code is left in /usr/lib/perl5/5.8.8/* That directory shouldn't exist, but if it does, then you had some perl stuff that depended on 5.8.8 in there that you should look into (reinstall for 5.8.5).

EDIT: Another item to check: View this list of RPM's that are included with CentOS Plus since they are all built against perl 5.8.8 and may have issues after downgrading perl. Check and see if you are using any of them. You may need to uninstall these RPM's and reinstall the base versions. Check here: Index of /centos/5/centosplus/i386/RPMS (if using x86_64, change URL)

Hope this helps someone out!

Regards,
John

Replying to myself. I downgraded perl 5.8.8 to 5.8.5 and it worked fine - upgraded 4.5.10 NE to 5.0.1 NE on CentOS 4.6. Everything is good on 5.0.1, no errors on install.
Quote:
Originally Posted by quanah View Post
The issue occurs if you upgrade perl to something other than what shipped with your OS. So if you haven't upgraded perl, then you are just fine. I.e., it is not specifically that perl 5.8.8 is "bad". It just wasn't what was shipped with CentOS4. Since 5.8.8 is what ships with CentOS5, it should be just fine, assuming you are using the 5.8.8 that shipped.

--Quanah
5.0.2+ contains Bug 23495 – Check for non-standard perl and error out due to Scalar::Util issues.

Last edited by mmorse; 09-24-2008 at 08:59 AM..
Reply With Quote
  #5 (permalink)  
Old 09-24-2008, 08:54 AM
Moderator
 
Posts: 6,236
Default

Out of curiosity if you're starting fresh, why not use CentOS 5.2 with RHEL 5 packages?
Reply With Quote
  #6 (permalink)  
Old 09-24-2008, 11:44 AM
Senior Member
 
Posts: 57
Thumbs up It worked

Well with the instructions of changing the UTF-8 and installing the compat-libstdc++ it worked.

Now, the reason why I'm not using CentOS 5.2 instead is because this is a dedicated server we are paying for, it's not our server it's from a hosting company and that's the OS they installed.

Thanks for all your help.
Reply With Quote
  #7 (permalink)  
Old 09-24-2008, 06:39 PM
Senior Member
 
Posts: 57
Question MD5 error

OK, it worked for my test server but when I tried the live server it gives me MD5 error messages for logger and store, what do you think might be the problem?
Reply With Quote
  #8 (permalink)  
Old 09-24-2008, 06:41 PM
Senior Member
 
Posts: 57
Exclamation Error

This is the error it shows for store

MD5 digest: BAD Expected(549df3fdf244e3745b148687555f278d) != (b0504759d4dd9cc4d0f87df137c4c5d9)

and this is the one for logger

MD5 digest: BAD Expected(ce97ee1a44d93d6d6172b6d943344854) != (0733a5a3b491332395a188842f1eecf9)

Last edited by jfha73; 09-24-2008 at 06:43 PM..
Reply With Quote
  #9 (permalink)  
Old 09-27-2008, 09:48 AM
Senior Member
 
Posts: 57
Angry

OK, I finally got it installed on CentOS 4.6, and even though it installed perfectly fine, with no firewall it refuses connections to port 7071 or any other port it uses.

All the services are up but it's not listening on any ports.

Last edited by jfha73; 09-27-2008 at 02:45 PM..
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.