Re: Oracle Client for linux

From: Håkon T Sønderland <haakonts_at_online.no>
Date: Tue, 09 Feb 1999 11:11:46 +0100
Message-ID: <36C009E2.67784F54_at_online.no>


Vegard Munthe wrote:
[snip]
>
> ORA-12505: TNS:listener could not resolve SID given in connect
> descriptor

Can you post relevant sectors of tnsnames.ora?

Basically it should look something like this:

yourdatabase =
  (DESCRIPTION =

        (ADDRESS = 
          (PROTOCOL = TCP)
          (Host = 139.117.8.26)
          (Port = 1521)
        )
      (CONNECT_DATA = 
        (SID = yoursid)
           (GLOBAL_NAME = yourdatabase.world)
      )

  )

Replace yourdatabase, yoursid as needed.

You need to know the SID from the NT machine where Oracle is running. You can probably just grab the tnsnames.ora from the NT box if you have access to it.
It will normally be in <ORACLE_HOME>\net80\Admin\tnsnames.ora where ORACLE_HOME is something like C:\orant.

Hope this helps,
Haakon

--
hts_at_core.no
Core Technology AS
Oslo, Norway
Received on Tue Feb 09 1999 - 11:11:46 CET

Original text of this message