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

Discussion in 'Installation/Configuration' started by xinefnarg, Mar 27, 2006.

  1. xinefnarg

    xinefnarg New Member

    Hi, i'm trying to install ISPConfig in an Ubuntu 5.10 installation on 32 bits intel arch, with all the current updates, and followed the howto, but the result is what I post below (it fails after making php's install or something around)

    -----------------------------------------------------------------------
    ...
    Build complete.
    (It is safe to ignore warnings about tempnam and tmpnam).

    Installing PHP SAPI module: apache
    [activating module `php5' in /root/ispconfig/httpd/conf/httpd.conf]
    cp libs/libphp5.so /root/ispconfig/httpd/libexec/libphp5.so
    chmod 755 /root/ispconfig/httpd/libexec/libphp5.so
    cp /root/ispconfig/httpd/conf/httpd.conf /root/ispconfig/httpd/conf/httpd.conf.bak
    cp /root/ispconfig/httpd/conf/httpd.conf.new /root/ispconfig/httpd/conf/httpd.conf
    rm /root/ispconfig/httpd/conf/httpd.conf.new
    Installing PHP CLI binary: /root/ispconfig/php/bin/
    Installing PHP CLI man page: /root/ispconfig/php/man/man1/
    Installing build environment: /root/ispconfig/php/lib/php/build/
    Installing header files: /root/ispconfig/php/include/php/
    Installing helper programs: /root/ispconfig/php/bin/
    program: phpize
    program: php-config
    Installing man pages: /root/ispconfig/php/man/man1/
    page: phpize.1
    page: php-config.1
    Installing PDO headers: /root/ispconfig/php/include/php/ext/pdo/
    tar: /root/ispconfig/install_ispconfig/compile_aps/../binaries/aps.tar.gz: Cannot open: No such file or directory
    tar: Error is not recoverable: exiting now
    ERROR: Could not create aps.tar.gz
    ./compile: line 86: cd: /root/ispconfig/install_ispconfig/compile_aps: No such file or directory
    ./setup2: line 755: cd: /root/ispconfig/install_ispconfig/compile_aps/../..: No such file or directory
    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!

    -----------------------------------------------------------------------

    After that, the directory where I unpacked the ispconfig tarball is gone (I copied the tarball in /root/ispconfig then /root/ispconfig is deleted with it's content)
    I tried removing the commands that remove the directories in compile_aps/compile and found that the php binary that ispconfig's installation tries to use later on is symlinked to nowhere, and thus it fails in the line showed above.

    I would appreciate any help.
    Thanx!

    Leo
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    There must be some errors in the output while php is compiled. Please post these errors here.

    The install_ispconfig direcorie must be deleted. If you run the setup twice without deleting the directory, it will fail!
     
  3. xinefnarg

    xinefnarg New Member

    No errors while making, make finishes cleanly and after install also finishes cleanly those errors appear.

    Yes, i did that, however i found what was happening.
    I created a /root/ispconfig directory and copied the tarball there. Then, i unpacked the tarball (so a /root/ispconfig/install_ispconfig directory was created with the installation files inside) and then ran setup. However, ispconfig installation assumes a /root/ispconfig directory where to install everything, so the script failed as it didn't check if that directory already existed prior to installation.
    I used a /root/ispc directory instead, and then everytning went fine and working ok!

    Regards!
    Leo
     

Share This Page