The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

CentOs Doesn't Update Automaticly...

Discussion in 'General Discussion' started by dkz, Jan 12, 2005.

  1. dkz

    dkz Well-Known Member

    Joined:
    Sep 10, 2004
    Messages:
    100
    Likes Received:
    0
    Trophy Points:
    16
    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. haze

    haze Well-Known Member

    Joined:
    Dec 21, 2001
    Messages:
    1,550
    Likes Received:
    3
    Trophy Points:
    38
    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/tinycontent/index.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.
     
  3. dkz

    dkz Well-Known Member

    Joined:
    Sep 10, 2004
    Messages:
    100
    Likes Received:
    0
    Trophy Points:
    16
    That was just what I needed! Thanks!
     
  4. chican0

    chican0 Well-Known Member

    Joined:
    Mar 26, 2003
    Messages:
    59
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Los Angeles
    Great info... thanks...
     
  5. taihnd

    taihnd Member

    Joined:
    Jan 19, 2005
    Messages:
    10
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Orange County
    Yes thanks for the great info
     
Loading...

Share This Page