Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
?
Solved

Red Hat Linux Fails To Register - What to do?

Posted on 2014-09-09
3
Medium Priority
?
2,372 Views
Last Modified: 2014-09-09
Points of My Scenario:
1. I have an evaluation copy of Red Hat Linux 7.
2. I attempted to register it with the following command:
     "[root@server1 ~]# subscription-manager register --username admin-example --password secret --auto-attach"
3. I am logged in as "root"
4. I repeatedly receive the error: "Network error. Unable to connect to server. Please see /var/log/rhsm/rhsm.log for more information"
5. The text at the end of this file (rhsm.log) reads "socket.getaddrinfo(self.host, self.port, 0, socket.SOCK_STREAM):gaierror: [Errno -2] Name or service not known"
QUESTION: How do I resolve this issue so that I can register my evaluation copy of Red Hat Linux 7?
                     Note that some utilities are not available without registration. I need to register Linux in order to properly study it! :-)
0
Comment
Question by:waltforbes
  • 2
3 Comments
 
LVL 36

Accepted Solution

by:
Seth Simmons earned 2000 total points
ID: 40313631
can you ping www.google.com ?
if not, you have dns error; fix that and registration should work
0
 

Author Comment

by:waltforbes
ID: 40313656
Oh wow, Seth! You're so right. Networking 101!
I'm trying to learn Linux, using Red Hat Server 7. I should have installed 6.5 - because it took me nearly 30 minutes to realize that "ifconfig" is deprecated in RHL 7 in deference to "ip addr".
You have solved the mystery for me - now I only need to figure out how to manage IP settings with "ip addr".
Although I could just install the old ifconfig using "yum install net-tools", YUM will not work until I've registered the eval copy. Chicken-egg thing!

Nonetheless, I shall proceed to award you those points. Many thanks, Seth!
0
 

Author Closing Comment

by:waltforbes
ID: 40313658
Exactly the insight I needed!
0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Question has a verified solution.

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

Introduction We as admins face situation where we need to redirect websites to another. This may be required as a part of an upgrade keeping the old URL but website should be served from new URL. This document would brief you on different ways ca…
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 …
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
Suggested Courses
Course of the Month12 days, 9 hours left to enroll

578 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