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!

arghh!! /scripts/mysqlup failed :(

Discussion in 'General Discussion' started by simonpearce, Jul 8, 2006.

  1. simonpearce

    simonpearce Well-Known Member

    Joined:
    Jun 20, 2003
    Messages:
    90
    Likes Received:
    0
    Trophy Points:
    156
    Hi,

    I'm trying to uprgade a server to mysql 4.1

    I've changed the setting in tweak settings and then tried to run /scripts/mysqlup but it keeps failing saying it can't find a mirror.

    Now mysql is down on one of my live servers!!!

    Can anyone offer any suggestions?

    Cheers

    Simon
     
  2. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,460
    Likes Received:
    22
    Trophy Points:
    463
    Location:
    Go on, have a guess
    Try:

    /scripts/upcp --force
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. simonpearce

    simonpearce Well-Known Member

    Joined:
    Jun 20, 2003
    Messages:
    90
    Likes Received:
    0
    Trophy Points:
    156
    Hi Chirpy,

    I'm trying that now - only problem is, it's been running for 3 hours + :(

    I'm really struggling - seen as nothing has updated (i guess) - can I tell cpanel to go back to 4.0?

    Simon
     
  4. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,460
    Likes Received:
    22
    Trophy Points:
    463
    Location:
    Go on, have a guess
    Where is it currently in the upcp process, i.e. what's the last 20 or so lines of output?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. simonpearce

    simonpearce Well-Known Member

    Joined:
    Jun 20, 2003
    Messages:
    90
    Likes Received:
    0
    Trophy Points:
    156
    Hi,

    It's JUST finished - I tried to run /scripts/mysqlup again and got the same problem:

    Code:
    root@server1 [~]# /scripts/mysqlup
    MySQL Setup Script Version 7.0
    Loaded cPPkgs::MySQL ok!
    This is the cPPkgs::MySQL 4.1.19 installer for Linux.
    Error 404 while fetching url http://httpupdate.cpanel.net//mysqlinstall/4.1.19-0/redhat/8.0/MySQL-shared-4.1.19-0.glibc23.i386.rpm
    Error 404 while fetching url http://httpupdate.cpanel.net//mysqlinstall/4.1.19-0/redhat/8.0/MySQL-shared-4.1.19-0.glibc23.i386.rpm
    Error 404 while fetching url http://httpupdate.cpanel.net//mysqlinstall/4.1.19-0/redhat/8.0/MySQL-shared-4.1.19-0.glibc23.i386.rpm
    Error 404 while fetching url http://httpupdate.cpanel.net//mysqlinstall/4.1.19-0/redhat/8.0/MySQL-shared-4.1.19-0.glibc23.i386.rpm
    Error 404 while fetching url http://httpupdate.cpanel.net//mysqlinstall/4.1.19-0/redhat/8.0/MySQL-shared-4.1.19-0.glibc23.i386.rpm
    Error 404 while fetching url http://httpupdate.cpanel.net//mysqlinstall/4.1.19-0/redhat/8.0/MySQL-shared-4.1.19-0.glibc23.i386.rpm
    Error 404 while fetching url http://httpupdate.cpanel.net//mysqlinstall/4.1.19-0/redhat/8.0/MySQL-shared-4.1.19-0.glibc23.i386.rpm
    Error 404 while fetching url http://httpupdate.cpanel.net//mysqlinstall/4.1.19-0/redhat/8.0/MySQL-shared-4.1.19-0.glibc23.i386.rpm
    Error 404 while fetching url http://httpupdate.cpanel.net//mysqlinstall/4.1.19-0/redhat/8.0/MySQL-shared-4.1.19-0.glibc23.i386.rpm
    Error 404 while fetching url http://httpupdate.cpanel.net//mysqlinstall/4.1.19-0/redhat/8.0/MySQL-shared-4.1.19-0.glibc23.i386.rpm
    Error 404 while fetching url http://httpupdate.cpanel.net//mysqlinstall/4.1.19-0/redhat/8.0/MySQL-shared-4.1.19-0.glibc23.i386.rpm
    Error 404 while fetching url http://httpupdate.cpanel.net//mysqlinstall/4.1.19-0/redhat/8.0/MySQL-shared-4.1.19-0.glibc23.i386.rpm
    Error 404 while fetching url http://httpupdate.cpanel.net//mysqlinstall/4.1.19-0/redhat/8.0/MySQL-shared-4.1.19-0.glibc23.i386.rpm
    Failed to download a working MySQL-shared-4.1.19-0.glibc23.i386.rpm! Falling back to generic MySQL package.
    Fetching version information from http://updates.cpanel.net/mysqlinstall/version (RELEASE)....Fetching http://updates.cpanel.net/mysqlinstall/version (0)....@69.90.250.34......connected......receiving...100%......Done
    Use of uninitialized value in split at /scripts/cPpkgversions.pm line 59.
    Use of uninitialized value in split at /scripts/cPpkgversions.pm line 59.
    Use of uninitialized value in split at /scripts/cPpkgversions.pm line 59.
    Use of uninitialized value in split at /scripts/cPpkgversions.pm line 59.
    Done
    This is the MySQL 4.1.19 installer release number 0.glibc23 for platform
    MySQL-shared is out of date (MySQL-shared-4.0.25-0 != MySQL-shared-4.1.19-0.glibc23)
    MySQL-devel is out of date (MySQL-devel-4.0.25-0 != MySQL-devel-4.1.19-0.glibc23)
    MySQL-embedded is out of date (MySQL-embedded-4.0.25-0 != MySQL-embedded-4.1.19-0.glibc23)
    MySQL-client is out of date (MySQL-client-4.0.25-0 != MySQL-client-4.1.19-0.glibc23)
    MySQL-bench is out of date (MySQL-bench-4.0.25-0 != MySQL-bench-4.1.19-0.glibc23)
    MySQL-server is out of date (MySQL-server-4.0.25-0 != MySQL-server-4.1.19-0.glibc23)
    MySQL-shared is out of date (MySQL-shared-4.0.25-0 != MySQL-shared-4.1.19-0.glibc23)
    Using RPM Backend: RPM version 4.1
    Fetching rpm updates list...Error 404 while fetching url http://updates.cpanel.net//pub/rpminstall/redhat-8.0/updates.686.v2.db.gz.md5
    This could indicate you have not properly configured an update source:
    To select an update source create a file in /var/cpanel called use[sourcename]
    For example:
            /var/cpanel/useurpmi - URPMI (Mandrake,Mandriva)
            /var/cpanel/useyum - Yum (CentOS,Fedora)
            /var/cpanel/useup2date - U2pdate (RHEL)
            /var/cpanel/useswup - SWUP (Trustix)
            /var/cpanel/userug - Rug (SuSE)
            /var/cpanel/useapt - Apt-Get (Debian)
            /var/cpanel/useemerge - Portage (Gentoo)
    cached /root/.cpupdates/7-8-2006.updates is up to date...Error 404 while fetching url http://updates.cpanel.net//pub/rpminstall/redhat-8.0/updates.686.v2.db.gz
    This could indicate you have not properly configured an update source:
    To select an update source create a file in /var/cpanel called use[sourcename]
    For example:
            /var/cpanel/useurpmi - URPMI (Mandrake,Mandriva)
            /var/cpanel/useyum - Yum (CentOS,Fedora)
            /var/cpanel/useup2date - U2pdate (RHEL)
            /var/cpanel/useswup - SWUP (Trustix)
            /var/cpanel/userug - Rug (SuSE)
            /var/cpanel/useapt - Apt-Get (Debian)
            /var/cpanel/useemerge - Portage (Gentoo)
    Done
    
    gzip: /root/.cpupdates/7-8-2006.updates.gz: unexpected end of file
    Fetching rpm provides list...Error 404 while fetching url http://updates.cpanel.net//pub/rpminstall/redhat-8.0/provides.686.db.bz2.md5
    This could indicate you have not properly configured an update source:
    To select an update source create a file in /var/cpanel called use[sourcename]
    For example:
            /var/cpanel/useurpmi - URPMI (Mandrake,Mandriva)
            /var/cpanel/useyum - Yum (CentOS,Fedora)
            /var/cpanel/useup2date - U2pdate (RHEL)
            /var/cpanel/useswup - SWUP (Trustix)
            /var/cpanel/userug - Rug (SuSE)
            /var/cpanel/useapt - Apt-Get (Debian)
            /var/cpanel/useemerge - Portage (Gentoo)
    md5sum: /root/.cpupdates/7-8-2006.provides: No such file or directory
    
    bzip2: Compressed file ends unexpectedly;
            perhaps it is corrupted?  *Possible* reason follows.
    bzip2: Success
            Input file = /root/.cpupdates/7-8-2006.provides.bz2, output file = /root/.cpupdates/7-8-2006.provides
    
    It is possible that the compressed file(s) have become corrupted.
    You can use the -tvv option to test integrity of such files.
    
    You can use the `bzip2recover' program to attempt to recover
    data from undamaged sections of corrupted files.
    
    bzip2: Deleting output file /root/.cpupdates/7-8-2006.provides, if it exists.
    Done
    Cannot fetch rpm provides list at /scripts/cPanelRPM.pm line 221.
    Resetting MySQL to cPanel Defaults and Installing the Latest Version
    About to fetch MySQL-shared-4.1.19-0.glibc23.i386.rpm
    I ran out of mirrors for MySQL. at /scripts/mysqlup line 259.
     
  6. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,460
    Likes Received:
    22
    Trophy Points:
    463
    Location:
    Go on, have a guess
    Are you running RH8? If so, cPanel stopped supporting that OS many moons ago. You're probably better off downgrading MySQL to v4 by editing /var/cpanel/cpanel.config and set:

    mysql-version=4

    Then rerun /scripts/upcp
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  7. simonpearce

    simonpearce Well-Known Member

    Joined:
    Jun 20, 2003
    Messages:
    90
    Likes Received:
    0
    Trophy Points:
    156
    Thanks chirpy - I'm doing that now and will get onto our provider to find out about sorting RH8!

    Cheers

    Simon
     
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