Solved

Red Hat Linux Fails To Register - What to do?

Posted on 2014-09-09
3
1,546 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 34

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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

I am a long time windows user and for me it is normal to have spaces in directory and file names. Changing to Linux I found myself frustrated when I moved my windows data over to my new Linux computer. The problem occurs when at the command line.…
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 …
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…
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.

760 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

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now