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

Home -> Community -> Usenet -> c.d.o.server -> database link - error ORA-02085 problem

database link - error ORA-02085 problem

From: Peter Urka <pcu_at_vnp.com>
Date: 2000/03/29
Message-ID: <38E26E7D.89A65A4C@vnp.com>#1/1

Hello,

I am attempting to create a database link between a production db and another, in order to replicate the production db via snapshots.

I run across a problem which appears to be how Oracle resolves the remote connection. I am not creating a "ORACLE.VNP.COM" connection, but an "ORACLE" connection, and Oracle8i appears to expect those to be the same.

Thank you so much if you have advice and help on this particular subject.

regards,
Peter Urka <pcu_at_vnp.com>
VNP Software

The production db is 'oracle' on machine 'pr.vnp.com'. The replicate db is 'backup' on machine 'life.vnp.com'. The user and password is the same on both machines (for access to table AdTable).
This is under Oracle8i, Windows 2000 platform.

Database link created.

ERROR at line 1:
ORA-02085: database link ORACLE.VNP.COM connects to ORACLE

BACKUP.VNP.COM =
  (DESCRIPTION =
    (ADDRESS_LIST =
      (ADDRESS = (PROTOCOL = TCP)(HOST = LIFE)(PORT = 1521))     )
    (CONNECT_DATA =
      (SERVICE_NAME = backup)
    )
  )

PR.VNP.COM =
  (DESCRIPTION =
    (ADDRESS_LIST =
      (ADDRESS = (PROTOCOL = TCP)(HOST = PR)(PORT = 1521))     )
    (CONNECT_DATA =
      (SERVICE_NAME = oracle)
    )
  )

# commented out by me
# NAMES.DEFAULT_DOMAIN = VNP.COM
SQLNET.AUTHENTICATION_SERVICES= (NTS) Received on Wed Mar 29 2000 - 00:00:00 CST

Original text of this message

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