Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 4 of 4
  1. #1
    Member
    Join Date
    Apr 2008
    Location
    sanctum sanctorum
    Posts
    152

    Default error: install: %pre scriptlet failed (2), skipping MySQL-server-5.0.51a-1.glibc23

    I wish to upgrade to MySQl 5. Selected MySQL5.0 under WHM| Server Config | Tweak Settings. When I run /scripts/mysqlup (or WHM | Software | Update Srver Software) this is what I get:

    Code:
    MySQL Setup Script Version 7.0
    Fetching http://httpupdate.cpanel.net/mysqlinstall/EDGE/cPpkgversion (0)....@69.72.164.155......connected......receiving...65%...100%......Done
    Loaded cPPkgs::MySQL ok!
    This is the cPPkgs::MySQL 5.0.51a installer for Linux.
    Fetching http://httpupdate.cpanel.net/mysqlinstall/5.0.51a-1/centos/5/MySQL-shared-5.0.51a-1.glibc23.i386.rpm (0)....@69.72.164.155......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
    Preparing...                ##################################################
    MySQL-shared                ##################################################
    Fetching http://httpupdate.cpanel.net/mysqlinstall/5.0.51a-1/centos/5/MySQL-server-5.0.51a-1.glibc23.i386.rpm (0)....@69.72.164.155......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
    Preparing...                ##################################################
    error:   install: %pre scriptlet failed (2), skipping MySQL-server-5.0.51a-1.glibc23
    Could someone please help? Thanks
    Thomas

  2. #2
    Member
    Join Date
    Apr 2008
    Location
    sanctum sanctorum
    Posts
    152

    Default Solved

    During update to cPanel 11.22.2-E23808 this problem repeated. In case anybody else is having similar problems, this blog post solved my problem. Thanks Marcus

  3. #3
    cPanel Staff
    Join Date
    Mar 2007
    Posts
    113

    Default

    If you encounter this again, please submit a ticket marked "Attn: JD". Forcing the install this way shouldn't be necessary. It would be good it identify exactly what's failing with the preinstall script and to get it corrected.

  4. #4
    Member
    Join Date
    Apr 2008
    Location
    sanctum sanctorum
    Posts
    152

    Default [SOLVED] really :)

    For future reference, in case anybody has a similar problem. Turns out that /var/tmp was mounted in a way that made it unusable.

    vzfs on /var/tmp type vzfs (rw,nosuid,noexec)

    Unmounting /var/tmp before running /scripts/mysqlup fixed the problem described in OP.

    Special thanks go to J.D. for the help, diagnosis and solution.

Similar Threads & Tags
Similar threads

  1. mysql 5.0.51a bug ! Please upgrade
    By Misiek in forum cPanel and WHM Discussions
    Replies: 13
    Last Post: 10-28-2008, 02:29 PM
  2. How to upgrade mysql 5.0.51a to 5.0.67 ?
    By javid in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 10-24-2008, 02:25 PM
  3. MySQL Dump fails since 5.0.51a
    By madtom in forum cPanel and WHM Discussions
    Replies: 9
    Last Post: 10-21-2008, 03:17 PM
  4. Mysql Failed error after setting up Remote MySQL server
    By ReB in forum cPanel and WHM Discussions
    Replies: 6
    Last Post: 03-28-2007, 02:47 AM
  5. Upcp: pre scriptlet failed errors
    By FvdM in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 03-30-2006, 02:47 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube