Ispconfig update problems from 2.4 to 2.6

Discussion in 'Installation/Configuration' started by adrenalinic, Sep 3, 2006.

  1. adrenalinic

    adrenalinic Member

    Hi.
    I have problems on update ispconfig to 2.6.
    My actualy server works perfectly...and ispconfig is ok.
    I have tryed to update to 2.6 but have a PHP compiling error.
    I want update to 2.6 because want move this server to new server with ispconfig 2.6. Is possible to move data from ispconfig 2.4 to new server with ispconfig 2.6?
    On old server with 2.4 my php works great and not have any problems on my web portal...
    -----------------------------------------------------------------------------------------
    Apache/2.0.55 (Ubuntu) PHP/4.4.2-1build1 mod_ssl/2.0.55 OpenSSL/0.9.8a


    This is my compiling error updating ispconfig to 2.6:

    checking for MySQL UNIX socket location... no
    checking for mysql_close in -lmysqlclient... no
    checking for mysql_errno in -lmysqlclient... no
    configure: error: Try adding --with-zlib-dir=<DIR>. Please check config.log for more information.
    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 816: 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!
    -----------------------------------------------------------------------

    Thanks.
    josef.
     
    Last edited: Sep 3, 2006
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    No, you will have to upgrade the old server to 2.2.6 first.

    To you update problems:

    1) before you try to update again, you must restore the backup of the ISPConfig 2.2.4. The backup are tar.gz file in your /tmp filer with the date in their name.

    2) The PHP compilation stopped because there is no zlib installed on your system. Please install the zlib and zlib devel packages from your linux distribution.
     
  3. adrenalinic

    adrenalinic Member

    HI,
    I have added zlib and zlib-devel.
    But recompiling have the same error:

    configure: error: Try adding --with-zlib-dir=<DIR>. Please check config.log for more information.
    ERROR: Could not configure PHP

    Thanks
    Josef.
     
    Last edited: Sep 4, 2006
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    Which linux distribution do you use? Is this a 32 or 64 bit linux?
     
  5. adrenalinic

    adrenalinic Member

    not know if is a 32o64. is xen vps:

    processor : 0
    vendor_id : AuthenticAMD
    cpu family : 15
    model : 5
    model name : AMD Opteron(tm) Processor 244
    stepping : 10
    cpu MHz : 1791.720
    cache size : 1024 KB
    fdiv_bug : no
    hlt_bug : no
    f00f_bug : no
    coma_bug : no
    fpu : yes
    fpu_exception : yes
    cpuid level : 1
    wp : yes
    flags : fpu tsc msr pae mce cx8 apic mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext lm 3dnowext 3dnow ts fid vid ttp
    bogomips : 6701.05

    I'm try to compile with: ./setup --with-zlib=/usr/include/
    I have the zlib in:
    /usr/include/crypto++/zlib.h
    /usr/include/zlib.h
     
  6. adrenalinic

    adrenalinic Member

    My os is Ubuntu 6.06
    this is error of third compile!! using zlib path:

    Error exit delayed from previous errors
    ./setup2: line 816: 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!

    :mad:
     
  7. adrenalinic

    adrenalinic Member

    any idea???:confused:
     
    Last edited: Sep 3, 2006
  8. adrenalinic

    adrenalinic Member

    root@server1:/home/josef # uname -m
    i686

    ......................
    i use php4! no php5!
    ......................
    mysql Ver 14.12 Distrib 5.0.22, for pc-linux-gnu (i386) using readline 4.3
    .....................
     
    Last edited: Sep 3, 2006
  9. till

    till Super Moderator Staff Member ISPConfig Developer

    What do you mean with "i use php4! no php5"? ISPConfig uses always php5 for the controlpanel.
     
  10. adrenalinic

    adrenalinic Member

    I have disabled php5 module in apache config.

    dismod php5.

    The php5 is incompatible with my web portal system "CCHOST" of Creative Commons.
    But ISPCONFIG control pannell works perfectly.
     
  11. till

    till Super Moderator Staff Member ISPConfig Developer

    Ok, this are two different PHP binarys. The PHP5 from ISPConfig is only for the controlpanle, on your webserver you can either use php4 or php5.

    Does this mean the update problem is solved?
     
  12. adrenalinic

    adrenalinic Member

    I not have solved the update problems...
    yes ispconfig use php5....but apache use php4...
    the php4 will be a possible problems for correct compiling update to 2.2.6?
     
  13. adrenalinic

    adrenalinic Member

    i have zlib-1.2.3...
    is the last version....
     
  14. adrenalinic

    adrenalinic Member

    i can downgrade on the new server, ispconfig 2.6 to 2.4, move alla data from old server and try to upgrade to 2.6 the new server??!!
     
  15. adrenalinic

    adrenalinic Member

    CORRECTION! my mysql is:
    MySQL 5.0.22-Debian_1.dotdeb
     
  16. falko

    falko Super Moderator Howtoforge Staff

    What's the output of
    Code:
    updatedb
    locate zlib
    ?
     
  17. adrenalinic

    adrenalinic Member

    Hi.
    The output is:

    /usr/include/crypto++/zlib.h
    /usr/include/zlib.h
    /usr/lib/python2.3/encodings/zlib_codec.py
    /usr/lib/python2.3/encodings/zlib_codec.pyc
    /usr/lib/python2.3/encodings/zlib_codec.pyo
    /usr/lib/python2.3/lib-dynload/zlib.so
    /usr/lib/python2.4/encodings/zlib_codec.py
    /usr/lib/python2.4/encodings/zlib_codec.pyc
    /usr/lib/python2.4/encodings/zlib_codec.pyo
    /usr/lib/python2.4/lib-dynload/zlib.so
    /usr/local/include/zlib.h
    /usr/local/share/man/man3/zlib.3
    /usr/share/doc/libcompress-zlib-perl
    /usr/share/doc/libcompress-zlib-perl/ANNOUNCE
    /usr/share/doc/libcompress-zlib-perl/changelog.Debian.gz
    /usr/share/doc/libcompress-zlib-perl/changelog.gz
    /usr/share/doc/libcompress-zlib-perl/copyright
    /usr/share/doc/libcompress-zlib-perl/examples
    /usr/share/doc/libcompress-zlib-perl/examples/filtdef
    /usr/share/doc/libcompress-zlib-perl/examples/filtinf
    /usr/share/doc/libcompress-zlib-perl/examples/gzcat
    /usr/share/doc/libcompress-zlib-perl/examples/gzgrep
    /usr/share/doc/libcompress-zlib-perl/examples/gzstream
    /usr/share/doc/libcompress-zlib-perl/README.gz
    /usr/share/doc/zlib-bin
    /usr/share/doc/zlib-bin/changelog.Debian.gz
    /usr/share/doc/zlib-bin/changelog.gz
    /usr/share/doc/zlib-bin/copyright
    /usr/share/doc/zlib1g
    /usr/share/doc/zlib1g-dev
    /usr/share/doc/zlib1g-dev/algorithm.txt.gz
    /usr/share/doc/zlib1g-dev/changelog.Debian.gz
    /usr/share/doc/zlib1g-dev/changelog.gz
    /usr/share/doc/zlib1g-dev/copyright
    /usr/share/doc/zlib1g-dev/examples
    /usr/share/doc/zlib1g-dev/examples/contrib.tar.gz
    /usr/share/doc/zlib1g-dev/examples/example.c.gz
    /usr/share/doc/zlib1g-dev/examples/minigzip.c.gz
    /usr/share/doc/zlib1g-dev/FAQ.gz
    /usr/share/doc/zlib1g-dev/README.gz
    /usr/share/doc/zlib1g/changelog.Debian.gz
    /usr/share/doc/zlib1g/changelog.gz
    /usr/share/doc/zlib1g/copyright
    /usr/share/doc/zlib1g/README.Debian
    /usr/share/doc/zlib1g/README.gz
    /usr/share/man/man3/zlib.3.gz
    /var/cache/apt/archives/libcompress-zlib-perl_1.34-1_i386.deb
    /var/cache/apt/archives/libcompress-zlib-perl_1.41-1_i386.deb
    /var/cache/apt/archives/zlib-bin_1%3a1.2.3-6ubuntu4_i386.deb
    /var/cache/apt/archives/zlib1g-dev_1%3a1.2.3-3ubuntu4_i386.deb
    /var/cache/apt/archives/zlib1g-dev_1%3a1.2.3-6ubuntu4_i386.deb
    /var/cache/apt/archives/zlib1g_1%3a1.2.3-6ubuntu4_i386.deb
    /var/lib/dpkg/info/libcompress-zlib-perl.list
    /var/lib/dpkg/info/libcompress-zlib-perl.md5sums
    /var/lib/dpkg/info/zlib-bin.list
    /var/lib/dpkg/info/zlib-bin.md5sums
    /var/lib/dpkg/info/zlib-bin.preinst
    /var/lib/dpkg/info/zlib1g-dev.list
    /var/lib/dpkg/info/zlib1g-dev.md5sums
    /var/lib/dpkg/info/zlib1g-dev.preinst
    /var/lib/dpkg/info/zlib1g.list
    /var/lib/dpkg/info/zlib1g.md5sums
    /var/lib/dpkg/info/zlib1g.postinst
    /var/lib/dpkg/info/zlib1g.preinst
    /var/lib/dpkg/info/zlib1g.shlibs



    ________________________________________________

    I have already tryed to compile with:
    ./setup --with-zlib=/usr/include/
    and not have anymore zlib compiling error....
    but PHP error persist.
     
  18. adrenalinic

    adrenalinic Member

    any idea!??!?!?!?!?
    HELP ! HELP ! HELP ! HELP ! HELP !
     
  19. falko

    falko Super Moderator Howtoforge Staff

    You must set the --with-zlib option in install_ispconfig/compile_aps/compile. The setup script doesn't take any options. and if --with-zlib=/usr/include doesn't work, try --with-zlib=/usr
     
  20. adrenalinic

    adrenalinic Member

    HI.
    Have modified the source code but error persist:
    checking for getloadavg... yes
    checking for getlogin... yes
    checking for getprotobyname... yes
    checking for getprotobynumber... yes
    checking for getservbyname... yes
    checking for getservbyport... yes
    checking for getrusage... yes
    checking for gettimeofday... yes
    checking for gmtime_r... yes
    checking for grantpt... yes
    checking for inet_ntoa... yes
    checking for inet_ntop... yes
    checking for inet_pton... yes
    checking for isascii... yes
    checking for link... yes
    checking for localtime_r... yes
    checking for lockf... yes
    checking for lchown... yes
    checking for lrand48... yes
    checking for memcpy... yes
    checking for memmove... yes
    checking for mkstemp... yes
    checking for mmap... yes
    checking for nl_langinfo... yes
    checking for perror... yes
    checking for poll... yes
    checking for ptsname... yes
    checking for putenv... yes
    checking for realpath... yes
    checking for random... yes
    checking for rand_r... yes
    checking for regcomp... yes
    checking for res_search... (cached) yes
    checking for scandir... yes
    checking for setitimer... yes
    checking for setlocale... yes
    checking for localeconv... yes
    checking for setpgid... yes
    checking for setsockopt... yes
    checking for setvbuf... yes
    checking for shutdown... yes
    checking for sin... yes
    checking for snprintf... yes
    checking for srand48... yes
    checking for srandom... yes
    checking for statfs... yes
    checking for statvfs... yes
    checking for std_syslog... no
    checking for strcasecmp... yes
    checking for strcoll... yes
    checking for strdup... yes
    checking for strerror... yes
    checking for strftime... yes
    checking for strptime... yes
    checking for strstr... yes
    checking for strtok_r... yes
    checking for symlink... yes
    checking for tempnam... yes
    checking for tzset... yes
    checking for unlockpt... yes
    checking for unsetenv... yes
    checking for usleep... yes
    checking for nanosleep... yes
    checking for utime... yes
    checking for vsnprintf... yes
    checking for getaddrinfo... yes
    checking for strlcat... no
    checking for strlcpy... no
    checking for getopt... yes
    checking whether utime accepts a null argument... yes
    checking for working alloca.h... (cached) yes
    checking for alloca... yes
    checking for declared timezone... yes
    checking for type of reentrant time-related functions... POSIX
    checking for readdir_r... yes
    checking for type of readdir_r... POSIX
    checking for in_addr_t... yes

    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 whether byte ordering is bigendian... (cached) no
    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 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
    checking for mysql_close in -lmysqlclient... no
    checking for mysql_errno in -lmysqlclient... no
    configure: error: Try adding --with-zlib-dir=<DIR>. Please check config.log for more information.
    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 816: 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!

    ................
     

Share This Page