My 2 cents..

I think its the precedence the host file takes.  As long as the system resolves 
the host entries, there would not be any issue.

# This would work fine.
127.0.0.1    localhost.localdomain    localhost    dbserver
#

And there is a config in the Listener.ora file which listens on Host/Port. 
Would you please give a try on this config section... 

Please post a compile of ur work around, :)

~Srinivas


----- Original Message ----
From: santosh kumar <[EMAIL PROTECTED]>
To: [email protected]
Sent: Thursday, 7 February, 2008 11:19:33 PM
Subject: Re: [TwinCLinG] Host file - doubt

I think the issue is with the /etc/hosts files itself.

127.0.0.1 localhost.localdoma in dbserver

this is how its should be saying the alias for the
localhost.localdoma inshould be dbserver.

not

127.0.0.1 localhost.localdoma in localhost dbserver

do check once and try again.

cheers,
santosh

On Feb 8, 2008 10:13 AM, mathewcos <[EMAIL PROTECTED] com> wrote:

> Hi,
>
> Thank you for the replay.
> [EMAIL PROTECTED] ~]# hostname
> dbserver
> [EMAIL PROTECTED] ~]# cat /etc/sysconfig/ network
> NETWORKING=yes
> HOSTNAME=dbserver
> GATEWAY=192. 168.107.253
> [EMAIL PROTECTED] ~]#
>
> No other information is added to host file.
>
> Regards,
> Mathew
>
> --- In [EMAIL PROTECTED] .com <ilughyd%40yahoogro ups.com>, "M.R.
> Niranjan" <[EMAIL PROTECTED] ..> wrote:
> >
> >
> >
> > mathewcos <[EMAIL PROTECTED] ..> wrote: Hi,
>
> >
> > I am working in Redhat Linux AS 4.
> > IP Adress assigned at the time of installation is 192.168.107. 211
> >
> > My host file is like this.
> >
> > #cat /ect/hosts
> >
> > # Do not remove the following line, or various programs
> > # that require network functionality will fail.
> > 127.0.0.1 localhost.localdoma in localhost dbserver
> >
> > I installed Oracle10g in this machine.
> >
> > The following information I can viw after installation on oracle
> > enterprise management console.
> >
> > Status Up
> > Up Since Feb 7, 2008 6:39:01 PM IST
> > Availability (%) 36
> >
> > ( Last 24 hours )
> >
> > Instance Name OEMREP
> > Version 10.2.0.1.0
> > Read Only No
> > Oracle Home /home/app/oracle10g db/product/ 10.2.0/db_ 1
> > Host localhost.localdoma in
> > Listener
> >
> > Why hostname is displayed as 'localhost.localdom ain ' instead
> > of 'dbserver'?
> >
> > what is hostname set ?
> > #hostname
> > Is the output of hostname command and
> >
> > "HOSTNAME" in /etc/sysconfig/ network
> > same ?
> >
> >
> > Any other information i have to add in host file?
> >
> > Please help me to solve this.
> >
> >
> >
> >
> >
> >
> > ------------ --------- --------- ---
> > Looking for last minute shopping deals? Find them fast with Yahoo!
> Search.
> >
> > [Non-text portions of this message have been removed]
> >
>
> 
>

-- 
D. Santosh Kumar
RedHat Certified Engineer
ph:9866501988
Email-Rhce.san@ gmail.com

Success does not come to you, you got to get it.

[Non-text portions of this message have been removed]





      __________________________________________________________
Sent from Yahoo! Mail - a smarter inbox http://uk.mail.yahoo.com


[Non-text portions of this message have been removed]

Reply via email to