Couldn't connected to database 10g

Hi all,
I have oracle home with Tnsname.ora file specified net_service_name
to connect both database version 9i and 10g ,so when I connect to database 9i
by SQL * Plus ,it's ok but when try to connect to database 10g ,it does not work
and SQL * Plus show error message "ORA-12203: TNS:unable to connect to destination" ,if I change home selector to the other home ;such as Discoverer home ,it can connect to database 10g but some eariler oracle 16-bit application
like OFSA can not use.
Thank you
Mcka

12203, 00000, "TNS:unable to connect to destination"
// *Cause: Invalid TNS address supplied or destination is not listening.
// This error can also occur because of underlying network transport
// problems.
// *Action: Verify that the service name you entered on the command line
// was correct. Ensure that the listener is running at the remote node and
// that the ADDRESS parameters specified in TNSNAMES.ORA are correct.
// Finally, check that all Interchanges needed to make the connection are
// up and running.

Similar Messages

  • Problem about using Oracle Form 6i to connect Oracle Database 10g express.

    Sorry to interrupt all of you.
    I have encountered a problem about using Oracle Form 6i to connect Oracle Database 10g express.
    As I would like to
    I use Oracle Net8 Easy Config to create a connection.
    According to "tnsnames.ora", the paramater of connection is as follows;
    XE =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 127.0.0.1)(PORT = 1521))
    (CONNECT_DATA = (SID = XE))
    Unfortunately, when I use Oracle Net8 Easy Config to test the connection, an error message is prompted as follows:
    Connecting....
    The test did not succeed.
    ORA-03106: fatal two-task communication protocol error
    There may be an error in the fields entered
    or the server may not be ready for a connection.
    You can check the server and retry, or continue.
    After I google it, I still have no idea how to solve the problem. I would like to ask, could anyone mind providing some hints or solution to address the issues.
    Thanks for your assistance in advance.

    I don't believe the Net8 Easy Config (NEC) will create a compatible entry in the tnsnames.ora. I have Forms 6i running successfully against a 10g Express database, but I did not use the NEC - I created the entry myself. Here is the entry I use:
    XE=
      (DESCRIPTION=
        (ADDRESS=
          (PROTOCOL=TCP)
          (HOST=<<servername or IP address>>)
          (PORT=1521)
        (CONNECT_DATA=
          (SERVER=dedicated)
          (SERVICE_NAME=XE)
      )Hope this helps,
    Craig B-)
    If someone's response is helpful or correct, please mark it accordingly.

  • How to Connect Oracle Database 10g with using Oracle Dev 10g

    Hello there,
    I have problem with connection on database 10g using oracle dev 10g on the same server.
    The message is: TNS... bla..bla... it means not connect.
    Please advice
    Regards
    Leksono

    just simple
    copy the from the database instance the tnsnames.ora
    file's entried into developer folders tnsnames.ora
    file and you can connect to DBFirst of all there is no such error as TNS... bla..bla... it means not connect.
    there are several errors for the tnsnames, post the exact error
    And it is not recommended that you copy it from the database's tnsnames file, it doesn't always work.
    to configure the tnsnames.ora you have 2 ways, manual and GUI.
    For GUI use the Net configuration assistance from your Devsuite home and for manual you need edit the tnsnames.ora file usually under %ORACLE_HOME%/NETWORK/ADMIN
    You need to specify the connection string name, the hostname and the database SID name. It should look something like this.
    <connection identifier> =
      (DESCRIPTION =
        (ADDRESS_LIST =
          (ADDRESS = (PROTOCOL = TCP)(HOST = host name)(PORT = 1521))
        (CONNECT_DATA =
          (SERVICE_NAME = SID)
      )Regards,
    Tony

  • Forms 6 not connecting with Database 10g

    I can not connect Oracle forms 6 with database 10g

    795192 wrote:
    I can connect to sql plus but i cannot connect my forms 6 with database 10g. getting the following error:
    ORA-12154: TNS: could not resolve service name=================================
    ORA-12154: TNS:could not resolve the connect identifier specified
    This error means one thing, and one thing only. The client could not find the specified entry in the tnsnames.ora file being used.
    As a follow-on to that statement, remember that when you use a dblink, the database in which the link is defined is acting as a client to the database that is the target of the link. So in this case, the tnsnames.ora file on the host of your source should have an entry for your target db, as defined in the db_link.
    And for the umpteenth time ... this error has <b><i><u>NOTHING</u></i></b> to do with the status of a listener. The connection request never got far enough to reach a listener. If anyone tells you to check a listener in response to ora-12154, they are not paying attention, or do not understand how TNS works. This error is the equivalent of not being able to place a telephone call because you don't know the number of the party you want to reach. You wouldn't debug that situation by going to the other guy's house and testing his telephone, or by going to the phone company and testing the switchboard. And you don't debug a ORA-12154 by checking the listener. If I had a top ten list of "Incredibly Simple Concepts (tm)" that should be burned into the brain of everyone who claims to be an Oracle DBA, it would include "ORA-12154 Has Nothing To Do With The Listener".
    =================================
    A couple of important points.
    First, the listener is a server side only process. It's entire purpose in life is to receive requests for connections to databases and set up those connections. Once the connection is established, the listener is out of the picture. It creates the connection. It doesn't sustain the connection. One listener, with the default name of LISTENER, running from one oracle home, listening on a single port, will serve multiple database instances of multiple versions running from multiple homes. It is an unnecessary complexity to try to have multiple listeners or to name the listener as if it belongs to a particular database. That would be like the telephone company building a separate switchboard for each customer.
    Second, the tnsnames.ora file is a client side issue. It's purpose is for address resolution - the tns equivalent of the 'hosts' file further down the network stack. The only reason it exists on a host machine is because that machine can also run client processes.
    Assume 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@larrytns will look in your tnsnames.ora for an entry called 'larry'. Next, tns sends a request to (PORT = 1521) on (HOST = myhost) using (PROTOCOL = TCP), asking for a connection to (SERVICE_NAME = curley).
    Where is (HOST = myhost) on the network? When the request gets passed from tns to the next layer in the network stack, the name 'myhost' will get resolved to an IP address, either via a local 'hosts' file, via DNS, or possibly other less used mechanisms. You can also hard-code the ip address (HOST = 123.456.789.101) in the tnsnames.ora.
    Next, the request arrives at port 1521 on myhost. Hopefully, there is a listener on myhost configured to listen on port 1521, and that listener knows about 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. In that 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 can't place a telephone call because you don't know the number (can't find your telephone directory (tnsnames.ora) or can't find the party you are looking for listed in it (no entry for larry)) you don't look for problems at the telephone switchboard.
    Maybe the entry for larry was found, but myhost couldn't be resolved to an IP address (say there was no entry for myhost in the local hosts file). This will result in "ORA-12545: Connect failed because target host or object does not exist"
    Maybe there was an entry for myserver in the local hosts file, but it specified a bad IP address. This will result in "ORA-12545: Connect failed because target host or object does not exist"
    Maybe the IP was good, but there is no listener running: "ORA-12541: TNS:no listener"
    Maybe the IP was good, there is a listener at myhost, but it is listening on a different port. "ORA-12560: TNS:protocol adapter error"
    Maybe the IP was good, there is a listener at myhost, it is listening on the specified port, but doesn't know about SERVICE_NAME = curley. "ORA-12514: TNS:listener does not currently know of service requested in connect descriptor"
    =====================================

  • How to Connect Oracle Database 10g Express Edition ?

    From example
    http://www.oracle.com/technology/obe/hol08/dotnet/getstarted-c/getstarted_c_otn.htm
    using Oracle.DataAccess.Client; // ODP.NET Oracle managed provider
    using Oracle.DataAccess.Types;
    string oradb = "Data Source=ORCL;User Id=hr;Password=hr;";
    OracleConnection conn = new OracleConnection(oradb); // C#
    conn.Open(); <== Connect Error
    Error Message "ORA-12154: TNS:could not resolve the connect identifier specified"
    I used
    Visual Studio 2005
    Oracle Database 10g Express Edition
    setup "Oracle Developer Tools for Visual Studio .NET with ODAC 10.2.0.2.21"
    Best Regards,
    Edited by: user1949694 on 8 ก.ย. 2552, 9:20 น.

    I search "tnsnames.ora" in my computer. I found 3 file
    1. C:\oraclexe\app\product\10.2.0\server\hs\admin\tnsnames.ora
    2. C:\oraclexe\app\product\10.2.0\server\NETWORK\ADMIN\tnsnames
    3. C"\oraclexe\app/product\10.2.0\server\NETWORK\ADMIN\SAMPLE\tnsnames
    How to entry in your tnsnames.ora file File1, File2, File3
    How to called "ORCL"?
    Please Help Me Step by Step
    Thank You.
    : )

  • Unable to connect to database 10G express edition

    With forms 6i I am unale to connect to oracle database 10G express edition
    any known reason or remedy?

    the answer is here:
    Forms 6i X 10g Database (the solution is here)
    ALTER DATABASE CHARACTER SET INTERNAL_USE UTF8;

  • FCS DB backup failed w/error: "couldn't connect to database "template1"

    Hi,
    I am testing two different FCS systems (on two different machines, the same config).
    I wanted to backup FCS on one machine manually and it was not possible. I tried to do the same on the second machine and it was also not possible. I checked logs for automatic backup on both machines and everything worked until 22nd of April.
    I am not sure if I did download some update, but I am sure I didn't change anything on both machines nor FCS settings.
    I got this error message when I tried to backup:
    *Backup failed: pg_dumpall exited with code 1.*
    *Checking for other backup processes...*
    *Starting database backup to path '/Volumes/ProxyA/FCSBackups/Final Cut Server DB Backup on fcserver-1 at 2009-04-23 0000.zip'...*
    *pg_dumpall: could not connect to database "template1": could not connect to server: Connection refused*
    *Is the server running locally and accepting*
    *connections on Unix domain socket "/tmp/.s.PGSQL.5433"?*
    Both systems work normally. I "just" can't backup the DB.
    What happened ?
    Thank you.

    Hi Sam,
    Sometimes it is only because you have not set the environment correctly (ORACLE_HOME, ORACLE_SID).
    Is your TNSNAMES.ORA correct?
    If you do a "ps -ef |grep oracle" you should get a list of processes. Make sure you see PMON and SMON processes as well as the LSNR processes.
    If you don't see the LSNR processes start the listener.
    If this don't help try to start the DB manually and check with tsnping, otherwise come back again with mor info.
    regards
    Wolfgang

  • Couldn't connect to database?

    Hello
    I am trying to connect to sqlserver2000 database thru JDBC & JSP. I think it loaded the driver but cannot connect to database. I have installed sqlserver2000 in my machine, web server is tomcat 4.1.
    This is the code.
    <%@ page language="java" %>
    <%@ page import = "java.sql.*" %>
    <HTML>
    <BODY>
    <%
    try {           
         // Load the JDBC driver
         Class.forName ("com.jnetdirect.jsql.JSQLDriver");
    // Create a connection to the database
    Connection connection = DriverManager.getConnection("jdbc:JSQLConnect://admin:1433","sa","");
         Statement stmt=connection.createStatement();
              catch (ClassNotFoundException e)
    System.out.println("Could not find the database driver");
              catch (SQLException e)      
    System.out.println("Could not connect to the database");
    %>
    </BODY>
    </HTML>
    It displays "Could not connect to the database" but "Could not find the database driver" is not display that means database driver is loaded. So what wrong?

    Most probably your URL is screwed.
    In order to find out in your catch statement add this code:
    catch (SQLException e)
    System.out.println("Could not connect to the database");
    System.out.println("Error = " + e.getMessage());
    e.printStackTrace(System.out);
    That will give you the reason for the error, and the exact place that it occurred.
    Both of those are invaluable bits of info when it comes to debugging.
    My call would be to replace "admin" in your connection string with the IP address of the sql server, and see if that works.
    Good luck,
    evnafets

  • Oracle instant client 11g doesn`t connect to database 10g

    hi,
    i installed a oracle instant client 11g for windows xp on my pc, because i need a odbc connection.
    I don`nt know this product. I don`t find a tns.ora file, so how can i give them the right parameter for my oracle database and how can i make a odbc connection.
    Is it already the right client?
    Thanks in advance.
    Regards
    Nicole

    nicole4 wrote:
    Hi,
    now 've seen that installed this client win32_11gR2_client this isn't the instant basic client.
    Should i deinstall this client?
    Or how can i make there a odbc connection?
    Thanks
    NicoleODBC sits on top of the Oracle client. (or any other native client of a given db product).
    I don't think the ODBC drivers come with the instant client, though if you can locate a 3d party odbc driver for Oracle, that should work with the instant client.
    Oracle ODBC drivers do come with the full client, but even there don't install by default - at least not up through 10g. In that case you have to select 'custom installation' (which can be done after a basic run-time installation) and select 'windows components'.

  • Dblink for database 10G from database 8i

    I have created dblink with this syntax in database( 8i) to connect to database (10G)
    CREATE PUBLIC DATABASE LINK ORCL CONNECT TO SOUTH
    IDENTIFIED BY SOUTH USING 'ORCL';
    Database link created no issue but when I am trying to connect to South schema
    in ORCL database I am getting this error.
    ORA-02085: database link ORCL.US.ORACLE.COM connects to ORCL.REGRESS.RDBMS.DEV.US.ORACLE.COM
    It was working fine when I am connecting to target database 8i.
    Is there any issue of database version or something else?

    Set global_names to false and try again.

  • Forms 6 and Oracle Database 10g XE (Express Edition)

    I want to know that whether Form 6 can connect Oracle Database 10g XE (Express Edition).
    I have installed Oracle Database 10g XE on one PC . On another PC, I've installed D2k 6 (Form 6, Report 6, SQL plus 8, Net8 Client etc.).
    I am trying to connect Oracle Database 10g XE from SQL plus 8, through TNSNAMES.ORA, but I could not ?
    Can you help please ?
    Thanks
    Vipul Vyas

    I am using forms 6.0.5.33.0 and Net8 Client 8.0.5.0.0
    When I am trying to connect Oracle Database 10g XE, I am getting error
    ORA-12154 : TNS : Could not resolve service name
    SQLNET.ORA is as follows
    TRACE_LEVEL_CLIENT = OFF
    #sqlnet.authentication_services = (NONE)
    names.directory_path = (TNSNAMES, HOSTNAME)
    names.default_domain = world
    name.default_zone = world
    automatic_ipc = off
    TNSNAMES.ORA is as follows
    XE =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = edp1-xp)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = XE)
    EXTPROC_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC_FOR_XE))
    (CONNECT_DATA =
    (SID = PLSExtProc)
    (PRESENTATION = RO)
    ORACLR_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC_FOR_XE))
    (CONNECT_DATA =
    (SID = CLRExtProc)
    (PRESENTATION = RO)
    )

  • I want to connect it to the database 10g to oracle 9i

    How can i do that? is it possible???
    I am getting error TNS-12541: TNS: no listener
    database on my laptop is 10g XE ADDITION on XP
    and on server it is 9.2.0.2
    As far as I know client software should be lesser or equal

    user9007339 wrote:
    How can i do that? is it possible???
    I am getting error TNS-12541: TNS: no listener
    database on my laptop is 10g XE ADDITION on XP
    and on server it is 9.2.0.2
    As far as I know client software should be lesser or equalThe relationship bet. client and server is even looser than that.
    Use copy and paste to show the actual sqlplus command you use, and the exact response.
    Here's a primer on how a tns connection works. This should help you systematically track down the problem
    =================================
    Assume you have the following in your tnsnames.ora: (client machine)
    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@larrytns will look in your tnsnames.ora for an entry called 'larry'. Next, tns sends a request to (PORT = 1521) on (HOST = myhost) using (PROTOCOL = TCP), asking for a connection to (SERVICE_NAME = curley).
    Where is (HOST = myhost) on the network? When the request gets passed from tns to the next layer in the network stack, the name 'myhost' will get resolved to an IP address, either via a local 'hosts' file, via DNS, or possibly other less used mechanisms. You can also hard-code the ip address (HOST = 123.456.789.101) in the tnsnames.ora.
    Next, the request arrives at port 1521 on myhost. Hopefully, there is a listener on myhost configured to listen on port 1521, and that listener knows about SERVICE_NAME = curley. If so, you'll be connected.
    A couple of important points.
    First, the listener is a server side only process. It's entire purpose in life is the receive requests for connections to databases and set up those connections. Once the connection is established, the listener is out of the picture. It creates the connection. It doesn't sustain the connection. One listener, running from one oracle home, listening on a single port, will serve multiple database instances of multiple versions running from multiple homes. It is an unnecessary complexity to try to have multiple listeners. That would be like the telephone company building a separate switchboard for each customer.
    Second, the tnsnames.ora file is a client side issue. It's purpose is for address resolution - the tns equivalent of the 'hosts' file further down the network stack. The only reason it exists on a host machine is because that machine can also run client processes.
    What can go wrong?
    First, there may not be an entry for 'larry' in your tnsnames. In that 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 can't place a telephone call because you don't know the number (can't find your telephone directory (tnsnames.ora) or can't find the party you are looking for listed in it (no entry for larry)) you don't look for problems at the telephone switchboard.
    Maybe the entry for larry was found, but myhost couldn't be resolved to an IP address (say there was no entry for myhost in the local hosts file). This will result in "ORA-12545: Connect failed because target host or object does not exist"
    Maybe there was an entry for myserver in the local hosts file, but it specified a bad IP address. This will result in "ORA-12545: Connect failed because target host or object does not exist"
    Maybe the IP was good, but there is no listener running: "ORA-12541: TNS:no listener"
    Maybe the IP was good, there is a listener at myhost, but it is listening on a different port. "ORA-12560: TNS:protocol adapter error"
    Maybe the IP was good, there is a listener at myhost, it is listening on the specified port, but doesn't know about SERVICE_NAME = curley. "ORA-12514: TNS:listener does not currently know of service requested in connect descriptor"

  • Couldn't connect to source database

    Hi All,
    Need some help, currently we used Oracle Business Intelligence 10.1.3.4.1 already live since 1 year ago and working fine. but suddenly my source database(oracle 10g) have problem,
    and get re-strated. after source database get re-started our obiee apps couldn't connect to our source database.
    it's always hanging when we try to open report dashboard or answer, even we already re-start obiee services.
    in our log we on see this error and there is no other clue.
    "[nQSError: 12002] Socket communication error at call=recv: (Number=104) Connection reset by peer"
    I'm already search in google for the solution, but it's not working.
    1. changing connection from ODBC to OCI
    2. check manual connection through sqlplus " it's ok"
    3. restart services
    4. check env param
    fyi, our connection pool is using oci 10g.

    Hi,
    Take the backup of RPD and catlog.
    Uninstall OBI 10g and install it again.
    config again, it will work.
    Its seems some of the config file of obi has got corrupted.
    Thanks
    Nagu

  • Connect Oracle Form Builder 10g to Oracle Database 10g Express

    Hi,
    I'm new to Oracle.
    I've installed both form builder and database 10g express.
    I tried to connect form builder to HR sample database in 10g express with the following:
    user name: hr
    password: hr
    database: hr
    but I received message: ora-12154: tns could not resolve the connect identifier specified.
    Can anyone help me on that? Do I need to change the tnsnames.ora?
    If yes, what should I need to change in order to connect to the HR sample?
    Thank you.

    Yes you need to have an entry in the tnsnames.ora file for you database service name or sid. The service name or sid is usually XE unless you changed it when you installed 10g express.

  • Problem connect form6i and Oracle Database 10g

    I can't connect form6i to Oracle Database 10g
    When complete user/password@database fatal error produce:
    "Oracle Forms Designer has encountered a problem and needs to close. We are sorry for the inconvenience"
    Error Detail:
    AppName: ifbld60.exe     AppVer: 6.0.8.27     ModName: ora805.dll
    ModVer: 0.0.0.0     Offset: 000b4f04
    Product Install:
    - Forms Version: Forms [32 bits] Versión 6.0.8.27.0
    - Oracle Database: 10.2.0
    - Win XP professional with SP2.
    Any idea what might cause Forms to shutdown ubnormally?
    Thanks

    If your database is using the AL32UTF8 character set, Forms 6i cannot connect.
    Read this thread:
    connecting form 6i  to oracle database 10G express edition

Maybe you are looking for

  • Can't sync music in iTunes 11

    Ok, so after the update to iTunes 11, my iPhone 5 will not sync music.  In the library, it shows my full list of albums etc, but when I click over to the iphone tab and then into the music tab, next to sync music it says 0 songs.  I tried doing a res

  • Need help with URLs (Mamp/Dreamweaver/Apple Lion)

    I'm in the midst of a major upgrade - Apple Leopard > Lion and MAMP 1.x to 2.0.5. I also installed CS3, with Dreamweaver, on my new laptop. Anyway, everything seems to be falling in place, except for one major snag - I can't view my web pages in a br

  • IPad recording interface with built in speaker

    Are there any simple recording interfaces for iPad like iRig that have a built in speaker?  I hate using headphones and I want something simple, not a professional setup (like an track dock where I have to connect powered speakers,etc)-I can do that

  • Condition type GRWR

    Hi, What is condition type GRWR? When is it used? Thanks, Kaveri

  • ITunes just starts playing randomly.

    Hi, first time this happened.  Recently iTunes just starts playing by itself randomly even hours after I stop playing it.  Sometimes I am doing something else and sometimes the computer is just sitting there idle and it starts playing.  iTunes is alw