Solved

Unknown host after hostname change

Posted on 2014-09-30
3
254 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
  • 2
3 Comments
 
LVL 4

Accepted Solution

by:
mbertl earned 500 total points
Comment Utility
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
Comment Utility
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
Comment Utility
I found the hosts file and it missing the entry.  Thank you for pointing this out.
0

Featured Post

What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

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.…
SSH (Secure Shell) - Tips and Tricks As you all know SSH(Secure Shell) is a network protocol, which we use to access/transfer files securely between two networked devices. SSH was actually designed as a replacement for insecure protocols that sen…
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…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

763 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

10 Experts available now in Live!

Get 1:1 Help Now