Solved

RedHat 5.8 Yum Repo "Authorization Required)

Posted on 2014-04-03
4
867 Views
Last Modified: 2014-11-12
Hi all,

I have a few RedHat 5.8 machines that all of a sudden cannot update through yum.  I get
Error: 401 Authorization required

It's as if the machine is not registered with RHN or missing the key?

These instances are hosted in AWS so I'm not sure what's going on.

Any ideas?
0
Comment
Question by:lconnell
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
4 Comments
 
LVL 25

Accepted Solution

by:
Zephyr ICT earned 167 total points
ID: 39977202
I have no idea ... There seems to be other people that had/have the same issue with RH AWS EC2 and VPC instances ... No solutions though.

Did you try some things? Like:

"yum clean all"

What does "yum -v update" show?

I assume you checked that you can actually access the internet and more specifically https?

The few articles I came accross mentioned that it could be instance/vpc related.... Again, no real solutions.

There's this official RH article though, did you check this already?
0
 
LVL 62

Assisted Solution

by:gheist
gheist earned 167 total points
ID: 39979257
It means that subsription-manager does not have subscription active
Go to rhn and check if you have subscription
If yes run subscription-manager and re-subscribe to channels
0
 
LVL 21

Assisted Solution

by:Mazdajai
Mazdajai earned 166 total points
ID: 39979461
Can you post the following?

rhncheck -v
/var/log/up2date

Open in new window

0
 

Author Comment

by:lconnell
ID: 40001848
I ended up having to copy RHN keys from a working system to this troubled one. This is an AMI so I couldn't re-subscribe to RHN.
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Cloud-based technologies and services will continue to grow in popularity in 2017 thanks to the simple, scalable and cost-effective solutions they deliver. Here are three areas where cloud adoption is poised to really take off.
When speed and performance are vital to revenue, companies must have complete confidence in their cloud environment.
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:

696 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question