Solved

Red Hat Linux Fails To Register - What to do?

Posted on 2014-09-09
3
1,893 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 500 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

Secure Your WordPress Site: 5 Essential Approaches

WordPress is the web's most popular CMS, but its dominance also makes it a target for attackers. Our eBook will show you how to:

Prevent costly exploits of core and plugin vulnerabilities
Repel automated attacks
Lock down your dashboard, secure your code, and protect your users

Question has a verified solution.

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

The purpose of this article is to demonstrate how we can use conditional statements using Python.
It’s 2016. Password authentication should be dead — or at least close to dying. But, unfortunately, it has not traversed Quagga stage yet. Using password authentication is like laundering hotel guest linens with a washboard — it’s Passé.
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…

728 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