Installation stops in SpamAssassin

Discussion in 'Installation/Configuration' started by aarocha, Mar 29, 2006.

  1. aarocha

    aarocha New Member

    Everyting goes OK until the SpamAssassin perl setup. This is the error I've got:

    Code:
    NOTE: settings for "make test" are now controlled using "t/config.dist".
    See that file if you wish to customise what tests are run, and how.
    
    checking module dependencies and their versions...
    perl: symbol lookup error: /usr/lib/perl5/5.8.6/i386-linux-thread-multi/auto/DB_File/DB_File.so: undefined symbol: db_version
    ERROR: Could not configure SpamAssassin
    cd: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
    mv: cannot stat `binaries/aps.tar.gz': No such file or directory
    mv: cannot stat `binaries/spamassassin.tar.gz': No such file or directory
    mv: cannot stat `binaries/uudeview.tar.gz': No such file or directory
    mv: cannot stat `binaries/clamav.tar.gz': No such file or directory
    mv: cannot stat `binaries/cronolog': No such file or directory
    mv: cannot stat `binaries/cronosplit': No such file or directory
    mv: cannot stat `binaries/ispconfig_tcpserver': No such file or directory
    mv: cannot stat `binaries/zip': No such file or directory
    mv: cannot stat `binaries/unzip': No such file or directory
    tar: spamassassin.tar.gz: Cannot open: No such file or directory
    tar: Error is not recoverable: exiting now
    tar: Child returned status 2
    tar: Error exit delayed from previous errors
    mv: cannot stat `spamassassin': No such file or directory
    tar: uudeview.tar.gz: Cannot open: No such file or directory
    tar: Error is not recoverable: exiting now
    tar: Child returned status 2
    tar: Error exit delayed from previous errors
    mv: cannot stat `uudeview': No such file or directory
    tar: clamav.tar.gz: Cannot open: No such file or directory
    tar: Error is not recoverable: exiting now
    tar: Child returned status 2
    tar: Error exit delayed from previous errors
    mv: cannot stat `clamav': No such file or directory
    tar: aps.tar.gz: Cannot open: No such file or directory
    tar: Error is not recoverable: exiting now
    tar: Child returned status 2
    tar: Error exit delayed from previous errors
    ./setup2: line 777: ispconfig_tmp/php/bin/php: No such file or directory
    ERROR: The PHP binary coming with ISPConfig does not work properly on your system! The installation routine stops here!
    
    This is what I've got in the Perl shell:

    Code:
    perl -MCPAN -e shell
    Terminal does not support AddHistory.
    
    cpan shell -- CPAN exploration and modules installation (v1.7601)
    ReadLine support available (try 'install Bundle::CPAN')
    
    cpan> install HTML::Parser
    CPAN: Storable loaded ok
    Going to read /root/.cpan/Metadata
      Database was generated on Mon, 27 Mar 2006 22:44:57 GMT
    HTML::Parser is up to date.
    
    cpan> install DB_File
    DB_File is up to date.
    
    cpan> install Net::DNS
    Net::DNS is up to date.
    
    cpan> install Digest::SHA1
    Digest::SHA1 is up to date.
    
    cpan> q
    Terminal does not support GetHistory.
    Lockfile removed.
    
    any idea on what should I do to fix the problem?

    Muchas Thanks,
    Arty
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Which linux distribution do you use? Did you follow one of the perfect setup howtos?
     
  3. aarocha

    aarocha New Member

    I'm using FC4. And yes I followed the perfect setup for Fedora Core 4 and everything went OK with the setup.
     
  4. falko

    falko Super Moderator Howtoforge Staff

    Seems to be a problem with the DB_File Perl module. You can try to install the Fedora package for it:
    Code:
    yum install perl-DBI
    and then try the ISPConfig installation again.
     
  5. nenad

    nenad Member

    Hi,

    I have same errors when I reched this point:

    Install some Perl Modules needed by SpamAssassin (comes with ISPConfig)
    Installation using the Perl Shell
    (http://www.howtoforge.com/perfect_setup_fedora_core_4_p5:)

    Checking if your kit is complete...
    Looks good
    Writing Makefile for HTML::parser
    make: Warning: File `Makefile.PL' has modification time 1.8e+08 s in the future
    Makefile out-of-date with respect to Makefile.PL /usr/lib/perl5/5.8.6/i386-linux-thread-multi/Config.pm /usr/lib/perl5/5.8.6/i386-linux-thread-multi/CORE/config.h
    Cleaning current config before rebuilding Makefile...
    /usr/bin/make -f Makefile.old clean > /dev/null 2>&1 || /bin/sh -c true
    /usr/bin/perl Makefile.PL
    Checking if your kit is complete...
    Looks good
    Writing Makefile for HTML::parser
    ==> Your Makefile has been rebuilt. <==
    ==> Please rerun the make command. <==
    false
    make: *** [Makefile] Error 1
    /usr/bin/make -- NOT OK
    Running make test
    Can't test without successful make
    Running make install
    make had returned bad status, install seems impossible
     
  6. nenad

    nenad Member

    Unbeliveable but true (found on freebsd forum):

    And I checked. And it was true, rdate didn't updated my system clock.
    After I updated , everything was going on ok.
     

Share This Page