Tnsnames.ora and listener.ora

I am studying oracle and came accross
tnsnames.ora and listener.ora file.
Can any one tell me in simplified terms about these 2 files. what are they and what exactly they do?

When you are accessing Oracle over network you need a listerner service (usually on server box) and SQLNet or Net8 client on client machine. Listener.ora specifies the parameters for listener process and tnsnames.ora contains the SQLNet or Net8 connection informations about database server(s)

Similar Messages

  • Tnsname.ora and listener.ora files in RAC environment.

    Want to clear my concept regarding
    tnsname.ora and listener.ora files in RAC environment. Is there any good notes on Metalink for that?

    Check this metalink note, it covers specific RAC issues:
    Configuration of Load Balancing and Transparent Application Failover
    Note:226880.1
    Werner

  • What should have in equal tnsnames,ora and listener.ora?

    Hi forum members again I'm very new in oracle, and I'm trying to create a sucessfull net service name, using oracle net configuration assitant, but when I try to test it I got this error, .***"""ORA-12514: TNS:listener does not currently know of service requested in connect descriptor."""*** And I have read that tnsnames.ora and listener.ora should have some parameters in common, but exactly I don't know, Do you know what parameters should be? or The ORA-12514 problem , doesn't have relation with the tnsnames.ora and listener files?, If doesn't wich is the reason of this message?
    By the way I put what contain these files:
    ---------------------------------------------------------------------------listener.ora
    # listener.ora Network Configuration File: /opt/oracle/product/10.1.0.3/network/admin/listener.ora
    # Generated by Oracle configuration tools.
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (GLOBAL_DBNAME = oracle.gentoo)
    (ORACLE_HOME = /opt/oracle/product/10.1.0.3)
    (SID_NAME = oracle)
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
    SAVE_CONFIG_ON_STOP_LISTENER = TRUE
    TRACE_LEVEL_LISTENER = USER
    /////////////////////////////////////////////////////////////////////////////tnsnames.ora
    # tnsnames.ora Network Configuration File: /opt/oracle/product/10.1.0.3/network/admin/tnsnames.ora
    # Generated by Oracle configuration tools.
    NORACLE =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = tux)(PORT = 1521))
    (CONNECT_DATA =
    (SERVICE_NAME = noracle)
    By the way what must be the username and the pasword that ask the ORACLE CONFIGURATION ASSINTANT to test the net service name? Must be the user name and password of the system user?
    Thanks in advance

    OK, here we go ... extra long as I intend to bookmark this and make reference, as this is a very common question ... skip to the bottom if you want my guess to the solution.
    Oracle Net Services (formerly SQL*Net, Net8, Oracle Networking) has two parts - the client and the server side. I'll discuss the server first, then the client.
    1) Server, and specifically Listener:
    The Oracle Listener is a monitor that listens for Oracle service requests on one or more ports. Usually this is on TCP/IP port 1521. When it gets an Oracle request from any network client, it checks whether it's in the list of Oracle Services for which it is monitoring. If found, it will contact that service, request a connection for the client, tell the service and client where and how to connect, and get itself out of the loop.
    Notes:
    a) It can listen on behalf of any number of services;
    b) A service can be a database instance, an EPG service (the DBMS_EPG is the replacement for Apache in the database in 10gR2), an external job, etc;
    c) One listener can listen on behalf of multiple database instances;
    d) The services can be listed in the LISTENER.ORA or they can self-register;
    e) If databases self-register, they use the initialization parameter LOCAL_LISTENER
    f) If self-registering, the listener should be up before the database
    g) Shutting down the listener will stop future connections, but has no impact on existing ones.
    One frequent point of confusion - a connection request on the local machine may loop out to the network and contact the listener, or it may bypass the listener entirely and use a bequeath adapter. The 'beq' connection is the 'normal' connection by "sqlplus / as sysdba" or "sqlplus system/manager" on the local machine (note that no @instance was used ... in *nix, that is derived from the $ORACLE_SID environment variable)
    In your listener.ora, you specify global_dbname=oracle.gentoo and sid_name=oracle. I assume therefore you can find an initoracle.ora or spfileoracle.ora somewhere on your system.
    2) Client:
    A client that wants to connect to an Oracle service uses the client side of the Oracle Net Services. The definition of client includes: any Oracle client utiltiy (SQLPlus, SQLLoad, Forms, Reports, etc.); an Oracle database instance that wants to make a external procedure call or a dblink; third party tools such as ODBC and JDBC.
    In SQL*Net version 1 the connection was made by specifying the target in the connect string ("user/password@host:listener_port:sid") and that is also used these days by many JDBC drivers, especially the Oracle Thin JDBC driver. Oracle's Easy connection mechanism uses a similar variant.
    Since SQL*Net Version 2, Oracle has supported the concept of alias translation. Basically it's very similar in concept to DNS - give it the name of the service and tell it where to find the translation table. The translation tables include TNSNAMES.ORA, ONAMES servers (deprecated in 10g), LDAP usng Oracle's OiD. The choice of translation table, and alternate order if the lookup fails in one, is stored in the SQLNET.ORA (if one exists).
    Assuming TNSNAMES.ORA, the chain of events is:
    - get the alias to look up (in your case NORACLE);
    - if the SQLNET.ORA has a DEFAULT_DOMAIN setting, (often =WORLD) append a dot and that value to the alias;
    - go to the TNANSMES.ORA file pointed by the TNS_ADMIN variable (environment or registry), or (if not set) the one in the $ORACLE_HOME/network/admin directory;
    - look up the first occurance of the alias;
    - if found, use the protocol specified to request a connection to the host, usin DNS to unravel the host to an IP address if necessary (in your case TCP/IP, to TUX) ;
    - if host connection if made, connect to the listener that is configured for that port (in your case 1521);
    - if listener is there, ask it for connection to the service (in your case, you are asking for instance 'noracle');
    i if the listener knowwss about the service, it will hand off the request.
    Your problem appears to be asking for instance 'noracle' in the tnsnames but listeneing for 'oracle' at the listener. Of course, I can not see any auto-registered instances which you would get from "lsnrctl status" on the server.

  • Best Practices: tnsnames.ora and listener.ora

    I would like to know if it is better to use the public ip / public hostname or the virtual ip / virtual hostname in the tnsnames.ora and listener.ora files on the servers and clients. I have seen examples where the vip is used for all areas, and I have seen examples where the public has been used in all areas. And of course even some examples where both are used. It makes more sense to me to use the vip, as that is what is failed over But what is the public ip used for if all connections are made to the vip?
    Thanks

    Database version: 10.2.0.4
    Server OS: Red Hat Linux Enterprise 4.6 (RHEL4)
    Oracle Rac configuration: 4 node cluster.
    host file:
    10.1.1.50 rac1.somcompany.com rac1priv # RAC1
    10.1.1.51 rac2.somcompany.com rac2priv # RAC2
    10.1.1.52 rac3.somcompany.com rac3priv # RAC3
    10.1.1.53 rac4.somcompany.com rac4priv # RAC4
    172.16.71.50 rac1.somcompany.com rac1pub # RAC1
    172.16.71.51 rac2.somcompany.com rac2pub # RAC2
    172.16.71.52 rac3.somcompany.com rac3pub # RAC3
    172.16.71.53 rac3.somcompany.com rac4pub # RAC4
    172.16.72.50 rac1.somcompany.com rac1vip # RAC1
    172.16.72.51 rac2.somcompany.com rac2vip # RAC2
    172.16.72.52 rac3.somcompany.com rac3vip # RAC3
    172.16.72.53 rac3.somcompany.com rac4vip # RAC4
    So if I was to create a tnsnames files on the servers, would I use the vip information as the host or the public information?
    Would I use the same tnsnames files for the clients?
    Would I use the vip or public address in the listener files?
    Thanks

  • Tnsnames.ora and listener.ora dissappearing

    We are ruinning oracle 9.2.0.6.0 on Solaris 9 on a Sun-Fire-440.
    We are having an issue where the above mentioned files (tnsnames.ora and listener.ora) keep dissappearing on this box.
    We cannot seem to find anything in the unix logfiles or oracle log files, has anybody got any ideas on what could be causing this?
    Mark Stewart.

    If the files are being deleted then the timestamp on the directory which contains them will be updated ( given by ls -l ) . this would enable one to find out the time when they were deleted ( as long as nothing else in the same directory is being changed ) . It would be interesting to see if the deletes always happen at the same time , which would imply some automatic process , perhaps running under cron.

  • Figuring out location of tnsnames.ora and listener.ora file.

    Hello.
    Is there a way to figure out what my oracle instance is reading in terms of tnsnames.ora and/or listener.ora file? According to the 10g docs, they can be found in a few places:
    1. $ORACLE_HOME/network/admin
    2. $TNS_ADMIN
    3. in a global configuration directory, on solaris it is /var/opt/oracle.
    How would I know which one my instance/lsnrctl is reading, aside from checking out differences in behavior?
    Plus, how would I change where to look for the file?
    thanks.

    On Solaris you can use 'truss' on the binary and grep for all the open() calls to see exactly which files are being used or tested for in order. I had an issue once where a tnsnames.ora was being used and it turned out to be $HOME/.tnsnames.ora (IIRC). There are similar calls under Linux (strace).

  • TNSNAMES.ora and LISTENER.ora tuning

    Hello!
    I have a PE 8.1.7 installed.
    When connecting fron SQL Navigator to Oracle DB I get an error message and sqlnet.log contains the following:
    Fatal NI connect error 12538, connecting to:
    (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=myhost)(PORT=1521))(CONNECT_DATA=(SERVICE_NAME=Andrei1.domain)(CID=(PROGRAM=E:\SQL Navigator 3\sqlnav3.exe)(HOST=MYHOST)(USER=kr))))
    VERSION INFORMATION:
    TNS for 32-bit Windows: Version 8.1.6.0.0 - Production
    Time: 30-MAR-2001 13:50:21
    Tracing not turned on.
    Tns error struct:
    nr err code: 0
    ns main err code: 12538
    TNS-12538: TNS:no such protocol adapter
    ns secondary err code: 12560
    nt main err code: 508
    TNS-00508: No such protocol adapter
    nt secondary err code: 0
    nt OS err code: 0
    Why is it stated that TNS version is 8.1.6.0.0? Could it be that OracleOraHome81TNSListener was overwritten when I installed Designer 6i? What should I do in this case?
    Configuration files are:
    # TNSNAMES.ORA Network Configuration File: E:\oracle\ora81\network\admin\tnsnames.ora
    # Generated by Oracle configuration tools.
    ANDREI1 =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = myhost)(PORT = 1521))
    (CONNECT_DATA =
    (SERVICE_NAME = Andrei1.domain)
    GIOP =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = myhost)(PORT = 2481))
    (CONNECT_DATA =
    (SERVICE_NAME = Andrei1.domain)
    INST1_HTTP =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = myhost)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = SHARED)
    (SERVICE_NAME = Andrei1.domain)
    (PRESENTATION = http://admin)
    EXTPROC_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC0))
    (CONNECT_DATA =
    (SID = PLSExtProc)
    (PRESENTATION = RO)
    # LISTENER.ORA Network Configuration File: E:\oracle\ora81\network\admin\listener.ora
    # Generated by Oracle configuration tools.
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC0))
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = myhost)(PORT = 1521))
    (DESCRIPTION =
    (PROTOCOL_STACK =
    (PRESENTATION = GIOP)
    (SESSION = RAW)
    (ADDRESS = (PROTOCOL = TCP)(HOST = myhost)(PORT = 2481))
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = E:\oracle\ora81)
    (PROGRAM = extproc)
    (SID_DESC =
    (GLOBAL_DBNAME = Andrei1.domain)
    (ORACLE_HOME = E:\oracle\ora81)
    (SID_NAME = Andrei1)
    null

    What are the wait events you are getting?
    You got to be careful with SDU packet size, mostly the default is suitable for all the environments. If you increase the packet size to say 8K, you may be wasting the space if you are not able to utilizing all 8K. That would have an adverse affect as well.

  • Missing dbsnmp, tnsname.ora and listener.ora

    I am puzzle with missing files:
    dbsnmp
    tnsname.ora
    listener.ora
    they arent in oracle_home/network/admin or
    /oracle_home/bin
    I have 8.1.5.0 dbserver and dbclient installed on
    rh6.0. the listener is working fine.
    OEM on NT system
    I need to have intelligent agent up and running.
    null

    Check this metalink note, it covers specific RAC issues:
    Configuration of Load Balancing and Transparent Application Failover
    Note:226880.1
    Werner

  • Automatic renaming hostname in tnsnames and listener.ora

    Is it realy not possible to change hostname automaticly in TNSNAMES.ORA and LISTENER.ORA after installing an image-CD with Windows XP and Oracle11GR1. In Windows , there is a SID Change Tool and in Oracle?
    Thank's for your help !
    René

    Again, take a look at running "netca /silent ..." with a response file.
    Another (perhaps better) option would be to burn a cd with a software only install and that upon "activation" would then run a dbca noninteractive session to configure a database (I assume you want one, mentioning listener.ora).

  • Listener.ora and tnsnames.ora and sqlnet.ora

    Hello newbie here, trying to look into simple RAC setup with 2 nodes (A.this.com, B.this.com), one service (PROD.this.com), one listener and one instance on each node (listener PRODlist1 using instance PRODinstance1 on node A, listener PRODlist2 using instance PRODinstance2 on node B), one database (ORCL).
    db global db name = orcl.this.com
    I would like loadbalancing=on, with TAF basic (no preconnect, retries 10, delay 5.)
    With dynamic service registration.
    What should the tnsnames.ora and listener.ora and sqlnet.ora look like?
    Have read all sorts of literature, getting confused...

    I post my sample configuration here:
    DBA1.WORLD =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (FAILOVER=ON)
    (LOAD_BALANCE=ON)
    (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.1.1)(PORT = 1521))
    (CONNECT_DATA =
    (BACKUP=DBA2)
    (SERVICE_NAME = DBA.WORLD)
    DBA2.WORLD =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (FAILOVER=ON)
    (LOAD_BALANCE=ON)
    (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.1.2)(PORT = 1521))
    (CONNECT_DATA =
    (BACKUP=DBA1)
    (SERVICE_NAME = DBA.WORLD)
    )

  • No TNSNAME.ORA or listener.ora

    I am new to oracle.(learner)
    I was using oracle 11g and using oracle sql developer.
    It was working fine.
    I had to use oracle form builder, which I installed but I could not connect to database from form builder.It was giving ORA-12154:TNS:could not resolve the connect identifier specified and then I tried copying oracles tnsname.ora to form builder’s tnsname.ora and then it was giving TNS error no listener descriptor found or so on
    I tried googling and I tried every possible way discussed online
    and not being able to resolve it I de-installed (completely following steps discussed online even deleting registry entries) both oracle and  form builder (WHICH WAS IN F drive )
    and then I reinstalled the oracle 11g and form builder 10g again in E drive (earlier one was in F drive)
    Now as earlier oracle is working fine
    But now strange thing is now there aren't  any tnsnames.ora and listener.ora files in oracle_home/network/admin (also not in form builder’s directory) But database is running fine
    Any help

    997069 wrote:
    I am new to oracle.(learner)
    I was using oracle 11g and using oracle sql developer.
    It was working fine.
    I had to use oracle form builder, which I installed but I could not connect to database from form builder.It was giving ORA-12154:TNS:could not resolve the connect identifier specified and then I tried copying oracles tnsname.ora to form builder’s tnsname.ora and then it was giving TNS error no listener descriptor found or so on
    I tried googling and I tried every possible way discussed online
    and not being able to resolve it I de-installed (completely following steps discussed online even deleting registry entries) both oracle and  form builder (WHICH WAS IN F drive )
    and then I reinstalled the oracle 11g and form builder 10g again in E drive (earlier one was in F drive)
    Now as earlier oracle is working fine
    I can see all the services running,I can connect database using sql plus and sql developer and also issue sql command.
    I am just using oraclass database created during installation process.
    But as usual form builder is NOT working giving TNS:could not resolve the connect identifier specified
    But now strange thing is now there aren't  any tnsnames.ora and listener.ora files in oracle_home/network/admin (also not in form builder’s directory) But database is running fine
    Database control shows the listener.ora path to F drive(earlier installed one which I deinstalled ) but there is not any app/…/oracle database folder in F drive at all(I deleted it completely when I deinstalled it) and its not hidden as well.
    So I am really confused what I can do next.
    I am not able to login into database from form builder
    It gives error
    ORA-12154:TNS:could not resolve the connect identifier specified
    WHERE CAN I FIND THE TNSNAMES.ORA AND LISTENER.ORA file(how to find it)
    Any helplistener.ora file is NOT required to start or use Oracle Listener.
    tnsnames.ora is a plain text file that can be a single line like below
    ORCL=(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=localhost)(PORT=1521))(CONNECT_DATA=(SERVICE_NAME=ORCL)))

  • Oracle 10g I don't have the files listener.ora, tnsnames.ora and sql.ora

    Hi folks,
    I uninstalled my Oracle 10g and when I re installed I got success, but when I went to the folder \network\admin didn't have the files listener.ora, tnsnames.ora and sql.ora. I have been trying during more than one month start my listener only because I need access the Oracle database from my Java application and I got the message:
    java.sql.SQLException: Io exception: The Network Adapter could not establish the connection
    As additional information, I got no problem to access the SQL*Plus.
    =======================
    C:\>lsnrctl status
    LSNRCTL for 32-bit Windows: Version 10.1.0.2.0 - Production on 18-APR-2006 10:53
    :58
    Copyright (c) 1991, 2004, Oracle. All rights reserved.
    Connecting to (ADDRESS=(PROTOCOL=tcp)(PORT=1521))
    TNS-12541: TNS:no listener
    TNS-12560: TNS:protocol adapter error
    TNS-00511: No listener
    32-bit Windows Error: 61: Unknown error
    ====================
    C:\>ipconfig
    Windows IP Configuration
    Ethernet adapter Local Area Connection:
    Media State . . . . . . . . . . . : Media disconnected
    Ethernet adapter Wireless Network Connection 2:
    Connection-specific DNS Suffix . : myhome.westell.com
    IP Address. . . . . . . . . . . . : 192.168.0.2
    Subnet Mask . . . . . . . . . . . : 255.255.255.0
    Default Gateway . . . . . . . . . : 192.168.0.1
    Thanks in advance.

    Thanks ALL, I GOT IT, but I used other solution.
    Since I installed and uninstalled the Oracle several times, it keeps also many different Services for the listener. I don't know why, it didn't create a Service for my actual instalation with its path. In other words, all the services remained in the services.msc panel, had the path that was already removed from the Windows folder.
    Then what I did, was that I picked one service, took its name (OracleOraDb10g_home1TNSListener), went to regedit to [HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\OracleOraDb10g_home1TNSListener] and simply changed the image path that was setted for the one that was removed (C:\oracle\product\10.1.0\Db_2\BIN\TNSLSNR ) for mine that is installed right now
    (C:\oracle\product\10.1.0\Db_1\BIN\TNSLSNR). Nothing more and finally works.
    I have tried something in the services.msc panel before, as you can see in this forum at the thread "I can't start listener in the Control Painel/Admin Tools/ Services", but I never got
    success.
    Appreciate your time!!

  • I am facing problem when configuring listener.ora and tnsnamess.ora in listener side it is showing The listener supports no services The command completed successfully  and in when i cross check with listener from tns it is showing the error

    i am facing problem when configuring listener.ora and tnsnamess.ora in listener side it is showing The listener supports no services The command completed successfully  and in when i cross check with listener from tns it is showing the error
    ORA-12514: TNS:listener does not currently know of service requested in connect
    descriptor
    here is my listener file
    lsn =
      (DESCRIPTION_LIST =
        (DESCRIPTION =
          (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC))
          (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.125.128)(PORT = 1575))
    #ADR_BASE_LISTENER = /u01/app/oracle
    (SID_LIST_LISTENER=
    (SERVICE_NAME=kull)
    (ORACLE_HOME=/u01/app/oracle/product/11.2.0/db_1)
    tnsnames.ora
    to_lsn=
      (DESCRIPTION =
        (ADDRESS = (PROTOCOL = TCP)(HOST = server1)(PORT = 1575))
        (CONNECT_DATA =
          (SERVER = DEDICATED)
          (SERVICE_NAME = kull )
    my database name is kull
    please somebody help

    Biswaranjan wrote:
    i have two database one is kull and another is kk
    i configured listener.ora in kull
    and tnsnames.ora in kk
    when i am running lsnrctl start listener in database kull
    This makes no sense.  You don't configure a listener nor a tnsnames.ora "in a database".   I hope this is just a language issue and not reflective of a fundamental misunderstanding of how tns works.
    read: http://edstevensdba.wordpress.com/2011/02/09/sqlnet_overview/ Help! I can’t connect to my database 
    read: http://edstevensdba.wordpress.com/2011/02/16/sqlnet_client_cfg/ Help! I can’t connect to my database (part duex)
    it is showing the message
    Alias                     lsn
    Version                   TNSLSNR for Linux: Version 11.2.0.1.0 - Production
    Start Date                05-JUL-2013 19:08:06
    Uptime                    0 days 0 hr. 0 min. 0 sec
    Trace Level               off
    Security                  ON: Local OS Authentication
    SNMP                      OFF
    Listener Parameter File   /u01/app/oracle/product/11.2.0/db_1/network/admin/listener.ora
    Listener Log File         /u01/app/oracle/product/11.2.0/db_1/log/diag/tnslsnr/server1/lsn/alert/log.xml
    Listening Endpoints Summary...
      (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC1575)))
      (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=server1)(PORT=1575)))
    The listener supports no services
    The command completed successfully
    and in another database in kk when i am giving the command tnsping to_lsn
    it is giving this message
    Used TNSNAMES adapter to resolve the alias
    Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = server1)(PORT = 1575)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = kull)))
    OK (0 msec)
    but when i am cross check sqlplus system/manager@ to_lsn
    it is giving the following error
    ORA-12514: TNS:listener does not currently know of service requested in connect
    descriptor

  • TNSNAME.ORA and SQLNET.ORA

    Hi there!
    My problems is regarding connection to Ora Frms/reports which for so many days I am trying but to no avail.
    Some are suggesting to copy TNSNAME.ORA AND SQLNET.ORA for in order to work better connection on FORMS/REPORT.
    Kindly advice on how to do it.
    thnaks
    null

    If you use 8i, form and report use TNS
    config from sqlplus. If you can get in sqlplus does not mean you can log in
    form ad report. You need to Config the TNS in an option called something like
    'Network Config Assistant'or similar. You should find it from the list.
    Another is to edit the TNSname.ora in the admin directory under you form and report initial path with the command from the previous mail

  • Connect with ldap.ora and sqlnet.ora

    Hi
    I am trying to connect Raptor to 9i oracle server. Our server connects using ldap.ora and sqlnet.ora files. I looked at some threads about this issue but do not understand how to connect. Is there a step by step instruction for connecting this way?
    Thanks
    DH

    Hi VRamirez,
    That's a pretty cool workaround. I'm sorry to hear it didn't work perfectly.
    Here is the "low tech" workaround anyone can use -
    From the %ORACLE_HOME% where your sqlnet.ora is, run %ORACLE_HOME%\bin\tnsping eg.
    C:\> tnsping oracle.world
    TNS Ping Utility for 32-bit Windows: Version 10.2.0.1.0 - Production on 21-APR-2006 22:56:31
    Copyright (c) 1997, 2005, Oracle. All rights reserved.
    Used parameter files:
    c:\oracle\oracli92\network\admin\sqlnet.ora
    Used LDAP adapter to resolve the alias
    Attempting to contact (DESCRIPTION=(SOURCE_ROUTE=OFF)(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=oracle.xxxx.xx)(
    PORT=xxxx)))(CONNECT_DATA=(SID=ORCL))(SRVR=SHARED))
    OK (200 msec)
    C:\>
    Now copy the (DESCRIPTION=...) and paste it into the advanced TNS info tab in the Connections dialog. This works for me for everything but RAC TNS aliases which have load balancing and failover configured -- the advanced TNS info tab chokes on those. For such connections, I was able to use the JDBC string.
    -Natalka
    http://toolkit.rdbms-insight.com

Maybe you are looking for