Instant tnsnames.ora for client Configuration procedure?

The instant client has any tnsnames.ora or tnsping.exe. There is no 'normal' client available anywhere on the site of oracle, who needs this instant client which is completely unusable - http://download.oracle.com/docs/cd/B19306_01/server.102/b14196/network005.htm#CIHJHJGJ said to use Oracle Net Manager to set up the network for the instant client, but where to find the Oracle Net Manager? It is not available separately, but only with the Oracle sever Installer. Why does download the server in order to use just the customer?

I created the structure of network/admin directory and copied the tnsnames.ora in it and also copied the tnsping.exe, but it does not say some 'no message file. Can someone please?

Published by: user4928701 on 16 Sep, 2011 04:00

user4928701 wrote:
There is no 'normal' client available anywhere on the oracle website,

Subsection through software downloads of database, under the see all link for your platform, you will find the Setup file of database "full" Client (e.g., win32_11gR2_client.zip).
http://www.Oracle.com/technetwork/database/Enterprise-Edition/downloads/index.html

http://download.Oracle.com/docs/CD/B19306_01/server.102/b14196/network005.htm#CIHJHJGJ said to use Oracle Net Manager to set up the network for instant customer,

Where does say instant customer?

and also copied the tnsping.exe Moreover,

Copy of the files at random on installations of Oracle is obviously not possible.
Please use an appropriate installation package. If you need administrative tools, I would say this type of installation by the full Client with the "Administrator".

However, for normal applications need connection OIC/Net base libraries and to facilitate their deployment, Instant Client agrees very well.

Tags: Oracle

Similar Questions

  • When I need the machine tnsnames.ora and customer configurations?

    Hello

    I installed Oracle 11 g on Linux system and successfully created the databases. I can access the database (on server) Enterprise Manager and SQL * (by sqlplus SYSTEM/pass@ora). On another computer I installed the Oracle 11 g database Client (and chose the type administrator installation). Before you start the network for local configuration Setup Wizard Net Service Name, I started Enterprise Manager (the same address, what happens on the server). I was very surprised that I can access Enterprise Manager client without any additional configuration.
    I know, tnsnames.ora help with SQL * more (we can access SYSTEM/pass@ora and don't give no address ip and port).
    And my questions: can I access by Enterprise Manager of any client computer without creating tnsnames.ora and additional configurations client machine?
    Is SQL * more use only tnsnames.ora?

    Thanks awfully for help.
    Concerning

    Luk004 wrote:
    can I access by Enterprise Manager of any client computer without creating tnsnames.ora and additional configurations client machine

    Yes, because the Business Manager is an application of 3 layers: you connect to an application server that connects to the database instance.

    Luk004 wrote:
    Is SQL * more use only tnsnames.ora?

    No.: each client must connect directly to the instance of database with a base layer Oracle Call Interface (OCI) must use tnsnames.ora.
    There are a few exceptions:
    -The thin JDBC driver: http://download.oracle.com/docs/cd/B19306_01/appdev.102/b14251/adfns_environments.htm#sthref52.
    -EZConnect connection string: http://download.oracle.com/docs/cd/B19306_01/network.102/b14212/naming.htm#ABC524382SRI12.

  • Earphone & tnsnames.ora

    I'm confused verymuch is a client/server configuration.
    I need help you popular.
    I posted the two clients/server listener & tnsnames.ora,.
    that I set up.

    Server listener.ora (test1)

    SID_LIST_LISTENER =
    *(SID_LIST =*)
    *(SID_DESC =*)
    * (SID_NAME = PLSExtProc) *.
    * (ORACLE_HOME = D:\oracle\product\10.2.0\db_1)*
    * (= Extproc program) *.
    *)*
    *(SID_DESC =*)
    * (GLOBAL_DBNAME = TEST1) *.
    * (ORACLE_HOME = D:\oracle\product\10.2.0\db_1)*
    * (SID_NAME = TEST1) *.
    *)*
    *)*

    TEST1 =
    *(DESCRIPTION =*)
    * (ADDRESS = (PROTOCOL = TCP) (HOST = Desktop029.tvsil.com)(PORT = 1521)) *.
    *)*

    SID_LIST_ORCL =
    *(SID_LIST =*)
    *(SID_DESC =*)
    * (GLOBAL_DBNAME = TEST1) *.
    * (ORACLE_HOME = D:\oracle\product\10.2.0\db_1)*
    * (SID_NAME = TEST1) *.
    *)*
    *)*

    LISTENER =
    *(DESCRIPTION =*)
    * (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC)) *.
    *)*

    ORCL =
    *(DESCRIPTION =*)
    * (ADDRESS = (PROTOCOL = TCP) (HOST = Desktop041.tvsil.com)(PORT = 1522)) *.
    *)*

    Server tnsnames.ora

    TEST1 =
    *(DESCRIPTION =*)
    * (ADDRESS = (PROTOCOL = TCP) (HOST = Desktop029.tvsil.com)(PORT = 1521)) *.
    *(CONNECT_DATA =*)
    * (SERVER = DEDICATED) *.
    * (SERVICE_NAME = TEST1) *.
    *)*
    *)*

    ORCL =
    *(DESCRIPTION =*)
    * (ADDRESS = (PROTOCOL = TCP) (HOST = Desktop041.tvsil.com)(PORT = 1522)) *.
    *(CONNECT_DATA =*)
    * (Service_name = ORCL). *
    *)*
    *)*

    EXTPROC_CONNECTION_DATA =
    *(DESCRIPTION =*)
    *(ADDRESS_LIST =*)
    * (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1)) *.
    *)*
    *(CONNECT_DATA =*)
    * (SID = PLSExtProc) *.
    * (PRESENTATION = RO) *.
    *)*
    *)*

    customer listener.ora (orcl)

    SID_LIST_LISTENER =
    *(SID_LIST =*)
    *(SID_DESC =*)
    * (SID_NAME = PLSExtProc) *.
    * (ORACLE_HOME = E:\Sample1oracle\product\10.2.0\db_2)*
    * (= Extproc program) *.
    *)*

    *)*

    LISTENER =
    *(DESCRIPTION_LIST =*)
    *(DESCRIPTION =*)
    * (ADDRESS = (PROTOCOL = TCP) (HOST = Desktop041.tvsil.com)(PORT = 1523)) *.
    * (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC)) *.
    *)*
    *)*

    ORCL =
    *(DESCRIPTION =*)
    * (ADDRESS = (PROTOCOL = TCP) (HOST = Desktop041.tvsil.com)(PORT = 1522)) *.
    *)*

    TEST1 =
    *(DESCRIPTION =*)
    * (ADDRESS = (PROTOCOL = TCP) (HOST = Desktop029.tvsil.com)(PORT = 1521)) *.
    *)*

    Customer tnsnames.ora

    LISTENER_TEST1 =
    * (ADDRESS = (PROTOCOL = TCP) (HOST = Desktop029.tvsil.com)(PORT = 1521)) *.


    TEST1 =
    *(DESCRIPTION =*)
    * (ADDRESS = (PROTOCOL = TCP) (HOST = Desktop029.tvsil.com)(PORT = 1521)) *.
    *(CONNECT_DATA =*)
    * (SERVER = DEDICATED) *.
    * (SERVICE_NAME = TEST1) *.
    *)*
    *)*

    ORCL =
    *(DESCRIPTION =*)
    *(ADDRESS_LIST =*)
    (* (ADDRESS = (PROTOCOL = TCP)(HOST = desktop041.tvsil.com) (PORT = 1522))) *.
    *(CONNECT_DATA =*)
    * (Service_name = ORCL). *
    *)*
    *)*

    EXTPROC_CONNECTION_DATA =
    *(DESCRIPTION =*)
    *(ADDRESS_LIST =*)
    * (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC2)) *.
    *)*
    *(CONNECT_DATA =*)
    * (SID = PLSExtProc) *.
    * (PRESENTATION = RO) *.
    *)*
    *)*

    user11345217 wrote:
    I'm confused verymuch is a client/server configuration.
    I need help you popular.
    I posted the two clients/Server Listener and tnsnames .ora,
    that I set up.

    Server listener.ora (test1)

    SID_LIST_LISTENER =
    *(SID_LIST =*)
    *(SID_DESC =*)
    * (SID_NAME = PLSExtProc) *.
    * (ORACLE_HOME = D:\oracle\product\10.2.0\db_1)*
    * (= Extproc program) *.
    *)*
    *(SID_DESC =*)
    * (GLOBAL_DBNAME = TEST1) *.
    * (ORACLE_HOME = D:\oracle\product\10.2.0\db_1)*
    * (SID_NAME = TEST1) *.
    *)*
    *)*

    TEST1 =
    *(DESCRIPTION =*)
    * (ADDRESS = (PROTOCOL = TCP) (HOST = Desktop029.tvsil.com)(PORT = 1521)) *.
    *)*

    SID_LIST_ORCL =
    *(SID_LIST =*)
    *(SID_DESC =*)
    * (GLOBAL_DBNAME = TEST1) *.
    * (ORACLE_HOME = D:\oracle\product\10.2.0\db_1)*
    * (SID_NAME = TEST1) *.
    *)*
    *)*

    LISTENER =
    *(DESCRIPTION =*)
    * (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC)) *.
    *)*

    ORCL =
    *(DESCRIPTION =*)
    * (ADDRESS = (PROTOCOL = TCP) (HOST = Desktop041.tvsil.com)(PORT = 1522)) *.
    *)*

    Well, it's certainly the most, uh, listener.ora interesting I've ever seen... where did you find with this?

    Server tnsnames.ora

    TEST1 =
    *(DESCRIPTION =*)


    * (ADDRESS = (PROTOCOL = TCP) (HOST = Desktop029.tvsil.com)(PORT = 1521)) *.
    *(CONNECT_DATA =*)
    * (SERVER = DEDICATED) *.
    * (SERVICE_NAME = TEST1) *.
    *)*
    *)*

    ORCL =
    *(DESCRIPTION =*)
    * (ADDRESS = (PROTOCOL = TCP) (HOST = Desktop041.tvsil.com)(PORT = 1522)) *.
    *(CONNECT_DATA =*)
    * (Service_name = ORCL). *
    *)*
    *)*

    EXTPROC_CONNECTION_DATA =
    *(DESCRIPTION =*)
    *(ADDRESS_LIST =*)
    * (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1)) *.
    *)*
    *(CONNECT_DATA =*)
    * (SID = PLSExtProc) *.
    * (PRESENTATION = RO) *.
    *)*
    *)*

    customer listener.ora (orcl)

    A listener.ora on the client makes as much sense as a radiator on a 1965 Volkswagen. The listener is strictly a process on the server side. That's the whole reason to live is to 'listen' (where its name) for connection requests.

    Customer tnsnames.ora

    LISTENER_TEST1 =
    * (ADDRESS = (PROTOCOL = TCP) (HOST = Desktop029.tvsil.com)(PORT = 1521)) *.

    TEST1 =
    *(DESCRIPTION =*)
    * (ADDRESS = (PROTOCOL = TCP) (HOST = Desktop029.tvsil.com)(PORT = 1521)) *.
    *(CONNECT_DATA =*)
    * (SERVER = DEDICATED) *.
    * (SERVICE_NAME = TEST1) *.
    *)*
    *)*

    ORCL =
    *(DESCRIPTION =*)
    *(ADDRESS_LIST =*)
    (* (ADDRESS = (PROTOCOL = TCP)(HOST = desktop041.tvsil.com) (PORT = 1522))) *.
    *(CONNECT_DATA =*)
    * (Service_name = ORCL). *
    *)*
    *)*

    EXTPROC_CONNECTION_DATA =
    *(DESCRIPTION =*)
    *(ADDRESS_LIST =*)
    * (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC2)) *.
    *)*
    *(CONNECT_DATA =*)
    * (SID = PLSExtProc) *.
    * (PRESENTATION = RO) *.
    *)*
    *)*

    OK, let's clear up a few things.

    First of all, as mentioned, the listener is purely a process on the client side. There is therefore no use to a listener.ora on the client.

    Second, a single listener, listening on a single port, can serve several databases multiple editions in multiple oracle homes. He listens to a connection, it puts in place (on a different listening port on) and then is out of the picture for this connection. It establishes the connection, but not the support it. Your listener.ora is much more complex (dare I say convoluted) as necessary.

    On the client side (the server can also act as a client) and the tnsnames.ora is used to resolve an alias (a tns service name) to a real destination on the network.

    Suppose you have the following in your tnsnames.ora:

    larry =
      (DESCRIPTION =
        (ADDRESS_LIST =
          (ADDRESS = (PROTOCOL = TCP)(HOST = myhost)(PORT = 1521))
        )
        (CONNECT_DATA =
          (SERVICE_NAME = curley)
        )
      )
    

    Now, when you issue a connect, say like this:

    $> sqlplus scott/tiger@larry
    

    TNS will appear in your tnsnames.ora for an entry called "larry". Then, tns sends a request to (PORT = 1521) on (HOST = myhost) to aid (PROTOCOL = TCP), requesting a connection to (SERVICE_NAME = curley).

    Where's (HOST = myhost) on the network? When the request is passed to tns to the next layer in the network stack, the name "myhost" resolves to an IP address, either via a file 'hosts' local, through DNS, or possibly other mechanisms being used less. Alternatively, you can hard-code the IP (HOST = 123.456.789.101) in the tnsnames.ora.

    Then, the request arrives (port = 1521) on (HOST = myhost). If all goes well, there is a listener on myhost configured to listen on (PORT = 1521), and this listener knows (SERVICE_NAME = curley). If so, you'll be connected.

    What can go wrong?

    First, there may not be an entry for 'larry' in your tnsnames file. In this case, you get "ORA-12154: TNS: could not resolve the connect identifier specified" no need to go looking for a problem on the host, with the listener, etc.. If you cannot place a phone call because you do not know the number (can't phone your telephone book or can't find the group you're looking for it contained therein) you don't look at problems at the switchboard.

    Perhaps the entry for larry was found, but myhost could not be resolved to an IP address (for example there is no entry for myhost in the local hosts file). This will mean by "ORA-12545: Connect failed because target host or object does not exist.

    Maybe there is an entry for MyServer in the local hosts file, but it specified a bad IP address. This will mean by "ORA-12545: Connect failed because target host or object does not exist.

    Maybe the INVESTIGATION period was good, but there is no listener running: "ORA-12541: TNS:no listener.

    Maybe the INVESTIGATION period was good, there is a listener to myhost, but he is listening on a different port. "ORA-12560: TNS:protocol adapter error.

    Maybe the INVESTIGATION period was good, there is a listener to myhost, listening on the specified port, it's unknown SERVICE_NAME = curley. "ORA-12514: TNS:listener is not currently of service requested in connect descriptor.

  • customer will not use the correct tnsnames.ora file

    Hello all, I installed oracle 10g client on my machine... but here's the thing... I tnsnames.ora several file on my machine (which I can't delete or play with)... and because of this oracle is not able to connect to the database I want it to connect to... I can't do tnsping to the database... is there a way where I can point my client to use a specific tnsnames.ora file? as a pointer? or something where it will look in this file specific tnsnsame.ora?

    You can specify what tnsnames.ora for use the TNS_ADMIN environment variable
    Switch to the directory that contains your tnsnames.ora to use.

    Kind regards
    Uwe

    http://uhesse.WordPress.com

  • Oracle RAC: not updated by srvctl tnsnames.ora

    Hello

    On both Oracle 10 g R2 RAC conditions 4.5 Linux nodes, I published with success the following commands to add a new service, but I don't see any changes on the tnsnames.ora file to add the created service connection descriptors. Is there anything missing? The tnsnames.ora file should not be updated by the srvctl?
    [oracle@rac2 admin]$ add service -d rac -s biserv -r rac1 -a rac2 -P PRECONNECT
    [oracle@rac2 admin]$ srvctl start service -d rac -s biserv
    
    [oracle@rac2 admin]$ crstat
    HA Resource                                   Target     State
    -----------                                   ------     -----
    ora.rac.biserv.cs                             ONLINE     ONLINE on rac1
    ora.rac.biserv.rac1.srv                       ONLINE     ONLINE on rac1
    ora.rac.db                                    ONLINE     ONLINE on rac1
    ora.rac.hrserv.cs                             ONLINE     ONLINE on rac1
    ora.rac.hrserv.rac1.srv                       ONLINE     ONLINE on rac1
    ora.rac.hrserv.rac2.srv                       ONLINE     ONLINE on rac2
    ora.rac.oeserv.cs                             ONLINE     ONLINE on rac1
    ora.rac.oeserv.rac1.srv                       ONLINE     ONLINE on rac1
    ora.rac.oeserv.rac2.srv                       ONLINE     ONLINE on rac2
    ora.rac.rac1.inst                             ONLINE     ONLINE on rac1
    ora.rac.rac2.inst                             ONLINE     ONLINE on rac2
    ora.rac1.ASM1.asm                             ONLINE     ONLINE on rac1
    ora.rac1.LISTENER_RAC1.lsnr                   ONLINE     ONLINE on rac1
    ora.rac1.gsd                                  ONLINE     ONLINE on rac1
    ora.rac1.ons                                  ONLINE     ONLINE on rac1
    ora.rac1.vip                                  ONLINE     ONLINE on rac1
    ora.rac2.ASM2.asm                             ONLINE     ONLINE on rac2
    ora.rac2.LISTENER_RAC2.lsnr                   ONLINE     ONLINE on rac2
    ora.rac2.gsd                                  ONLINE     ONLINE on rac2
    ora.rac2.ons                                  ONLINE     ONLINE on rac2
    ora.rac2.vip                                  ONLINE     ONLINE on rac2
    
    [oracle@rac2 admin]$ cat tnsnames.ora
    # tnsnames.ora.rac2 Network Configuration File: /u01/app/oracle/product/10.2.0/db_1/network/admin/tnsnames.ora.rac2
    # Generated by Oracle configuration tools.
    
    RAC =
      (DESCRIPTION =
        (ADDRESS = (PROTOCOL = TCP)(HOST = rac1-vip.mydomain.com)(PORT = 1521))
        (ADDRESS = (PROTOCOL = TCP)(HOST = rac2-vip.mydomain.com)(PORT = 1521))
        (LOAD_BALANCE = yes)
        (CONNECT_DATA =
          (SERVER = DEDICATED)
          (SERVICE_NAME = rac)
        )
      )
    
    OESERV =
      (DESCRIPTION =
        (ADDRESS = (PROTOCOL = TCP)(HOST = rac1-vip.mydomain.com)(PORT = 1521))
        (ADDRESS = (PROTOCOL = TCP)(HOST = rac2-vip.mydomain.com)(PORT = 1521))
        (LOAD_BALANCE = yes)
        (CONNECT_DATA =
          (SERVER = DEDICATED)
          (SERVICE_NAME = oeserv)
          (FAILOVER_MODE =
            (TYPE = SELECT)
            (METHOD = BASIC)
            (RETRIES = 180)
            (DELAY = 5)
          )
        )
      )
    
    LISTENERS_RAC =
      (ADDRESS_LIST =
        (ADDRESS = (PROTOCOL = TCP)(HOST = rac1-vip.mydomain.com)(PORT = 1521))
        (ADDRESS = (PROTOCOL = TCP)(HOST = rac2-vip.mydomain.com)(PORT = 1521))
      )
    
    RAC2 =
      (DESCRIPTION =
        (ADDRESS = (PROTOCOL = TCP)(HOST = rac2-vip.mydomain.com)(PORT = 1521))
        (CONNECT_DATA =
          (SERVER = DEDICATED)
          (SERVICE_NAME = rac)
          (INSTANCE_NAME = rac2)
        )
      )
    
    RAC1 =
      (DESCRIPTION =
        (ADDRESS = (PROTOCOL = TCP)(HOST = rac1-vip.mydomain.com)(PORT = 1521))
        (CONNECT_DATA =
          (SERVER = DEDICATED)
          (SERVICE_NAME = rac)
          (INSTANCE_NAME = rac1)
        )
      )
    
    HRSERV =
      (DESCRIPTION =
        (ADDRESS = (PROTOCOL = TCP)(HOST = rac1-vip.mydomain.com)(PORT = 1521))
        (ADDRESS = (PROTOCOL = TCP)(HOST = rac2-vip.mydomain.com)(PORT = 1521))
        (LOAD_BALANCE = yes)
        (CONNECT_DATA =
          (SERVER = DEDICATED)
          (SERVICE_NAME = hrserv)
          (FAILOVER_MODE =
            (TYPE = SESSION)
            (METHOD = BASIC)
            (RETRIES = 180)
            (DELAY = 5)
          )
        )
      )
    
    EXTPROC_CONNECTION_DATA =
      (DESCRIPTION =
        (ADDRESS_LIST =
          (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC0))
        )
        (CONNECT_DATA =
          (SID = PLSExtProc)
          (PRESENTATION = RO)
        )
      )

    Srvctl manages the CRS (OCR), but does not alter the tnsnames.ora.

    You can use netca to manage tnsnames.ora, but personally, I find it easier to manually edit the entries.

  • DBD::Oracle and instant client - can't find tnsnames.ora

    Hi all! :-)

    Guys, please, help!

    My OS: CentOS 6.6, i386

    Installed:

    Oracle - instantclient12.1 - basic - 12.1.0.2.0 - 1.i386

    Oracle - instantclient12.1 - devel - 12.1.0.2.0 - 1.i386

    Oracle - instantclient12.1 - sqlplus - 12.1.0.2.0 - 1.i386

    Perl-DBI-1, 609 - 4.el6.i686

    and last perl-DBD-Oracle-1, 74-CPAN.

    Apache 2.2.15, mod_perl 2.0.4

    SELinux disabled.

    ORACLE_HOME = usr/lib/oracle/12.1/client, LD_LIBRARY_PATH = /usr/lib/oracle/12.1/client/lib

    tnsnames.ora exist in /usr/lib/oracle/12.1/client/network/admin

    I wrote a simple perl script to test the connection:

    use strict;
    use DBI;
    
    my $dbh = DBI ->connect("dbi:Oracle:crm", 'login', 'password',{RaiseError => 1} );
    $dbh->disconnect();
    
    

    When I try to run script command line - everything isn't ok, no errors (Yes, I can run queries, etc... )

    But!

    With apache, I get an error:

    DBI connect('crm','login',...) failed: ORA-12154: TNS: could not resolve the connect identifier specified (DBD ERROR: OCIServerAttach) in /opt/otrs/bin/cgi-bin/oratest.pl on line 9

    I am trying to add ORACLE_HOME with PerlSetEnv and script see (I checked through % ENV), but no luck.

    Probably easier to use EZconnect instead of tnsnames.ora:

    $machine = 'my.oracle.database.com';
     $port = 1521;
     $sid = 'my_sid';
     $dbh = DBI->connect("dbi:Oracle://$machine:$port/$sid", $user, $pass) ||
      die "Failed to connect: $DBI::errstr\n";
    
  • Tnsnames.ora (ORA-12162) Configuration problems

    Hi all

    I have a database of 10.2.0.5 on a RedHat Linux box that I can use locally. I mean, I can connect to sqlplus using "connect scott/tiger".
    * $ export ORACLE_SID = MASTER *.
    * $ sqlplus /nolog *.
    * > connect scott / tiger *.
    * > Display the service_name parameter *.
    service name string MASTER.myhost.mydomain
    * > Display the db_name parameter *.
    db_name string MASTER

    Then, I wrote a listener.ora in my $ORACLE_HOME/network/admin like this:

    LISTENER_MASTER =
    *(DESCRIPTION =*)
    (* (ADDRESS = (PROTOCOL = TCP)(HOST = myhost.mydomain) (PORT = 1522))) *.

    SID_LIST_LISTENER_MASTER =
    *(SID_LIST =*)
    *(SID_DESC =*)
    * (GLOBAL_DBNAME = Master.myhost.mydomain) *.
    * (ORACLE_HOME = /Oracle/product/10.2)*
    *(SID_NAME = MASTER))) *.

    Has successfully started lsnrctl start and netstat auditor shows me that the box is the listening port 1522, belonged to tnslsnr.

    On the same machine (for testing purposes), I wrote this tnsnames.ora in $ORACLE_HOME/network/admin like this:

    MASTER =
    *(DESCRIPTION=*)
    * (ADDRESS = (PROTOCOL = tcp (PORT = 1522))(HOST=myhost.mydomain)) *.
    * (CONNECT_DATA =(service_name=Master.myhost.mydomain))) *.

    Unfortunately, I am unable to connect to my MASTER database:
    * $ ORACLE_SID unset *.
    * $ sqlplus /nolog *.
    * > connect to scott/tiger@MASTER*
    ORA-12162: TNS service name: net is incorrectly specified

    A trace of the "sqlplus" system process shows me that it is the correct reading of the tnsnames.ora file, I have no TNS_ADMIN environment variable (I also tried to put in my $ORACLE_HOME/network/admin).

    The curious thing, is when I tried to launch netmgr, this interface allows to test a tnsnames entry. So I did, and he told me I logged successfully while I just load the configuration of my own (I mean, it uses the tnsnames.ora I wrote, and I even tried to crush him of netmgr without success)

    Another curious, tcpdump shows me no traffic on port 1522...

    I turned around many sites and checked my files .ora ten times... so if there are clues...
    Thank you!

    Salvation;

    Please see:
    ORA-12162 connecting using DOB (no alias tnsnames) [ID 312348.1]

    Respect of
    HELIOS

  • What configuration must define in tnsnames.ora

    Dear all,

    Need your help. I have zero knowledge in oracle. Now, I need to conenct to the Oracle database from my window via SQLPlus server, which configuration should I set in my tnsnames.ora? A or B?

    Set A
    PNTP =
    (DESCRIPTION =
    (LOAD_BALANCE = on)
    (FAILOVER = on)
    (ADDRESS_LIST =
    (SOURCE_ROUTE = yes)
    (ADDRESS = (PROTOCOL = TCP) (HOST = Hostname1)(PORT = 1521))
    ((ADDRESS = (PROTOCOL = TCP) (HOST = Hostname2)(PORT = 1521)))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = pntp)
    )
    )

    Series B
    PNTP =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP) (HOST = Hostname1)(PORT = 1521))
    (ADDRESS = (PROTOCOL = TCP) (HOST = Hostname2)(PORT = 1521))
    (LOAD_BALANCE = yes)
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = pntp)
    )
    )
    How can i make sure the pointer are D:\oracle\ora92\network\ADMIN and not another folder? Can check from "environment variables "? WHich part?
    

    I suggest you go back to the documentation and reading.
    Please look at the following:

    http://download.oracle.com/docs/cd/B19306_01/install.102/b14312/post_install.htm#CHDBIHEE
    
    Then, on each client computer, configure either of the following settings:
    
        *
    
          Set the TNS_ADMIN environment variable to specify the location of the tnsnames.ora file and specify a service name from that file.
        *
    
          Place the tnsnames.ora file in the ORACLE_BASE\ORACLE_HOME\network\admin directory, and make sure that the ORACLE_HOME environment has been set to this Oracle home.
    

    Your tnsnames.ora file should contain the following, assuming that you have (n) number of nodes:

    PNTP =
    (DESCRIPTION =
    (LOAD_BALANCE = on)
    (ADDRESS_LIST=
    (ADDRESS = (PROTOCOL = TCP)(HOST = Hostname1-vip)(PORT = 1521))
    (ADDRESS = (PROTOCOL = TCP)(HOST = Hostname2-vip)(PORT = 1521))
    .
    .
    .
    (ADDRESS = (PROTOCOL = TCP)(HOST = Hostname(n)-vip)(PORT = 1521))
    )
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = pntp)
    )
    )
    

    Please mark as useful and correct issues and close the thread as answered.

    Kind regards.

    Published by: user11150436 on March 21, 2011 08:54

  • Oracle BI developer Client tools without Tnsnames.ora

    Hello gurus,


    In my local computer of the user, I installed Oracle BI developer Client Tools version 11.1.1.6
    It allows us to open a repository online/offline without installing OBIEE and Oracle database in our user, just put in ODBC connection.
    But the problem is when the user want to try to create the new repository, it seems that "the connection failed".
    There we have to copy some tnsnames.ora? In our local computer of the user, there is no tnsnames.ora since it does not install OBIEE/Oracle database on the local computer.

    Help, please


    Thanks in advance

    See you soon,.

    JOE

    Hey Joe,
    If you import data from an oracle database. You must install the Oracle database client. Then only, you can import data from Oracle database.
    In addition, you are supposed to copy file ora, TNSNAMES.

  • location of the file tnsnames.ora and Listener.ora

    Hello

    env: Oracle 11 g 2 - Orable Linux 6.2 64bits

    I set up a database for the client server. I installed IM and the House according to the standards of the Oracle RDBMS. Then I configured the listener to run BOF IM home. If the location of the 'ora, tnsnames' and 'listener.ora' files is $GI_HOME/network/admin.

    Customer's DBA is asking me to conform to the standard for the location of these two files. Here's what he asked for:

    / opt/oracle/owner = oracle, group = s/n (755 permissions)

    / var/opt/oracle owner = oracle, group = s/n (755 permissions)

    • -touch /var/opt/oracle/listener.ora
    • -touch /var/opt/oracle/tnsnames.ora
    • -chown oracle: dba /var/opt/oracle/listener.ora
    • -chown oracle: dba /var/opt/oracle/tnsnames.ora
    • -s /var/opt/oracle/tnsnames.ora /etc/tnsnames.ora ln
    • -s /var/opt/oracle/listener.ora /etc/listener.ora ln

    I'm completely lost here. I don't know if I'm moving these two files in the folder "/ etc", how the LISTENER know about the presence of these files in ' / etc '.

    His reason for this is to support the possibility of having several houses of Oracle's RDBMS. I don't know what he's talking about.

    Please notify.

    Best regards

    user130038 wrote:

    Thanks to you two!

    So basically this DBA do not like to follow standards of Oracle but his own.

    BINGO!

    What is the problem with the help of $ORACLE_HOME/network/admin for these two files if there were several homes of oracle on a server? Sorry I never got to work on a server with multiple oracle homes, so I have no idea.

    The 'standard' with several houses installation is to run the listener from the version the most recent House.  If all of the houses are of the same version (putting aside the question of 'why'), then just pick one that is going to be home for the listener.  If the installation program uses the Grid Infrastructure (ASM and/or Oracle Restart), you must run the listener from the House of IM, not House the database.

    There are some key things to consider here.

    1. the auditor is to receive and process applications for connecting customers.  This is why the listener has no meaning on the Server.  Similarly, its configuration file, listener.ora, only makes sense on the server.

    1a. a single listener, using the default name of the LISTENER and the unique default port of 1521 is quite capable of--indeed, we wanted to - several multiple databases editions of multiple service homes.

    2. the tnsnames.ora file provides a name resolution and address customers.  So it has the sense that on the client computer.

    2. when a database uses a db link to access a different database, the first database acts as a client to the second - as with any other LDAP client.

    Best regards

  • Creating a service; What must be included in tnsnames.ora and JDBC url?

    DB version: 11.2.0.2
    Operating system platform: Solaris 10

    We have a 2 RAC node.
    DB name   = mbsprd
    Instance1  = mbsprd1
    Instance2  = mbsprd2
    I want 1 Instance (mbsprd1) to use for our OLTP and Instance 2 (mbsprd2) application to use for another nature DSS request.

    According to the syntax
    srvctl add service -d <dbname> -s <ServiceName> -r <Preferred Instance> -a <Available Instance>
    I create 2 services

    -Creation of a service called OLTP
    srvctl add service -d mbsprd -s OLTP  -r mbsprd1 -a mbsprd2
    -Creation of a service called DSS
    srvctl add service -d mbsprd -s DSS  -r mbsprd2 -a mbsprd1
    -Start services
    srvctl start service -d mbsprd -s OLTP
    
    srvctl start service -d mbsprd -s DSS
    I guess the above steps are sufficient to set up a service on the side server.

    I would like to know what needs to be done on the client side.

    Currently the file tnsnames.ora and JDBC url used by our clients are listed below. What needs to be added to the file URL and jdbc tnsnames.ora to start to use the services configured above?
    -- SCAN based TNS entry 
    mbsprd =
      (DESCRIPTION =
        (ADDRESS_LIST =
          (ADDRESS = (COMMUNITY = tcp.world)
            (PROTOCOL = TCP)(Host = p148149-scan.tpam.net) (Port = 36964))
        )
        (CONNECT_DATA =
          (SERVER       = DEDICATED)
          (SERVICE_NAME = mbsprd)
          (FAILOVER_MODE=(TYPE=SELECT)(METHOD=BASIC))
        )
      )
    
    -- TNS entry based on local listener 
    -- Instance 1
    mbsprd1 =
    (DESCRIPTION =
       (ADDRESS_LIST =
       (ADDRESS =(PROTOCOL = TCP)(HOST = hsolarp148-vip)(PORT = 36973))
       )
       (CONNECT_DATA =
             (SERVICE_NAME = mbsprd)
             (INSTANCE_NAME = mbsprd1)
           )
     )
    
    -- Instance 2
    -- TNS entry based on local listener 
    mbsprd2 =
    (DESCRIPTION =
       (ADDRESS_LIST =
       (ADDRESS =(PROTOCOL = TCP)(HOST = hsolarp149-vip)(PORT = 36973))
       )
       (CONNECT_DATA =
             (SERVICE_NAME = mbsprd)
             (INSTANCE_NAME = mbsprd2)
           )
     )
    Entry for RAC JDBC
    jdbc:oracle:thin:@p148149-scan.tpam.net:36964:mbsprd
    -Another version used by some clients, because the above had "some problems".
    jdbc:oracle:thin:@(DESCRIPTION=(LOAD_BALANCE=on)(ADDRESS=(PROTOCOL=TCP)(HOST=p148149-scan.tpam.net) (PORT=36964))(CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=mbsprd)(FAILOVER_MODE =(TYPE = SELECT)(METHOD = BASIC)(RETRIES = 180)(DELAY = 10))))
    OLTP =
      (DESCRIPTION =
        (ADDRESS = (PROTOCOL = TCP)(HOST = p148149-scan.tpam.net)(PORT = your_port_number))
        (CONNECT_DATA =
          (SERVER = DEDICATED)
          (SERVICE_NAME = OLTP)
        )
      )
    DSS =
      (DESCRIPTION =
        (ADDRESS = (PROTOCOL = TCP)(HOST = p148149-scan.tpam.net)(PORT = your_port_number))
        (CONNECT_DATA =
          (SERVER = DEDICATED)
          (SERVICE_NAME = DSS)
        )
      )
    

    Entry for RAC JDBC

    JDBC:Oracle:thin:@p148149-scan.tpam.NET:36964:SERVICE_NAME

    JDBC:Oracle:thin:@new_tns_entry_description (if you do not want to connect to the database with particular service)

    Try this and let us know about problems,

  • SQLNET.ora and tnsnames.ora, listener.ora btwn difference

    Hi all

    What is the fundamental difference between these 3 files - sqlnet.ora, listener.ora and tnsnames.ora?

    Version may be 10 g.

    (a) Listener.ora is a SQL * Net configuration file allows you to Configure listeners (needed to accept applications for remote connection) Oracle database.

    Normally, this file resides in the ORACLE HOME\NETWORK\ADMIN directory or in the directory defined by the variable $TNS_ADMIN.

    (b) Tnsnames.ora is a file that is used by oracle client to connect to the oracle server.

    (c) Sqlnet.ora is a text file that provides SQL * Net with the basic configuration details as options vectorization, field by default, encryption, etc.. This file is located in the ORACLE HOME\NETWORK\ADMIN directory.

  • Directives IFILE in tnsnames.ora give seemingly harmless errors

    I have a tnsnames.ora file on my local machine that contains a number of directives IFILE, that seems to cause a lot of errors in logging in SQL Developer Page (I use 1.5.4, but the behavior has been consistent since the beta releases).

    My tnsnames.ora file is just a pointer to other files tnsnames.ora, i.e.
    # tnsnames.ora Network Configuration File: c:\oracle\product\11.1.0\client_1\network\admin\tnsnames.ora
    # Generated by Oracle configuration tools.
    
    IFILE = c:\oracle\product\11.1.0\client_1\Network\Admin\tnsnames.ora.project1
    IFILE = c:\oracle\product\11.1.0\client_1\Network\Admin\tnsnames.ora.clientFoo
    This makes it easier for me to have the client or project specific TNSNames.ora files can I share (or borrow) to other people without having to manually edit a giant single file which combines information from several clients.

    Everytime I open SQL Developer, I get an error in the Page log at the bottom of the screen for each entry IFILE where

    Level = SEVERE
    Sequence = 53
    Elapsed = 63
    Source = oracle.dbtools.raptor.utils.TNSHelper
    Ifile = message not found c:\oracle\product\11.1.0\client_1\Network\Admin\tnsnames.ora.project1

    As far as I know, this is no problem for me - I can connect with happiness to all databases. Of course, I'd like to be able to avoid generating all these errors every time.

    Justin

    Hi Justin,

    I see the error when it is unable to load the file because space.

    It looks like a problem with trim white space:
    works for me (no space after the =): IFILE = / home/turlochcurrent/separation/tmp/testtnsnames/dontfindme
    does not work for me (extra space after the =): IFILE = / home/turlochcurrent/separation/tmp/testtnsnames/dontfindme

    which is buggy/fixed easily if you can confirm that this workaround works around your question.

    -Turloch

  • Net Oracle does not read the tnsnames.ora file.

    I am running 11.2.0.3 on Solaris 10 SPARC x 64. I'm trying to configure oracle net for a new database on hold in order to be able to use rman duplicate to create. LDAP is what we mainly use for all of our connections and, possibly, what I could use very well for my goal of rman duplication. But, I fear that I do nothing seems to allow me to read the tnsnames.ora file.

    My SQLNET. ORA file is as follows:

    NAMES. DIRECTORY_PATH = (LDAP, TNSNAMES)

    NAMES. DEFAULT_DOMAIN = mydomain.com

    My TNSNAMES file. ORA file is as follows on both servers:

    WLDB_HERE =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = primary_server) (PORT = 1521))
    )
    (CONNECT_DATA = (SERVICE_NAME = wldb_here.mydomain.com))
    )

    WLDB_THERE =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = standby_server) (PORT = 1521))
    )
    (CONNECT_DATA = (SERVICE_NAME = wldb_there.mydomain.com))
    )

    I have a static entry in the remote listener.ora file so I can connect to create the instance:

    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (GLOBAL_DBNAME = wldb_there.mydomain.com)
    (ORACLE_HOME = / u01/app/oracle/product/OraHome112)
    (SID_NAME = WJZI)
    )
    )

    LISTENER =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = standby_server) (PORT = 1521))
    )

    Permissions on my .ora files in $ORACLE_HOME/network/admin are

    -rw - r - r - 1 oracle dba

    The user that I am connected to who is oracle.

    I have set up several times before, but for some reason that I can't get this to work. I get

    AMT-03505: failed to resolve host

    Of

    tnsping wldb_there

    or

    tnsping wldb_here

    I have not tried to take the LDAP Protocol on my sqlnet.ora because I need, but I really want to know if anyone has had an experience like this before.

    Thank you-

    gregb wrote:

    I am running 11.2.0.3 on Solaris 10 SPARC x 64. I'm trying to configure oracle net for a new database on hold in order to be able to use rman duplicate to create. LDAP is what we mainly use for all of our connections and, possibly, what I could use very well for my goal of rman duplication. But, I fear that I do nothing seems to allow me to read the tnsnames.ora file.

    My SQLNET. ORA file is as follows:

    NAMES. DIRECTORY_PATH = (LDAP, TNSNAMES)

    NAMES. DEFAULT_DOMAIN = mydomain.com

    My TNSNAMES file. ORA file is as follows on both servers:

    WLDB_HERE =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = primary_server) (PORT = 1521))
    )
    (CONNECT_DATA = (SERVICE_NAME = wldb_here.mydomain.com))


    )

    Because you have NAMES. DEFAULT_DOMAIN = mydomain.com in your sqlnet.ora, when you try to connect to "WLDB_HERE", before tnsnames.ora is read, sqlnet will transform your application in "WLDB_HERE.mydomain.com".  And that's what he's going to get.

    You do not have an entry in your tnsnames.ora to 'WLDB_HERE.mydomain.com '.

    WLDB_THERE =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = standby_server) (PORT = 1521))
    )
    (CONNECT_DATA = (SERVICE_NAME = wldb_there.mydomain.com))
    )

    I have a static entry in the remote listener.ora file so I can connect to create the instance:

    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (GLOBAL_DBNAME = wldb_there.mydomain.com)
    (ORACLE_HOME = / u01/app/oracle/product/OraHome112)
    (SID_NAME = WJZI)
    )
    )

    LISTENER =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = standby_server) (PORT = 1521))
    )

    Permissions on my .ora files in $ORACLE_HOME/network/admin are

    -rw - r - r - 1 oracle dba

    The user that I am connected to who is oracle.

    I have set up several times before, but for some reason that I can't get this to work. I get

    AMT-03505: failed to resolve host

    Of

    tnsping wldb_there

    or

    tnsping wldb_here

    I have not tried to take the LDAP Protocol on my sqlnet.ora because I need, but I really want to know if anyone has had an experience like this before.

    Thank you-

  • Change the location TNSNAMES.ora (discoverer 11g)


    Hello

    I have a requirement where I need to change the location of tnsname.ora.

    I installed Oracle Fusion Middleware install (11.1.1.7) and then set the field to the Finder only.

    Tnsnames.ora location is $DISCO_INST_HOME/config/tnsnames.ora

    Another use of symbolic link, can I change the configuration to change the location of the TNSNAMES.ora file.

    Concerning

    Sumit SALAUN

    Hi Sumit

    I have additional information for you, with the permission of a contact I within the Oracle.

    Yes, you can use the TNS_ADMIN environment variable.

    Indeed, in the [middleware_home]\[oracle_instance]\config\OPMN\opmn\opmn.xml that it points to the location that you mentioned.

    You can update the location of the file

    Run: [middleware_home]-[oracle_instance\bin\opmnctl reload (to pick up the new changes in the opmn.xml file

    the next session of discoverer (dis51ws) began to read the changes.

    If this fails, stopall opmnctl, then opmnctl startall

    I also checked on other files that I mentioned earlier. We believe that they are not necessary for the discoverer, or why they would have this environment variable defined here as the repositories of metadata of Fusion Middleware use JDBC. They must be to another generic use of Weblogic or custom java applications.

    The binary discoverer/server only read /sessions opmn.xml - so simply by changing opmn.xml should be enough

    Best wishes

    Michael

Maybe you are looking for

  • Tecra 8000 sees no PCMCIA network card

    I don't get my Belkin network card Wireless PCMCIA connected to my Tecra 8000.That's all new win 2000, including all updates and I don't know that the pcmcia slot is working very well. The problem during the installation of this card is that the tecr

  • Satellite A300: TRDC reminder & Toshiba Recovery Disc Creator works after upgrade to Windows 7?

    Hello I'm sorry for the bad English.Satellite A300.Has performed the update to Win7 upgrade Toshiba program. This program works;TRDC reminder and Toshiba Recovery Disc Creator after update to Wins7? The TRDCReminder program found no "revival of the c

  • Measurement of differential tension for voltage range 0-20 V

    I'm trying to understand the best way to measure the internal tensions in a pile of electrolyser containing 10 cells.  Voltage range is 0 - 20V, with each measure 0 - 2V voltage differential.   I know that each module on a NOR-DAQ (6218, 6210, 6009,

  • HP 6700: HP 6700 stops and will not feed back

    Our HP 6700 closed mode and do not print.  The screen is blank.  I tried to unplug the printer and the surge protector, wait 60 seconds and pluged new directly into a wall outlet and the problem persists.

  • can I write in a clay column and row in excel?

    Hello!!! Well, is - can anyone help me and tell me, if I can write something of labview in a clay column and row in excel? excellent couerse in a clay column and row to an existing file... CAN SOMEONE HELP ME OR SAY SOMETHING PLEASE?