dimanche 1 mars 2015

Yum repositories aren't working. I'm using RedHat and AWS. What is going on?

When I try to install something via yum (e.g., yum install java), I get the following:


Could not contact CDS load balancer rhui2-cds01.us-west-2.aws.ce.redhat.com, trying others.


Could not contact any CDS load balancers: rhui2-cds01.us-west-2.aws.ce.redhat.com, rhui2-cds02.us-west-2.aws.ce.redhat.com.


Is this problem specific to AWS or RedHat? How often do outages like this happen? I am not a RedHat subscriber. I am curious if they are having Sunday evening maintenance or if there is a network or firewall issue. Earlier today I installed various yum packages. This evening I tried several, but none worked.





2 commentaires:

  1. Comment out the proxy line and try again

    [root@]# cat /etc/yum.conf
    [main]
    #proxy=http://proxy:8080
    cachedir=/var/cache/yum/$basearch/$releasever
    keepcache=0
    debuglevel=2
    logfile=/var/log/yum.log
    exactarch=1
    obsoletes=1
    gpgcheck=1
    plugins=1
    installonly_limit=3

    # This is the default, if you make this bigger yum won't see if the metadata
    # is newer on the remote and so you'll "gain" the bandwidth of not having to
    # download the new metadata and "pay" for it by yum not having correct
    # information.
    # It is esp. important, to have correct metadata, for distributions like
    # Fedora which don't keep old packages around. If you don't like this checking
    # interupting your command line usage, it's much better to have something
    # manually check the metadata once an hour (yum-updatesd will do this).
    # metadata_expire=90m

    # PUT YOUR REPOS HERE OR IN separate files named file.repo
    # in /etc/yum.repos.d

    RépondreSupprimer