Received: from maia.hub.org (maia-2.hub.org [200.46.204.251]) by mail.postgresql.org (Postfix) with ESMTP id DE2CCB5DD71 for ; Mon, 6 Jun 2011 09:33:23 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.251]) (amavisd-maia, port 10024) with ESMTP id 41800-07 for ; Mon, 6 Jun 2011 12:33:16 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from locust.cns.vt.edu (locust.cns.vt.edu [198.82.169.14]) by mail.postgresql.org (Postfix) with ESMTP id 1A24DB5DD70 for ; Mon, 6 Jun 2011 09:33:16 -0300 (ADT) Received: by locust.cns.vt.edu (Postfix, from userid 986) id 9A0331189F5; Mon, 6 Jun 2011 08:33:16 -0400 (EDT) Date: Mon, 6 Jun 2011 08:33:16 -0400 From: Ray Stell To: ?????? Cc: pgsql-admin@postgresql.org Subject: Re: How I do from PostgreSQL to Oracle Db Link Message-ID: <20110606123316.GA4391@cns.vt.edu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.17 (2007-11-01) X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-0.424 tagged_above=-10 required=5 tests=BAYES_00=-1.9, FAKE_REPLY_C=1.486, T_RP_MATCHES_RCVD=-0.01 X-Spam-Level: X-Archive-Number: 201106/24 X-Sequence-Number: 37650 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 // - 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.