Location of tnsnames.ora for Tora and Oracle XE Client

I Googled far and wide and did not see a CLEAR answer to my question, hopefully this will help others.
I have installed the debian oracle-xe-client and tora packages (tora rebuilt for oracle) on Ubuntu 8.04.
However, I did not know where I was supposed to place the tnsnames.ora file for my databases. I have tried running Tora with the environment variable of TNS_ADMIN set to the file where I placed my tnsnames.ora, however that did not work as Tora did not 'see' the file or its entries apparently. I know this works because I copied it from a Debian Etch box with the client and server installed.
I had even added a 'network/admin' directory structure to the //usr/lib/oracle/xe/app/oracle/product/10.2.0/client (ORACLE_HOME) with the tnsnames.ora but also with no success.
Now for the solution:
Simply remember that TNS_ADMIN points to the directory where the tnsnames.ora is and it will work. :)
I do have a suggestion that both Tora and sqlplus use a config file to set these directory(s) in addition to the overriding ability of the environment variable, TNS_ADMIN as is usually the case with UNIX apps (and thus expected).
Thank you,
Jason

The ODBC Instant Client Readme that is included in the install also indicates that %ORACLE_HOME%/network/admin/tnsnames.ora is the correct default location. What about OCI?

Similar Messages

  • TNSNAMES.ora for DR And Primary Instance

    I have 2 node rac, how do i specify load balance and failover in the client tnsnames.ora including DR hostnames so that when the primary instance is not available it automatically goes to DR. Instead of flipping the tnsnames.ora.

    You seem to have a substantial amount of confusion in your request.
    When you use the term DR are you referring to an unmentioned Physical Data Guard implementation somewhere else or are you misusing the term to mean "the other node in my cluster?"
    In what version of Oracle?
    What services have you defined?
    How is failover configured? Using TAF or FCF?
    You need to provide a lot more information for us to help you.
    Load balancing has nothing to do with failover. Are you asking about one of them or both?
    Review the capabilities of the DBMS_SERVICE package with respect to creating a service. How did you define your RAC services?

  • Volumes and Qtrees set up for SAP and Oracle

    Hi Gurus
    I Need your help Please
    I need to get Volumes and Qtrees set up for SAP and Oracle.
    I found a document from NetApp that helped a lot about the structure.
    But what I donu2019t know and canu2019t find anywhere is sizing for the volumes and Qtrees.
    I really need some guidelines on sizing these below:
    FlexVol saplog
    /usr/sap/SID
    /usr/sap/trans
    /sapmnt/SID
    /home/SIDadm
    /oracle/SID
    /oracle/SID/origlogA
    /oracle/SID/origlogB
    /oracle/SID/oraarch
    /oracle/SID/sapreorg
    /oracle/SID/sapbackup
    /oracle/SID/saparch
    FlexVol sapdata
    /oracle/SID/sapdata1
    /oracle/SID/sapdata2
    /oracle/SID/sapdataN
    FlexVol mirrlogs
    /oracle/SID/mirrlogA
    /oracle/SID/mirrlogB
    Thanks and appreciate your help

    > I have gone through the Inst Guide and I was surprised to see only 50 MB for Oracle software directory ?
    Where did you read that?
    > The sizing given in Installation guide is for typical setup or do we need to size as per our requirement ?
    The sizing give there is for the initial system setup. It does not contain customer specific requirements.
    The usual process is:
    - you contact your hardware vendor
    - you use http://service.sap.com/quicksizer together with him and fill in the data
    - the hardware vendor will offer you the storage and the machines for the setup
    - the vendor configures with you the storage and the necessary filesystem layout based on that sizing
    Each customers setup is different and requires the experience and knowledge from the respective hardware vendor how to set up the system so it performs well.
    You can follow the suggestions given here, this will be enough for the initial setup but the system will grow. This is not taken into account in the installation guide because it's customer specific.
    Markus

  • Connection between  oracle 9i server and oracle 9i client

    hi there,
    i have installed both oracle 9i server and oracle 9i client in my system.how can i connect these two to have connection between these server and client?
    Because i was using only 9i server for creating database and for other purposes.i have not used 9i client yet.
    Please write me the answer.
    Thanks in advance.

    Hi Balu,
    If you have the Oracle 9i Client, you can just edit your TNSNAMES.ora file of your client to have a TNS Entry for your new Database & try connecting it. You just need to try TNSPING & ensure that you can reach the Listener.
    Are you facing any specific problems ?
    Regards,
    Sandeep

  • What jar file contains oracle.ifs.beans and oracle.ifs.clients classes?

    I am trying to build some code which needs oracle.ifs.beans and oracle.ifs.clients packages and classes. I have downloaded the following:
    OracleAdministrativeClientUtility
    OracleApplicationServer
    OracleContentManagementSDK
    OracleIIOPClientLibrary
    OracleJDeveloper
    OracleRMIClientSideLibrary
    OracleSOA
    OracleWebServicesClientLibrary
    None of these appears to contain the oracle.ifs packages.

    oracle.ifs.beans and oracle.ifs.clients packages are for the Oracle Internet File System. Are the following JAR files available?
    repos.jar
    adk.jar

  • Is it possible to install oracle 11g client 32 bit and oracle 11g client 64

    Hi,
    I have Windows 2008 R2 64 Bit Operating Server Installed.
    Other software that are Installed :
    1) Visual Studio 2010 Ultimate 32 Bit.
    2) Microsoft SharePoint server 2010 64 Bit.
    For my development purpose I want to install both oracle 11g client 32 bit and oracle 11g client 64 on the same machine.
    Is it possible to install both 32 and 64 bit instance on the same machine.
    Thanks
    Sambit

    959211 wrote:
    Hi,
    I have Windows 2008 R2 64 Bit Operating Server Installed.
    Other software that are Installed :
    1) Visual Studio 2010 Ultimate 32 Bit.
    2) Microsoft SharePoint server 2010 64 Bit.
    For my development purpose I want to install both oracle 11g client 32 bit and oracle 11g client 64 on the same machine.
    Is it possible to install both 32 and 64 bit instance on the same machine.
    Thanks
    Sambityes, possible; but minor challenge to manage dynamically
    how to ensure that you actually use the flavor you desire?

  • About Oracle-xe and Oracle-xe-client

    Hi all,
    I prefer tell you I'm french and I may do mistakes... ^^
    I use Oracle database on my computer because I've a course about Oracle and PL/SQL. So I'm the single user of this database.
    I would like to know if I must install oracle-xe and oracle-xe-client or If oracle-xe is enough (whithout oracle-xe-client) to test my procedures/queries/etc... ?
    Thank you for your help. :D

    I would like to know if I must install oracle-xe and
    oracle-xe-client or If oracle-xe is enough (whithout
    oracle-xe-client) to test my procedures/queries/etc... ?Oracle-XE is enough for you to test your procedures/queries/etc...
    Check following link , for how to install
    http://st-curriculum.oracle.com/tutorial/DBXETutorial/html/module1/wininst.htm
    - Virag Sharma
    http://virag.sharma.googlepages.com
    http://viragsharma.blogspot.com/

  • TNSNAMES.ORA  for Oracle database 11.1.0.7

    Hi,
    Im installed oracle database 11.1.0.7 ,but unable find the TNSNAMES.ORA File.Can any help on this.

    Hi,
    Which OS is urs ??
    Normally it is available in ORACLE_HOME/network/admin.
    If it is not there, then
    Use NETCA to create those files.
    Normally, the Network Configuration Assistant (NETCA) is started at the end of the installation process; however, if NETCA fails or you exit before completing, the tnsnames.ora and the other files will not be created. The tnsnames.ora and the other NETCA created files are not necessary for connecting to the database locally from the server.
    Thanks,
    Ranjith

  • 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).

  • Tora and Oracle

    Hi,
    I just installed FC3, Oracle 10g client and Tora 1316 but when I try to connect using tnsnames.ora I have the ORA-12545 error while sqlplus connects successfully.
    Actually Tora tries to connect to a local instance with BEQ protocol instead of TCP remote Database connection.
    (enabled sqlnet loggin and saw it in the trc file)
    Any idea?
    It was working fine on FC2 ...
    Thanks
    JOBAR

    Jobar,
    you've created duplicate post...
    Please use the old one because there I am waiting for your reply.
    TORA 1.3.16 + FC3

  • Possible to use 2 tnsnames.ora for just one client?

    Hi,
    in our organisation we have two different tnsnames.ora files. This because of the
    fact that there are remote locations each with their own IT department. Each department maitains their own databases, but applications are spread over the whole organisation.
    What I would like to to create is a tnsnames.ora in which there is an e.g. include c:\oracle\tnsnames.ora and include c:\oracle1\tnsnames.ore. Would that be possible?
    Fred

    If what you want to achieve is a situation where different users use the same PC, but you want to limit the tnsnames they have access to, what if you try setting the TNS_ADMIN environment variable to point to the permitted directory for each user env profile.
    e.g
    user1
    TNS_ADMIN=c:\oracle\network\admin\user1
    c:\oracle\network\admin\user1\tnsnames.ora
    c:\oracle\network\admin\user1\sqlnet.ora
    user2
    TNS_ADMIN=c:\oracle\network\admin\user2
    c:\oracle\network\admin\user2\tnsnames.ora
    c:\oracle\network\admin\user2\sqlnet.ora
    etc.

  • Installation of Oracle Discoverer for PeopleSoft and Oracle apps(11.5.10)

    Hello Gurus,
    I hope I am in the right forum. I have been assigned to install Oracle Discoverer for Oracle ERP (11.5.10). We currently have a Oracle Discoverer environment for Peoplesoft. My questions are follows.
    1. Can I use the existing Oracle Discoverer which is used to get PeopleSoft data for Oracle Applications (11.5.10) ?? This way I avoid installing another copy of Discoverer. In Future, if we could use the existing technology for other Databases.
    2. If I go in for a new install of Oracle Discoverer, what is that I need to install ? I am guessing, there should be
    1. Desktop application on the client
    2. Do I need to install anything on the server ?
    3. I will have a Oracle Discoverer database
    I guess 1. (Desktop application) would be installed on all desktops ? Is there a web based thingy ?? For 2 and 3 I would require the DBA's to help me out.
    Would anyone have a high level diagram of the things that go in for installation ? I would really appreciate if you could send it to kiranramachandra at yahoo dot com.
    Thanks folks
    Kiran

    Hi,
    1. No, you don't need to reinstall Discoverer, you can just connect to the new database provided you have updated the TNSNames.ora file. However, before you can connect with Discoverer Desktop you will need to use Discoverer Admin to create a new Apps mode EUL in the Applications Database.
    2. You will need a client installation of Discoverer (Admin and Desktop). If you want to use the web based Discoverer Plus and Viewer tools you will need to a Oracle Application Server installation. If you are installing Discoverer 10g then you should install the Oracle Business Intelligence Standard Edition. But depending on your version and configuration you may need to install other tools.
    Rod West

  • Tnsnames.ora error when installing oracle 9i developer suite

    Hi,
    Can anyone answer this question: I recently installed
    oracle 9i and i'm getting a tnsnames.ora error when connecting to the database. Can anyone tell me what parameters to modify in the tnsnames.ora and sqlnet.ora files and what values to put in these parameters. Also,
    i'm trying to create a net_service_name in oracle net manager(in configuration/management tools) and I can't figure out the service name for versions of Oracle 8i or later. Can someone tell me what this is because the program is asking for a service name. I need this info
    for connecting to the database by username/password@net_service_name. Please respond soon.
    Thank you.
    T. Patel

    Go Net8Assistant. Follow the tree Net8Config ->Local -> Service Naming. In this node you will find all instances set (SIDs) and by clicking on them you will see in the right hand part of the screen if they were set or not in tnsnames.ora.
    Another way: Usually the database service name is OracleServiceSID. Go Control Panel -> Administrative Tools -> Services and check out the Oracle Service name. Take the SID from there to tnsnames.ora.
    You should have write down the name you was asked for while you were installing Oracle (or the default name that the installer put for you).
    Hope this will help you
    Alexandra

  • 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.

  • Cleint tnsnames.ora  for connecting to RAC instance

    Dear all,
    DB:10.2.0.1
    o/s:redhat 5.6
    2node rac cluster
    I am getting ERROR: ORA-12170: TNS:Connect timeout occurred when trying to connect to rac instance.the timeout frequency is very less once in 10 times.
    cleint tnsname.ora
    RACTEST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.2.25)(PORT = 1521))
    (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.2.27)(PORT = 1521))
    (FAILOVER= TRUE)
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = RACTEST)
    Regards

    Try to connect straight to the nodes. One node at the time. You can add new tnsnames entries for all RAC nodes so you can connect only one node not the whole RAC.
    example:
    RACTEST1 =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.2.25)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = dedicated)
    (SERVICE_NAME = RACTEST)
    (INSTANCE_NAME = RACTEST1)
    RACTEST2 =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.2.27)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = dedicated)
    (SERVICE_NAME = RACTEST)
    (INSTANCE_NAME = RACTEST2)
    If both nodes are working then problem is probably in network / firewall.
    Usually this kind of problems comes because one node's database instance is somehow broken. And if that is the problem correction is restart failing instance.
    Edited by: Simo Kemppinen on Jul 15, 2012 12:58 PM
    Edited by: Simo Kemppinen on Jul 15, 2012 12:59 PM

Maybe you are looking for

  • Refresh materialized view on fast refresh

    Hi, I want to create a fast refresh on a materialized view but i kept getting ORA-12015: cannot create a fast refresh materialized view from a complex query. When I did a complete refresh on the materialzed view, it completed. I have create a materia

  • App-V 5 package of MS Dynamics AX 2009 crashes on exit

    Hi All, I sequenced MS Dynamics AX 2009 With App-V 5. The application works fine but I get an appcrash when I exit the application. I know it has nothing to do with the back-end. When I launch the app without a back-end and I close the first applicat

  • Runtime error Bex Query Execution

    Hi guys, I'm facing an BW-BEX error, when I Execute a Bex Query that supposed to make some time to retreive data, about 30000 records, un Excel runtime error occurs with the same query but enough restricted to retreive less than 5000 records, this ti

  • Mac Book Pro, Blackberry, Wireless Connect w/ Verizon

    Hi! I need to set up the wireless internet service using my blackberry. I know I need to subscribe w/ Verizon, but what else? The Verizon directions on the website talk about loading some CD onto the PC. Where do I get this CD, and does that mean I a

  • Script not showing in index file after publising -- 2nd day of trial

    Why doesn't the published DW index file show an actual, intended flash image (weather bug) when Publisher and CoffeeCup do? Please advise. Here is my DW index page: http://96.9.48.31/