I think I have messed up the upgrade

Discussion in 'Installation/Configuration' started by badben, Jul 19, 2006.

  1. badben

    badben ISPConfig Developer

    I run a mandrake 10.2 system with perfect setup on a remote machine.

    I was upgrading from 2.2.3 to 2.2.5 and part way through my internet connection was cut off.

    When I reconnected to ssh I tried to run the upgrade again but forgot to delete the install_ispconfig folder first and just went straight to ./setup.

    The problem is the install this time went fine until nearly the end when iot said there was a problem with the php binary.

    The system worked fantastically before the upgrade.

    Here is the last bit of the install log: /var/log/ispconfig_install.log

    Tue Jul 18 20:09:26 BST 2006 - [ISPConfig] - Directory /var/www/sharedip created.
    Tue Jul 18 20:09:26 BST 2006 - [ISPConfig] - Use sharedip_index.html_en as SharedIP default page.
    Tue Jul 18 20:09:26 BST 2006 - [ISPConfig] - saved /home/admispconfig/ispconfig/lib/config.inc.php
    Tue Jul 18 20:09:26 BST 2006 - [ISPConfig] - saved /home/admispconfig/ispconfig/users
    Tue Jul 18 20:09:26 BST 2006 - [ISPConfig] - saved /home/admispconfig/ispconfig/adminmail.txt
    Tue Jul 18 20:09:41 BST 2006 - [ISPConfig] - created backup of directory /root/ispconfig/
    Tue Jul 18 20:10:34 BST 2006 - [ISPConfig] - created backup of directory /home/admispconfig/
    Tue Jul 18 20:10:35 BST 2006 - [ISPConfig] - deleted directory /root/ispconfig/
    Tue Jul 18 20:28:30 BST 2006 - [ISPConfig] - installation directory: /install_ispconfig
    Tue Jul 18 20:28:31 BST 2006 - [ISPConfig] - operating system: Mandrake 10.2
    Tue Jul 18 20:28:34 BST 2006 - [ISPConfig] - Neuinstallation eines ISPConfig-Systems. / Installation of a new ISPConfig syste
    m. / Installation d'ISPConfig sur un nouveau système.
    Tue Jul 18 20:28:35 BST 2006 - [ISPConfig] - selected language: en
    Tue Jul 18 20:28:53 BST 2006 - [ISPConfig] - installation note accepted
    Tue Jul 18 20:28:58 BST 2006 - [ISPConfig] - licence accepted
    Tue Jul 18 20:29:11 BST 2006 - [ISPConfig] - installation mode: standard
    Tue Jul 18 20:29:15 BST 2006 - [ISPConfig] - mail: postfix
    Tue Jul 18 20:29:16 BST 2006 - [ISPConfig] - dist_mail=postfix ##
    Tue Jul 18 20:29:16 BST 2006 - [ISPConfig] - dist_mail_log=/var/log/mail/info ##
    Tue Jul 18 20:29:16 BST 2006 - [ISPConfig] - dist_mail_virtusertable=/etc/postfix/virtusertable ##
    Tue Jul 18 20:29:16 BST 2006 - [ISPConfig] - dist_mail_local_host_names=/etc/pos
    tfix/local-host-names ##
    Tue Jul 18 20:29:19 BST 2006 - [ISPConfig] - ftp: proftpd
    Tue Jul 18 20:29:19 BST 2006 - [ISPConfig] - dist_ftp=proftpd ##
    Tue Jul 18 20:29:19 BST 2006 - [ISPConfig] - dist_ftp_conf=/etc/proftpd.conf ##
    Tue Jul 18 20:29:19 BST 2006 - [ISPConfig] - dist_ftp_version=standalone ##
    Tue Jul 18 20:29:20 BST 2006 - [ISPConfig] - dist_ftp_log=/var/log/xferlog ##
    Tue Jul 18 20:29:20 BST 2006 - [ISPConfig] - procmail found: /usr/bin/procmail
    Tue Jul 18 20:29:20 BST 2006 - [ISPConfig] - quota found: /usr/bin/quota
    Tue Jul 18 20:29:20 BST 2006 - [ISPConfig] - mysql found: /usr/bin/mysql
    Tue Jul 18 20:29:20 BST 2006 - [ISPConfig] - openssl found: /usr/bin/openssl
    Tue Jul 18 20:29:20 BST 2006 - [ISPConfig] - named found: /usr/sbin/named
    Tue Jul 18 20:29:20 BST 2006 - [ISPConfig] - iptables found: /sbin/iptables
    Tue Jul 18 20:29:20 BST 2006 - [ISPConfig] - httpd found: /usr/sbin/httpd
    Tue Jul 18 20:29:21 BST 2006 - [ISPConfig] - httpd syntax ok!
    Tue Jul 18 20:29:21 BST 2006 - [ISPConfig] - dist_path_httpd_root=/var/www ##
    Tue Jul 18 20:29:24 BST 2006 - [ISPConfig] - Directory /var/www/sharedip created.
    Tue Jul 18 20:29:24 BST 2006 - [ISPConfig] - Use sharedip_index.html_en as SharedIP default page.
    Tue Jul 18 21:48:51 BST 2006 - [ISPConfig] - unpacked ISPConfig system
    Tue Jul 18 21:48:51 BST 2006 - [ISPConfig] - ERROR: The PHP binary coming with ISPConfig does not work properly on your syste
    m! The installation routine stops here!


    I made a backup of the system as described for the upgarde to 2.2.3.

    Is there any hope and where do I try to look to solve the problem?

    thanks

    UPDATE

    I have just found the apache logfile at /etc/httpd/logs/error_log

    [Tue Jul 18 19:04:38 2006] [notice] caught SIGTERM, shutting down
    [Tue Jul 18 19:05:18 2006] [notice] Digest: generating secret for digest authentication ...
    [Tue Jul 18 19:05:18 2006] [notice] Digest: done
    [Tue Jul 18 19:05:18 2006] [notice] Apache-AdvancedExtranetServer/2.0.53 (Mandrakelinux/PREFORK-9mdk) PHP/4.3.10 configured -
    - resuming normal operations
    [Tue Jul 18 19:27:31 2006] [notice] caught SIGTERM, shutting down
    [Tue Jul 18 19:27:53 2006] [notice] Digest: generating secret for digest authentication ...
    [Tue Jul 18 19:27:53 2006] [notice] Digest: done
    [Tue Jul 18 19:27:54 2006] [notice] Apache-AdvancedExtranetServer/2.0.53 (Mandrakelinux/PREFORK-9mdk) PHP/4.3.10 configured -
    - resuming normal operations
    [Tue Jul 18 19:28:02 2006] [notice] caught SIGTERM, shutting down
    [Tue Jul 18 19:28:03 2006] [notice] Digest: generating secret for digest authentication ...
    [Tue Jul 18 19:28:03 2006] [notice] Digest: done
    [Tue Jul 18 19:28:03 2006] [notice] Apache-AdvancedExtranetServer/2.0.53 (Mandrakelinux/PREFORK-9mdk) PHP/4.3.10 configured -
    - resuming normal operations
    [Tue Jul 18 19:39:43 2006] [notice] caught SIGTERM, shutting down
    [Tue Jul 18 19:39:58 2006] [notice] Digest: generating secret for digest authentication ...
    [Tue Jul 18 19:39:58 2006] [notice] Digest: done
    [Tue Jul 18 19:39:58 2006] [notice] Apache-AdvancedExtranetServer/2.0.53 (Mandrakelinux/PREFORK-9mdk) PHP/4.3.10 configured -
    - resuming normal operations
    [Tue Jul 18 19:40:07 2006] [notice] caught SIGTERM, shutting down
    [Tue Jul 18 19:40:08 2006] [notice] Digest: generating secret for digest authentication ...
    [Tue Jul 18 19:40:08 2006] [notice] Digest: done
    [Tue Jul 18 19:40:08 2006] [notice] Apache-AdvancedExtranetServer/2.0.53 (Mandrakelinux/PREFORK-9mdk) PHP/4.3.10 configured -
    - resuming normal operations
    [Tue Jul 18 20:06:21 2006] [notice] caught SIGTERM, shutting down
    unable to start piped log program '/root/ispconfig/cronolog --symlink=/var/log/httpd/ispconfig_access_log /var/log/httpd/ispc
    onfig_access_log_%Y_%m_%d': No such file or directory
    Unable to open logs
    unable to start piped log program '/root/ispconfig/cronolog --symlink=/var/log/httpd/ispconfig_access_log /var/log/httpd/ispc
    onfig_access_log_%Y_%m_%d': No such file or directory
    Unable to open logs
    unable to start piped log program '/root/ispconfig/cronolog --symlink=/var/log/httpd/ispconfig_access_log /var/log/httpd/ispc
    onfig_access_log_%Y_%m_%d': No such file or directory
    Unable to open logs
    unable to start piped log program '/root/ispconfig/cronolog --symlink=/var/log/httpd/ispconfig_access_log /var/log/httpd/ispc
    onfig_access_log_%Y_%m_%d': No such file or directory
    Unable to open logs
    error_log lines 3088-3121/3121 (END)
     
    Last edited: Jul 20, 2006
  2. badben

    badben ISPConfig Developer

    Problem Solved

    I restored the backups I made then deleted folder /install_ispconfig then started again.

    All is well in the world once more.

    Ben

    P.S.
    Great work on a great system.
     

Share This Page