Solved

Unknown host after hostname change

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

Simplifying Server Workload Migrations

This use case outlines the migration challenges that organizations face and how the Acronis AnyData Engine supports physical-to-physical (P2P), physical-to-virtual (P2V), virtual to physical (V2P), and cross-virtual (V2V) migration scenarios to address these challenges.

Question has a verified solution.

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

Setting up Secure Ubuntu server on VMware 1.      Insert the Ubuntu Server distribution CD or attach the ISO of the CD which is in the “Datastore”. Note that it is important to install the x64 edition on servers, not the X86 editions. 2.      Power on th…
Fine Tune your automatic Updates for Ubuntu / Debian
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.
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial

724 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