Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Mailing Lists -> Oracle-L -> Re: confused about SID and SERVICE_NAME in tnsnames.ora
Hi!
Check from "non-working" server what lsnrctl services says. Is this service
registered?
If is, check servers listener log, if nothing foud from there, turn on
sqlnet tracing in admin level & see what you got in tracefile.
Tanel.
> Avnish,
>
> I have both of these parameters defined in each
> of the two databases. Yet, service_name only works
> on one.
>
> Gene
> --- Avnish.Rastogi_at_providence.org wrote:
> > To use service_name, make sure that you have defined
> > local_listener and service_name in init.ora file.
> >
> > -----Original Message-----
> > Sent: Thursday, September 18, 2003 10:55 AM
> > To: Multiple recipients of list ORACLE-L
> >
> >
> > hi all.
> >
> > i have two databases running oracle 817 on different
> > machines (AIX 4.3). I am trying to connect to these
> > databases remotely from my desktop. when I use the
> > "SERVICE_NAME = " in the connect_id for one of the
> > databases, I get ora 12500 error. When I replace it
> > with "SID=" everything works fine. For another
> > database, SERVICE_NAME works every time. I looked
> > and
> > both databases and couldn't see anything to explain
> > this . Can someone shed some light onto this. My
> > Oracle client is 9201.
> >
> > thanks
> >
> > gene
> >
> > __________________________________
> > Do you Yahoo!?
> > Yahoo! SiteBuilder - Free, easy-to-use web site
> > design software
> > http://sitebuilder.yahoo.com
> > --
> > Please see the official ORACLE-L FAQ:
> > http://www.orafaq.net
> > --
> > Author: Gene Gurevich
> > INET: gurelei_at_yahoo.com
> >
> > Fat City Network Services -- 858-538-5051
> > http://www.fatcity.com
> > San Diego, California -- Mailing list and web
> > hosting services
> >
> ---------------------------------------------------------------------
> > To REMOVE yourself from this mailing list, send an
> > E-Mail message
> > to: ListGuru_at_fatcity.com (note EXACT spelling of
> > 'ListGuru') and in
> > the message BODY, include a line containing: UNSUB
> > ORACLE-L
> > (or the name of mailing list you want to be removed
> > from). You may
> > also send the HELP command for other information
> > (like subscribing).
> >
> >
> > DISCLAIMER:
> > This message is intended for the sole use of the
> > individual to whom it is addressed, and may contain
> > information that is privileged, confidential and
> > exempt from disclosure under applicable law. If you
> > are not the addressee you are hereby notified that
> > you may not use, copy, disclose, or distribute to
> > anyone the message or any information contained in
> > the message. If you have received this message in
> > error, please immediately advise the sender by reply
> > email and delete this message.
> > --
> > Please see the official ORACLE-L FAQ:
> > http://www.orafaq.net
> > --
> > Author: <Avnish.Rastogi_at_providence.org
> > INET: Avnish.Rastogi_at_providence.org
> >
> > Fat City Network Services -- 858-538-5051
> > http://www.fatcity.com
> > San Diego, California -- Mailing list and web
> > hosting services
> >
> ---------------------------------------------------------------------
> > To REMOVE yourself from this mailing list, send an
> > E-Mail message
> > to: ListGuru_at_fatcity.com (note EXACT spelling of
> > 'ListGuru') and in
> > the message BODY, include a line containing: UNSUB
> > ORACLE-L
> > (or the name of mailing list you want to be removed
> > from). You may
> > also send the HELP command for other information
> > (like subscribing).
>
>
> __________________________________
> Do you Yahoo!?
> Yahoo! SiteBuilder - Free, easy-to-use web site design software
> http://sitebuilder.yahoo.com
> --
> Please see the official ORACLE-L FAQ: http://www.orafaq.net
> --
> Author: Gene Gurevich
> INET: gurelei_at_yahoo.com
>
> Fat City Network Services -- 858-538-5051 http://www.fatcity.com
> San Diego, California -- Mailing list and web hosting services
> ---------------------------------------------------------------------
> To REMOVE yourself from this mailing list, send an E-Mail message
> to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in
> the message BODY, include a line containing: UNSUB ORACLE-L
> (or the name of mailing list you want to be removed from). You may
> also send the HELP command for other information (like subscribing).
>
-- Please see the official ORACLE-L FAQ: http://www.orafaq.net -- Author: Tanel Poder INET: tanel.poder.003_at_mail.ee Fat City Network Services -- 858-538-5051 http://www.fatcity.com San Diego, California -- Mailing list and web hosting services --------------------------------------------------------------------- To REMOVE yourself from this mailing list, send an E-Mail message to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing).Received on Thu Sep 18 2003 - 16:09:49 CDT