Solved

Unknown host after hostname change

Posted on 2014-09-30
3
258 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
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

Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
add a 1000 ms delay after each sending email operation 12 70
Sendmail STARTTLS error 37 79
AWS CLI - Issue with name display 2 50
php ssh2_scp_send 1 48
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.…
I. Introduction There's an interesting discussion going on now in an Experts Exchange Group — Attachments with no extension (http://www.experts-exchange.com/discussions/210281/Attachments-with-no-extension.html). This reminded me of questions tha…
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.

910 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

21 Experts available now in Live!

Get 1:1 Help Now