Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 7 of 7
  1. #1
    Member
    Join Date
    Mar 2005
    Posts
    98

    Default /scripts/mysqlup

    Hello,

    I was and I still am having problem with mysql so I decided to reinstall mysql. So I did a 'yum remove mysql' and also afterwards, I did a '/scripts/mysqlup' and pressed CTRL+C (abort) about 10 times in the middle of it so that I could stop it to fix something before upgrading. I've rebooted like 5 times and now when I run '/scripts/mysqlup' I get this; does anyone know how to fix this?

    Thanks,
    Mini

    root@kathrine [~]# /scripts/mysqlup
    MySQL Setup Script Version 6.1
    Fetching version information from http://updates.cpanel.net/mysqlinstall/version (STABLE)....Done
    This is the MySQL 4.0.25 installer release number 0 for platform
    MySQL-server is out of date (package MySQL-server is not installed != MySQL-server-4.0.25-0)
    Repository base is listed more than once in the configuration
    Repository addons is listed more than once in the configuration
    Repository extras is listed more than once in the configuration
    Repository extras is listed more than once in the configuration
    Repository updates is listed more than once in the configuration
    Repository base is listed more than once in the configuration
    Repository addons is listed more than once in the configuration
    Using newyum support..
    Repository base is listed more than once in the configuration
    Repository addons is listed more than once in the configuration
    Repository extras is listed more than once in the configuration
    Repository extras is listed more than once in the configuration
    Repository updates is listed more than once in the configuration
    Repository base is listed more than once in the configuration
    Repository addons is listed more than once in the configuration
    Setting up Install Process
    Setting up repositories
    Reading repository metadata in from local files
    Excluding Packages in global exclude list
    Finished
    Parsing package install arguments
    Nothing to do
    Resetting MySQL to cPanel Defaults and Installing the Latest Version
    I ran out of mirrors for MySQL. at /scripts/mysqlup line 227.

  2. #2
    cPanel Partner NOC cPanel Partner NOC Badge
    Join Date
    Nov 2003
    Location
    moscow
    Posts
    294

    Default

    "I ran out of mirrors for MySQL. at /scripts/mysqlup line 227."

    that means you server cannot reach to repositary miirors. this may happen for different reason - from incorrect settings in /etc/yum.conf to problem with your network settings.
    jsut try do whois cpanel.net if you get any whois output, then check your /etc/yum.conf for respositaries url's.
    https://robobill.net
    US dedicated, Europe and Asia and Russia dedicated server. Shared, Reseller, VPS hosting in US and Europe.
    We are RESELLER of dedicated servers since 2002.

  3. #3
    cPanel Partner NOC cPanel Partner NOC Badge
    Join Date
    Oct 2003
    Posts
    1,931

    Default

    rm -rf ~/.cpmysqlrpm

    make sure your resolv.conf is correct

    /scripts/mysqlup
    Lowest Host/Empire Technology LLC
    Affordable hosting solutions http://empire-hosting.net
    List Your hosting site FREE in http://hostgeneration.com

  4. #4
    Member
    Join Date
    Feb 2005
    Location
    East Vancouver, BC, Canada
    Posts
    29

    Default I too ran out of mirrors.

    The script

    /scripts/mysqlup

    takes a very long time to run, and ends like this:

    -----------------------------------------------------------------------------------------------------------------------------
    http://mysql.mirrored.ca/

    http://mysql.blic.net/

    http://mysql.mesi.com.ar/

    Ping:26.446 Testing connection speed to mysql.mirror.secondchapter.info using wget...test failed...Done
    Ping:46.868 Testing connection speed to www.unixsoft.org using wget...test failed...Done
    Ping:64.652 Testing connection speed to www.maxmind.com using wget...test failed...Done
    Ping:182.602 Testing connection speed to mysql.ausgamers.com using wget...test failed...Done
    Ping:183.056 Testing connection speed to ftp.sunet.se using wget...test failed...Done
    Ping:198.731 Testing connection speed to www.opensourcecommunity.ph using wget...test failed...Done
    Ping:204.383 Testing connection speed to mysql.mainseek.com using wget...test failed...Done
    Ping:220.244 Testing connection speed to mysql.tsuren.net using wget...test failed...Done
    Ping:225.917 Testing connection speed to mirrors.mybsd.org.my using wget...test failed...Done
    Ping:227.763 Testing connection speed to mysql.interec.es using wget...test failed...Done
    Ping:250.895 Testing connection speed to www.oynasana.com using wget...test failed...Done

    .
    .
    .

    test failed...Done
    I ran out of mirrors for MySQL. at /scripts/mysqlup line 227.
    -----------------------------------------------------------------------------------------------------------------------------

    I have run these commands for testing:

    -----------------------------------------------------------------------------------------------------------------------------
    host www.oynasana.com
    www.oynasana.com is an alias for oynasana.com.
    oynasana.com has address 212.109.99.154
    -----------------------------------------------------------------------------------------------------------------------------

    -----------------------------------------------------------------------------------------------------------------------------
    ping 212.109.99.154
    PING 212.109.99.154 (212.109.99.154) 56(84) bytes of data.
    64 bytes from 212.109.99.154: icmp_seq=0 ttl=48 time=256 ms
    64 bytes from 212.109.99.154: icmp_seq=1 ttl=48 time=256 ms
    64 bytes from 212.109.99.154: icmp_seq=2 ttl=48 time=256 ms

    --- 212.109.99.154 ping statistics ---
    4 packets transmitted, 3 received, 25% packet loss, time 3005ms
    rtt min/avg/max/mdev = 256.114/256.532/256.791/0.510 ms, pipe 2
    -----------------------------------------------------------------------------------------------------------------------------

    www.oynasana.com is just a randomly picked one out of the list that reported to fail. I have managed to resolve its IP and ping that IP, so something else has to be wrong. Does anybody have any ideas?

  5. #5
    Member
    Join Date
    Feb 2005
    Location
    East Vancouver, BC, Canada
    Posts
    29

    Default Forgot to mention

    I also followed this advice:

    rm -rf ~/.cpmysqlrpm
    make sure your resolv.conf is correct
    /scripts/mysqlup

    ... It started everything again from scratch but I ran into the same problem then when I did it through the WHM.

  6. #6
    Member
    Join Date
    Feb 2005
    Location
    East Vancouver, BC, Canada
    Posts
    29

    Default

    As I suspected the 25% packet loss was a temporary glitch:

    I ran the ping again for longer:

    --- 212.109.99.154 ping statistics ---
    41 packets transmitted, 41 received, 0% packet loss, time 40051ms
    rtt min/avg/max/mdev = 250.512/255.779/258.097/1.776 ms, pipe 2

  7. #7
    Member
    Join Date
    Feb 2004
    Posts
    105

    Default How safe is it to upgrade MySQL

    please ignore

Similar Threads & Tags
Similar threads

  1. /scripts/mysqlup errors
    By jefferyw18 in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 07-24-2009, 11:17 AM
  2. /scripts/mysqlup (mysql 4.1 to 5.0 on freebsd)
    By akrzystek in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 07-24-2009, 05:18 AM
  3. Question about /scripts/mysqlup
    By XMBG-Host in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 11-12-2007, 10:47 AM
  4. arghh!! /scripts/mysqlup failed :(
    By simonpearce in forum cPanel and WHM Discussions
    Replies: 6
    Last Post: 07-08-2006, 05:32 AM
  5. /scripts/mysqlup
    By wills in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 09-06-2005, 02:25 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube