ISPConfig setup Deletes install_ispconfig Directory

Discussion in 'Installation/Configuration' started by packetjunkie, Feb 26, 2007.

  1. packetjunkie

    packetjunkie New Member

    I installed the current stable release of ISPconfig without any issues. However, I wanted to experiment with the development version. When installing it, however, I'm finding that it will build its OpenSSL and try generating certificates. However it can't write the certificates because for some reason at that point ISPconfig delete's its installation directory.

    Note that:
    (1) I'm not trying to install it from a directory it writes to, from /root, or anything.
    (2) /bin/sh is a symlink to /bin/bash.
    (3) I had set up 2.2.9 according to the directions on HowtoForge for installing ISPConfig on Ubuntu Edgy (my distro) already and it succeeded.
    (4) Don't know if it matters, but I used su to gain root -- not just sudo.

    Code:
    Enter PEM pass phrase:
    Verifying - Enter PEM pass phrase:
    Verify failure
    unable to write key
    12339:error:0906406D:PEM routines:PEM_def_callback:problems getting password:pem_lib.c:105:
    12339:error:0906906F:PEM routines:PEM_ASN1_write_bio:read key:pem_lib.c:331:
    mkcert.sh:Error: Failed to encrypt RSA private key
    make[1]: *** [certificate] Error 1
    make[1]: Leaving directory `/home/vh/dls/install_ispconfig/compile_aps/apache_1.3.34/src'
    make: *** [certificate] Error 2
    ERROR: Could not make certificate for Apache
    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 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!
    root@coal:/home/vh/dls/install_ispconfig# 
    root@coal:/home/vh/dls/install_ispconfig# pwd
    /home/vh/dls/install_ispconfig
    root@coal:/home/vh/dls/install_ispconfig# cd ..
    root@coal:/home/vh/dls# cd install_ispconfig
    bash: cd: install_ispconfig: No such file or directory

    Any ideas, suggestions?
     
  2. martinfst

    martinfst HowtoForge Supporter

    Code:
    Enter PEM pass phrase:
    Verifying - Enter PEM pass phrase:
    Verify failure
    You entered two different passwords and the verification failed. "Unfortunately" (by design), a failure in the installation scripts wipes out the install directory.

    Just re-extract the install tar file and re-execute the setup. And enter identical passwords. :)
     
  3. till

    till Super Moderator

    Thats not a failure. We had to add this because when you run the setup script twice without manually deleting and re-extracting, the second install will always fail. The installer moves the file from the installer directry and these files will be missing when you run it again.
     
  4. martinfst

    martinfst HowtoForge Supporter

    Sorry not being clear enough. I intended to say what you have said.

    The 'failure' I meant to point at, is the failure of the wrong password entry by the OP. Such mistakes require you to do the whole installation again.

    Sorry for any confusion. HTH
     
  5. packetjunkie

    packetjunkie New Member

    Oops

    Didn't know it self-deleted upon errors. Good to know.

    Embarrassed that I didn't realize my problem was caused by my own fault -- entering invalid passphrases. Oops. Should have double checked that output before posting. Guess it was a total PEBKAC issue.

    Thanks for replying.
     

Share This Page