amavisd-new start error

Posted on 2004-11-03
Last Modified: 2011-09-20
I install Amavisd-new 2.1.2 in Redhat 9.0
When I start amavisd, it show me the folloing error:
Starting amavisd: Problem in Amavis::DB or Amavis::DB::SNMP code: Can't locate in @INC (@INC contains: /usr/lib/perl5/5.8.0/i386-linux-thread-multi /usr/lib/perl5/5.8.0 /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi /usr/lib/per
l5/site_perl/5.8.0 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.0 /usr/lib/perl5/vendor_perl /usr/lib/perl5/5.8.0/i386-linux-thread-multi /usr/lib/perl5/5.8.0) at (eval 34) line 11.
BEGIN failed--compilation aborted at (eval 34) line 11.

I have updated perl to 5.8.5
[root@localhost download]# perl -v
This is perl, v5.8.5 built for i686-linux

and install the modules BerkeleyDB
cpan>install BerkeleyDB
CPAN: Storable loaded ok
Going to read /root/.cpan/Metadata
  Database was generated on Tue, 02 Nov 2004 20:13:16 GMT
BerkeleyDB is up to date.

Anyone give me a hand?
Question by:alsonluo
    LVL 40

    Expert Comment

    "@INC contains: /usr/lib/perl5/5.8.0/i386-linux-thread-multi" tends to indicate that the RH9 copy of Perl 5.8.0 is still installed and is what amavisd is trying to use. The quick fix for the missing BerkeleyDB perl module is to install the perl-DB-file package from your RH 9 CD's.
    LVL 1

    Author Comment

    I installed the perl-DB-File module
    cpan>minstall DB_File
    DB_File is up to date.
    LVL 40

    Accepted Solution

    That's not the same as installing the perl-DB-file package from your RedHat distribution. I'd guess that using cpan for the installation places the module in /usr/local, which isn't here the system copy (5.8.0) is looking. Short of completely removing the RedHat copy of Perl and replacing it with a later version (which is going to lead to breaking a number of things) you need to stick with the RedHat version if you want to use AmaVis

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    IT, Stop Being Called Into Every Meeting

    Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

    ​Being a Managed Services Provider (MSP) has presented you  with challenges in the past— and by meeting those challenges you’ve reaped the rewards of success.  In 2014, challenges and rewards remain; but as the Internet and business environment evol…
    Hello EE, Today we will learn how to send all your network traffic through Tor which is useful to get around censorship and being tracked all together to a certain degree. This article assumes you will be using Linux, have a minimal knowledge of …
    how to add IIS SMTP to handle application/Scanner relays into office 365.
    Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…

    759 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    11 Experts available now in Live!

    Get 1:1 Help Now