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
Similar Messages
-
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 lineHi,
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 -
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,
VNSID_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 -
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:21You can check
DataConnectionFile.EnumerateDependants method
This post is my own opinion and does not necessarily reflect the opinion or view of Slalom. -
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 appreciatedHi,
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
DHHi 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?
ThanksHi,
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 -
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 -
SQL query to find sqlnet.ora parameters
Hi All,
I am working 11g RAC /solaris 9
I want have sql query to find values of sqlnet.ora parameters
May be values of SQLNET.INBOUND_CONNECT_TIMEOUT
SQLNET.SEND_TIMEOUT, SQLNET.RECV_TIMEOUT
Thanks
rajThe sqlnet.ora file is the profile configuration file. It resides on the client machines and the database server.
Profiles are stored and implemented using this file. The database server can be configured with access control parameters in the sqlnet.ora file.
These parameters specify whether clients are allowed or denied access based on the protocol.
The sqlnet.ora file enables you to do the following:
Specify the client domain to append to unqualified names
Prioritize naming methods
Enable logging and tracing features
Route connections through specific processes
Configure parameters for external naming
Configure Oracle Advanced Security
Use protocol-specific parameters to restrict access to the database
By default, the sqlnet.ora file is located in the ORACLE_HOME/network/admin directory. The sqlnet.ora file can also be stored in the directory specified by the TNS_ADMIN environment variable.
You can not query on this file sqlnet.ora as tnsnames.ora file.
Regards
Mahir M. Quluzade -
Hi,
1-if I rename my sqlnet.ora to sqlnet.ora_old, I can start listener otherwise not. Do you know this problem ? And the solution ?
2-with which assistant can I generate again the sqlnet.ora file ?
My DB is 10g on win XP pro.
many thanks.The windows OracleOraDb10g_home1TNSListener service does not start and when I launch lsnrctl start I have
C:\oracle\product\10.2.0\db_1\NETWORK\ADMIN>lsnrctl start
LSNRCTL for 32-bit Windows: Version 10.2.0.1.0 - Production on 21-SEPT.-2007 06:00:38
Copyright (c) 1991, 2005, Oracle. All rights reserved.
Lancement de tnslsnr: Veuillez patienter...
TNSLSNR for 32-bit Windows: Version 10.2.0.1.0 - Production
Le fichier de paramÞtres systÞme est C:\oracle\product\10.2.0\db_1\network\admin\listener.ora
Messages de journalisation Úcrits dans C:\oracle\product\10.2.0\db_1\network\log\listener.log
Erreur lors de l'Úcoute sur : (ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PARTIAL=yes)(QUEUESIZE=1))
Il n'y a plus d'Úcoute sur : (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC1ipc)))
TNS-12560: TNS : erreur d'adaptateur de protocole
TNS-00583: VÚrification de noeud valide : impossible d'analyser les paramÞtres de configuration
But whene I rename sqlnet.ora file, it is ok , service can be launched either in windows services or by lsnrctl start.
Message was edited by:
user522961 -
Unable to find sqlnet.ora
hi,
In m unable to find sqlnet.ora file in my server which is IBM AIX 5.3, but i can see sqlnet.log file in the location .
caracalp:FRPDWP:/ora/product/v102/network/log>ls -ltr
total 502456
-rw-r----- 1 oracle dba 931322 Aug 12 12:35 sqlnet.log
-rw-r--r-- 1 oracle dba 220928805 Aug 12 13:21 listener_ds.log
-rw-r--r-- 1 oracle dba 35128744 Aug 12 13:21 listener.logCan u please tell me where should be the sqlnet.ora. I checked in the below location too,but its not there
caracalp:FRPDWP:/ora/product/v102/network/admin>ls -ltr
total 8
-rw-r--r-- 1 oracle dba 172 Dec 26 2003 shrept.lst
-rw-r--r-- 1 oracle dba 0 Aug 14 2005 libnrad10.imp
-rw-r--r-- 1 oracle dba 0 Aug 14 2005 libnrad10.exp
-rw-r--r-- 1 oracle dba 0 Aug 14 2005 libnk510.imp
drwxr-xr-x 2 oracle dba 256 Dec 02 2010 samples
lrwxrwxrwx 1 oracle dba 17 Feb 05 2011 tnsnames.ora -> /etc/tnsnames.ora
lrwxrwxrwx 1 oracle dba 17 Feb 05 2011 listener.ora -> /etc/listener.orashow the output of tnsping command, using that you can find your corresponding sqlnet.ora file location for your database.
example:-
C:\Windows\System32>tnsping DEMODB
TNS Ping Utility for 32-bit Windows: Version 10.2.0.3.0 - Production on 12-AUG-2
011 11:48:13
Copyright (c) 1997, 2006, Oracle. All rights reserved.
Used parameter files:
D:\oracle\product\10.2.0\db_2\network\admin\sqlnet.ora
Used TNSNAMES adapter to resolve the alias
Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = xxxxxxxx)(PORT = 1522)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = demodb)))
OK (60 msec)
C:\Windows\System32> -
Pre-install on hp-ux/sqlnet.ora config problems.
I have come across a small issue when I am going through the oracle pre-install manual for 1.0.2.1.0
It says modify the sqlnet.ora file with the domain name in NAMES.DEFAULT.DOMAIN. My sqlnet.ora file is as follows:
# SQLNET.ORA Network Configuration File: /u00/app/oracle/product/8.1.7/network/admin/sqlnet.ora
# Generated by Oracle configuration tools.
# Last update: May 3rd 2001
NAMES.DIRECTORY_PATH= (TNSNAMES, ONAMES, HOSTNAME)
NAMES.DEFAULT_DOMAIN = (intranet.condenast.co.uk)
# REM'd byNCW, Bond, as it was interfering with CNAPS database backups
SQLNET.AUTHENTICATION_SERVICES = (NTS)
The NAMES.DEFAULT_DOMAIN is causing an issue with the backups. Has anyone else seen this problem as it is delaying my portal install. Any help would be very appreciated.
Thanks,
Bruce
nullI have come across a small issue when I am going through the oracle pre-install manual for 1.0.2.1.0
It says modify the sqlnet.ora file with the domain name in NAMES.DEFAULT.DOMAIN. My sqlnet.ora file is as follows:
# SQLNET.ORA Network Configuration File: /u00/app/oracle/product/8.1.7/network/admin/sqlnet.ora
# Generated by Oracle configuration tools.
# Last update: May 3rd 2001
NAMES.DIRECTORY_PATH= (TNSNAMES, ONAMES, HOSTNAME)
NAMES.DEFAULT_DOMAIN = (intranet.condenast.co.uk)
# REM'd byNCW, Bond, as it was interfering with CNAPS database backups
SQLNET.AUTHENTICATION_SERVICES = (NTS)
The NAMES.DEFAULT_DOMAIN is causing an issue with the backups. Has anyone else seen this problem as it is delaying my portal install. Any help would be very appreciated.
Thanks,
Bruce
null
Maybe you are looking for
-
HT1296 my itunes wont start up on my laptop
my itunes wont launch even when i connect my iphone help
-
Hello all, When we recieve on a/c payment from the customer eg: in case of sales in out side local area and customer deposit the payment in his a/c then how can the system the same against invoices, whether it is in FIFO or not? urgent points will b
-
Delete all form fields in one go
Hi I am using Acrobat X Pro. While running the accessibility check on my PDF, I got an error that there are many form fields that are not tagged to the structure. When I highlighted the fields, I noticed that all these form fields are redundant and c
-
Hi, I just want to know if anybody know if the "queue" object is found within Java.. If you don'T know what is a queue, it's like a stack, but instead of begin Last In first out, it's First in First Out. If it doesn't exist, does anybody have it alre
-
Iphoto froze and deleted half my pictures of my memory card
I am a photographer and I just put my memory card in to the memory card reader at the side after all day of photographing and imported the images and I clicked delete all photos when it had finished like I normally would but iphoto froze and deleted