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 -> Re: where do i put the tnsnames.ora file?

Re: where do i put the tnsnames.ora file?

From: Sybrand Bakker <postbus_at_sybrandb.demon.nl>
Date: 2000/06/21
Message-ID: <961622821.5673.1.pluto.d4ee154e@news.demon.nl>#1/1

The sqlnet configuration files go to $ORACLE_HOME/network/admin in Oracle 7 $ORACLE_HOME/net80/admin in Oracle 8.0
$ORACLE_HOME/network/admin in Oracle 8i

If you have different versions (with different Oracle Homes) you can also put them in the /etc directory.
The files you list are *samples* only.

Hth,

Sybrand Bakker, Oracle DBA

"Java Developer" <mozkill_at_my-deja.com> wrote in message news:8ir3ld$k77$1_at_nnrp1.deja.com...
> I read the Understanding SQL*Net document at the oracle site and I
> looked for news group messages and searched for additional info on the
> Oracle site and java.sun.com site and I could find nothing that told me
> WHERE to put the tnsnames.ora file.
>
> Does anyone know where it goes or any of these other files? I found
> these files on my linux system:
>
> $ORACLE_HOME/admin/samples/tnsnames.ora
> $ORACLE_HOME/admin/samples/listener.ora
> $ORACLE_HOME/admin/samples/cman.ora
> $ORACLE_HOME/admin/samples/names.ora
> $ORACLE_HOME/admin/samples/sqlnet.ora
>
> Help! I am asking this because I get a connection refused message when
> I try to connect with the JDBC type 4 oracle java drivers and I fear
> that it is a problem with my connection string or tnsnames.ora
> configuration.
>
> Thanks,
> Jon Williams
> mozkill_at_yahoo.com
>
>
> Sent via Deja.com http://www.deja.com/
> Before you buy.
Received on Wed Jun 21 2000 - 00:00:00 CDT

Original text of this message

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