Call now: 252-767-6166  
Oracle Training Oracle Support Development Oracle Apps

 
 Home
 E-mail Us
 Oracle Articles


 Oracle Training
 Oracle Tips

 Oracle Forum
 Class Catalog


 Remote DBA
 Oracle Tuning
 Emergency 911
 RAC Support
 Apps Support
 Analysis
 Design
 Implementation
 Oracle Support


 SQL Tuning
 Security

 Oracle UNIX
 Oracle Linux
 Monitoring
 Remote s
upport
 Remote plans
 Remote
services
 Application Server

 Applications
 Oracle Forms
 Oracle Portal
 App Upgrades
 SQL Server
 Oracle Concepts
 Software Support

 Remote S
upport  
 Development  

 Implementation


 Consulting Staff
 Consulting Prices
 Help Wanted!

 


 Oracle Posters
 Oracle Books

 Oracle Scripts
 Ion
 Excel-DB  

Don Burleson Blog 


 

 

 


 

 

 

 
 

ORA-02085: database link string connect to string tips

Oracle Error Tips by Burleson Consulting (S. Karam)

 

The Oracle docs note this on the ora-02085 error:

 

ORA-02085: database link string connects to string
 
Cause: a database link connected to a database with a different name. The connection is rejected.
 

Action: create a database link with the same name as the database it connects to, or set global_names=false.

MOSC documentation offers some advice on "ORA-02085 errors when accessing Oracle Rdb by database link" with SQL*Net for Rdb 7.1.5 with Oracle 8.1.6.0.0; Operating system AlphaVMS 7.2-1
In the document, ORA-02085 occurs upon attempting to access Oracle Rdb through the datbase link:


SVRMGR> create public database link OCI_715
2> connect to sqluser71 identified by my_secret
3> using 'PAWLEY';
Statement processed.
SVRMGR> exit
Server Manager complete.


$ sqlplus sqluser71/my_secret

SQL*Plus: Release 8.1.6.0.0 - Production on Fri Aug 31 08:38:40 2001

(c) Copyright 1999 Oracle Corporation. All rights reserved.


Connected to:
Oracle8i Enterprise Edition Release 8.1.6.0.0 - Production
With the Partitioning option
JServer Release 8.1.6.0.0 - Production

SQL> select * from dual@OCI_715;
select * from dual@OCI_715
*

ERROR at line 1:
ORA-02085: database link OCI_715.US.ORACLE.COM connects to .WORLD

The solution and brief explanation of why ORA-02085 is thrown is also shown on the documentation:

By default SQL*Net for Rdb expects the domain name to be .WORLD.
If the TNSNAMES.ORA alias name is something other than .WORLD
then define the following system logical on the system where
SQL*Net for Rdb is configured:


$ define/system SQLNET_DOMAIN "the_domain_name"

For example, if the TNSNAMES.ORA alias is RDB.US.ORACLE.COM then:

$ define/system SQLNET_DOMAIN "US.ORACLE.COM"

Stop and start the OCI service.


 

 

Burleson is the American Team

Note: This Oracle documentation was created as a support and Oracle training reference for use by our DBA performance tuning consulting professionals.  Feel free to ask questions on our Oracle forum.

Verify experience! Anyone considering using the services of an Oracle support expert should independently investigate their credentials and experience, and not rely on advertisements and self-proclaimed expertise. All legitimate Oracle experts publish their Oracle qualifications.

Errata?  Oracle technology is changing and we strive to update our BC Oracle support information.  If you find an error or have a suggestion for improving our content, we would appreciate your feedback.  Just  e-mail:  and include the URL for the page.


                    









Burleson Consulting

The Oracle of Database Support

Oracle Performance Tuning

Remote DBA Services


 

Copyright ? 1996 -  2014

All rights reserved by Burleson

Oracle ? is the registered trademark of Oracle Corporation.


 

??
 
  
 
 
 

 
 
 

Oracle training Excel
 
Oracle performance tuning software