Skip to Main Content

Infrastructure Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Oracle Database Server and Clients: localhost.localdomain with 127.0.0.1 issue

user8860348Aug 30 2013 — edited Sep 3 2013

Folks,

Hello. I installed Oracle Database Server 11gR2 in the Operating System Oracle Linux 5. All clients (NetCA, DBCA, SOL Deveoper, SQL Plus ...) run on Database Server correctly. The listener LISTENER is listening on the Client Tools in Linux successfully.

I also installed Oracle Database 11gR2 Client (SQL Developer, NetMgr, NetCA, sqlplus, ...) in Windows XP. Both Linux and Windows XP are VMs on the top of Host OS Windows 7.

In order for the Client Tools in Windows XP to login into the Database Server in Linux, both Linux and Windows XP need to be configured into a Network. I have configured the 3 machines as below:

Windows 7 IP address : 192.168.196.1

Windows XP IP address : 192.168.196.101

Oracle Linux 5 IP address : 192.168.196.102

The 3 machines can ping each other successfully. Windows XP Oracle Database Client Tools can login into Linux Oracle Database Server successfully.

But some strange network connection issues usually happen. The thing is that when I installed the Operating System Oracle Linux 5, its default host name is "localhost.localdomain" and default IP address is 127.0.0.1. Now, its IP address has been configured as 192.168.196.102 but its host name remain as "localhost.localdomain". The hard-coded relationship "localhost.localdomain and 127.0.0.1" is breaked down and causes problems. I don't know how to give a new hostname for the new IP address 192.168.196.102 in Linux.

My question is:

After change Linux default IP address 127.0.0.1 into 192.168.196.102, how to change its default hostname "localhost.localdomain" into a new hostname ?

 

Thanks in advance.

This post has been answered by EdStevens on Aug 30 2013
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Oct 1 2013
Added on Aug 30 2013
10 comments
4,318 views