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:
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.
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].
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...
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:
(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:
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...
Using RHEL binaries for Network Edtion
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.
Originally Posted by Dux T
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 email@example.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.