Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 2 of 2
  1. #1
    Registered User
    Join Date
    Jul 2010
    Posts
    1

    Default mysql update failed, now apache also down---

    Hello,
    (Happy sysadmin day btw!)

    I tried to update Mysql from 4.0 to 5.1 via WHM but i got the following error near the start of the process:

    =========================
    'ERROR: 1136 Column count doesn't match value count at row 1
    071126 20:49:18 [ERROR] Aborting '
    =========================

    And the update failed, and also i think the process tried to recompile apache and PHP because i cant start/restart httpd either.

    If i try to recompile Apache, i get the following error:

    =======================
    Fetching http://httpupdate.cpanel.net/syspkgs...ntOS-Base.repo (0)....@75.127.84.226......connected......receiving...100%......Done
    checkyum version 20.5
    checkyum version 20.5
    !! Package system can not be repaired automatically !!

    and....

    Apache Restart Output:
    Syntax error on line 9 of /usr/local/apache/conf/php.conf:
    Cannot load /usr/local/apache/libexec/libphp4.so into server: /usr/lib/libmysqlclient.so.14: version `libmysqlclient_14' not found (required by /usr/local/apache/libexec/libphp4.so)
    /etc/init.d/httpd start: httpd could not be started
    =======================

    So both daemons are unresponsive now,
    I tried mysqlup --force.. still the same..

    anyone halp? =)
    is there a way to really really force a apache and mysql reinstall? seems both of them are broken now :/
    Last edited by vindsl; 07-30-2010 at 07:15 PM. Reason: last question

  2. #2
    Member
    Join Date
    Jul 2010
    Posts
    10

    Default

    I have had a same situation, I just made a backup of mysql databases.

    cp -rp /var/lib/mysql /var/lib/mysql.back

    Then I just moved the actual mysql directory to some other dir.

    cd /var/lib

    Then mv mysql mysql.bk

    Then I just ran /scripts/mysqlup --force

    As the way, it just fixed up.

    Then I just copied the databases to the actual mysql dir.

    I assume the issue is with the mysql database in which the tables are not being allowed to get altered.

    Try this as this is one of my strategy...

Similar Threads & Tags
Similar threads

  1. Mod_Mono failed to be installed with the Apache update! Please help!
    By virtualreality in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 03-14-2009, 01:13 AM
  2. MySQL failed after update (socket error)
    By Holbrookau in forum cPanel and WHM Discussions
    Replies: 4
    Last Post: 10-10-2007, 04:07 AM
  3. Help ! Apache update Failed
    By hostechsupport in forum New User Questions
    Replies: 0
    Last Post: 10-05-2007, 05:13 AM
  4. Urgent help needed - MySql upgrade failed during WHM Update
    By Chriz1977 in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 06-08-2007, 06:01 AM
  5. update php to 4.4.4 and apache failed
    By majidnt in forum cPanel and WHM Discussions
    Replies: 9
    Last Post: 08-20-2006, 10:43 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube