Confugure tns entry in client

Hi,
i have 11g daatabase and 11 g client. can u please help me to connect 11g server from client
pls help with steps
thanks

Chinu wrote:
Hi,
i have 11g daatabase and 11 g client. can u please help me to connect 11g server from client
pls help with steps
thanks
DUPLICATE post!
do NOT multi-post
connect 11g server from client

Similar Messages

  • Tns entry on client machine for a physical standby!

    Hi all.
    i am working on 10gR2 on RHEL4.I have created a physical standby on the same host. The primary and the standby database has different sid as prod and prodsb
    can i have one tns entry on the client machine so that they can connect to the database even after teh switchover or failover??? or will they have to change the connection string while connecting to the database??

    Hi, you can use Oracle Transparent Failover, please review the next link for get more information.
    http://download.oracle.com/docs/cd/B19306_01/network.102/b14212/advcfg.htm#sthref1278
    Please let me know if you have some doubt or comment about this.
    Regards.

  • How to add tns entry in names server

    Hi,
    Can anyone tell us, How to add tns entry in names server
    Thanks

    In the Net Manager utility, in the left-hand pane left click Oracle Names Servers, left click on your nameserver.
    Click the "+" button in the upper left, that should be enough to get you started- sorry, all our 9i installs have gone away, can't exactly recall the nix X gui version of client program, but I think* its netmgr, should be in OH/bin.
    If you're running a java OEM console that cames with 9i clients, Net Manager is available on that little Butler tab.
    And for the command line version, running the namesctl utility- you can save a tns entry with the connect string and run it in a file, just like sqlplus, with an @filename:
    vi newtns.txt
    register newtns -d (DESCRIPTION=(ADDRESS_LIST=...(SERVICE_NAME=NEWTNS.MYCO)))
    $ namesctl
    @newtns.txt
    query newtns *
    reload -- nameserver sync
    query newtns *
    exit
    $ Edited by: clcarter on Jul 7, 2011 3:26 PM
    added cmdline version

  • How to Connect Oracle Database without using TNS entry

    Hi,
    i need to connect Oracle Database server from my pc without using the TNS entry. How to do that?
    Regards,
    007

    You have marked the question as answered, so it means you can answer my questions:
    1.How do i check that i can make easy connect to the server or not, I mean is it configured on Server ?
    2.Can I make connection with easy connect without having Net Services software installed on the client ?
    3.What if I am not able to access sqlnet.ora ?
    4.Is there any difference in connect string, which is based upon OS for easy connect ?
    5.How do i use global database name, if it is configured ?
    6.What are pros and cons of using easy connect ?
    7....
    20....
    I think this are those 20 questions which John is talking about.
    Regards
    Girish Sharma

  • Data Services ORA-12154 - TNS - Entries o.k.!

    Hi Experts!
    There is a problem when executing a job:
    - Windows Server Enterprise 2007 Service Pack2
    - 64 - bit Operating - System (Business Objects Dataservices was installed in directory "C:\Programm Files (x86)" )
    - Oracle Client ist installed on Server and Client
    - all TNS - Entires are entered in tnsnames.ora - File (Client and Server)
    - Source: Oracle 9i
    - Target: Oracle 11g
    - Designer 12.2.2.3
    - JobServer 12.2.2.3
    - JobEngine 12.2.2.3
    - Repository 12.2.2.0000
    In Designer - Tool we are able to preview Data (Source and Target) in Client AND Server, so TNS - Entries should be correct (Client and Server). 
    We have installed a Designer on Client AND Server, the problem and the behaviour is the same on both sides.
    When executing the job this message appears:
    "OCI call <OCIServerAttach> for connection <BOHAI_PROD> failed: <ORA-12154: TNS:could not resolve the connect identifier
    specified>."
    A TNSPing for TNS - Entries is o.k.! (Source and Target) 
    Any Help?
    Thanks!

    Hi,
    I changed the Logon settings of the Data Services Windows - Service to "Local account".
    The problem is solved.
    Anyhow, can you tell me how to use TNS Listner Services. I don't konw this Service.
    Thank you very much!
    With kind regards!

  • Obtaining TNS entries from PL/SQL

    I read somewhere that one can get TNS entry definitions via PL/SQL.
    We currently develope/maintain a project on Oracle 9.2.0 which interconnects to at least 3 other projects running oracle instances. The problem here is that we have multiple development, testing, BC/DR and production instances to keep track of. and we need to know the dblink definitions that each of our instances connects to. Obviously we can get the tnsname of the dblink from "select * from all_db_links", but using tnsping returns the definition of that tnsentry from our local client (ugh). we need to be able to write a small stored function to query the tns definition from the server itself to ensure we have the correct definition relayed.
    Is this possible?

    Not really... not in a nice clean and robust way.
    PL/SQL itself does not have a command or standard package to enumurate the local list of TNS aliases in the tnames.ora file. And using UTL_FILE and parsing the tnsnames.ora file is not trivial.
    Question though is why use the tnsnames.ora file on the server in the first place? If you db connectivity and management is driven at application level, then dealing with the actual db connection data externally (in a flat file) is a problem. So don't. Deal with it inside Oracle itself.
    You can define a db link in Oracle using the actual connection string itself (which is what the TNS alias refers to).
    E.g.
    create database link orcl_test connect to scott identified by tiger using
    '(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=10.0.0.1)(PORT=1527))) (CONNECT_DATA=(SID=orcl)(SERVER=shared)))';
    At application level you can control the type of connection ito service name,/SID, TAF, shared/dedicated and so on.
    Obviously there are pro's and con's both ways - using a tnsnames.ora file versus using the connection string directly. But in certain cases the pro's outweigh the con's.

  • Not using TNS entries correctly

    SQLDeveloper Version 2.1.1.64. I have created TNS aliases to connect to individual RAC instances in my TNSNAMES.ORA file. From SQL*Plus, when I use the TNS alias to connect to a particular instance, I get connected to the correct one. When I use the same TNS alias with SQLDeveloper, it connects me randomly to any instance in the cluster.
    I have correctly defined the location of TNSNAMES.ORA file in the Preferences. I am specifying just one server name and SID in the TNS alias so there is no way that TNS entry can connect to any other instance. I have only one TNSNAMES.ORA file on the entire computer. Oracle client version 11.1.0.7. The TNS alias for each instance is unique in the TNSNAMES.ORA file.
    Any ideas on where SQLDeveloper is getting the wrong connection information from?
    Thanks...
    Arun Gupta

    Actually the driver used depends on the
    Tools -> Preferences -> Database -> Advanced -> Use OCI/Thick drivercheck-box; when you select TNS connection having this unchecked, SQLDeveloper parses your TNS file and then uses the Thin driver to connect.
    I guess since in your situation this does not behave as expected there may be a bug in the thin driver, or in SQLDeveloper interpretation of the TNS file, so try to check the property i mentioned and see if it works OK.

  • Login Using tns entry takes more than one minute

    Hi all,
    I have created one 11g R2 database. I am trying to login to the instance and it works fine when I login using just the username and password. But when I try to login using tns entry its taking too much time to login. Also when I try to connect from a remote machine using Toad or any other client its getting timed out or takes too much time to login. Once I get connected everything works fine.
    The Database is installed on Rehat Enterprise Linux Server relase 5.3
    Regards
    Navas

    Hi,
    The output of tnsping is pasted below.
    tnsping IDMREPO
    TNS Ping Utility for Linux: Version 11.2.0.1.0 - Production on 06-OCT-2010 12:37:53
    Copyright (c) 1997, 2009, Oracle. All rights reserved.
    Used parameter files:
    /home/orarepo/app/orarepo/product/11.2.0/dbhome_1/network/admin/sqlnet.ora
    Used TNSNAMES adapter to resolve the alias
    Attempting to contact (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.1.5)(PORT = 1521))) (CONNECT_DATA = (SERVICE_NAME = IDMREPO)))
    OK (0 msec)
    Regards
    Navas

  • List of TNS entries

    Hi,
    Oracle 10.2.0.1
    Windows xp
    Is there any dict view/dbms package, by which i may get all the names of TNS entries in tnsnames.ora from client side and/or server side ?
    Suppose tnsnames.ora is having following entries :
    db1,.....
    db2.....
    So, i just want to get the names of tns entries in tnsnames.ora.
    Thanks.

    Is there any dict view/dbms package, by which i may get all the names of TNS entries in tnsnames.ora from client side and/or server side ?
    Suppose tnsnames.ora is having following entries :
    db1,.....
    db2.....AFAIK, there are no parameters for TNS, If dataguard broker configured, then you can see in FAL parameter, Other than you can see listener name from "LOCAL_LISTENER". I dont think there would be such faciity to look all the tns entries names, As this is specific to OS how you connect.

  • How to create tns entry

    hi member
    i have installled oracle 9i database and 10 g forms at my system in different drives of computer . but when i try to connect my forms with database i could not create connection between tables and forms.the error which displayed as tns could not resolve connection identifer i provide same username and password when it ask for database connection so plz help me in this regard .......thanks in advance

    Database Connecting string can be your DB Name or Net Service name.
    For example, in my tnsnames.ora, I have the following tns entries.
    TESTDB=
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = XXX.XXX.XXX.XXX)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = TESTDB)
    In the above entry, first line is the database connecting string i.e. TESTDB.
    First you need to try connecting to sqlplus for successful connection.
    C:\> tnsping testdb
    If you see the success message means you can easily connect to the Database.
    C:\> sqlplus scott/tiger@testdb
    Here your scott user will be connected to the TESTDB database.
    Regards,
    Sabdar Syed.
    http://sabdarsyed.blogspot.com

  • SQL Developer keeps pointing to old TNS entry  Version 2.1.1.64

    Hello,
    We are using SQL Developer and we just changed our database from host X to host Z. We changed the TNS entry to point to host z but Developer keeps pointing to host x. It seems the entry is cached. We tried deleting the connection and restarting the application. Still no luck. My only thought is that the connection is cached. if true can someone point me to the file that contains the connection info? And if not, can someone provide a alternative resolution to the issue?
    Thanks
    Rondale

    I agree with Turloch, I had a similar issue with SQL Developer 3. Even though I had the environment variable TNS_ADMIN, it basically ignored this variable and was referencing the first TNS_NAMES.ora file it found. I had to remove all copies except the one listed in my TNS_ADMIN variable before SQL Developer found the right one.
    It would be nice if the tool would check the TNS_ADMIN variable like other Oracle products do.
    Craig...
    Edited by: CraigB on Aug 31, 2011 11:56 AM

  • Not able to connect remotely via TNS entry

    Hello,
    I need to do clone, so wanted to have remote connectivity to my test database. I brought the test database in nomount. Put the right entries in tnsnames.ora file of the same, yet when i login directly it shows it is in NOMOUNT but when remotely it shows connected to IDLE instance.
    Please help me out.
    Here is some excerpts:
    ==============
    oracle@x523:/oracle/app/oracle/product/10.2.0/db_3/network/admin> sqlplus sys/here2go@TRCN523 as sysdba
    SQL*Plus: Release 10.2.0.4.0 - Production on Thu Aug 9 03:17:59 2012
    Copyright (c) 1982, 2007, Oracle. All Rights Reserved.
    Connected to an idle instance.
    =======================
    oracle@x523:/oracle/app/oracle/product/10.2.0/db_3/network/admin> sqlplus "/as sysdba"
    INSTANCE_NAME STATUS
    TRCN523 STARTED
    Here is my TNS entry:
    ==============
    TRCN =
    (DESCRIPTION =
    (ENABLE = broken)
    (FAILOVER = ON)
    (LOAD_BALANCE = ON)
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = x523.coat.com)(PORT = 63092))
    (CONNECT_DATA =
    # (SERVICE_NAME = TRCN.coat.com)
    (SERVICE_NAME = TRCN523)
    (FAILOVER_MODE = (TYPE = NONE))
    TRCN523 =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = x523.coat.com)(PORT = 63092))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    # (SERVICE_NAME = TRCN.coat.com)
    (SERVICE_NAME = TRCN523)
    (INSTANCE_NAME = TRCN523)
    NET_TRCN_X523 =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = x523.coat.com)(PORT = 63092))
    ============
    Listener:
    =====
    SID_LIST_NET_TRCN_X523 =
    (SID_LIST =
    (SID_DESC =
    (ORACLE_HOME = /oracle/app/oracle/product/10.2.0/db_3)
    (SERVICE_NAME = TRCN.coat.com)
    (SID_NAME = TRCN523)
    (SID_DESC =
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = /oracle/app/oracle/product/10.2.0/db_3)
    (PROGRAM = extproc)
    ==========================================
    oracle@x523:/oracle/app/oracle/product/10.2.0/db_3/network/admin> tnsping TRCN523
    TNS Ping Utility for Linux: Version 10.2.0.4.0 - Production on 09-AUG-2012 03:21:09
    Copyright (c) 1997, 2007, Oracle. All rights reserved.
    Used parameter files:
    Used TNSNAMES adapter to resolve the alias
    Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = x523.coat.com)(PORT = 63092)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = TRCN523) (INSTANCE_NAME = TRCN523)))
    OK (0 msec)

    Handle:      784786
    Status Level:      Newbie
    Registered:      Jul 27, 2010
    Total Posts:      211
    Total Questions:      81 (65 unresolved)
    Name      Learner
    Also Close your thread please

  • How to manage TNS entry in the OID ?

    Hello,
    We are in our way to implement OID to replace multiple TNSNAME.ora files.
    We are looking for the adequate tool to manage TNS entries in the OID.
    Does anybody use a Web interface to manage such entry ? or the mandatory tool is Oracle Directory Manager ?
    Is there another tool ?
    Thank in Advance.
    Jerome.

    The tool you use to manage the tns entries in the OID is Net Manager.
    Once you have ldap defined in your sqlnet.ora
    NAMES.DIRECTORY_PATH = (LDAP, TNSNAMES)
    And a valid ldap.ora file
    DIRECTORY_SERVERS=(oidhost:389:636)
    DEFAULT_ADMIN_CONTEXT = "dc=company,dc=com"
    DIRECTORY_SERVER_TYPE = OID
    You will then see that the directory and it's service names are available for management in the same way that the local tnsnames.ora entries.
    Alan...

  • How to create TNS entry for db2 database?

    hi,
    I want to create a db2 database tns entry in tnsname.ora file. How do i create?
    thanks

    There seem to be several related threads about this concern.
    Creating dblink for db2 database
    How to create TNS entry for db2 database?
    How to create TNS entry for db2 database?

  • Entries in Client 1 should reflect in Client 2

    Dear All,
    I have one ZTable(With MANDT field).I want such trigger which act when Update or Insertion made in Client 1 and should update entries in Client 2 Using IDoc.
    plz suggest me the scenario.
    Thanks,
    RP

    Using table maintenance generator, you can create events for different level of databases like database update,before inserting record etc. The menu path for this is , from se11 transation click utilities - > tablemaintenance generator(transaction : se55). From the table meaintenance generator menu click
    1. Environment->modifications->events.
    2. click on create new entries button.
    Select the new event and assign a new perform name.
    Press enter and click the editor button which will lead you to ABAP editor.
    You can raise the registered events using the function module BP_EVENT_RAISE. The events have to be registered using transaction code SM62. You can code any valid abap statements in the perform.

Maybe you are looking for

  • Many problems of memory, when using the workbench - LC 8.2

    Hello, I have many problems memory, when using the workbench. When a try to add a component in the workbench, I get an outOfMemoreException in the log file. There is an error message in a popup in the workbench. My configuration: Hardware: Intel Core

  • Best practice for handling errors in EOIO processing on AEX?

    Hi, I'm looing for resources and information describing the best practice on how to handle processing errors of asynchronous integrations with Exactly-Once-In-Order QoS on an AEX (7.31) Java only installation. Most information I've found so far are d

  • Enterprise Manager 10g Java Console

    Hi , I want to use EM 10g in order to set up the replication environment. In the Administration tab of the EM 10g there is a TIP at the bottom of the tab page .... TIP Use the Enterprise Manager 10g Java Console to manage Advanced Replication and Wor

  • Folder level permissions

    1) Can the following be executed at a folder level?      a) doc.AddAnnotation      b) doc.AddField      c) field.AddEvent

  • How to install printer drivers for monarch

    Dear Friends, I got requirement where users are going to use new printer for Bar code printing. Kindly suggest on how to install printer drivers in SAP. regards Jiggi