Page 1 of 2 12 LastLast
Results 1 to 10 of 18

Thread: installin zimbra on centos 64 bit problem

  1. #1
    luca is offline New Member
    Join Date
    Feb 2006
    Posts
    3
    Rep Power
    9

    Default installin zimbra on centos 64 bit problem

    I installed zimbra on centos 4.2 64bit.
    Antispam, antivirus, logger and snmp are stopped and if i try to start the service I receive the following error

    ERROR: MISSING REQUIRED BASIC MODULES:
    Time::HiRes
    Unix::Syslog
    Compress::Zlib
    BEGIN failed--compilation aborted at /opt/zimbra/amavisd/sbin/amavisd line 148.

    I have installed all libraries (zlib included)but if I run the command again, the same error still occurs.

    I have tried to export mi PERLLIB

    su - zimbra
    export PERLLIB=''............. (path obtained with command "perl -V")
    but if I run the command again, the same error still occurs.

    any idea?

  2. #2
    marcmac is offline Expert Member
    Join Date
    Sep 2005
    Posts
    2,103
    Rep Power
    13

    Default Perllib

    Add your perl lib path to the PERLLIB variable in /opt/zimbra/.bashrc, and re-try.

    Also, this helps too (same file, after "export PERLLIB"):
    PERL5LIB=${PERLLIB}

    export PERL5LIB

  3. #3
    luca is offline New Member
    Join Date
    Feb 2006
    Posts
    3
    Rep Power
    9

    Unhappy re:perlib

    in /opt/zimbra/.bashrc I had alredy

    PERLLIB=/opt/zimbra/zimbramon/lib:/opt/zimbra/zimbramon/lib/i386-linux-thread-multi:/opt/zimbra/zimbramon/lib/i586-linux-thread-multi:/opt/zimbra/zimbramon/lib/darwin-thread-multi-2level
    export PERLLIB

    I added the follow lines:

    PERL5LIB=${PERLLIB}
    export PERL5LIB

    but doesn't work! I have the same error when I try to start amavis

  4. #4
    marcmac is offline Expert Member
    Join Date
    Sep 2005
    Posts
    2,103
    Rep Power
    13

    Default 64 bit

    sounds like it's not going to work.

  5. #5
    Kirkaiya's Avatar
    Kirkaiya is offline Senior Member
    Join Date
    Feb 2006
    Location
    Bangkok, Thailand
    Posts
    55
    Rep Power
    9

    Default Difference between CentOS and RHEL (64 bit)

    I have Zimbra running fine, with no quirks, on a RHEL 4 ES u3 (32 bit OS)* server that I set up about 2 weeks ago.

    On a 2nd server, instead of Red Hat, I used CentOS 4.3 (64 bit), which is supposed to be binary compatible w/RHEL 4 u3 (64 bit), same source code, etc.

    But i'm getting the same symptoms as Luca, although I don't get any warnings about missing modules. As zimbra user (su - zimbra), the command "zmcontrol start" shows all services as starting successfully (usually, a few times the MTA has failed).

    However, a check with zmcontrol status then shows that anti-spam, anti-virus, logger and snmp are stopped.

    I can log into the admin account's email (but not the admin panel, for some reason, despite firewall ports being set the same on both machines) on the CentOS box, and create an email, etc.

    This is totally not your guys job, to test out a product that is advertised for Red Hat on CentOS, but have you done any testing internally that has shown differences in Zimbra running on one vs. the other?

    Or should I cave in and buy another Red Hat subscription?

    [ Note that I edited this post: The 1st server is at a dedicated hosting facility, and although the CPU is EMT64, the guys who installed RHEL used the 32 bit version, not the 64 bit].

    ***UPDATE:

    So I'm going to do my Linux-newbie best to try to figure out how to set the env vars so that PERLLIB and PERL5LIB are pointing to the right 64-bit libraries for zimbra user context (did that make sense?). From the posts above, and RobRankin (thanks for the help!) it seems like just editing the .bashrc file (?).

    If I get it working, I'll post newbie-friendly tips (it's been a looonggg time since I was working on a *nix system, and that was Solaris...
    Last edited by Kirkaiya; 03-29-2006 at 08:29 AM.

  6. #6
    robrankin is offline Intermediate Member
    Join Date
    Mar 2006
    Posts
    22
    Rep Power
    9

    Default

    The problem is probably the order of paths in PERLLIB in the Zimbra users environment. Change the order so perl looks in your systems perl install for the needed modules first, and it will all work.

    I've got Zimbra running on RHEL4 64bit and everything works as long as you:

    1.) make sure all the needed perl modules are available in 64bit perl (install them all from CPAN)
    2.) change the zimbra user's environment to use those modules, instead of the ones included with Zimbra.

    Do a 'find . -name *.pm' in /opt/zimbra and you can get a good idea of what you need in your system perl paths.

  7. #7
    Kirkaiya's Avatar
    Kirkaiya is offline Senior Member
    Join Date
    Feb 2006
    Location
    Bangkok, Thailand
    Posts
    55
    Rep Power
    9

    Default Thank you Rob - any chance you can give some more pointers?

    Hi - result of find . -name *.pm in the zimbra opt directory was a *lot* of stuff, the paths mostly seemed to be:

    .... /zimbramon/lib/Mail/
    .... /zimbramon/lib/Mail/SpamAssassin
    .... /zimbramon/lib/Convert
    .... /zimbramon/lib/MIME/
    .... /zimbramon/lib/MIME/Field
    .... /zimbramon/lib/LWP
    .... /zimbramon/lib/Archive
    .... /zimbramon/lib/Archive/Zip
    .... /zimbramon/lib/SOAP
    .... /zimbramon/lib/i386-linux-thread-multi

    (in above, .... means the full path to that point). But based on the different outputs of perl -V (from root context vs. zimbra context), I was wondering whether something like:

    Code:
    PERLIB=/usr/lib64/perl5/5.8.5/x86_64-linux-thread-multi:/usr/lib/perl5/5.8.5:/usr/lib64/perl5
    /site_perl/5.8.5/x86_64-linux-thread-multi:/usr/lib64/perl5/site_perl/5.8.4/x86_64-linux-thre
    ad-multi:/usr/lib64/perl5/site_perl/5.8.3/x86_64-linux-thread-multi:/usr/lib64/perl5/site_per
    l/5.8.2/x86_64-linux-thread-multi:/usr/lib64/perl5/site_perl/5.8.1/x86_64-linux-thread-multi:
    /usr/lib64/perl5/site_perl/5.8.0/x86_64-linux-thread-multi:/opt/zimbra/zimbramon/lib:/opt/zim
    bra/zimbramon/lib/i386-linux-thread-multi:/opt/zimbra/zimbramon/lib/i486-linux-gnu-thread-mul
    ti:/opt/zimbra/zimbramon/lib/i586-linux-thread-multi:/opt/zimbra/zimbramon/lib/darwin-thread-
    multi-2level
    in the .bashrc file in /opt/zimbra would accomplish this? It's late where I am, and my brain is dead, so that's just appending the main paths from root context perl paths to the .bashrc for zimbra.... Is there any chance you'd be willing to post the PERLLIB line from your working 64-bit install? I would be very much in your debt, thanks in advance for any tips, and I appreciate your help. I'm sort of learning as I go...

  8. #8
    Dux T's Avatar
    Dux T is offline Senior Member
    Join Date
    Jan 2006
    Location
    Seattle, WA
    Posts
    53
    Rep Power
    9

    Default

    Are you (any of you) using the RHEL binaries from zimbra and just updating the .pms or are you doing this from source as others have suggested when doing a 64 bit install. I ask this mainly cause I'm in a pickle in that my Atlon X2 4400+ system won't take a 32 bit CentOS install, it fails after ~50% of "Performing Post Install Configuration" but 64 bit installs perfect every time I've code named my Zimbra Project as "Murphy" ...

    Any way looking at the source code download it looks like its a version behind the binary downloads, (which I'm running on a P4 3ghz laptop ) And it doesn't look like it's gunna be an easy ./configure, make, make install to build it anyway.

    OK OK I guess I'm venting a little but I'm under the gun and need to have a viable solution sooner rather than later... anybody have anything

    TIA

  9. #9
    KevinH's Avatar
    KevinH is offline Expert Member
    Join Date
    Aug 2005
    Location
    San Mateo, CA
    Posts
    4,789
    Rep Power
    19

    Default

    Latest source is in CVS. We only update the tgz for a major release.
    Looking for new beta users -> Co-Founder of Acompli. Previously worked at Zimbra (and Yahoo! & VMware) since 2005.

  10. #10
    Kirkaiya's Avatar
    Kirkaiya is offline Senior Member
    Join Date
    Feb 2006
    Location
    Bangkok, Thailand
    Posts
    55
    Rep Power
    9

    Default Using RHEL binaries for Network Edtion

    Quote Originally Posted by Dux T
    Are you (any of you) using the RHEL binaries from zimbra and just updating the .pms or are you doing this from source as others have suggested when doing a 64 bit install. I ask this mainly cause I'm in a pickle in that my Atlon X2 4400+ system won't take a 32 bit CentOS install, it fails after ~50% of "Performing Post Install Configuration" but 64 bit installs perfect every time I've code named my Zimbra Project as "Murphy" ...
    Hi Dux - I'm working with the "Network Edition", using the binaries for RHEL 4.3. I have it running on one production machine (Pentium EMT64, but with 32-bit RHEL installed), and everything went smoothly.

    The problems I'm having are with using the Zimbra RHEL binaries on a CentOS x86_64 (4.3) install. CPU is an intel Pxxx EMT64.

    The mailbox, MTA and spell-check all run, and I can log into the admin@mydomain.com account (they don't depend on Perl it seems). I *think* Robrankin was saying that he has the RHEL binaries working on 64-bit RHEL, and that he just changed the PERLLIB env vars to point to the 64bit perl mods, and went and got the modules he was missing from CPAN (compiling them on his system, I assume).

    I wonder why the 32-bit CentOS is failing to install for you? You're sure it's not the installation media, blah blah? You're making me nervous, because if I can't get everything running on 64-bit CentOS, my backup plan is to use 32-bit. I'm going to spend a few days of spare time playing with Perl and see if I can get it to work, if I find out anything, I'll post it here.

Page 1 of 2 12 LastLast

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 9
    Last Post: 03-01-2008, 08:21 PM
  2. Replies: 8
    Last Post: 02-27-2007, 04:10 AM
  3. Post instsallation problems
    By Assaf in forum Installation
    Replies: 14
    Last Post: 01-29-2007, 11:38 AM
  4. Seeming variety of problems on suse-9.1
    By Crexis in forum Installation
    Replies: 52
    Last Post: 03-04-2006, 12:19 AM
  5. Replies: 1
    Last Post: 11-23-2005, 01:35 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •