problem update 2.2.18 to 2.2.29

Discussion in 'Installation/Configuration' started by chua_jose, Feb 22, 2009.

  1. chua_jose

    chua_jose New Member

    Hy,

    ispconfig dont work after update to new version.

    When i updated, i have a error

    Code:
    ./setup2: line 1189: cd: /home/install_ispconfig/compile_aps/../..: No existe el fichero o el directorio
    And if i restart ispconfig:

    Code:
    [root]# /etc/init.d/ispconfig_server restart
    Shutting down ISPConfig system...
    /etc/init.d/ispconfig_server: line 66: /root/ispconfig/httpd/bin/apachectl: No existe el fichero o el directorio
    ISPConfig system stopped!
    Starting ISPConfig system...
    /etc/init.d/ispconfig_server: line 45: /root/ispconfig/httpd/bin/apachectl: No existe el fichero o el directorio
    /etc/init.d/ispconfig_server: line 48: /root/ispconfig/php/php: No existe el fichero o el directorio
    ISPConfig system is now up and running!
    
    ispconfig_install.log:
    Code:
    dom feb 22 19:40:08 CET 2009 - [ISPConfig] - ISPConfig server stopped
    dom feb 22 19:40:23 CET 2009 - [ISPConfig] - selected language: es
    dom feb 22 19:40:27 CET 2009 - [ISPConfig] - licence accepted
    dom feb 22 19:40:28 CET 2009 - [ISPConfig] - httpd syntax ok!
    dom feb 22 19:40:28 CET 2009 - [ISPConfig] - gcc found: /usr/bin/gcc
    dom feb 22 19:40:28 CET 2009 - [ISPConfig] - make found: /usr/bin/make
    dom feb 22 19:40:28 CET 2009 - [ISPConfig] - flex found: /usr/bin/lex
    dom feb 22 19:40:28 CET 2009 - [ISPConfig] - g++ found: /usr/bin/g++
    dom feb 22 19:40:33 CET 2009 - [ISPConfig] - saved /home/admispconfig/ispconfig/lib/config.inc.php
    dom feb 22 19:40:33 CET 2009 - [ISPConfig] - saved /home/admispconfig/ispconfig/users
    dom feb 22 19:40:33 CET 2009 - [ISPConfig] - saved /home/admispconfig/ispconfig/adminmail.txt
    dom feb 22 19:40:47 CET 2009 - [ISPConfig] - created backup of directory /root/ispconfig/
    dom feb 22 19:42:49 CET 2009 - [ISPConfig] - created backup of directory /home/admispconfig/
    dom feb 22 19:42:51 CET 2009 - [ISPConfig] - deleted directory /root/ispconfig/
    dom feb 22 19:46:18 CET 2009 - [ISPConfig] - WARNING: could not unpack ISPConfig system
    dom feb 22 19:46:18 CET 2009 - [ISPConfig] - WARNING: could not move directory ispconfig_tmp to /root/ispconfig
    dom feb 22 19:46:22 CET 2009 - [ISPConfig] - httpd restart successful
    dom feb 22 19:46:29 CET 2009 - [ISPConfig] - file /root/ispconfig/dist.info deleted
    dom feb 22 19:46:29 CET 2009 - [ISPConfig] - directory install_ispconfig deleted
    dom feb 22 19:46:29 CET 2009 - [ISPConfig] - ##############################
    
     
    Last edited: Feb 22, 2009
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    There must be errord before the line that you posted, plese post these errors.

    By the way, befire you try to update ispconfig again, run:

    mkdir /root/ispconfig
     
  3. chua_jose

    chua_jose New Member

    hi till
    i dont have any error before this:
    Code:
    ./setup2: line 1189: cd: /home/install_ispconfig/compile_aps/../..: No existe el fichero o el directorio
    if i do ls /root, i can view the folder ispconfig, but after update, it´s deleted.
     
  4. falko

    falko Super Moderator ISPConfig Developer

    Please restore your previous installation from the backups in the /tmp directory and then post the output of
    Code:
    df -h
     
  5. chua_jose

    chua_jose New Member

    Hi falko...

    df -h
    Code:
    S.ficheros          Tamaño Usado  Disp Uso% Montado en
    /dev/mapper/VolGroup00-LogVol00
                          131G   59G   66G  48% /
    /dev/cciss/c0d0p1      99M   18M   76M  19% /boot
    tmpfs                1006M     0 1006M   0% /dev/shm
    
     
  6. till

    till Super Moderator Staff Member ISPConfig Developer

    Ok, there is enough free space. There must be an error before the error line you posted. Please run the update from a ssh client like putty were you can scroll up a bit more in the error mressages to search for the error.
     
  7. toolswizard

    toolswizard Member

    Same Issue

    I have upgraded my prevous Ubuntu install following the instructions at http://www.howtoforge.com/upgrade-ubuntu-7.10-server-to-8.04-lts#comment-4535 although I am comming from 6.06 lts.

    At first there was an error with the libphp05.so library so I decided to upgrade from ISPConfig 2.2.13 to 2.2.29. I had a filled /root/ispconfig directory but it has now been deleted.

    I have the same errors as in this post. Help please!
     
  8. till

    till Super Moderator Staff Member ISPConfig Developer

    Run:

    mkdir /root/ispconfig

    and then run the ispconfig update again. Make sure that you have at least 500 MB free space in /root or the update will fail.
     
  9. toolswizard

    toolswizard Member

    I put in my post that I already had a /root/ispconfig directory with a working configuration. This has all been deleted with the exception of a isp subdirectory.

    I have 2.5G available.
     
  10. till

    till Super Moderator Staff Member ISPConfig Developer

    And I told you in my post what you should to to get your installation running again.
     
  11. toolswizard

    toolswizard Member

    I did what you said:

    [email protected]:~# mkdir /root/ispconfig
    mkdir: cannot create directory `/root/ispconfig': File exists
    [email protected]:~#

    And I think I have enough room:

    [email protected]:~# df -h
    Filesystem Size Used Avail Use% Mounted on
    /dev/sda1 7.6G 4.8G 2.5G 66% /
    varrun 385M 248K 385M 1% /var/run
    varlock 385M 0 385M 0% /var/lock
    udev 385M 52K 385M 1% /dev
    devshm 385M 0 385M 0% /dev/shm
    /dev/sdb1 7.9G 129M 7.4G 2% /var1
    [email protected]:~#


    Do you have another idea?
     
  12. till

    till Super Moderator Staff Member ISPConfig Developer

    You just did the first part of what I told you. Now go on with the second part:

    ...and then run the ispconfig update again.
     
  13. toolswizard

    toolswizard Member

    I missed the second part then. I did those two steps and reran it and it didn't work. What else was I suppose to do. I went back and read your post and dont see a missing step.

    It seems to create a httpd and openssl directory, then deletes everything.
     
  14. till

    till Super Moderator Staff Member ISPConfig Developer

    You will find the reason for your problem in the screen output. Post the first error message.
     
  15. toolswizard

    toolswizard Member

    I reran it yet again, but put the output to a file so I could look at it. I can see apache 1.3.41 objects, but I do not see Apache 2 objects. Should I see Apache2 objects being unpacked?
     
  16. toolswizard

    toolswizard Member

    I think this is my first error block.

    3-way.c:73: warning: conflicting types for built-in function 'gamma'
    configure: warning: flex versions supported for regeneration of the Zend/PHP parsers: 2.5.4 (found: 2.5.34)
    configure: warning: You will need re2c 0.13.4 or later if you want to regenerate PHP parsers.
    configure: error: Cannot find MySQL header files under /usr.
    Note that the MySQL client library is not bundled anymore!
    cd: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
     
  17. till

    till Super Moderator Staff Member ISPConfig Developer

    The ISPConfig controlpanel uses apache 1 and not 2. Not all error messages are written to a file if you redirected the output. Please execute the setup script normally e.g. trough a external ssh client which allows you to scroll up a bit and then post the first error message that you got on the screen.
     
  18. toolswizard

    toolswizard Member

    I did do it from a ssh client. There were too many lines and the errors were not visiable. So I put the output to a file. The errors that I posted were the errors from the terminal. I can not find any others.
     
  19. toolswizard

    toolswizard Member

    I an running again, this time from a SSH client on my laptop that allows me to capture the terminal output to a file. I will post when it finishes.
     
  20. till

    till Super Moderator Staff Member ISPConfig Developer

    Ok.This means you will have to update the version of flex to a newer version and the mysql client header files are not installed on your server. Without the mysql header files you can not compile php.
     

Share This Page