Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 5 of 5
  1. #1
    dkz
    dkz is offline
    Member
    Join Date
    Sep 2004
    Posts
    100

    Question CentOs Doesn't Update Automaticly...

    Hello,

    When cPanel does it's automatic updates, centos won't update. It shows the error below. It looks like that mirror is down for good because this has been a problem for a while. Does anybody have a suggestion to fix it? Also, I turned off automatic updates but it keeps updating every nite by it self. I turned it off in WHM.

    Code:
    retrygrab() failed for:
      http://mirror.aelix.com/pub/cAos/centos-3/3.3/os/i386/headers/header.info
      Executing failover method
    failover: out of servers to try
    Error getting file http://mirror.aelix.com/pub/cAos/centos-3/3.3/os/i386/headers/header.info
    [Errno 4] IOError: <urlopen error >
    Gathering header information file(s) from server(s)
    Server: Centos-3 3.3 - i386 - Base
    Testing connection speed...(this could take a while)....Done
    Three usable mirrors located
    Mirror Check passed for ftp.sedl.org
    retrygrab() failed for:
      http://mirror.aelix.com/pub/cAos/centos-3/3.3/os/i386/headers/header.info
      Executing failover method
    failover: out of servers to try
    Error getting file http://mirror.aelix.com/pub/cAos/centos-3/3.3/os/i386/headers/header.info
    [Errno 4] IOError: <urlopen error >
    Gathering header information file(s) from server(s)
    Server: Centos-3 3.3 - i386 - Base
    Thanks for the help!

  2. #2
    Member
    Join Date
    Dec 2001
    Posts
    1,558

    Default

    Check your yum.conf and update your mirrors, i believe the one your using is no longer available. A list of mirrors can be found here:
    http://www.centos.org/modules/tinyco...ndex.php?id=13

    Here's an example of one off of one of our servers:

    Code:
    [main]
    exclude=mod_ssl* httpd* perl mysql* php*
    cachedir=/var/cache/yum
    debuglevel=2
    logfile=/var/log/yum.log
    pkgpolicy=newest
    distroverpkg=redhat-release
    installonlypkgs=kernel kernel-smp kernel-hugemem kernel-enterprise kernel-debug kernel-unsupported kernel-smp-unsupported kernel-hugemem-unsupported
    tolerant=1
    exactarch=1
    
    [base]
    name=CentOS-$releasever - Base
    baseurl=http://acmserver.cs.ucr.edu/centos/centos/$releasever/os/$basearch/
            http://caos.oregonstate.edu/centos/$releasever/os/$basearch/
            http://sunsite.utk.edu/ftp/pub/linux/caos/centos/$releasever/os/$basearch/
    
    #released updates
    [update]
    name=CentOS-$releasever - Updates
    baseurl=http://acmserver.cs.ucr.edu/centos/centos/$releasever/updates/$basearch/
            http://caos.oregonstate.edu/centos/$releasever/updates/$basearch/
            http://sunsite.utk.edu/ftp/pub/linux/caos/centos/$releasever/updates/$basearch/
    
    #packages used/produced in the build but not released
    [addons]
    name=CentOS-$releasever - Addons
    baseurl=http://acmserver.cs.ucr.edu/centos/centos/$releasever/addons/$basearch/
            http://caos.oregonstate.edu/centos/$releasever/addons/$basearch/
            http://sunsite.utk.edu/ftp/pub/linux/caos/centos/$releasever/addons/$basearch/
    
    #additional packages that may be useful
    [extras]
    name=CentOS-$releasever - Extras
    baseurl=http://acmserver.cs.ucr.edu/centos/centos/$releasever/extras/$basearch/
            http://caos.oregonstate.edu/centos/$releasever/extras/$basearch/
            http://sunsite.utk.edu/ftp/pub/linux/caos/centos/$releasever/extras/$basearch/
    Comes in handy to have a couple mirrors at least for a fallback.
    Beau Henderson

  3. #3
    dkz
    dkz is offline
    Member
    Join Date
    Sep 2004
    Posts
    100

    Default

    That was just what I needed! Thanks!

  4. #4
    Member chican0's Avatar
    Join Date
    Mar 2003
    Location
    Los Angeles
    Posts
    59

    Default

    Great info... thanks...

  5. #5
    Member
    Join Date
    Jan 2005
    Location
    Orange County
    Posts
    10

    Thumbs up

    Yes thanks for the great info
    Your Web Hosting Solutions
    ServerPacket
    Aim: taihnd

Similar Threads & Tags
Similar threads

  1. MySQL update hangs on update on Centos 5.2
    By pshaddock in forum cPanel and WHM Discussions
    Replies: 4
    Last Post: 07-24-2009, 11:17 AM
  2. Centos - Yum Update -Y
    By offline in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 09-16-2008, 01:03 PM
  3. Update CentOS 3.5 > CentOS 4
    By jojoyohan in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 06-18-2005, 08:30 PM
  4. Update on centos v4
    By dave9000 in forum cPanel and WHM Discussions
    Replies: 4
    Last Post: 03-26-2005, 09:08 AM
  5. MySQL Update to 4.1 on Centos
    By rodstewart in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 03-22-2005, 08:54 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube