Results 1 to 4 of 4

Thread: Urgent help needed - MySql upgrade failed during WHM Update

  1. #1
    Member Chriz1977's Avatar
    Join Date
    Sep 2006
    Posts
    191

    Exclamation Urgent help needed - MySql upgrade failed during WHM Update

    Hi

    I was updating cpanel to version 11 and all was going well untill i got this message :

    MySQL Setup Script Version 7.0
    Loaded cPPkgs::MySQL ok!
    This is the cPPkgs::MySQL 4.1.22 installer for Linux.
    Fetching http://httpupdate.cpanel.net/mysqlin...ibc23.i386.rpm (0)....@75.126.236.226......connected......receiving...1%...2%...3%...4%...5%...6%...7%...8%...9%...10%...11%...12%...13%...14%...15%...16%...17%...18%...19%...20%...21%...22%...23%...24%...25%...26%...27%...28%...29%...30%...31%...32%...33%...34%...35%...36%...37%...38%...39%...40%...41%...42%...43%...44%...45%...46%...47%...48%...49%...50%...51%...52%...53%...54%...55%...56%...57%...58%...59%...60%...61%...62%...63%...64%...65%...66%...67%...68%...69%...70%...71%...72%...73%...74%...75%...76%...77%...78%...79%...80%...81%...82%...83%...84%...85%...86%...87%...88%...89%...90%...91%...92%...93%...94%...95%...96%...97%...98%...99%...100%......Done
    rpmdb: Lock table is out of available locker entries
    error: db4 error(22) from db->close: Invalid argument
    error: cannot open Packages index using db3 - Cannot allocate memory (12)
    error: cannot open Packages database in /var/lib/rpm
    rpmdb: Lock table is out of available locker entries
    error: db4 error(22) from db->close: Invalid argument
    error: cannot open Packages database in /var/lib/rpm
    Fetching http://httpupdate.cpanel.net/mysqlin...ibc23.i386.rpm (0)....@75.126.236.226......connected......receiving...1%...2%...3%...4%...5%...6%...7%...8%...9%...10%...11%...12%...13%...14%...15%...16%...17%...18%...19%...20%...21%...22%...23%...24%...25%...26%...27%...28%...29%...30%...31%...32%...33%...34%...35%...36%...37%...38%...39%...40%...41%...42%...43%...44%...45%...46%...47%...48%...49%...50%...51%...52%...53%...54%...55%...56%...57%...58%...59%...60%...61%...62%...63%...64%...65%...66%...67%...68%...69%...70%...71%...72%...73%...74%...75%...76%...77%...78%...79%...80%...81%...82%...83%...84%...85%...86%...87%...88%...89%...90%...91%...92%...93%...94%...95%...96%...97%...98%...99%...100%......Done
    rpmdb: Lock table is out of available locker entries
    error: db4 error(22) from db->close: Invalid argument
    error: cannot open Packages index using db3 - Cannot allocate memory (12)
    error: cannot open Packages database in /var/lib/rpm
    rpmdb: Lock table is out of available locker entries
    error: db4 error(22) from db->close: Invalid argument
    error: cannot open Packages database in /var/lib/rpm
    Fetching http://httpupdate.cpanel.net/mysqlin...ibc23.i386.rpm (0)....@75.126.236.226......connected......receiving...1%...2%...3%...4%...5%...6%...7%...8%...9%...10%...11%...12%...13%...14%...15%...16%...17%...18%...19%...20%...21%...22%...23%...24%...25%...26%...27%...28%...29%...30%...31%...32%...33%...34%...35%...36%...37%...38%...39%...40%...41%...42%...43%...44%...45%...46%...47%...48%...49%...50%...51%...52%...53%...54%...55%...56%...57%...58%...59%...60%...61%...62%...63%...64%...65%...66%...67%...68%...69%...70%...71%...72%...73%...74%...75%...76%...77%...78%...79%...80%...81%...82%...83%...84%...85%...86%...87%...88%...89%...90%...91%...92%...93%...94%...95%...96%...97%...98%...99%...100%......Done
    rpmdb: Lock table is out of available locker entries
    error: db4 error(22) from db->close: Invalid argument
    error: cannot open Packages index using db3 - Cannot allocate memory (12)
    error: cannot open Packages database in /var/lib/rpm
    rpmdb: Lock table is out of available locker entries
    error: db4 error(22) from db->close: Invalid argument
    error: cannot open Packages database in /var/lib/rpm
    Fetching http://httpupdate.cpanel.net/mysqlin...ibc23.i386.rpm (0)....@75.126.236.226......connected......receiving...1%...2%...3%...4%...5%...6%...7%...8%...9%...10%...11%...12%...13%...14%...15%...16%...17%...18%...19%...20%...21%...22%...23%...24%...25%...26%...27%...28%...29%...30%...31%...32%...33%...34%...35%...36%...37%...38%...39%...40%...41%...42%...43%...44%...45%...46%...47%...48%...49%...50%...51%...52%...53%...54%...55%...56%...57%...58%...59%...60%...61%...62%...63%...64%...65%...66%...67%...68%...69%...70%...71%...72%...73%...74%...75%...76%...77%...78%...79%...80%...81%...82%...83%...84%...85%...86%...87%...88%...89%...90%...91%...92%...93%...94%...95%...96%...97%...98%...99%...100%......Done
    rpmdb: Lock table is out of available locker entries
    error: db4 error(22) from db->close: Invalid argument
    error: cannot open Packages index using db3 - Cannot allocate memory (12)
    error: cannot open Packages database in /var/lib/rpm
    rpmdb: Lock table is out of available locker entries
    error: db4 error(22) from db->close: Invalid argument
    error: cannot open Packages database in /var/lib/rpm
    Fetching http://httpupdate.cpanel.net/mysqlin...ibc23.i386.rpm (0)....@75.126.236.226......connected......receiving...1%...2%...3%...4%...5%...6%...7%...8%...9%...10%...11%...12%...13%...14%...15%...16%...17%...18%...19%...20%...21%...22%...23%...24%...25%...26%...27%...28%...29%...30%...31%...32%...33%...34%...35%...36%...37%...38%...39%...40%...41%...42%...43%...44%...45%...46%...47%...48%...49%...50%...51%...52%...53%...54%...55%...56%...57%...58%...59%...60%...61%...62%...63%...64%...65%...66%...67%...68%...69%...70%...71%...72%...73%...74%...75%...76%...77%...78%...79%...80%...81%...82%...83%...84%...85%...86%...87%...88%...89%...90%...91%...92%...93%...94%...95%...96%...97%...98%...99%...100%......Done
    rpmdb: Lock table is out of available locker entries
    error: db4 error(22) from db->close: Invalid argument
    error: cannot open Packages index using db3 - Cannot allocate memory (12)
    error: cannot open Packages database in /var/lib/rpm
    rpmdb: Lock table is out of available locker entries
    error: db4 error(22) from db->close: Invalid argument
    error: cannot open Packages database in /var/lib/rpm
    Fetching http://httpupdate.cpanel.net/mysqlin...ibc23.i386.rpm (0)....@75.126.236.226......connected......receiving...1%...2%...3%...4%...5%...6%...7%...8%...9%...10%...11%...12%...13%...14%...15%...16%...17%...18%...19%...20%...21%...22%...23%...24%...25%...26%...27%...28%...29%...30%...31%...32%...33%...34%...35%...36%...37%...38%...39%...40%...41%...42%...43%...44%...45%...46%...47%...48%...49%...50%...51%...52%...53%...54%...55%...56%...57%...58%...59%...60%...61%...62%...63%...64%...65%...66%...67%...68%...69%...70%...71%...72%...73%...74%...75%...76%...77%...78%...79%...80%...81%...82%...83%...84%...85%...86%...87%...88%...89%...90%...91%...92%...93%...94%...95%...96%...97%...98%...99%...100%......Done
    rpmdb: Lock table is out of available locker entries
    error: db4 error(22) from db->close: Invalid argument
    error: cannot open Packages index using db3 - Cannot allocate memory (12)
    error: cannot open Packages database in /var/lib/rpm
    rpmdb: Lock table is out of available locker entries
    error: db4 error(22) from db->close: Invalid argument
    error: cannot open Packages database in /var/lib/rpm
    Fetching http://httpupdate.cpanel.net/mysqlin...ibc23.i386.rpm (0)....@75.126.236.226......connected......receiving...1%...2%...3%...4%...5%...6%...7%...8%...9%...10%...11%...12%...13%...14%...15%...16%...17%...18%...19%...20%...21%...22%...23%...24%...25%...26%...27%...28%...29%...30%...31%...32%...33%...34%...35%...36%...37%...38%...39%...40%...41%...42%...43%...44%...45%...46%...47%...48%...49%...50%...51%...52%...53%...54%...55%...56%...57%...58%...59%...60%...61%...62%...63%...64%...65%...66%...67%...68%...69%...70%...71%...72%...73%...74%...75%...76%...77%...78%...79%...80%...81%...82%...83%...84%...85%...86%...87%...88%...89%...90%...91%...92%...93%...94%...95%...96%...97%...98%...99%...100%......Done
    rpmdb: Lock table is out of available locker entries
    error: db4 error(22) from db->close: Invalid argument
    error: cannot open Packages index using db3 - Cannot allocate memory (12)
    error: cannot open Packages database in /var/lib/rpm
    rpmdb: Lock table is out of available locker entries
    error: db4 error(22) from db->close: Invalid argument
    error: cannot open Packages database in /var/lib/rpm
    This script updates all the mysql privilege tables to be usable by
    MySQL 4.0 and above.

    Now SQL wont work. Can i run /scripts/mysqlup and then try the update of whm again or will that make things worse?
    When I was young I used to break Windows, Now Microsoft does it for me!

  2. #2
    Member
    Join Date
    Oct 2006
    Posts
    312

    Default

    Appears you have a memory problem. Is this on a VPS?

    The new CP 11 I heard requires more memory than 10 and as of now, it seems to create quite a few rlimit and memory problems on VPS.

    Maybe you can try /scripts/mysqlup --force and see if you have the same memory problem.

    If it persists, then you might want to contact your host and up the memory for your VPS.
    .
    RTG (Asia) Network
    Unmetered ®cPanel VPS from $28.00
    Shared & Reseller Accounts from $2.00
    Unmetered Dedicated Servers from $58.00
    Your account will be setup AUTOMAGICALLY upon payment.

  3. #3
    Member Chriz1977's Avatar
    Join Date
    Sep 2006
    Posts
    191

    Default

    Thats weird as i have 2 dedicated servers both with the same amount of memory and the other one is ok.

    Can i roll cpanel back to version 10 or is that even more trouble?
    When I was young I used to break Windows, Now Microsoft does it for me!

  4. #4
    Member
    Join Date
    Oct 2006
    Posts
    312

    Default

    We went from 10 to 11 and a few problem arises which we cannot fix. We could not afford the downtime because our users were screaming, so we went back to 10 by updating it to STABLE, which is presently still at 10.

    Perform a STABLE upgrade and then do a upcp --force to ensure that its updated. You can also update system soft to be sure.

    HOWEVER, you mentioned you have DEDICATED SERVERS, so I am not sure if the problem is with the NODE because the problem you raised happens only on VPS. You might want to contact cpanel if yours is a dedicated.

    Cpanel is encouraging users to submit a support ticket if they have problems with 11.

    Quote Originally Posted by Chriz1977 View Post
    Thats weird as i have 2 dedicated servers both with the same amount of memory and the other one is ok.

    Can i roll cpanel back to version 10 or is that even more trouble?
    .
    RTG (Asia) Network
    Unmetered ®cPanel VPS from $28.00
    Shared & Reseller Accounts from $2.00
    Unmetered Dedicated Servers from $58.00
    Your account will be setup AUTOMAGICALLY upon payment.

Similar Threads

  1. urgent pop failed after latest stable update
    By Sebastien in forum cPanel & WHM Discussions
    Replies: 2
    Last Post: 01-11-2006, 05:35 PM
  2. phpBB Upgrade - Server Wide - WHM Global Upgrade Needed!
    By peterquast in forum cPanel & WHM Discussions
    Replies: 18
    Last Post: 12-27-2004, 01:46 AM
  3. Urgent help needed: can't transfer accounts via WHM or SSH
    By pingo in forum cPanel & WHM Discussions
    Replies: 2
    Last Post: 02-26-2004, 05:43 PM
  4. Urgent: MySQL Permissions since 8.2 Update
    By Gammasoft in forum cPanel & WHM Discussions
    Replies: 3
    Last Post: 09-21-2003, 04:16 AM