Solved

RedHat 5.8 Yum Repo "Authorization Required)

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

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

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

Suggested Solutions

Join Greg Farro and Ethan Banks from Packet Pushers (http://packetpushers.net/podcast/podcasts/pq-show-93-smart-network-monitoring-paessler-sponsored/) and Greg Ross from Paessler (https://www.paessler.com/prtg) for a discussion about smart network …
Or at least that’s the word according to a new blog from Tech Target on AWS’s new Managed Services (MS) offering. According to the blog, AWS is launching their AWS MS program to expedite the adoption of cloud by Fortune 1000 and Global 2000 companie…
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 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…

821 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