Error upgrading ispconfig to 2.2.33 version

Discussion in 'Installation/Configuration' started by adrenalinic, Sep 5, 2009.

  1. adrenalinic

    adrenalinic New Member HowtoForge Supporter

    Hi.

    I have upgraded ispconfig to the 2.2.33 version and compilation was finished with error,apache and ispconfig server down, and deleting of the ispconfig folder.

    Now i'm restoring my old virtuozzo backup ti restore system fast.
    Regards.
    Josef.

    This is the error:

    Configuring extensions
    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 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... /usr/bin/pkg-config
    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 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 input filter support... yes
    checking pcre install prefix... 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 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 InterBase support... no
    checking whether to enable JavaScript Object Serialization support... yes
    checking for ANSI C header files... (cached) yes
    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 whether to check multibyte regex backtrack... 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 for stdarg.h... (cached) 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... yes
    checking for libmcrypt version... >= 2.5.6
    checking for mcrypt_module_open in -lmcrypt... no
    checking for mcrypt_module_open in -lmcrypt... yes
    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
    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: 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
    mv: cannot stat `ispconfig_tmp': No such file or directory
    cp: cannot stat `dist.info': No such file or directory

    All prerequisites are fulfilled.
    Here we go...
    chmod: cannot access `./install.php': No such file or directory

    ./setup2: line 1090: mysql_config: No such file or directory
    ./setup2: line 1091: httpd: No such file or directory
    ./setup2: line 1092: httpd2: No such file or directory
    ./setup2: line 1093: httpd2: No such file or directory
    ./setup2: line 1103: ip_addresses: No such file or directory
    ./setup2: line 1105: /root/ispconfig/php/php: No such file or directory
    ./setup2: line 1106: /root/ispconfig/dist.info: No such file or directory
    Restarting some services...
    shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
    shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
    ./setup2: line 1143: [: ==: unary operator expected
    shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
    shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
    Shutting down ISPConfig system...
    /etc/init.d/ispconfig_server: line 66: /root/ispconfig/httpd/bin/apachectl: No such file or directory
    ISPConfig system stopped!
    shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
    Starting ISPConfig system...
    /etc/init.d/ispconfig_server: line 45: /root/ispconfig/httpd/bin/apachectl: No such file or directory
    /etc/init.d/ispconfig_server: line 48: /root/ispconfig/php/php: No such file or directory
    ISPConfig system is now up and running!
    Congratulations! Your ISPConfig system is now installed. If you had to install quota, please take the steps described in the installation manual. Otherwise your system is now available without reboot.

    ./setup2: line 1189: cd: /root/install_ispconfig/compile_aps/../..: No such file or directory
     
  2. falko

    falko Super Moderator Howtoforge Staff Moderator HowtoForge Supporter ISPConfig Developer

    The mysql-devel package is missing. Which distribution do you use?
     
  3. adrenalinic

    adrenalinic New Member HowtoForge Supporter

    Hi.
    Thanks you very much for the support.

    Ubuntu 6.06 lts
    Server version: 5.0.22-Debian_0ubuntu6.06.11-log

    PHPMYADMIN advise me whith this message:
    Your PHP MySQL library version 4.0.24 differs from your MySQL server version 5.0.22. This may cause unpredictable behavior.

    Thanksyou.
     
  4. adrenalinic

    adrenalinic New Member HowtoForge Supporter

    i have installed the last mysql client without results:

    apt-get install mysql-client
    Reading package lists... Done
    Building dependency tree... Done
    The following NEW packages will be installed:
    mysql-client
    0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
    Need to get 0B/38.9kB of archives.
    After unpacking 69.6kB of additional disk space will be used.
    Selecting previously deselected package mysql-client.
    (Reading database ... 37304 files and directories currently installed.)
    Unpacking mysql-client (from .../mysql-client_5.0.22-0ubuntu6.06.11_all.deb) ...
    Setting up mysql-client (5.0.22-0ubuntu6.06.11) ...





    apt-get install php5-mysql
    Reading package lists... Done
    Building dependency tree... Done
    php5-mysql is already the newest version.
    0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.





    http://www.howtoforge.org/forums/showthread.php?p=105963
     
    Last edited: Sep 6, 2009
  5. till

    till Super Moderator Howtoforge Staff HowtoForge Supporter ISPConfig Developer

    The mysql devel linraries are missing, not the mysql client. The mysql devel libraries are in the package libmysqlclient15-dev
     
  6. adrenalinic

    adrenalinic New Member HowtoForge Supporter

    oh thanks you.

    i have instalelled it but without result:

    i have the same results:
    Your PHP MySQL library version 4.0.24 differs from your MySQL server version 5.0.22. This may cause unpredictable behavior.


    how can force to see 5 version of library?
     
  7. till

    till Super Moderator Howtoforge Staff HowtoForge Supporter ISPConfig Developer

    You have to run the ispconfig update.
     
  8. horus.solaris

    horus.solaris New Member

    Error updating with Fedora 11

    I got a similar error while updating my system with Fedora 11 32-bit. It was installed according to the Perfect Fedora 11 Server.

    --------8<------------------------------
    . . .
    make[1]: Entering directory `/tmp/install_ispconfig/compile_aps/apache_1.3.41'
    ===> src/support
    make[2]: Entering directory `/tmp/install_ispconfig/compile_aps/apache_1.3.41/src/support'
    gcc -c -I../os/unix -I../include -DLINUX=22 -DHAVE_SET_DUMPABLE -DMOD_SSL=208131 -DUSE_HSREGEX -DEAPI `../apaci` htpasswd.c
    htpasswd.c:101: error: conflicting types for âgetlineâ
    /usr/include/stdio.h:653: note: previous declaration of âgetlineâ was here
    make[2]: *** [htpasswd.o] Error 1
    make[2]: Leaving directory `/tmp/install_ispconfig/compile_aps/apache_1.3.41/src/support'
    make[1]: *** [build-support] Error 1
    make[1]: Leaving directory `/tmp/install_ispconfig/compile_aps/apache_1.3.41'
    make: *** [build] Error 2
    ERROR: Could not make 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: Exiting with failure status due to 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: Exiting with failure status due to 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: Exiting with failure status due to 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: Exiting with failure status due to previous errors
    mv: cannot stat `ispconfig_tmp': No such file or directory
    cp: cannot stat `dist.info': No such file or directory
    All prerequisites are fulfilled.
    Here we go...
    chmod: cannot access `./install.php': No such file or directory

    ./setup2: line 1090: mysql_config: No such file or directory
    ./setup2: line 1091: httpd: No such file or directory
    ./setup2: line 1092: httpd2: No such file or directory
    ./setup2: line 1093: httpd2: No such file or directory
    ./setup2: line 1103: ip_addresses: No such file or directory
    ./setup2: line 1105: /root/ispconfig/php/php: No such file or directory
    ./setup2: line 1106: /root/ispconfig/dist.info: No such file or directory
    Restarting some services...
    shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
    httpd not running, trying to start
    ./setup2: line 1143: [: ==: unary operator expected
    shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
    shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
    Shutting down ISPConfig system...
    /etc/rc.d/init.d/ispconfig_server: line 66: /root/ispconfig/httpd/bin/apachectl: No such file or directory
    ISPConfig system stopped!
    shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
    Starting ISPConfig system...
    /etc/rc.d/init.d/ispconfig_server: line 45: /root/ispconfig/httpd/bin/apachectl: No such file or directory
    /etc/rc.d/init.d/ispconfig_server: line 48: /root/ispconfig/php/php: No such file or directory
    ISPConfig system is now up and running!
    Congratulations! Your ISPConfig system is now installed. If you had to install quota, please take the steps described in the installation manual. Otherwise your system is now available without reboot.

    ./setup2: line 1189: cd: /tmp/install_ispconfig/compile_aps/../..: No such file or directory
    --------8<------------------------------
     
    Last edited: Sep 8, 2009
  9. horus.solaris

    horus.solaris New Member

    Anyone experienced a similar issue? Is there recovery for this? The previous version is gone.
     
  10. falko

    falko Super Moderator Howtoforge Staff Moderator HowtoForge Supporter ISPConfig Developer

    There should be backups of your previous installation in the /tmp directory (backups of /root/ispconfig and /home/admispconfig and a database dump of the ISPConfig database) from which you can restore your previous installation.
     
  11. Gigelf

    Gigelf New Member

    Same problem when upgrading from 2.2.29 to 2.2.33. Both directories /home/admispconfig and /root/ispconfig are cleared and no backups under tmp.
    When looking script, backups are made in install_ispconfig folder who is destroyed after install.

    Is there a way to reinstall the server from importing database content, if all web sites infos are there?
     
  12. till

    till Super Moderator Howtoforge Staff HowtoForge Supporter ISPConfig Developer

    The directory /home/admispconfig is never removed by the ispconfig installer or updater.

    Please post the output of:

    ls -la /home/
     
  13. Gigelf

    Gigelf New Member

    right, wrote too fast. admispconfig is still there.

    But i need /root/ispconfig for install to proceed and it was deleted and no backup. Tried a way to restore files but even if I could find a way, i think they have been overwritten because i extracted again ispconfig.
     
  14. till

    till Super Moderator Howtoforge Staff HowtoForge Supporter ISPConfig Developer

    Run:

    mkdir /root/ispconfig

    and then run the ispconfig setup script again.
     
  15. Gigelf

    Gigelf New Member

    Here is error I get when installing:

     
  16. till

    till Super Moderator Howtoforge Staff HowtoForge Supporter ISPConfig Developer

    Is this a ubuntu system?
     
  17. Gigelf

    Gigelf New Member

    yes, Ubuntu 8.04.3 LTS 32 bits
     
  18. Gigelf

    Gigelf New Member

    argh sh goes to dash
    i change link and try again
     
  19. till

    till Super Moderator Howtoforge Staff HowtoForge Supporter ISPConfig Developer

    Please redo step 9 of the installation manual:

    http://www.howtoforge.com/perfect-server-ubuntu8.04-lts-p3

    Then create the /root/ispconfig directory again and run the setup script.

    Either you did not change the shell as you installed ISPConfig or you changed it back to /bin/dash afterwards which will cause the compilation of OpenSSL to fail.
     
    Last edited: Oct 1, 2009
  20. Gigelf

    Gigelf New Member

    yes wrote it on my previous message. probably was changed when upgraded to latest ubuntu. I already changed link to sh and have run setup.
    Should be fine now. If not I will post again.
     

Share This Page