The SUSE 10.3 Perfect Server

Discussion in 'Installation/Configuration' started by valter, Dec 28, 2007.

  1. valter

    valter New Member

    Hi,

    I've followed the SUSE 10.3 x86 perfect server tutorial, except that I have installed x64 OS. When I try to install ISPConfig it runs fine up to the:

    Code:
    Configuring extensions
    checking whether to enable LIBXML support... no
    checking libxml2 install dir... no
    checking for OpenSSL support... yes
    checking for Kerberos support... no
    checking for DSA_get_default_method in -lssl... yes
    checking for pkg-config... no
    configure: error: Cannot find OpenSSL's libraries
    ERROR: Could not configure PHP
    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!
    
    and then it stops. I couldn't find anywhere that ISPConfig should not or cannot work on x64 systems. Can anyone help me please?
     
  2. till

    till Super Moderator

    ISPConfig supports 64Bit Linux perfectly. This problem is Open SuSE specific. Please install the 32Bit OpenSSL libraries from SuSE and try again.
     
  3. valter

    valter New Member


    Do I have to reconfigure SSL like in tut? Do you know the package name for OpenSSL x86 (or packages), because I am new to this :eek:
     
    Last edited: Dec 28, 2007
  4. valter

    valter New Member

    Anyone knows what are the package names for the OpenSSL 32bit that needs to be installed?
     
  5. falko

    falko Super Moderator

    Please try this:
    Code:
    yast -i openssl-devel-32bit
     
  6. valter

    valter New Member

    Tried that one, doesn't exist :(
     
  7. falko

    falko Super Moderator

    Then run
    Code:
    yast
    and search for "openssl". What packages does it show you?
     
  8. valter

    valter New Member

    This is what is found for "openssl"...

    [​IMG]
     
  9. falko

    falko Super Moderator

    Try the libopenssl0_9_8-32bit package.
     
  10. valter

    valter New Member

    same thing happens :(
     
  11. jbravo

    jbravo New Member

    I've recently found this (looking for something else regarding opensuse 10.3):

    Source is some polish programmer blog (http://blog.litwiniuk.net/2007/12/24/ispconfig-i-opensuse-103-x64/ it is my native language so i'll translate it to you:

    Look for file "compile_aps/compile and change in line number 75 (just after if statement):
    WITH_OPENSSL=”–with-openssl"

    Hope that helps.
    --
    GreetZ .:JbRaVo:.
     
  12. XRolando

    XRolando New Member

    Code:
    Configuring extensions
    checking whether to enable LIBXML support... no
    checking libxml2 install dir... no
    checking for OpenSSL support... yes
    checking for Kerberos support... no
    checking for DSA_get_default_method in -lssl... yes
    checking for pkg-config... no
    configure: error: Cannot find OpenSSL's libraries
    ERROR: Could not configure PHP
    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!
    
    I get the exact same thing with my opensuse 10.3 64bit install. I've followed the howtoforge.com guide and then the documentation (manual install).

    I've checked out the compile_aps/compile file and it doesn't seem to correspond to my file, unless I'm stooopid. Have a look, this is line 50 to 100.

    Code:
    if [ $ARCH == "x86_64" ]; then
      WITH_OPENSSL="--with-openssl"
      if echo "$dist" | grep -q "fedora" || echo "$dist" | grep -q "suse" || echo "$dist" | grep -q "centos" ; then
        mkdir -p /usr/local/lib/mysql &> /dev/null
        ln -s /usr/include/mysql /usr/local/lib/mysql/include &> /dev/null
        ln -s /usr/lib64/mysql /usr/local/lib/mysql/lib &> /dev/null
    
        WITH_MYSQL="--with-mysql=/usr/local/lib/mysql"
        WITH_ZLIB_DIR="--with-zlib-dir=/usr/lib64"
      elif echo "$dist" | grep -q "mdk" || echo "$dist" | grep -q "mdr" ; then
        mkdir -p /usr/local/lib/mysql &> /dev/null
        ln -s /usr/include/mysql /usr/local/lib/mysql/include &> /dev/null
        ln -s /usr/lib64 /usr/local/lib/mysql/lib &> /dev/null
    
        WITH_MYSQL="--with-mysql=/usr/local/lib/mysql"
        WITH_ZLIB_DIR="--with-zlib-dir=/usr/lib64"
      else
        WITH_MYSQL="--with-mysql=/usr"
        WITH_ZLIB_DIR=""
      fi
    else
      WITH_OPENSSL="--with-openssl=${INSTALL_ROOT}/openssl"
      WITH_MYSQL="--with-mysql=/usr"
      WITH_ZLIB_DIR=""
    fi
    
    error ()
    {
      echo "ERROR: $1"
      if [ -d ${INSTALL_ROOT} ]
      then
        rm -fr ${INSTALL_ROOT}
      fi
      if [ -d ${INSTALL_ROOT_TMP} ]
      then
        rm -fr ${INSTALL_ROOT_TMP}
      fi
      cd ${COMPILE_DIR}
      rm -fr ${OPENSSL}
      rm -fr ${APACHE}
      rm -fr ${MOD_SSL}
      rm -fr ${PHP}
      rm -fr ${CLAMAV}
      rm -fr ${CLAMASSASSIN}
      rm -fr ${SPAMASSASSIN}
      rm -fr ${UUDEVIEW}
      rm -fr ${CRONOLOG}
      rm -fr ${ZIP}
      rm -fr ${UNZIP}
      exit 1
    }
    Line 75 is between the "fi" and the "error ()"
     
  13. pcrew

    pcrew New Member

  14. jbravo

    jbravo New Member

    So try to edit it with content described instead of being empty.
    I think the idea is to assign apropriate value to variable WITH_OPENSSL despite ARCH variable ispconfig setup script detect/sets.

    --
    GreetZ .:JbRaVo:.
     
  15. till

    till Super Moderator

    The solution for OpenSuSE 10.3 is to create symlinks from /usr/lib/ to /usr/lib64/

    Code:
    cd /usr/lib
    ln -s /usr/lib64/libssl.a libssl.a
    ln -s /usr/lib64/libssl.so libssl.so
     
  16. XRolando

    XRolando New Member

Share This Page