The importance of SQLnet.ora file

DB version:10gR2
I have seen databases where SQLnet.ora file is absent or an SQLnet.ora file with most of the entries commented out like
NAMES.DIRECTORY_PATH= (TNSNAMES, EZCONNECT)
#SQLNET.EXPIRE_TIME=700
# New parameter for 10.2
#SQLNET_INBOUND_CONNECT_TIMEOUT=120I have two questions
1. If you were asked to set the parameters for SQLNET.ora file for an OLTP database, what would your settings be?
2. Is it absolutely necessary to have an SQLNET.ora file in a 'production quality' Database?
Edited by: Citizen_2 on Feb 18, 2009 2:59 AM
Corrected the spelling of SQLnet.ora in subject line

Hi,
SQLNET.ORA can be used for different purposes,
first to identify the method to connect from client like tnsnames
Second it can be used to bypass the network layer by setting the parameter automatic_ipc=on
Third, we can set to check the client whether its active after certain interval.
If sqlnet.ora is not there, then it will take the default values.
Thanks
santhanam

Similar Messages

  • Sqlnet.ora file 11.5.10.2

    Hi,
    I always disabled or commented the 2 lines sqlnet.ora file to accept all database connections...
    tcp.validnode_checking=yes
    tcp.invited_nodes=
    I commented the above lines in sqlnet.ora file and bounced the listener..now i am able to connect to the database...
    When ever I run the autoconfig in database tier..... these 2 lines are going to be uncommented...
    how we can do this for permenant for checking the above 2 lines sqlnet.ora file..
    do we need to add any custom context variables in Context file..if it is so..how can we do it..please help me in this regard....

    tcp.validnode_checking=yes
    tcp.invited_nodes= <list your applications tier nodes here>
    These actually ARE recommended in Production. Basically what you're saying by setting these is that the SQL*Net Listener for the database will ONLY talk to these known hosts. This prevents some random person from connecting directly to your database from a PC somewhere.
    The downside here is that if you have a large number of users who use a client-side tool (like ADI or Discoverer), then you'll have to list their IP addresses here. This can be quite difficult in a DHCP-enabled environment.
    The way autoconfig works, it basically replaces any autoconfig managed files whenever it runs (which is why your customizations get clobbered).
    So, in situations where there isn't a context variable that you can update, you'll have to make a custom template.
    When autoconfig runs, it checks first for the existence of the custom template (and validates that it isn't based on an older version than the currently installed one) and will use that instead of the delivered one.
    Simple way to do a custom template:
    1) Identify the template being used (Database tier, it'll be under $ORACLE_HOME/appsutil somewhere... Apps tier it's generally under $AD_TOP/admin/template or $FND_TOP/admin/template).
    2) Create a "custom" directory under the "template" directory where your template lives.
    3) Copy that template into the "custom" directory.
    4) Edit this copy.
    -- James

  • How to organize the import statements in FXML Files?

    Hello,
    I'm a user of NetBeans IDE and it can organize the import statements in *.java files. Now, I'm using JavaFX and editing the *.fxml files as well. I want to know how to organize the import statements in *.fxml files?
    Thanks a lot.

    You should use Scene Builder, it will make all these import statements for you.
    Moreover, it will greatly simplify the writing of your FXML files, since you only have to Drag&Drop JavaFX objects on the scene. Then, it automatically generates FXML files.

  • CHANGING THE DIRECTORY OF INIT.ORA FILE

    Hi,
    I have a database in 8i. Can I change the diredtory of init.ora file ? If yes how ?
    it is in d:\oracle\ora8
    and I want tu put it in d:\anothrfolder
    Many thanks before.

    That's what I did , but :
    SQL> SHUTDOWN IMMEDIATE
    Database closed.
    Database dismounted.
    ORACLE instance shut down.
    SQL> exit
    Disconnected from Oracle8i Enterprise Edition Release 8.1.7.4.1 - Production
    With the Partitioning option
    JServer Release 8.1.7.4.1 - Production
    C:\Documents and Settings\user>oradim -delete -sid DB1
    C:\Documents and Settings\user>oradim -EDIT -SID DB1 -PFILE C:\oracle\admin\db1\exp\initdb1.ora
    DIM-00010: SYSTEM\CurrentControlSet\Services\OracleService key does not exist
    O/S-Error: (OS 2) Le fichier spÚcifiÚ est introuvable.
    DIM-00010: SYSTEM\CurrentControlSet\Services\OracleService key does not exist
    O/S-Error: (OS 2) Le fichier spÚcifiÚ est introuvable.
    C:\Documents and Settings\user>oradim -EDIT -SID DB1 -PFILE C:\oracle\admin\db1\exp\initdb1.ora -startmode auto
    DIM-00010: SYSTEM\CurrentControlSet\Services\OracleService key does not exist
    O/S-Error: (OS 2) Le fichier spÚcifiÚ est introuvable.
    DIM-00010: SYSTEM\CurrentControlSet\Services\OracleService key does not exist
    O/S-Error: (OS 2) Le fichier spÚcifiÚ est introuvable.
    C:\Documents and Settings\user>oradim -NEW -SID DB1 -PFILE C:\oracle\admin\db1\exp\initdb1.ora -startmode auto
    C:\Documents and Settings\user>sqlplus "/ as sysdba"
    SQL*Plus: Release 8.1.7.0.0 - Production on Me Mai 16 12:22:25 2007
    (c) Copyright 2000 Oracle Corporation. All rights reserved.
    Connected to:
    Oracle8i Enterprise Edition Release 8.1.7.4.1 - Production
    With the Partitioning option
    JServer Release 8.1.7.4.1 - Production
    SQL> shutdown immediate
    Database closed.
    Database dismounted.
    ORACLE instance shut down.
    SQL> startup
    LRM-00109: could not open parameter file 'C:\oracle\admin\db1\pfile\initdb1.ora'
    LRM-00113: error when processing file 'C:\oracle\admin\db1\pfile\initdb1.ora'
    ORA-01078: failure in processing system parameters

  • Bulk import of tnsnames.ora file into SQL developer on first run

    Is there a way for SQL developer to read the tnsnames.ora file and import all of the connections from that? Near as I can see, I would either have to manually add each of them or import an xml file of some kind...Thoughts?

    There's a feature request for this at the Exchange (http://htmldb.oracle.com/pls/otn/f?p=42626:39:3634225177876117::NO::P39_ID:4582), but they closed it down like a crack-house :-(
    So you just have to continue your manual slave-labours...
    Have fun,
    K.

  • How do I import a web page as PDF? The import feature in my file dropdown menu doesn't seem to be working.

    If I remember correctly, firefox for linux previously had an option to import a web page as PDF. Now it doesn't seem to be working that way anymore. I am using Ubuntu 10.04 Lucid Lynx with the most recent Firefox program.

    That's just the standard notice when you install an addon from the AMO web site.
    Wasn't the '''Install Now''' button active?
    Sometimes you have to wait for up to 4 seconds for that button to be active - IOW, not greyed-out.

  • How to list the datasources without use a tnsnames.ora file?

    Hi,
    I want to use the OracleDataSourceEnumerator class of ODP.Net to list the datasources on which the user can connect.
    It's work with a tnsnames.ora on the local station, so good.
    But I want use the easy connect naming methode so i have edited the sqlnet.ora file with this:
    NAMES.DIRECTORY_PATH= (EZCONNECT, TNSNAMES)
    then i have deleted the content of the tnsnames.ora
    so my code don't work : none datasource is returned by the OracleDataSourceEnumerator
    So my question : is it a way to list the datasources without use a tnsnames.ora file?
    Edited by: user13499556 on 17 déc. 2010 08:21

    You can check
    DataConnectionFile.EnumerateDependants method
    This post is my own opinion and does not necessarily reflect the opinion or view of Slalom.

  • Sqlnet.ora trace files getting generated even after turning off tracing

    Hi,
    I have recently added the following parameters to the sqlnet.ora file.
    TRACE_LEVEL_SERVER=16
    TRACE_FILE_SERVER=SERVER
    TRACE_DIRECTORY_SERVER=/ftpland/trace
    TRACE_TIMESTAMP_SERVER=on
    Even after removing these enteries from the sqlnet.ora I still see the trave files being generated.
    #####enable tracing###################
    #Trace_level_server=0
    #Trace_filelen_server=1000
    #Trace_fileno_server=1
    #Trace_timestamp_server=on
    #Trace_directory_server=/opt/oracle/product/10.2.0/network/trace
    #Diag_adr_enabled=off
    AUTOMATIC_IPC = ON
    TRACE_LEVEL_CLIENT = OFF
    SQLNET.EXPIRE_TIME = 10
    NAMES.DEFAULT_DOMAIN = bsca.eds.com
    NAME.DEFAULT_ZONE = bsca.eds.com
    SQLNET.CRYPTO_SEED = "232166927-1713903352"
    NAMES.DIRECTORY_PATH = (ONAMES,TNSNAMES)
    NAMES.PREFERRED_SERVERS =
          (ADDRESS_LIST =
            (ADDRESS =
              (COMMUNITY = TCP.bsca.eds.com)
              (PROTOCOL = TCP)
              (Host = oraclenames1.bsca.eds.com)
              (Port = 1575)
            (ADDRESS =
              (COMMUNITY = TCP.bsca.eds.com)
              (PROTOCOL = TCP)
              (Host = oraclenames2.bsca.eds.com)
              (Port = 1575)
    NAME.PREFERRED_SERVERS =
          (ADDRESS_LIST =
            (ADDRESS =
              (COMMUNITY = TCP.bsca.eds.com)
              (PROTOCOL = TCP)
              (Host = oraclenames1.bsca.eds.com)
              (Port = 1575)
    (ADDRESS =
              (COMMUNITY = TCP.bsca.eds.com)
              (PROTOCOL = TCP)
              (Host = oraclenames2.bsca.eds.com)
              (Port = 1575)
    BEQUEATH_DETACH=YES
    Regards,
    VN

    SID_LIST_LISTENER =
      (SID_LIST =
        (SID_DESC =
          (GLOBAL_DBNAME =ROSDMP.bsca.eds.com)
          (ORACLE_HOME = /opt/oracle/product/10.2.0)
          (SID_NAME = ROSDMP)
    TRACE_LEVEL_LISTENER=16
    I believe, this is the reason, you are seeing trace files even after disabling it in sqlnet.ora

  • Using tnsnames.ora file instead of oracle names server

    hi,
    sqlnet.ora file contains
    NAMES.DIRECTORY_PATH= (TNSNAMES, ONAMES)
    NAMES.DEFAULT_DOMAIN = (domain name)
    SQLNET.EXPIRE_TIME = 2
    DEFAULT_SDU_SIZE = 8761
    NAMES.PREFERRED_SERVERS =
    (ADDRESS_LIST =
    (ADDRESS =
    (COMMUNITY = TCP.world)
    (PROTOCOL = TCP)
    (Host = oranamesrvr0. domain name)
    (Port = 1575)
    NAME.PREFERRED_SERVERS =
    (ADDRESS_LIST =
    (ADDRESS =
    (COMMUNITY = TCP.world)
    (PROTOCOL = TCP)
    (Host = oranamesrvr0.domain name)
    (Port = 1575)
    There is also a tnsnames.ora file in the same path as this sqlnet.ora. Can someone tell how can i make the application use the tnsnames.ora file instead of using oracle name servers??
    Thanks in advance!!!

    917229 wrote:
    hi,
    sqlnet.ora file contains
    NAMES.DIRECTORY_PATH= (TNSNAMES, ONAMES)
    NAMES.DEFAULT_DOMAIN = (domain name)
    SQLNET.EXPIRE_TIME = 2
    DEFAULT_SDU_SIZE = 8761
    NAMES.PREFERRED_SERVERS =
    (ADDRESS_LIST =
    (ADDRESS =
    (COMMUNITY = TCP.world)
    (PROTOCOL = TCP)
    (Host = oranamesrvr0. domain name)
    (Port = 1575)
    NAME.PREFERRED_SERVERS =
    (ADDRESS_LIST =
    (ADDRESS =
    (COMMUNITY = TCP.world)
    (PROTOCOL = TCP)
    (Host = oranamesrvr0.domain name)
    (Port = 1575)
    There is also a tnsnames.ora file in the same path as this sqlnet.ora. Can someone tell how can i make the application use the tnsnames.ora file instead of using oracle name servers??
    Thanks in advance!!!In addition to SB's comment, keep in mind that the client only sees sqlnet.ora and tnsnames.ora that exist on the client machine .. or indicated by TNS_ADMIN as defined on the client machine. Setting this on the db server is meaningless to the client unless the client also resides on the db server.

  • How to supply wallet location to OCI client for SSL connection other than sqlnet.ora

    I have a oracle 11g database server and I am connecting to it through OCI client in OBIEE Admin tool. This is working fine, but now the requirement is we need to connect to an SSL enabled database.
    For this I had to update the sqlnet.ora under $ORACLE_HOME/network/admin in OBIEE installation and specify the wallet location where I placed the wallet containing appropriate certificates.
    The above is working fine for me. But due to certain restrictions, we cannot create this sqlnet.ora. Is there a way we can pass this wallet location through some environment variables so that sqlnet.ora is not required?
    If we create a jdbc connection, we can specify the wallet location through jdbc connection properties. Is there any such equivalent for OCI based connection. I dont mind how we make the wallet location available to OCI client, so long as I dont have to create a sqlnet.ora.
    Any pointers is greatly appreciated

    Hi,
    sqlnet.ora file is required if you want to set the wallet location to another directory by using the WALLET_LOCATION parameter.
    If you do not want to use sqlnet.ora then you need to use the default wallet location.
    The wallet is placed, by default, in $ORACLE_BASE/admin/<global_db_name>/wallet.
    If this directory does not exist or ORACLE_BASE is not set, the default location is: $ORACLE_HOME/admin/<global_db_name>/wallet
    Regards,
    Ravi

  • 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

  • How can you "share" 1 common TNSNAMES.ORA file amngst many clients?

    We're installing into a large enterprise, and have the rqmt of installing 8.1.7 client locally, yet sharing a common network copy of TNSNAMES.ORA. Has anyone ever done this? Better yet, the question might ought to be what is the proper approach here? Local client is necessary for compatibility reasons.
    Thanks!

    Hi
    Oracle provides a "DNS" type of service called ORACLE NAMES SERVERS.
    This means that if the NAMES_DIRECTORY_PATH parameter in the sqlnet.ora file
    has a value of OSNAMES, then the client automatically uses DDO ..
    Dynamic Discovery Option to resolve then Oracle Name.
    I recommend that you read up on this point ....
    Regards
    Ade

  • Disadvantages of SQLNET.EXPIRE_TIME in SQLNET.ORA

    Hi,
    Could any body tell me please what would be side effects and disadvantages of using SQLNET.EXPIRE_TIME parameter in the sqlnet.ora file when there are frequent network timeouts?
    Does Oracle recommends network problems should be resolves or SQLNET.EXPIRE_TIME parameter is harmless to keep connectivity between clients and server?
    Thanks

    Hi,
    it has affects on pmon, which maybe cleans up resources which are held by the "dead" shadow process. PMON will clean up after the expire_time, when there is no connection.
    "Negative" effects... i don't have seen really negative affects... the network traffic maybe increase (depends on your amount of connections).. but this should not be a problem.
    Regards
    Stefan

  • Database connectivity requiring oracle wallet, tnsnames.ora, and sqlnet.ora

    We have a new datasource that I need to write a report against.  In order to access the db, I have to install an Oracle wallet on my pc that contains a certificate.  I then have an entry in the sqlnet.ora file that references this wallet, and I have an entry in my tnsnames file.  I wrote a report successfully on my pc.  We then have our Business Objects installation on a Sun Solaris machine with Unix.  We installed the wallet, added the sqlnet.ora entry, and the tnsnames.ora entry.  I am able to connect to the db from the unix command prompt by typing sqlplus username@dbname successfully.  However, when I place my Crystal Report in Bus. Obj. I cannot get it to work.  I go to the CMC, select the report, choose Process, Database.  I am entering Use custom database logon info and choosing Oracle as my database driver.  I then enter the tnsnames entry into the server and enter my username and password and check the use use same database logon as when report is run.  I get the error The database logon information for this report is either incomplete or incorrect.  I'm guessing the report is not using the certificate in the wallet when it is trying to log on, but I'm not sure.  Does anyone have any suggestions or experience with this?  Thanks in advance for any help.

    Hi Angie,
    you should install the 32bit Oracle driver on your Solaris machine and adjust the LD_LIBRARY_PATH environment variable (in the profile of the BOBJ installation user) to point to the path of the 32bit libraries of your Oracle driver.
    BOBJ is not a native 64bit software and can therefore work only with the 32bit versions of the database drivers.
    Regards,
    Stratos
    Edited by: Efstratios Karaivazoglou on Jul 15, 2009 4:49 PM

  • What .ora file is required for client?

    what .ora file is required on client side in order to connect to oracle database server? can we connect to db server without any .ora file? such as tnsname.ora, or even sqlnet.ora, etc.

    That depends on a variety of factors, among them
    - What version of the Oracle client you are using
    - What tool you are using to connect
    - How complex your database environment is
    - Whether you are using local naming or are using something like Oracle Internet Directory
    A basic install of the 11g thick client, for example, creates a sqlnet.ora file for you that enables the EZConnect syntax. Assuming your tool supports EZConnect, and your database configurations are simple enough to be able to use the EZConnect syntax, no additional configuration would be required. If you are using a tool to connect to Oracle that uses the thin JDBC driver, you need no client-side configuration-- your tool will prompt you for a JDBC URL (or information to generate a JDBC URL) that connects to the database.
    On the other hand, in most cases, you generally want to configure a tnsnames.ora file on the client.
    Justin

Maybe you are looking for