Database Link Problem in 9i

In this forum you can share stuff related to Oracle 11g, 10g, 9i.
Post Reply
zeenat khan
Posts: 35
Joined: Wed Apr 04, 2007 4:15 am
Location: Pakistan

Database Link Problem in 9i

Post by zeenat khan »

I have created a database link from one database to another (for instance,
DB link from DB1 to DB2 and then from DB2 to DB1). This is in Oracle 9i. I am able to access data from DB1 to DB2. But when I try from DB2 to DB1, I am getting the error "ORA-12505: TNS Could not resolve SID given in connect descriptor."

I have checked the tnsnames.ora in the system and entries according to documentation.
ahmadbilal
Posts: 615
Joined: Mon Sep 18, 2006 1:32 am
Location: United Arab Emirates
Contact:

Post by ahmadbilal »

The ORA-12505 error simply means that the ORACLE_SID in your TNS alias does not match with ORACLE_SID defined for the database listener.
You will have to make sure your TNS alias matches the one defined in the listener's LISTENER.ORA configuration file.

I have created a database link from one database to another (for instance,
DB link from DB1 to DB2 and then from DB2 to DB1). This is in Oracle 9i. I am able to access data from DB1 to DB2. But when I try from DB2 to DB1, I am getting the error "ORA-12505: TNS Could not resolve SID given in connect descriptor."

I have checked the tnsnames.ora in the system and entries according to documentation.

<i><div align="right">Originally posted by zeenat khan - 10/05/2007 : 10:54:43 PM</div id="right"></i>
2jliu
Posts: 4
Joined: Thu Apr 19, 2007 2:55 am
Location: China

Post by 2jliu »

and others clinet also too? maybe focus your server
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest