Mysterious Install Problem

Discussion in 'Installation/Configuration' started by tgansert, May 6, 2006.

  1. tgansert

    tgansert New Member

    Good Afternoon,
    I am running Debian Sarge 3.1R0 with Apache 1.3.34, PHP 4.4.2-1, MySQL 5.0.16, on IBM Netfinity. Kernel version 2.4.27-2-386 on i686 (i386) platform.

    My issue is this:
    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 772: cd: /root/ispconfig/install_ispconfig/compile_aps/../..: No such file or directory
    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
    job-working-directory: 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 794: 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!
    job-working-directory: could not get current directory: getcwd: cannot access parent directories: No such file or directory
    The entire install goes just fine, but the folder mysteriously deletes itself mid-install.
    Frustration level: 5
    Bogglement level: 9

    Everything up to just after all the Zend goodness is without a problem at all... Then, just as it is about to move on, I get all these errors. When I check the filesystem, the directory is GONE (dir installing from is /root/ispconfig/install_ispconfig). The deletion would be compared to rm -rf /root/ispconfig. My install steps may be noteworthy:

    cd /root
    wget [package]
    mkdir /root/ispconfig
    mv [package] /root/ispconfig/
    tar -xzf [package]
    cd install_ispconfig
    ./setup

    Any hints would be much appreciated.

    -TimG
     
    Last edited: May 6, 2006
  2. tgansert

    tgansert New Member

  3. tgansert

    tgansert New Member

    FLEX did not resolve this problem. Output:

    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 772: cd: /root/ispconfig/install_ispconfig/compile_aps/../..: No such file or dir ectory
    cd: could not get current directory: getcwd: cannot access parent directories: No such file or d irectory
    cd: could not get current directory: getcwd: cannot access parent directories: No such file or d irectory
    job-working-directory: 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 794: 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 installat ion routine stops here!
    job-working-directory: could not get current directory: getcwd: cannot access parent directories : No such file or directory
    Log File:
    Code:
    Sat May 6 06:54:43 EDT 2006 - [ISPConfig] - Neuinstallation eines ISPConfig-Systems. / Installation of a new ISPConfig system. / Installation d'ISPConfig sur un nouveau système.
    Sat May 6 06:54:45 EDT 2006 - [ISPConfig] - selected language: en
    Sat May 6 06:54:47 EDT 2006 - [ISPConfig] - licence accepted
    Sat May 6 06:54:47 EDT 2006 - [ISPConfig] - httpd syntax ok!
    Sat May 6 06:54:51 EDT 2006 - [ISPConfig] - Directory /var/www/sharedip created.
    Sat May 6 06:54:51 EDT 2006 - [ISPConfig] - Use sharedip_index.html_en as SharedIP default page.
    Sat May 6 07:19:53 EDT 2006 - [ISPConfig] - WARNING: could not unpack ISPConfig system
    Sat May 6 07:19:53 EDT 2006 - [ISPConfig] - ERROR: The PHP binary coming with ISPConfig does not work properly on your system! The installation routine stops here!
    Sat May 6 08:26:14 EDT 2006 - [ISPConfig] - installation directory: /root/ispconfig/install_ispconfig
    Sat May 6 08:26:14 EDT 2006 - [ISPConfig] - operating system: Debian 3.1
    Sat May 6 08:26:17 EDT 2006 - [ISPConfig] - Neuinstallation eines ISPConfig-Systems. / Installation of a new ISPConfig system. / Installation d'ISPConfig sur un nouveau système.
    Sat May 6 08:26:20 EDT 2006 - [ISPConfig] - selected language: en
    Sat May 6 08:26:23 EDT 2006 - [ISPConfig] - installation note accepted
    Sat May 6 08:26:25 EDT 2006 - [ISPConfig] - licence accepted
    Sat May 6 08:26:26 EDT 2006 - [ISPConfig] - installation mode: standard
    Sat May 6 08:26:28 EDT 2006 - [ISPConfig] - mail: postfix
    Sat May 6 08:26:28 EDT 2006 - [ISPConfig] - dist_mail=postfix ##
    Sat May 6 08:26:28 EDT 2006 - [ISPConfig] - dist_mail_log=/var/log/mail.log ##
    Sat May 6 08:26:28 EDT 2006 - [ISPConfig] - dist_mail_virtusertable=/etc/postfix/virtusertable ##
    Sat May 6 08:26:28 EDT 2006 - [ISPConfig] - dist_mail_local_host_names=/etc/postfix/local-host-names ##
    Sat May 6 08:26:29 EDT 2006 - [ISPConfig] - ftp: proftpd
    Sat May 6 08:26:29 EDT 2006 - [ISPConfig] - dist_ftp=proftpd ##
    Sat May 6 08:26:29 EDT 2006 - [ISPConfig] - dist_ftp_conf=/etc/proftpd.conf ##
    Sat May 6 08:26:29 EDT 2006 - [ISPConfig] - dist_ftp_version=standalone ##
    Sat May 6 08:26:29 EDT 2006 - [ISPConfig] - dist_ftp_log=/var/log/xferlog ##
    Sat May 6 08:26:29 EDT 2006 - [ISPConfig] - procmail found: /usr/bin/procmail
    Sat May 6 08:26:29 EDT 2006 - [ISPConfig] - quota found: /usr/bin/quota
    Sat May 6 08:26:29 EDT 2006 - [ISPConfig] - mysql found: /usr/bin/mysql
    Sat May 6 08:26:29 EDT 2006 - [ISPConfig] - openssl found: /usr/bin/openssl
    Sat May 6 08:26:29 EDT 2006 - [ISPConfig] - named found: /usr/sbin/named
    Sat May 6 08:26:29 EDT 2006 - [ISPConfig] - iptables found: /sbin/iptables
    Sat May 6 08:26:30 EDT 2006 - [ISPConfig] - httpd found: /usr/bin/httpd
    Sat May 6 08:26:30 EDT 2006 - [ISPConfig] - httpd syntax ok!
    Sat May 6 08:26:30 EDT 2006 - [ISPConfig] - dist_path_httpd_root=/home/www ##
    Sat May 6 08:26:35 EDT 2006 - [ISPConfig] - Directory /var/www/sharedip created.
    Sat May 6 08:26:35 EDT 2006 - [ISPConfig] - Use sharedip_index.html_en as SharedIP default page.
    Sat May 6 08:51:44 EDT 2006 - [ISPConfig] - WARNING: could not unpack ISPConfig system
    Sat May 6 08:51:44 EDT 2006 - [ISPConfig] - ERROR: The PHP binary coming with ISPConfig does not work properly on your system! The installation routine stops here!
    Is it deleting itself by design without telling anyone? It looks like this is happening due to a dependency failure (script wants to install php5, I already have php4.4 installed). Since I cannot uninstall php4, I'm going to upgrade to php5-common 5.1.2-1+b1 and we'll see what difference that makes.
     
    Last edited: May 6, 2006
  4. tgansert

    tgansert New Member

    Same error.
     
  5. falko

    falko Super Moderator Howtoforge Staff

    The problem is that you're trying to install from the directory /root/ispconfig/install_ispconfig. This doesn't work as the installer tries to create the directory /root/ispconfig which is already existing. Delete /root/ispconfig and install it from the /tmp directory.

    Yes, becasue you cannot install twice from the same directory.

    No, it doesn't matter which PHP you have installed (or if PHP is installed at all). The PHP coming with ISPConfig is for ISPConfig's own use only and totally independent of your installed PHP version.
     
  6. tgansert

    tgansert New Member

    Very good. Thanks for your help =]
     

Share This Page