Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> RE: Resolving dblinks

RE: Resolving dblinks

From: Ruth Gramolini <rgramolini_at_tax.state.vt.us>
Date: Tue, 24 May 2005 11:19:25 -0400
Message-ID: <00a901c56073$f82188e0$8459000a@vttaxnet.tax.state.vt.us>


All databases which you want to access must be in the TNSNAMES.ORA on the host from which the request orginates. Just put an entry into your tnsnames.ora for this database.

HTH,
Ruth

-----Original Message-----
From: oracle-l-bounce_at_freelists.org
[mailto:oracle-l-bounce_at_freelists.org]On Behalf Of Rusnak, George A. (SEC-Lee) CTR
Sent: Tuesday, May 24, 2005 11:08 AM
To: oracle-l_at_freelists.org
Subject: Resolving dblinks

One of our databases was started with TNS_ADMIN set to a directory where there was no TNSNAMES.ORA file. Now, when a remote user starts an Sqlplus session and attempts to use a synonym using a dblink, the result is 'ORA-12154: TNS:could not resolve service name'. When I am logged on the host and start an Sqlplus session and use the same synonym, the query works.

How is the database link resolved when running on the host as opposed to a session started from a remote user????

Thank you in advance !!!

Al Rusnak
Oracle Certified Professional
DBA - Computer Operations

--
http://www.freelists.org/webpage/oracle-l

--
http://www.freelists.org/webpage/oracle-l
Received on Tue May 24 2005 - 11:24:16 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US