Results 1 to 8 of 8

Thread: ERROR: MISSING REQUIRED BASIC MODULES: Time::HiRes Unix::Syslog Compress::Zlib

  1. #1
    Fix
    Fix is offline New Member
    Join Date
    Jan 2006
    Posts
    3
    Rep Power
    9

    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

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

    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.

  3. #3
    Fix
    Fix is offline New Member
    Join Date
    Jan 2006
    Posts
    3
    Rep Power
    9

    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?

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

    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.

  5. #5
    Fix
    Fix is offline New Member
    Join Date
    Jan 2006
    Posts
    3
    Rep Power
    9

    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?

  6. #6
    Bingo is offline Loyal Member
    Join Date
    Apr 2006
    Posts
    84
    Rep Power
    9

    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 !

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

    Default

    Quote Originally Posted by Bingo
    Is there something else I can try ?
    Use a supported 32bit OS.
    Looking for new beta users -> Co-Founder of Acompli. Previously worked at Zimbra (and Yahoo! & VMware) since 2005.

  8. #8
    Bingo is offline Loyal Member
    Join Date
    Apr 2006
    Posts
    84
    Rep Power
    9

    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 !

Thread Information

Users Browsing this Thread

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

Posting Permissions

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