Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.misc -> Re: Newbies - How can I reference to a table using a synonyms via dblink to a remote server ?
Pardon the piggyback, but I've a variant of this problem. My link and
synonyms appear okay, but I raise the following as I attempt to use a
view in a remote database.
SQL desc glc_detail_data_extract;
ERROR:
ORA-12211: TNS:needs PREFERRED_CMANAGERS entry in TNSNAV.ORA
I'm not clear at this point if that's required on the database host or
the
client. The sample given by Oracle, however, reads as follows. I do
have ONS up for my subdomain's objects; what am I doing messing with
TNS?
################ # Filename......: tnsnav.ora # Client Profile: tcp.us.oracle.com
################
(CMANAGER_NAME = INTCHG_1.us.oracle.com) (ADDRESS =
(COMMUNITY = tcp.us.oracle.com)
(PROTOCOL = TCP)
(Host = SpxTcp.us.oracle.com)
(Port = 1521)
)
(CMANAGER_NAME = INTCHG_2.us.oracle.com) (ADDRESS =
(COMMUNITY = tcp.us.oracle.com)
(PROTOCOL = TCP)
(Host = TcpDecnet.us.oracle.com)
(Port = 1521)
)