CentOS 5 ISPConfig ./Setup breaks

Discussion in 'Installation/Configuration' started by crypted, Jan 26, 2008.

  1. crypted

    crypted New Member

    Here's the tail-end of the install log from ./setup prior to breaking:


    Encrypt the private key now? [Y/n]: y
    writing RSA key
    Enter PEM pass phrase:
    Verifying - Enter PEM pass phrase:
    Verify failure
    unable to write key
    27843:error:0906406D:pEM routines:DEF_CALLBACK:problems getting password:pem_lib.c:105:
    27843:error:0906906F:pEM routines:pEM_ASN1_write_bio:read key:pem_lib.c:329:
    mkcert.sh:Error: Failed to encrypt RSA private key
    make[1]: *** [certificate] Error 1
    make[1]: Leaving directory `/root/install_ispconfig/compile_aps/apache_1.3.39/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 873: 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!
    [[email protected] install_ispconfig]#

    This is using the latest tarball: ISPConfig-2.2.19.tar.gz
    The operating system is CentOS 5.x (I believe it to be 5.1 but ./setup recognized it as 5.0)

    Linux 65.110.53.130 2.6.18-53.1.6.el5 #1 SMP Wed Jan 23 11:30:20 EST 2008 i686 i686 i386 GNU/Linux
     
    Last edited: Jan 26, 2008
  2. crypted

    crypted New Member

    I wanted to add further that this is with the latest GCC and a new OS. I did see the other post regarding older OS problems.

    [[email protected] ~]# gcc -v
    Using built-in specs.
    Target: i386-redhat-linux
    Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --enable-threads=posix --enable-checking=release --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-libgcj-multifile --enable-languages=c,c++,objc,obj-c++,java,fortran,ada --enable-java-awt=gtk --disable-dssi --enable-plugin --with-java-home=/usr/lib/jvm/java-1.4.2-gcj-1.4.2.0/jre --with-cpu=generic --host=i386-redhat-linux
    Thread model: posix
    gcc version 4.1.2 20070626 (Red Hat 4.1.2-14)
    [[email protected] ~]#
     
  3. crypted

    crypted New Member

    Used patch from another post for OLDER LINUX OPERATING SYSTEMS. It's worth noting that I'm using the latest CentOS alongside the latest GCC compiler available for CentOS and Redhat ENT.
     
  4. wpwood3

    wpwood3 New Member

  5. crypted

    crypted New Member

    gcc.i386 4.1.2-14.el5 installed
    gcc-c++.i386 4.1.2-14.el5 installed

    Just going by what the gcc -v output was and here it's verified by a rpm install v number as well... Explain what I'm not understanding please. Thanks mucho...
     
  6. wpwood3

    wpwood3 New Member

    Try this...

    I think that either you don't have something installed that ISPConfig needs or you did not follow the instructions precisely. The HowTo I linked to above in my earlier post lists everything that must be installed.

    Try installing ISPConfig again. Your existing webs and configuration should remain intact just like they do for any ISPConfig upgrade.

    Be sure to delete the directoy install_ispconfig, unpack ISPConfig again and start from the beginning of the installation instructions.

    Read the install instructions carefully:
    http://www.ispconfig.org/manual_installation.htm

    Important: Be sure to have installed gcc, flex and all the other tools needed for compiling sources before you run ./setup! You also need to install the MySQL header files which normally come in a package called mysql-devel, mysql-dev, libmysql-devel or something similar. Otherwise PHP5 will not compile, and the installation of ISPConfig stops!
    When the ISPConfig Apache is built, a custom SSL certificate is built. Therefore you are asked a few questions. You can accept the default values

    Use ALL of the default answers when creating the certificate.
    Make sure you answer NO in steps 7 & 8.
     
  7. crypted

    crypted New Member

    I formatted the system and started from scratch for shits and giggles. It's the same thing AFTER doing every step to the T. Oh well though. Till's patch works wonders for this issue so I'll just keep it and move on about life.
     
  8. wpwood3

    wpwood3 New Member

    The patch works because it is telling your system not to use optimizations that it should be using. As long as you don't mind your system running a little slow it's not a problem.
     

Share This Page