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 01-30-2006, 05:47 AM
Fix Fix is offline
New Member
 
Posts: 3
Default ERROR: MISSING REQUIRED BASIC MODULES: Time::HiRes Unix::Syslog Compress::Zlib

Hey I'm installing zimbra on a xen 64 bit Fedora Core 4 distro. Everything went fine, I can login, add domains,...
I can even send messages, but then the Connection refused (port 10024) thats a lot on the forum.
if I check my status I get the following:
zmcontrol status
Host XXX
antispam Stopped
antivirus Stopped
ldap Running
logger Stopped
mailbox Running
mta Running
snmp Stopped
spell Running

so I wanted to start the antivirus from the commandline using the described command:
/opt/zimbra/bin/zmamavisdctl start
now 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 checked and indeed these 3 modules were not installed in my perl. I did a yum install:
yum install perl-IO-Zlib perl-Compress-Zlib perl-Compress-Zlib

and all the modules got installed, but if I run the command again, the same error still occurs. Sorry but I'm perl noob, I remember something of registering this with CPane or something, but I don't know how and I already messed my installation up more then 15 times.

Thanx
Reply With Quote
  #2 (permalink)  
Old 01-30-2006, 06:22 AM
Zimbra Employee
 
Posts: 2,103
Default perl problems

We ship all of those perl libraries - you'll see them under /opt/zimbra/zimbramon/lib - but we ship 32 bit versions, which is probably what's causing your problems.

You might try adding the path to your perl libs (perl -V may help) to the perllibs env. variable in the zimbra user's environment.
Reply With Quote
  #3 (permalink)  
Old 01-30-2006, 06:28 AM
Fix Fix is offline
New Member
 
Posts: 3
Default perl -V output

As I said, I'm really a perl n00b, no idea how todo that.
The perl -V command gave me this output (done as zimbra user)

perl -V
Summary of my perl5 (revision 5 version 8 subversion 6) configuration:
Platform:
osname=linux, osvers=2.6.9-22.18.bz155725.elsmp, archname=x86_64-linux-thread-multi
uname='linux hs20-bc1-6.build.redhat.com 2.6.9-22.18.bz155725.elsmp #1 smp thu nov 17 15:34:08 est 2005 x86_64 x86_64 x86_64 gnulinux '
config_args='-des -Doptimize=-O2 -g -pipe -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -m64 -mtune=nocona -Dversion=5.8.6 -Dmyhostname=localhost -Dperladmin=root@localhost -Dcc=gcc -Dcf_by=Red Hat, Inc. -Dinstallprefix=/usr -Dprefix=/usr -Dlibpth=/usr/local/lib64 /lib64 /usr/lib64 -Dprivlib=/usr/lib/perl5/5.8.6 -Dsitelib=/usr/lib/perl5/site_perl/5.8.6 -Dvendorlib=/usr/lib/perl5/vendor_perl/5.8.6 -Darchlib=/usr/lib64/perl5/5.8.6/x86_64-linux-thread-multi -Dsitearch=/usr/lib64/perl5/site_perl/5.8.6/x86_64-linux-thread-multi -Dvendorarch=/usr/lib64/perl5/vendor_perl/5.8.6/x86_64-linux-thread-multi -Darchname=x86_64-linux -Dvendorprefix=/usr -Dsiteprefix=/usr -Duseshrplib -Dusethreads -Duseithreads -Duselargefiles -Dd_dosuid -Dd_semctl_semun -Di_db -Ui_ndbm -Di_gdbm -Di_shadow -Di_syslog -Dman3ext=3pm -Duseperlio -Dinstallusrbinperl=n -Ubincompat5005 -Uversiononly -Dpager=/usr/bin/less -isr -Dd_gethostent_r_proto -Ud_endhostent_r_proto -Ud_endprotoent_r_proto -Ud_endservent_r_proto -Ud_sethostent_r_proto -Ud_setprotoent_r_proto -Ud_setservent_r_proto -Dinc_version_list=5.8.5 5.8.4 5.8.3'
hint=recommended, useposix=true, d_sigaction=define
usethreads=define use5005threads=undef useithreads=define usemultiplicity=define
useperlio=define d_sfio=undef uselargefiles=define usesocks=undef
use64bitint=define use64bitall=define uselongdouble=undef
usemymalloc=n, bincompat5005=undef
Compiler:
cc='gcc', ccflags ='-D_REENTRANT -D_GNU_SOURCE -DDEBUGGING -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm',
optimize='-O2 -g -pipe -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -m64 -mtune=nocona',
cppflags='-D_REENTRANT -D_GNU_SOURCE -DDEBUGGING -fno-strict-aliasing -pipe -I/usr/local/include -I/usr/include/gdbm'
ccversion='', gccversion='4.0.2 20051125 (Red Hat 4.0.2-8)', gccosandvers=''
intsize=4, longsize=8, ptrsize=8, doublesize=8, byteorder=12345678
d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16
ivtype='long', ivsize=8, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8
alignbytes=8, prototype=define
Linker and Libraries:
ld='gcc', ldflags =''
libpth=/usr/local/lib64 /lib64 /usr/lib64
libs=-lresolv -lnsl -lgdbm -ldb -ldl -lm -lcrypt -lutil -lpthread -lc
perllibs=-lresolv -lnsl -ldl -lm -lcrypt -lutil -lpthread -lc
libc=/lib/libc-2.3.4.so, so=so, useshrplib=true, libperl=libperl.so
gnulibc_version='2.3.5'
Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,-E -Wl,-rpath,/usr/lib64/perl5/5.8.6/x86_64-linux-thread-multi/CORE'
cccdlflags='-fPIC', lddlflags='-shared'


Characteristics of this binary (from libperl):
Compile-time options: DEBUGGING MULTIPLICITY USE_ITHREADS USE_64_BIT_INT USE_64_BIT_ALL USE_LARGE_FILES PERL_IMPLICIT_CONTEXT
Built under linux
Compiled at Dec 14 2005 14:12:17
%ENV:
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"
@INC:
/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
/usr/lib64/perl5/site_perl/5.8.6/x86_64-linux-thread-multi
/usr/lib64/perl5/site_perl/5.8.5/x86_64-linux-thread-multi
/usr/lib64/perl5/site_perl/5.8.4/x86_64-linux-thread-multi
/usr/lib64/perl5/site_perl/5.8.3/x86_64-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.6
/usr/lib/perl5/site_perl/5.8.5
/usr/lib/perl5/site_perl/5.8.4
/usr/lib/perl5/site_perl/5.8.3
/usr/lib/perl5/site_perl
/usr/lib64/perl5/vendor_perl/5.8.6/x86_64-linux-thread-multi
/usr/lib64/perl5/vendor_perl/5.8.5/x86_64-linux-thread-multi
/usr/lib64/perl5/vendor_perl/5.8.4/x86_64-linux-thread-multi
/usr/lib64/perl5/vendor_perl/5.8.3/x86_64-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.8.6
/usr/lib/perl5/vendor_perl/5.8.5
/usr/lib/perl5/vendor_perl/5.8.4
/usr/lib/perl5/vendor_perl/5.8.3
/usr/lib/perl5/vendor_perl
/usr/lib64/perl5/5.8.6/x86_64-linux-thread-multi
/usr/lib/perl5/5.8.6

Both the dirs that contain the missing modules seem to be in the path here. What should this look like than?
Reply With Quote
  #4 (permalink)  
Old 01-30-2006, 06:55 AM
Zimbra Employee
 
Posts: 2,103
Default perl paths

the paths look good. It's possible that it's finding the 32 bit versions and failing to load them - try:
su - zimbra
export PERLLIB=''
zmamavisdctl start

Though this may cause more problems than it solves.
Reply With Quote
  #5 (permalink)  
Old 01-30-2006, 06:59 AM
Fix Fix is offline
New Member
 
Posts: 3
Default thnx

Thnx, I think I'm just going to install a 32 bit FC4 xen image, hopefully that will get rid of all the problems!!

Thnx anyway. I suppose zimbra hasn't been ported to 64 bit yet?
Reply With Quote
  #6 (permalink)  
Old 04-26-2006, 03:05 AM
Loyal Member
 
Posts: 82
Default

Quote:
Originally Posted by marcmac
the paths look good. It's possible that it's finding the 32 bit versions and failing to load them - try:
su - zimbra
export PERLLIB=''
zmamavisdctl start

Though this may cause more problems than it solves.
I have the exact same problem.
I tried your solution but it does not help (same error, same line of code).
Is there something else I can try ?

Thanks !
Reply With Quote
  #7 (permalink)  
Old 04-26-2006, 03:53 AM
Zimbra Employee
 
Posts: 4,792
Default

Quote:
Originally Posted by Bingo
Is there something else I can try ?
Use a supported 32bit OS.
__________________
Bugzilla - Wiki - Downloads - Offline Client
Reply With Quote
  #8 (permalink)  
Old 04-26-2006, 03:56 AM
Loyal Member
 
Posts: 82
Default

Quote:
Originally Posted by KevinH
Use a supported 32bit OS.
You know what ? I began downloading the FC4-32bits Torrent 2 minutes after posting my question !
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


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.