ERROR: The PHP binary coming with ISPConfig does not work properly on your system

Discussion in 'Installation/Configuration' started by W1SKCC, Feb 1, 2007.

  1. W1SKCC

    W1SKCC New Member

    Hello,

    i got this message during installation of ISPConfig...

    Code:
    ERROR: The PHP binary coming with ISPConfig does not work properly on your system
    Here comes the last messages:

    Code:
    checking module dependencies and their versions...
    
    ***************************************************************************
    ERROR: the required Digest::SHA1 module is not installed.
    
      The Digest::SHA1 module is used as a cryptographic hash for some
      tests and the Bayes subsystem.  It is also used by Razor2.
    
    
    ***************************************************************************
    ERROR: the required HTML::Parser (version 3.24) module is not installed.
    
      Version 3.31 or later is recommended.
    
      HTML is used for an ever-increasing amount of email so this dependency
      is unavoidable.  Run "perldoc -q html" for additional information.
    
    
    ***************************************************************************
    NOTE: the optional Net::DNS (version 0.34) module is not installed.
    
      Used for all DNS-based tests (SBL, XBL, SpamCop, DSBL, etc.),
      perform MX checks, and is also used when manually reporting spam to
      SpamCop.  Recommended.
    
      If this is installed and you are using network tests of any variety
      (which is the default), then you need to make sure the Net::DNS
      version is sufficiently up-to-date:
    
      - version 0.34 or higher on Unix systems
      - version 0.46 or higher on Windows systems
    
    
    ***************************************************************************
    NOTE: the optional Mail::SPF::Query module is not installed.
    
      Used to check DNS Sender Policy Framework (SPF) records to fight email
      address forgery and make it easier to identify spams.
    
    
    ***************************************************************************
    NOTE: the optional IP::Country module is not installed.
    
      Used by the RelayCountry plugin (not enabled by default) to determine
      the domain country codes of each relay in the path of an email.
    
    
    ***************************************************************************
    NOTE: the optional Razor2 (version 2.61) module is not installed.
    
      Used to check message signatures against Vipul's Razor collaborative
      filtering network. Razor has a large number of dependencies on CPAN
      modules. Feel free to skip installing it, if this makes you nervous;
      SpamAssassin will still work well without it.
    
      More info on installing and using Razor can be found
      at http://wiki.apache.org/spamassassin/InstallingRazor .
    
    
    ***************************************************************************
    NOTE: the optional Net::Ident module is not installed.
    
      If you plan to use the --auth-ident option to spamd, you will need
      to install this module.
    
    
    ***************************************************************************
    NOTE: the optional IO::Socket::INET6 module is not installed.
    
      This is required if the first nameserver listed in your IP
      configuration or /etc/resolv.conf file is available only via
      an IPv6 address.
    
    
    ***************************************************************************
    NOTE: the optional IO::Socket::SSL module is not installed.
    
      If you wish to use SSL encryption to communicate between spamc and
      spamd (the --ssl option to spamd), you need to install this
      module. (You will need the OpenSSL libraries and use the
      ENABLE_SSL="yes" argument to Makefile.PL to build and run an SSL
      compatibile spamc.)
    
    
    ***************************************************************************
    NOTE: the optional LWP::UserAgent module is not installed.
    
      The "sa-update" script requires this module to make HTTP requests.
    
    
    ***************************************************************************
    NOTE: the optional HTTP::Date module is not installed.
    
      The "sa-update" script requires this module to make HTTP
      If-Modified-Since GET requests.
    
    
    ***************************************************************************
    NOTE: the optional Archive::Tar (version 1.23) module is not installed.
    
      The "sa-update" script requires this module to access tar update
      archive files.
    
    
    ***************************************************************************
    NOTE: the optional IO::Zlib (version 1.04) module is not installed.
    
      The "sa-update" script requires this module to access compressed
      update archive files.
    
    REQUIRED module missing: Digest::SHA1
    REQUIRED module missing: HTML::Parser
    optional module missing: Net::DNS
    optional module missing: Mail::SPF::Query
    optional module missing: IP::Country
    optional module missing: Razor2
    optional module missing: Net::Ident
    optional module missing: IO::Socket::INET6
    optional module missing: IO::Socket::SSL
    optional module missing: LWP::UserAgent
    optional module missing: HTTP::Date
    optional module missing: Archive::Tar
    optional module missing: IO::Zlib
    
    warning: some functionality may not be available,
    please read the above report before continuing!
    
    ERROR: Could not configure SpamAssassin
    cd: could not get current directory: getcwd: cannot access parent directories: No such file or directory
    cd: could not get current directory: getcwd: cannot access parent directories: No such file or directory
    mv: cannot stat `binaries/aps.tar.gz': No such file or directory
    job-working-directory: could not get current directory: getcwd: cannot access parent directories: No such file or directory
    mv: cannot stat `binaries/spamassassin.tar.gz': No such file or directory
    job-working-directory: could not get current directory: getcwd: cannot access parent directories: No such file or directory
    mv: cannot stat `binaries/uudeview.tar.gz': No such file or directory
    job-working-directory: could not get current directory: getcwd: cannot access parent directories: No such file or directory
    mv: cannot stat `binaries/clamav.tar.gz': No such file or directory
    job-working-directory: could not get current directory: getcwd: cannot access parent directories: No such file or directory
    mv: cannot stat `binaries/cronolog': No such file or directory
    job-working-directory: could not get current directory: getcwd: cannot access parent directories: No such file or directory
    mv: cannot stat `binaries/cronosplit': No such file or directory
    job-working-directory: could not get current directory: getcwd: cannot access parent directories: No such file or directory
    mv: cannot stat `binaries/ispconfig_tcpserver': No such file or directory
    job-working-directory: could not get current directory: getcwd: cannot access parent directories: No such file or directory
    mv: cannot stat `binaries/zip': No such file or directory
    job-working-directory: could not get current directory: getcwd: cannot access parent directories: No such file or directory
    mv: cannot stat `binaries/unzip': No such file or directory
    job-working-directory: could not get current directory: getcwd: cannot access parent directories: 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
    job-working-directory: could not get current directory: getcwd: cannot access parent directories: No such file or directory
    mv: cannot stat `spamassassin': No such file or directory
    job-working-directory: could not get current directory: getcwd: cannot access parent directories: 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
    job-working-directory: could not get current directory: getcwd: cannot access parent directories: No such file or directory
    mv: cannot stat `uudeview': No such file or directory
    job-working-directory: could not get current directory: getcwd: cannot access parent directories: 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
    job-working-directory: could not get current directory: getcwd: cannot access parent directories: No such file or directory
    mv: cannot stat `clamav': No such file or directory
    job-working-directory: could not get current directory: getcwd: cannot access parent directories: 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
    job-working-directory: could not get current directory: getcwd: cannot access parent directories: No such file or directory
    ./setup2: line 860: ispconfig_tmp/php/bin/php: No such file or directory
    job-working-directory: could not get current directory: getcwd: cannot access parent directories: No such file or directory
    ERROR: The PHP binary coming with ISPConfig does not work properly on your system! The installation routine stops here!
    can somebody HELP me?
     
  2. martinfst

    martinfst Member Moderator

    You need a couple of other packages as well. The install document is not 100% complete. On my Ubuntu systems I add:
    Code:
    apt-get install libdigest-sha1-perl libhtml-parser-perl libnet-dns-perl libmail-spf-query-perl razor libnet-ident-perl libio-socket-ssl-perl libwww-perl libdate-manip-perl libtimedate-perl libarchive-tar-perl webalizer
    as a bonus. Will make your install a lot happier.
     
  3. falko

    falko Super Moderator Howtoforge Staff

    Which distribution do you use? Did you follow any of the "Perfect Setups" from HowtoForge?
     

Share This Page