?
Solved

Red Hat Linux Fails To Register - What to do?

Posted on 2014-09-09
3
Medium Priority
?
2,044 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
[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
  • 2
3 Comments
 
LVL 35

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

U.S. Department of Agriculture and Acronis Access

With the new era of mobile computing, smartphones and tablets, wireless communications and cloud services, the USDA sought to take advantage of a mobilized workforce and the blurring lines between personal and corporate computing resources.

Question has a verified solution.

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

Network Interface Card (NIC) bonding, also known as link aggregation, NIC teaming and trunking, is an important concept to understand and implement in any environment where high availability is of concern. Using this feature, a server administrator …
rdate is a Linux command and the network time protocol for immediate date and time setup from another machine. The clocks are synchronized by entering rdate with the -s switch (command without switch just checks the time but does not set anything). …
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…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial
Suggested Courses
Course of the Month9 days, 3 hours left to enroll

764 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