Red Hat Linux Fails To Register - What to do?

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! :-)
waltforbesSenior IT SpecialistAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Seth SimmonsSr. Systems AdministratorCommented:
can you ping www.google.com ?
if not, you have dns error; fix that and registration should work
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
waltforbesSenior IT SpecialistAuthor Commented:
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
waltforbesSenior IT SpecialistAuthor Commented:
Exactly the insight I needed!
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Linux

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.