Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

For some reason yum has stopped working in my Amazon EC2 instance, located in the EU West sector. There seems to be something wrong with the path of the repo metadata, is this correct? I would be very grateful for any help, as my experience in this field is somewhat limited.

cat /etc/redhat-release:

Red Hat Enterprise Linux Server release 6.2 (Santiago)

yum repolist:

Loaded plugins: amazon-id, rhui-lb, security
https://rhui2-cds01.eu-west-1.aws.ce.redhat.com/pulp/repos//rhui-client-config/rhel/server/6/x86_64/os/repodata/repomd.xml: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 401"
Trying other mirror.
https://rhui2-cds02.eu-west-1.aws.ce.redhat.com/pulp/repos//rhui-client-config/rhel/server/6/x86_64/os/repodata/repomd.xml: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 401"
Trying other mirror.
repo id                                                                     repo name                                                                                       status
rhui-eu-west-1-client-config-server-6                                       Red Hat Update Infrastructure 2.0 Client Configuration Server 6                                 0
rhui-eu-west-1-rhel-server-releases                                         Red Hat Enterprise Linux Server 6 (RPMs)                                                        0
rhui-eu-west-1-rhel-server-releases-optional                                Red Hat Enterprise Linux Server 6 Optional (RPMs)                                               0
repolist: 0

yum update: (I needed to remove the base URLs below because of ServerFault's restrictions for new users)

Loaded plugins: amazon-id, rhui-lb, security
[same as base url 1 above]/pulp/repos//rhui-client-config/rhel/server/6/x86_64/os/repodata/repomd.xml: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 401"
Trying other mirror.
[same as base url 2 above]/pulp/repos//rhui-client-config/rhel/server/6/x86_64/os/repodata/repomd.xml: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 401"
Trying other mirror.
Error: Cannot retrieve repository metadata (repomd.xml) for repository: rhui-eu-west-1-client-config-server-6. Please verify its path and try again
share|improve this question
add comment

2 Answers

Have a look at this https://forums.aws.amazon.com/message.jspa?messageID=389303

It appears that you have the same problem. The issue on AWS forum is not resolved yet but I hope it will aid your understanding of the problem.

share|improve this answer
add comment

Trying running:

   yum clean all

   rhn_check -vv
share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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