Solved

RedHat 5.8 Yum Repo "Authorization Required)

Posted on 2014-04-03
4
790 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
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 61

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

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Moving your enterprise fax infrastructure from in-house fax machines and servers to the cloud makes sense — from both an efficiency and productivity standpoint. But does migrating to a cloud fax solution mean you will no longer be able to send or re…
Is your company's data protection keeping pace with virtualization? Here are 7 dynamic ways to adapt to rapid breakthroughs in technology.
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Steps to create a PostgreSQL RDS instance in the Amazon cloud. We will cover some of the default settings and show how to connect to the instance once it is up and running.

708 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now