I have an old EC2 instance with RedHat 6.5 installed. When I want to yum check-update, it show following error:

$ yum check-update
Loaded plugins: amazon-id, rhui-lb, security
Could not contact CDS load balancer rhui2-cds01.ap-northeast-1.aws.ce.redhat.com, trying others.

Could not contact any CDS load balancers: rhui2-cds01.ap-northeast-1.aws.ce.redhat.com, rhui2-cds02.ap-northeast-1.aws.ce.redhat.com.

I am able to connect other website, so I assume it is not due to network issue.

Does anyone has know how to solve this issue ?

(all commands are executed using root)


It turns out that it was an issue when updating nss-softokn-3.14.3-19.el6_6, this is one of the symptoms.

The issue has been reported, and you can find a fix for broken yum/rpm in comment#5 : https://bugzilla.redhat.com/show_bug.cgi?id=1182337

Here is an article about this issue: http://www.ripegroup.com/issues-with-updates-on-centos6-nss-softokn-freebl/

Here are MY steps to fix broken yum/rpm according to links above

First create an temporary folder

$ mkdir my_tmp/
$ cd my_tmp/

Download a sutiable nss-softokn-freebl rpm from trusted mirror

$ wget <your trusted mirror>/nss-softokn-freebl-3.14.3-19.el6_6.x86_64.rpm

Extract RPM

$ rpm2cpio nss-softokn-freebl-3.14.3-19.el6_6.x86_64.rpm | cpio -idmv

Copy extracted library files

$ sudo cp ./lib64/libfreeblpriv3.* /lib64

After this, yum/rpm start to work again for me.

Watch out for difference between 32bit/64bit os, I cannot guarantee it is the correct way to fix it, so use it at your own risk

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.