"Build complete" then "Cannot open: No such file or directory"

Discussion in 'Installation/Configuration' started by xavier, Oct 9, 2006.

  1. xavier

    xavier New Member

    Hello Again,

    Back with a fresh box! This time the hardware checks out ;) I am still attempting to install ISPConfig on a fresh Ubuntu distro. The Ubuntu was installed following the "Perfect Setup - Ubuntu 6.06 LTS Server" here on howtoforge. Like the last time, I then moved immediately on to installing ISPConfig.

    This time it seems that './setup' almost finished this time, but had errors about missing directories. Any tips on what to try next?

    Code:
    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 87: cd: /root/ispconfig/install_ispconfig/compile_aps: No such file or directory
    ./setup2: line 794: 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 816: 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!
     
  2. xavier

    xavier New Member

    Install worked -- it was directory names!!

    There was some directory wierdness in all the failed installs, so this last time, here's wht I did. (Warning, I never said it was elegant or pretty!)

    wget http://superb-east.dl.sourceforge.net/sourceforge/ispconfig/ISPConfig-2.2.6.tar.gz
    mkdir ispcfg
    cp *.gz ispcfg/
    cd ispcfg/
    tar xvfz ISPConfig*.tar.gz
    chmod 777 install_ispconfig/
    cd install_ispconfig/
    ./setup

    And it worked!

    Thanks!

    x
     
  3. falko

    falko Super Moderator ISPConfig Developer

    In your previous tries you tried to install from the directory /root/ispconfig. You can install from every directory except /root/ispconfig!
     

Share This Page