setup fails on debian 3.1

Discussion in 'Installation/Configuration' started by dtrumbower, Mar 2, 2006.

  1. dtrumbower

    dtrumbower New Member

    The install fails and removes the directory install_ispconfig.

    Tried several times and always get the same error.

    General settings
    checking whether to include gcov symbols... no
    checking whether to include debugging symbols... no
    checking layout of installed files... PHP
    checking path to configuration file... /root/ispconfig/php
    checking where to scan for configuration files... DEFAULT
    checking whether to enable safe mode by default... no
    checking for safe mode exec dir... /usr/local/php/bin
    checking whether to enable PHP's own SIGCHLD handler... no
    checking whether to enable magic quotes by default... no
    checking whether to enable runpaths... yes
    checking whether to explicitly link against libgcc... no
    checking whether to enable short tags by default... yes
    checking whether to enable dmalloc... no
    checking whether to enable IPv6 support... yes
    checking how big to make fd sets... using system default
    checking whether to enable versioning... no

    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 pkg-config... no
    checking for OpenSSL version... >= 0.9.6
    checking for CRYPTO_free in -lcrypto... yes
    checking for SSL_CTX_set_ssl_version in -lssl... yes
    checking for PCRE support... yes
    checking for ZLIB support... no
    checking if the location of ZLIB install directory is defined... no
    checking whether to enable bc style precision math functions... no
    checking for BZip2 support... no
    checking whether to enable calendar conversion support... no
    checking whether to enable ctype functions... yes
    checking for CURL support... no
    checking if we should use CURL for url streams... no
    checking size of long... (cached) 4
    checking size of int... (cached) 4
    checking for int32_t... yes
    checking for uint32_t... yes
    checking for sys/types.h... (cached) yes
    checking for inttypes.h... (cached) yes
    checking for stdint.h... (cached) yes
    checking for string.h... (cached) yes
    checking for stdlib.h... (cached) yes
    checking for strtoll... yes
    checking for atoll... yes
    checking for strftime... (cached) yes
    checking whether to enable DBA... no
    checking for QDBM support... no
    checking for GDBM support... no
    checking for NDBM support... no
    checking for Berkeley DB4 support... no
    checking for Berkeley DB3 support... no
    checking for Berkeley DB2 support... no
    checking for DB1 support... no
    checking for DBM support... no
    checking for CDB support... no
    checking for INI File support... no
    checking for FlatFile support... no
    checking whether to enable DBA interface... no
    checking whether to enable dbase support... no
    checking whether to enable DOM support... no
    checking whether to enable EXIF (metadata from images) support... no
    checking for FrontBase SQL92 (fbsql) support... no
    checking for FDF support... no
    checking whether to enable the bundled filePro support... no
    checking whether to enable FTP support... yes
    checking OpenSSL dir for FTP... no
    checking for OpenSSL version... >= 0.9.6
    checking for CRYPTO_free in -lcrypto... (cached) yes
    checking for SSL_CTX_set_ssl_version in -lssl... (cached) yes
    checking for GD support... no
    checking for the location of libjpeg... no
    checking for the location of libpng... no
    checking for the location of libXpm... no
    checking for FreeType 1.x support... no
    checking for FreeType 2... no
    checking for T1lib support... no
    checking whether to enable truetype string function in GD... no
    checking whether to enable JIS-mapped Japanese font support in GD... no
    checking for GNU gettext support... no
    checking for GNU MP support... no
    checking whether to enable hash support... yes
    checking size of short... 2
    checking size of int... (cached) 4
    checking size of long... (cached) 4
    checking size of long long... (cached) 8
    checking for hwapi support... no
    checking for iconv support... yes
    checking for iconv... yes
    checking if iconv is glibc's... yes
    checking if iconv supports errno... yes
    checking if your cpp allows macro usage in include lines... yes
    checking for IMAP support... no
    checking for IMAP Kerberos support... no
    checking for IMAP SSL support... no
    checking for Informix support... no
    checking for InterBase support... no
    checking for LDAP support... no
    checking for LDAP Cyrus SASL support... no
    checking whether to enable multibyte string support... yes
    checking whether to enable multibyte regex support... yes
    checking for external libmbfl... no
    checking for variable length prototypes and stdarg.h... yes
    checking for stdlib.h... (cached) yes
    checking for string.h... (cached) yes
    checking for strings.h... yes
    checking for unistd.h... (cached) yes
    checking for sys/time.h... (cached) yes
    checking for sys/times.h... yes
    checking size of int... (cached) 4
    checking size of short... (cached) 2
    checking size of long... (cached) 4
    checking for working const... (cached) yes
    checking whether time.h and sys/time.h may both be included... yes
    checking for working alloca.h... (cached) yes
    checking for alloca... (cached) yes
    checking for 8-bit clean memcmp... yes
    checking for mcrypt support... no
    checking for mhash support... no
    checking whether to include mime_magic support... no
    checking for MING support... no
    checking for msession support... no
    checking for mSQL support... no
    checking for MSSQL support via FreeTDS... no
    checking for MySQL support... yes
    checking for specified location of the MySQL UNIX socket... no
    checking for MySQL UNIX socket location... no
    configure: error: Cannot find MySQL header files under /usr.
    Note that the MySQL client library is not bundled anymore!
    ERROR: Could not configure PHP
    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
    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'job-working-directory: could not get current directory: getcwd: cannot access parent directories: No such file or directory
    : No such file or directory
    mv: cannot stat `binaries/cronosplit'job-working-directory: could not get current directory: getcwd: cannot access parent directories: No such file or directory
    : 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
    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 777: ispconfig_tmp/php/bin/php: No such file or directory
    job-working-directory: could not get current directory: getcwd: cannot access parent directories: 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
    brodeur:/home/install_ispconfig#
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Please install the myslq-devel package from your linux distribution and run the setup again. Make sure that you remove the folders /home/admispconfig and /root/ispconfig before.
     
  3. falko

    falko Super Moderator Howtoforge Staff

    The command for doing this on Debian Sarge is
    Code:
    apt-get install mysql-server mysql-client libmysqlclient12-dev
     
  4. dtrumbower

    dtrumbower New Member

    Fixed

    That was it. I needed to add libmsysqlclient14-dev.

    Now comes the adventure of setting up sites.

    Thanks
     
  5. linuxuser1

    linuxuser1 New Member

    Hi,

    Well I managed to install the ISPConfig 2.2 on my debian and it looks everything works well inside the network but when I try this from outside, the images do not show - ISP Server Status and another image that is next to it.

    Also, when I log onto to MySql, none of the images is showing. This is only happening when I log on from outside the network eg on the internet.

    Any help will be appreciated.

    Thanks.
     
  6. falko

    falko Super Moderator Howtoforge Staff

    Please open /home/admispconfig/ispconfig/lib/config.inc.php. You should find something like this:

    Code:
    if(isset($_SERVER['SERVER_NAME']) && isset($_SERVER['SERVER_PORT'])){
      $go_info["server"]["server_url"] = 'https://'.$_SERVER['SERVER_NAME'].':'.$_SERVER['SERVER_PORT'];
    } else {
      $go_info["server"]["server_url"] = "https://blabla:81";
    }
    Replace it with this:

    Code:
    if(isset($_SERVER['[B][COLOR="Red"]HTTP_HOST[/COLOR][/B]']) && isset($_SERVER['SERVER_PORT'])){
      $go_info["server"]["server_url"] = 'https://'.$_SERVER['[B][COLOR="Red"]HTTP_HOST[/COLOR][/B]'].':'.$_SERVER['SERVER_PORT'];
    } else {
      $go_info["server"]["server_url"] = "https://blabla:81";
    }
     
  7. linuxuser1

    linuxuser1 New Member


    Hi,

    Making these changes does not solve the problem. May be it even get worse. I had a similar problem on a windows 3k server where i installed php, mysql and phpmyadmin on IIS. When I changed the the url ponting to phpmyadmin to "" from "localhost", it does solved a similar problem.

    Is there a way I can try this on Debian? as I please need to connect to ISPConfig outside the network..

    Thanks for your help
     
  8. falko

    falko Super Moderator Howtoforge Staff

    You can try to replace

    Code:
    if(isset($_SERVER['HTTP_HOST']) && isset($_SERVER['SERVER_PORT'])){
      $go_info["server"]["server_url"] = 'https://'.$_SERVER['HTTP_HOST'].':'.$_SERVER['SERVER_PORT'];
    } else {
      $go_info["server"]["server_url"] = "https://blabla:81";
    }
    with just

    Code:
    $go_info["server"]["server_url"] = "https://blabla:81";
     

Share This Page