TNSNAMES.ORA File Question...

TNSNAMES.ORA File Question...

Post by Jimm » Wed, 10 Feb 1999 04:00:00



Hello all,
        I am using Oracle 7.3 on Solaris 2.5 with SQL*NET 2.0

        I have a question about the SQL*NET configuration files. Where Oracle
searches the SQL*NET configuration files such as TNSNAMES.ORA and
LISTENER.ORA? I heard that these files default in /var/opt/oracle
directory. TNS_ADMIN variable is used to specify the directory other
than the /var/opt/oracle directory. However, when I type "echo
$TNS_ADMIN", undefined variable message was shown. When I type "lsnrctl
status", the parameter files are in $ORACLE_HOME/network/admin. How can
Oracle knows these files are in the $ORACLE_HOME/network/admin directoy?

Thanks,
Jimmy

 
 
 

TNSNAMES.ORA File Question...

Post by J.D. Whit » Wed, 10 Feb 1999 04:00:00


Oracle looks in $ORACLE_HOME\network\admin for sqlnet.oraand
tnsnsmes.ora.
TNS_ADMIN is set in the sqlnet.ora file and is an Oracle var not a OS
var.
$ORACLE_HOME defaults to diff. paths depending on the OS
Hope this helps
JD


> Hello all,
>         I am using Oracle 7.3 on Solaris 2.5 with SQL*NET 2.0

>         I have a question about the SQL*NET configuration files. Where Oracle
> searches the SQL*NET configuration files such as TNSNAMES.ORA and
> LISTENER.ORA? I heard that these files default in /var/opt/oracle
> directory. TNS_ADMIN variable is used to specify the directory other
> than the /var/opt/oracle directory. However, when I type "echo
> $TNS_ADMIN", undefined variable message was shown. When I type "lsnrctl
> status", the parameter files are in $ORACLE_HOME/network/admin. How can
> Oracle knows these files are in the $ORACLE_HOME/network/admin directoy?

> Thanks,
> Jimmy

--
JD White
Database Administration

Office: 919.388.6254
Fax:    919.388.6578
Pager:  800.614.7512

1700 Perimeter Park Drive
MD-A218
Morrisville, NC 27560

  j.white.vcf
< 1K Download

 
 
 

1. sample file of tnsnames.ora,listener.ora,sqlnet.ora please

I can't start the oracle intelligent agent to use the OEM.
I think something must be wrong in my .ora files.

If someone can use OEM,
can you post some sample files
of tnsnames.ora,listener.ora,sqlnet.ora,snmp_rw.ora,services.ora
for me to reference ?

I use oracle 8.0.6 oem 1.6 on NT.

Thanks

W

2. Sharing recordsets

3. tnsnames.ora, sqlnet.ora, listner.ora

4. Printing All of one sort

5. TWO TNSNAMES.ORA-files

6. Access97 & Access2000 Front-End to SQL Server 2000

7. Updating the TNSNames.ora file

8. Barcode Server

9. distributing tnsnames.ora file to clients/servers

10. multiple tnsnames.ora files

11. Multiple tnsnames.ora files

12. where do i put the tnsnames.ora file?