Update failed

Discussion in 'Installation/Configuration' started by aimcneil, May 18, 2011.

  1. aimcneil

    aimcneil New Member

    I pushed the 'update' button on the control panel and after a restart I could not access the control panel at all. The websites, ftp, mail, etc all work but I can't get into the admin panel.

    The following is the httpd error_log entries when I restart the httpd server and attempt to access the admin control panel.

    >>BEGIN

    [Wed May 18 12:11:15 2011] [notice] caught SIGTERM, shutting down
    [Wed May 18 12:11:15 2011] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
    [Wed May 18 12:11:15 2011] [notice] Digest: generating secret for digest authentication ...
    [Wed May 18 12:11:15 2011] [notice] Digest: done
    [Wed May 18 12:11:16 2011] [error] python_init: Python version mismatch, expected '2.6', found '2.6.2'.
    [Wed May 18 12:11:16 2011] [error] python_init: Python executable found '/usr/bin/python'.
    [Wed May 18 12:11:16 2011] [error] python_init: Python path being used '/usr/lib64/python26.zip:/usr/lib64/python2.6/:/usr/lib64/python2.6/plat-linux2:/usr/lib64/python2.6/lib-tk:/usr/lib64/python2.6/lib-old:/usr/lib64/python2.6/lib-dynload'.
    [Wed May 18 12:11:16 2011] [notice] mod_python: Creating 4 session mutexes based on 256 max processes and 0 max threads.
    [Wed May 18 12:11:16 2011] [notice] mod_python: using mutex_directory /tmp
    [Wed May 18 12:11:16 2011] [error] avahi_entry_group_add_service_strlst("wyatt") failed: Local name collision
    [Wed May 18 12:11:16 2011] [notice] Apache/2.2.14 (Unix) DAV/2 mod_fcgid/2.3.4 PHP/5.3.2 mod_python/3.3.1 Python/2.6.2 mod_ruby/1.3.0 Ruby/1.8.6(2009-08-04) mod_ssl/2.2.14 OpenSSL/1.0.0-fips-beta4 mod_perl/2.0.4 Perl/v5.10.0 configured -- resuming normal operations
    [Wed May 18 12:11:41 2011] [error] [client 142.59.94.219] PHP Fatal error: Class 'functions' not found in /usr/local/ispconfig/interface/lib/app.inc.php on line 87
    [Wed May 18 12:11:41 2011] [error] [client 142.59.94.219] PHP Notice: Undefined index: session_id in /usr/local/ispconfig/interface/lib/classes/session.inc.php on line 80
    [Wed May 18 12:11:47 2011] [error] [client 142.59.94.219] PHP Fatal error: Class 'functions' not found in /usr/local/ispconfig/interface/lib/app.inc.php on line 87
    [Wed May 18 12:11:47 2011] [error] [client 142.59.94.219] PHP Notice: Undefined index: session_id in /usr/local/ispconfig/interface/lib/classes/session.inc.php on line 80
    [Wed May 18 12:11:48 2011] [error] [client 142.59.94.219] PHP Fatal error: Class 'functions' not found in /usr/local/ispconfig/interface/lib/app.inc.php on line 87
    [Wed May 18 12:11:48 2011] [error] [client 142.59.94.219] PHP Notice: Undefined index: session_id in /usr/local/ispconfig/interface/lib/classes/session.inc.php on line 80
    [Wed May 18 12:11:55 2011] [error] [client 142.59.94.219] PHP Fatal error: Class 'functions' not found in /usr/local/ispconfig/interface/lib/app.inc.php on line 87
    [Wed May 18 12:11:55 2011] [error] [client 142.59.94.219] PHP Notice: Undefined index: session_id in /usr/local/ispconfig/interface/lib/classes/session.inc.php on line 80
    [Wed May 18 12:11:55 2011] [error] [client 142.59.94.219] PHP Fatal error: Class 'functions' not found in /usr/local/ispconfig/interface/lib/app.inc.php on line 87
    [Wed May 18 12:11:55 2011] [error] [client 142.59.94.219] PHP Notice: Undefined index: session_id in /usr/local/ispconfig/interface/lib/classes/session.inc.php on line 80
    [Wed May 18 12:11:59 2011] [error] [client 142.59.94.219] PHP Fatal error: Class 'functions' not found in /usr/local/ispconfig/interface/lib/app.inc.php on line 87
    [Wed May 18 12:11:59 2011] [error] [client 142.59.94.219] PHP Notice: Undefined index: session_id in /usr/local/ispconfig/interface/lib/classes/session.inc.php on line 80

    Any help would be appreciated

    Andrew
     
  2. aimcneil

    aimcneil New Member

    More info

    FC 12, ispconfig 3.
     
  3. till

    till Super Moderator Staff Member ISPConfig Developer

    Please login on the shell and update ispconfig by issuing the command:

    ispconfig_update.sh
     
  4. aimcneil

    aimcneil New Member

    No Joy using shell script to update

    I tried to use the shel script but it just exits with an error that ispconfig is already up to date.

    Am I going to have to wait til the next update or is there a way to force it?
     
  5. till

    till Super Moderator Staff Member ISPConfig Developer

    download the ispcoinfig 3.0.3.3 tar.gz on the shell, unpack it and run the update.php script manually as root user.
     
  6. aimcneil

    aimcneil New Member

    Trouble running update.php

    Unpacked the tarball, chmod 755 update.php

    [[email protected] install]# ./update.php
    ./update.php: line 1: ?php: No such file or directory
    ./update.php: line 3: /aquota.group: Permission denied
    ./update.php: line 4: syntax error near unexpected token `c'
    ./update.php: line 4: `Copyright (c) 2007-2010, Till Brehm, projektfarm Gmbh'
     
  7. falko

    falko Super Moderator ISPConfig Developer

    You must run

    Code:
    php -q update.php
     
  8. aimcneil

    aimcneil New Member

    Parial success

    I ran the command php -q update.php as advised

    Everything went fine on the update, it reconfigured services and I was able to get to the login page. I tried to login but keep being redirected to the same login page. I tested my combinations by using the right uname and a bad passwd and it gave me the typical bad password error but when I use the right combination I get redirected back to the login page with no error being indicated.

    I think this means that it recognizes my uname/passwd combination as being good but for some reason it doesn't bring me to the control panel.

    Any ideas?

    TIA

    Andrew
     
  9. aimcneil

    aimcneil New Member

    Also

    When doing the update I did get an error from mysqldump:

    mysqldump: Got error: 145: Table './dbispconfig/monitor_data' is marked as crashed and should be repaired when using LOCK TABLES

    Perhaps this is part of the problem? If so, how would I mitigate it?
     
  10. aimcneil

    aimcneil New Member

    Fixed

    Actually, I went into the 'dbispconfig' database and ran:

    "myisamchk -o *.MYI"

    All is good now.

    Thank you for your help in this matter

    Andrew McNeil
    Alberta Pipefinders Inc.
     

Share This Page