Solved

Unknown host after hostname change

Posted on 2014-09-30
3
313 Views
Last Modified: 2014-09-30
I recently replicated a Red Hat 6.5 vm server to a new vm.  After changing the hostname and restarting I tried to ping it by the new name but receive an error "unknown host oral11g2"  If I ping the old hostname, ora11g1, it resolves to 127.0.0.1.  I am not at all familiar with Linux OS so I was hoping someone could point out what the issue is.  I changed the name by using system-config-network.

After reboot, the server shows the new name change but cannot ping it.
0
Comment
Question by:NytroZ
[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 4

Accepted Solution

by:
mbertl earned 500 total points
ID: 40352286
Did you add your new hostname entry to your DNS? If not, how would your system know, how to resolve that hostname?
0
 

Author Comment

by:NytroZ
ID: 40352571
Is there a local entry in the Red Hat OS that I need to add the new hostname to?  If so, where is at?
0
 

Author Closing Comment

by:NytroZ
ID: 40352575
I found the hosts file and it missing the entry.  Thank you for pointing this out.
0

Featured Post

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

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

Suggested Solutions

This is the error message I got (CODE) Error caused by incompatible libmp3lame 3.98-2 with ffmpeg I've googled this error message and found out sometimes it attaches this note "can be treated with downgrade libmp3lame to version 3.97 or 3.98" …
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 …
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial

737 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