Solved

Unknown host after hostname change

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

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Squid Connection Pools 3 68
Linux : taking backup different mount points under the same directory 8 69
nagios alerts 3 46
maybe no no httpd.conf 6 47
Using 'screen' for session sharing, The Simple Edition Step 1: user starts session with command: screen Step 2: other user (logged in with same user account) connects with command: screen -x Done. Both users are connected to the same CLI sessio…
The purpose of this article is to demonstrate how we can use conditional statements using Python.
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…
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.

778 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