ASSP With Embedded ClamAV Integrated Into Postfix

Discussion in 'HOWTO-Related Questions' started by c4rdinal, Jul 3, 2008.

  1. c4rdinal

    c4rdinal New Member

    I want to integrate ClamAV into ASSP1.3.9.

    I followed the Howto: ASSP With Embedded ClamAV Integrated Into Postfix. However, issueing the following command in CPAN:

    Code:
    perl -MCPAN -e shell
    test File::Scan::ClamAV
    
    Connecting to ftp.perl.org|69.31.115.210|:21... connected.
    Logging in as anonymous ... Logged in!
    ==> SYST ... done.    ==> PWD ... done.
    ==> TYPE I ... done.  ==> CWD /pub/CPAN/authors ... done.
    ==> PASV ... couldn't connect to 10.10.10.111 port 50355: Connection timed out
    Retrying.
    
    --21:36:24--  ftp://ftp.perl.org/pub/CPAN/authors/01mailrc.txt.gz
      (try: 4) => `-'
    Connecting to ftp.perl.org|69.31.115.210|:21... connected.
    Logging in as anonymous ... Logged in!
    ==> SYST ... done.    ==> PWD ... done.
    ==> TYPE I ... done.  ==> CWD /pub/CPAN/authors ... done.
    ==> PASV ...
    System call "/usr/bin/wget -O - "ftp://ftp.perl.org/pub/CPAN/authors/01mailrc.txt.gz"  > /root/.cpan/sources/authors/01mailrc.txt"
    returned status 0 (wstat 2)
    Warning: expected file [/root/.cpan/sources/authors/01mailrc.txt.gz] doesn't exist
    Issuing "/usr/bin/ftp -n"
    Local directory now /root/.cpan/sources/authors
    GOT /root/.cpan/sources/authors/01mailrc.txt.gz
    Going to read /root/.cpan/sources/authors/01mailrc.txt.gz
    CPAN: Compress::Zlib loaded ok
    Issuing "/usr/bin/ftp -n"
    Local directory now /root/.cpan/sources/modules
    GOT /root/.cpan/sources/modules/02packages.details.txt.gz
    Going to read /root/.cpan/sources/modules/02packages.details.txt.gz
    Warning: Your /root/.cpan/sources/modules/02packages.details.txt.gz does not contain a Line-Count header.
    Please check the validity of the index file by comparing it to more
    than one CPAN mirror. I'll continue but problems seem likely to
    happen.
    Warning: Your /root/.cpan/sources/modules/02packages.details.txt.gz does not contain a Last-Updated header.
    Please check the validity of the index file by comparing it to more
    than one CPAN mirror. I'll continue but problems seem likely to
    happen.
    Issuing "/usr/bin/ftp -n"
    Local directory now /root/.cpan/sources/modules
    GOT /root/.cpan/sources/modules/03modlist.data.gz
    Going to read /root/.cpan/sources/modules/03modlist.data.gz
    Can't locate object method "data" via package "CPAN::Modulelist" (perhaps you forgot to load "CPAN::Modulelist"?) at (eval 38) line 1.
     at /usr/share/perl/5.8/CPAN.pm line 3406
            CPAN::Index::rd_modlist('CPAN::Index', '/root/.cpan/sources/modules/03modlist.data.gz') called at /usr/share/perl/5.8/CPAN.pm line 3128
            CPAN::Index::reload('CPAN::Index') called at /usr/share/perl/5.8/CPAN.pm line 675
            CPAN::exists('CPAN=HASH(0x87161ac)', 'CPAN::Module', 'File::Scan::ClamAV') called at /usr/share/perl/5.8/CPAN.pm line 1841
            CPAN::Shell::expandany('CPAN::Shell', 'File::Scan::ClamAV') called at /usr/share/perl/5.8/CPAN.pm line 2077
            CPAN::Shell::rematein('CPAN::Shell', 'test', 'File::Scan::ClamAV') called at /usr/share/perl/5.8/CPAN.pm line 2162
            CPAN::Shell::test('CPAN::Shell', 'File::Scan::ClamAV') called at /usr/share/perl/5.8/CPAN.pm line 201
            eval {...} called at /usr/share/perl/5.8/CPAN.pm line 201
            CPAN::shell() called at -e line 1
    
    cpan> look File::Scan::ClamAV
    Going to read /root/.cpan/sources/authors/01mailrc.txt.gz
    Going to read /root/.cpan/sources/modules/02packages.details.txt.gz
    Warning: Your /root/.cpan/sources/modules/02packages.details.txt.gz does not contain a Line-Count header.
    Please check the validity of the index file by comparing it to more
    than one CPAN mirror. I'll continue but problems seem likely to
    happen.
    Warning: Your /root/.cpan/sources/modules/02packages.details.txt.gz does not contain a Last-Updated header.
    Please check the validity of the index file by comparing it to more
    than one CPAN mirror. I'll continue but problems seem likely to
    happen.
    
    
    How can I fix it?

    TIA
     
  2. falko

    falko Super Moderator ISPConfig Developer

    What's the output of
    Code:
    ls -la /root/.cpan/sources/modules/
    ?
     

Share This Page