Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Page 1 of 2 1 2 LastLast
Results 1 to 15 of 17
  1. #1
    Member
    Join Date
    Jun 2005
    Posts
    124

    Default /scripts/mysql out of mirrors

    Hello,

    Is anyone experiencing any mirrors problems while uprgading mysql with /scripts/mysqlup ?

    Thanks!

  2. #2
    Member celliott's Avatar
    Join Date
    Jan 2006
    Location
    United Kingdom
    Posts
    460

    Default

    I had the same problem but eventually the install did complete. Also check that you have Wget enabled.

  3. #3
    Super Moderator This forum account has been confirmed by cPanel staff to represent a vendor. chirpy's Avatar
    Join Date
    Jun 2002
    Location
    Go on, have a guess
    Posts
    13,495

    Default

    I've had severe problems with the MySQL mirrors that cPanel uses and have had to resort to installing/upgrading MySQL by hand in the last few days.
    Jonathan Michaelson

    Need your cPanel servers secured and tuned?
    cPanel Server Configuration, Security, Recovery and Antivirus/AntiSpam Services
    Developers of the most effective (and free) Firewall & Security Solution for cPanel Servers - csf
    http://www.configserver.com

  4. #4
    Member
    Join Date
    Sep 2003
    Posts
    126

    Default

    Is it safe to upgrade MySQL manually (by hand) ? How to do that?

    -FL-

  5. #5
    cPanel Staff cpanelnick's Avatar
    Join Date
    Feb 2003
    Location
    Houston, TX
    Posts
    4,597

    Default

    MySQL 4.0 seems to be a problem now that is disappearing off mirrors. Updating to 4.1 (or 5.x with BETA/EDGE) is probably the best solution.

    MySQL has all but given up on the 4.0 stuff.

  6. #6
    Member
    Join Date
    Sep 2003
    Posts
    126

    Default

    I still have error for /scripts/mysqlup
    Error 404 while fetching url http://httpupdate.cpanel.net//mysqli...ibc23.i386.rpm
    Failed to download a working MySQL-shared-4.1.18-0.glibc23.i386.rpm! Falling back to generic MySQL package.

    When /scripts/mysqlup will be fixed?
    Im using RHEL 3 & latest EDGE

    -FL-

  7. #7
    Super Moderator This forum account has been confirmed by cPanel staff to represent a vendor. chirpy's Avatar
    Join Date
    Jun 2002
    Location
    Go on, have a guess
    Posts
    13,495

    Default

    Quote Originally Posted by cpanelnick
    MySQL 4.0 seems to be a problem now that is disappearing off mirrors. Updating to 4.1 (or 5.x with BETA/EDGE) is probably the best solution.

    MySQL has all but given up on the 4.0 stuff.
    The MySQL upgrade script to v5 in EDGE is completely broken I've had to hack it by hand to get it working - the embed rpm for v5 isn't on the mirrors and so the whole install loops and then dies. I've also found that the version of 4.1 in WHM is also missing from nearly all the mirrors.
    Jonathan Michaelson

    Need your cPanel servers secured and tuned?
    cPanel Server Configuration, Security, Recovery and Antivirus/AntiSpam Services
    Developers of the most effective (and free) Firewall & Security Solution for cPanel Servers - csf
    http://www.configserver.com

  8. #8
    cPanel Staff cpanelnick's Avatar
    Join Date
    Feb 2003
    Location
    Houston, TX
    Posts
    4,597

    Default

    Quote Originally Posted by chirpy
    The MySQL upgrade script to v5 in EDGE is completely broken I've had to hack it by hand to get it working - the embed rpm for v5 isn't on the mirrors and so the whole install loops and then dies. I've also found that the version of 4.1 in WHM is also missing from nearly all the mirrors.

    What kinda of error did you get (I'm asking after being unable to get it to break)?

  9. #9
    Super Moderator This forum account has been confirmed by cPanel staff to represent a vendor. chirpy's Avatar
    Join Date
    Jun 2002
    Location
    Go on, have a guess
    Posts
    13,495

    Default

    In EDGE (from memory - I know I should have logged a bugzilla entry) mysqlup tried to look for the v5 rpms on httpupdate.cpanel.net in a directory that did not exist for RHE (it was looking in a dir called redhat_enterprise IIRC). Having failed to find the rpms on the cpanel.net server it then went off to find them on the mysql mirrors and failed miserably because none of them had the embed rpm.

    For the v4 rpms, IIRC, it checked the mirrors and was looking for 4.1.14 which wasn't on the mirrors (needed 4.1.18).

    I'll log the issue properly when I come across it next.
    Last edited by chirpy; 04-03-2006 at 05:05 AM.
    Jonathan Michaelson

    Need your cPanel servers secured and tuned?
    cPanel Server Configuration, Security, Recovery and Antivirus/AntiSpam Services
    Developers of the most effective (and free) Firewall & Security Solution for cPanel Servers - csf
    http://www.configserver.com

  10. #10
    cPanel Partner NOC cPanel Partner NOC Badge
    Join Date
    Feb 2002
    Location
    Pula, Croatia
    Posts
    196
    cPanel/Enkompass Access Level

    DataCenter Provider

    Default

    Quote Originally Posted by cpanelnick
    What kinda of error did you get (I'm asking after being unable to get it to break)?
    I have problem that mysqlup is looking for 4.1.13 and there is no 4.1.13 on mirrors any more, i checked few manualy. I am running latest stable.

  11. #11
    cPanel Partner NOC cPanel Partner NOC Badge
    Join Date
    Feb 2002
    Location
    Pula, Croatia
    Posts
    196
    cPanel/Enkompass Access Level

    DataCenter Provider

    Default

    Quote Originally Posted by gemby
    I have problem that mysqlup is looking for 4.1.13 and there is no 4.1.13 on mirrors any more, i checked few manualy. I am running latest stable.
    I made bugzilla entry for it.

  12. #12
    cPanel Partner NOC cPanel Partner NOC Badge
    Join Date
    Feb 2002
    Location
    Pula, Croatia
    Posts
    196
    cPanel/Enkompass Access Level

    DataCenter Provider

  13. #13
    Member
    Join Date
    Jan 2005
    Posts
    159

    Default

    cant we use anymore the mysql 4.0 rpms

  14. #14
    cPanel Partner NOC cPanel Partner NOC Badge
    Join Date
    Feb 2002
    Location
    Pula, Croatia
    Posts
    196
    cPanel/Enkompass Access Level

    DataCenter Provider

    Default

    I am analizing that thing with mysql today, and now i am apsolutly sure that this thing is going on from at least friday afternoon (morning ins US).

  15. #15
    cPanel Partner NOC cPanel Partner NOC Badge
    Join Date
    Feb 2002
    Location
    Pula, Croatia
    Posts
    196
    cPanel/Enkompass Access Level

    DataCenter Provider

    Default

    Cpanel guys, shame on you! Nobody is looking bugzilla for whole day, and Nick is only made a quick pick in forum this morning. Shame on you, you have this error from last week.

    Ok, here is quick and dirty fix......

    1. on one of your sites make file called version

    # cd public_html
    # pico version
    And paste folowing inside:

    BETA,EDGE,CURRENT,RELEASE,STABLE,DNSONLY:mysql50:5.0.18:0::shared,shared-compat,devel,embedded,client,bench,server,shared
    BETA,EDGE,CURRENT,RELEASE,STABLE,DNSONLY:mysql50-64:5.0.18:0.glibc23::shared,shared-compat,devel,embedded,client,bench,server,shared
    BETA,EDGE,CURRENT,RELEASE,STABLE,DNSONLY:mysql40:4.0.25:0::shared,shared-compat,devel,embedded,client,bench,server,shared
    UNSTABLE:mysql40:4.0.24:0::shared,shared-compat,devel,embedded,client,bench,server,shared
    STABLE,DNSONLY:mysql41:4.1.18:0::shared,devel,embedded,client,bench,server,shared
    RELEASE,CURRENT,BETA,EDGE:mysql41:4.1.14:0::shared,devel,embedded,client,bench,server,shared
    UNSTABLE:mysql41:4.1.11:0::shared,devel,embedded,client,bench,server,shared
    BETA,EDGE,CURRENT,RELEASE,STABLE,DNSONLY:mysql40-64:4.0.25:0::shared,devel,embedded,client,bench,server,shared
    UNSTABLE:mysql40-64:4.0.24:0::shared,devel,embedded,client,bench,server,shared
    STABLE,DNSONLY:mysql41-64:4.1.13:0.glibc23::shared,devel,embedded,client,bench,server,shared
    RELEASE,CURRENT,BETA,EDGE:mysql41-64:4.1.14:0.glibc23::shared,devel,embedded,client,bench,server,shared
    UNSTABLE:mysql41-64:4.1.11:0.glibc23::shared,devel,embedded,client,bench,server,shared

    Look for line that starts with STABLE,DNSONLY and version of mysql, i put 4.1.18 because it is more then one month old and it is ok for me. I am aware that this version is not as stable as 4.1.13 which is so stable so it is not on mirrors any more, but this is risk i am willing to take.

    Then....
    pico /scripts/cPpkgversions.pm

    and change updates.cpanel.net in url to yourdomain.com in line which contains

    my @VERINFO = split(/\n/,httpreq("updates.cpanel.net","/${pv}install/version"))


    Then run:
    # rm -rf /root/.cpmysqlrpm
    # /scripts/mysqlup
    After it finshes and says that mysql is started ok

    # touch /etc/mysqlupdisable
    # /scripts/perlinstaller --force DBD::mysql
    # /scripts/perlinstaller --force List::Util

    And put back updates.cpanel.net instead of yourdomain.com in

    # /scripts/cPpkgversions.pm

    And i have succesfuly upgraded mysql in cpanel!

    Please, this is testing force upgrade, i am not sure if i have broke something, but so far everything is ok.
    Last edited by gemby; 04-03-2006 at 03:44 PM.

Similar Threads & Tags
Similar threads

  1. [Mirrors] 2 mirrors seems dead
    By Danny_T in forum cPGS Discussions
    Replies: 5
    Last Post: 12-10-2008, 06:42 AM
  2. Mirrors not available...
    By figure8hosting in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 06-09-2007, 07:38 PM
  3. Cant get anything from CPAN mirrors
    By patrick24601 in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 03-17-2005, 09:47 PM
  4. cPanel installation problem w/ MySQL mirrors
    By gvard in forum cPanel and WHM Discussions
    Replies: 5
    Last Post: 02-13-2005, 05:04 PM
  5. /scripts/sysup not connecting to mirrors
    By yong in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 08-11-2004, 02:50 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube