Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

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

Discussion in 'General Discussion' started by thobarn, Apr 25, 2008.

  1. thobarn

    thobarn Well-Known Member

    Joined:
    Apr 25, 2008
    Messages:
    152
    Likes Received:
    1
    Trophy Points:
    68
    Location:
    sanctum sanctorum
    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. thobarn

    thobarn Well-Known Member

    Joined:
    Apr 25, 2008
    Messages:
    152
    Likes Received:
    1
    Trophy Points:
    68
    Location:
    sanctum sanctorum
    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. jdlightsey

    jdlightsey Perl Developer III
    Staff Member

    Joined:
    Mar 6, 2007
    Messages:
    126
    Likes Received:
    2
    Trophy Points:
    243
    Location:
    Houston Texas
    cPanel Access Level:
    Root Administrator
    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. thobarn

    thobarn Well-Known Member

    Joined:
    Apr 25, 2008
    Messages:
    152
    Likes Received:
    1
    Trophy Points:
    68
    Location:
    sanctum sanctorum
    [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.
     
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice