Re: How I do from PostgreSQL to Oracle Db Link

From: Ray Stell <stellr(at)cns(dot)vt(dot)edu>
To: ?????? <jwchoi(at)modernlimes(dot)com>
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: How I do from PostgreSQL to Oracle Db Link
Date: 2011-06-06 12:33:16
Message-ID: 20110606123316.GA4391@cns.vt.edu
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

On Sat, Jun 04, 2011 at 10:05:46AM +0900, ?????? wrote:
>
> ERROR: odbclink: unsuccessful SQLConnect call: [S1000] [12514]
>
> [[unixODBC][Oracle][ODBC][Ora]ORA-12514: TNS:listener does not currently
> know of service requested in connect descripto
>

$ oerr ora 12514
12514, 00000, "TNS:listener does not currently know of service requested in connect descriptor"
// *Cause: The listener received a request to establish a connection to a
// database or other service. The connect descriptor received by the listener
// specified a service name for a service (usually a database service)
// that either has not yet dynamically registered with the listener or has
// not been statically configured for the listener. This may be a temporary
// condition such as after the listener has started, but before the database
// instance has registered with the listener.
// *Action:
// - Wait a moment and try to connect a second time.
// - Check which services are currently known by the listener by executing:
// lsnrctl services <listener name>
// - Check that the SERVICE_NAME parameter in the connect descriptor of the
// net service name used specifies a service known by the listener.
// - If an easy connect naming connect identifier was used, check that
// the service name specified is a service known by the listener.
// - Check for an event in the listener.log file.

sounds like you got to the listener, but didn't tell it the correct service name in
the connect string. Did you spell it correctly? You can use the oracle cmd
lsnrctl status on the oracle server to get the service names.

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Tom Lane 2011-06-06 14:02:54 Re: How I do from PostgreSQL to Oracle Db Link
Previous Message Lukasz Brodziak 2011-06-06 07:26:57 ERROR: type "pg_catalog.int4" does not exist