Solved

RedHat 5.8 Yum Repo "Authorization Required)

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

Backup Your Microsoft Windows Server®

Backup all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

Question has a verified solution.

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

There is no doubt that cloud is gaining importance. Many of you must have read about this technology and its growing importance. More and more organisations are embracing this technology not forgetting start-ups. The process begins by dipping …
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.
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
Internet Business Fax to Email Made Easy - With  eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, f…

776 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