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"

Similar Messages

  • I want to connect to a Profile database using the Sanchez JDBC Driver.

    I want to connect to a Profile database using the Sanchez JDBC Driver. Is that possible? Would I need to create an extension?

    You can't do it directly - only those databases listed in the help under third party databases are supported.
    You may well be able to write an extension to connect to an additional database, but it seems like a lot of work.

  • Problem connecting developer 6i with database 10g express edition

    i have installed developer 6i on windows xp
    then installed database 10g express edition in different folders
    i am able to connect to the database 10g from the sql command line
    but i cannot connect from the form builder in 6i
    as soon as i try to connect the form builder shuts down
    i have copied tnsnames.ora from the 10g to the 6i and it doesn't connect
    does anyone know why this is happening ?
    please help me solve this issue ???

    then installed database 10g express edition in different foldersWhich version ? Universal or Western European ?
    Universal version uses AL32UTF8 character set and Forms 6i does not work with it.

  • How to check the performance of the database instance in oracle apps 11i

    hii everybody,
    i want to know,how to check the performance of the database instance using oracle applications 11i.your help highly appreciated,thanks.

    Pl do not post duplicates - how to check the performance of the server in oracle applications 11i

  • Can we rename the database name in oracle 10g

    Hi,
    Can we rename the database name in oracle 10g.
    Please help

    Yes as already said, using DBNEWID Utility can renamed the database name.
    You can also take a look at the Oracle Metalink Note:429674.1 (Which was written by me) - Subject: How We Used the Oracle DBNEWID Utility to Change the Database Name
    Regards,
    Sabdar Syed.

  • What package to install the database 10g  in redhat 5

    hi frndz,
    what package to download and install the database 10g in redhat 5.there are different packs among redhat. can anybody guide me.

    Hi;
    You need below:
    Red Hat,Oracle] Enterprise Linux 5.0 Refer to Note 419646.1
    default RHEL5 RPMs (see Note 376183.1)
    *-- Moderator edit - MOS Doc content deleted - pl do NOT post contents of MOS Docs *+
    Referance:
    Oracle Database on Unix AIX,HP-UX,Linux,Mac OS X,Solaris,Tru64 Unix Operating Systems Installation and Configuration Requirements Quick Reference (8.0.5 to 11.2) [ID 169706.1]
    Master Note of Linux OS Requirements for Database Server [ID 851598.1]
    Regard
    Helios

  • How to repair the database used by Oracle Identity Manager 11g

    Hi friends,
    I have a question about Oracle Identity Manager 11g.
    As I can repair the database used by Oracle Identity Manager 11g
    Thanks

    I think you can do if the repaired database is replica of old one.
    http://download.oracle.com/docs/cd/B19306_01/server.102/b14231/repair.htm

  • Oracle Database 10g and Oracle Client 9i together

    Hi, I've been lost some nights in this problem, in my job I will need migrate my Oracle Database 10g for a new computer, on the other hand, there is a software in this computer wrote in Visual Basic and this running only Oracle 9i Client.
    Is it possible configure my new server for run Oracle Database 10g and Oracle 9i Client together?
    Thanks!
    Emerson

    You can certainly use an Oracle 9i client to connect to an Oracle 10g database. Technically, you may have to apply the 9.2.0.4 patchset to the Oracle client to be completely supported, but that may not be strictly necessary.
    You can also have both a 10g database and a 9i client installed on the same machine in different Oracle Homes. You may have some issues on Windows, however, if you are using software that is not multi-home compliant (i.e. the Microsoft ODBC driver for Oracle) or if you call Oracle command-line utilities (exp, imp, etc) without explicitly setting the PATH first.
    Justin

  • Oracle Database 10g or Oracle 10g Express Edition

    Hi Friends,
    I have worked on Oracle 9i but now I would like to work on Oracle 10g but confuse because there are more option for download.Which one should I go for?
    Oracle Database 10g or Oracle 10g Express Edition ?
    Or Any other option.
    Any Suggestion are welcome.
    KarTiK.

    It all depends on what exactly you are planning to use oracle for. Depending on the version, there may be found or not some features, you can see it this way:
    EE > SE > XE
    EE is a superset of SE and SE is a superset of XE. So you will find several limitation on the XE edition.
    However, even though XE is a very limited version, it cannot be underestimated, it can be used for Spatial Data projects, it works with spatial data locator, and there are several guides that show how to use it with PHP so you can start a web site. WebPLSQL is included with it, so the only limit is your creativity.
    This version can be very useful, and you can make the most of it, you may be interested in reading this article Oracle Database 10g Express Edition: Not Just for Learners
    by Lewis Cunningham.
    The XE edition is free. So you can use it without license fees and is the best suitable tool for learning, it is easy to install and setup. You can have a fully functional XE database out of the box. Once you feel more comfortable with oracle technology you can start thinking about taking the next step to a SE or EE edition.
    ~ Madrid

  • Difference Between Oracle Database 10g And Oracle 10g Express Edition

    Can any body Tell me What is The Difference Between Oracle Database 10g And Oracle 10g Express Edition.

    http://www.oracle.com/database/product_editions.html
    This link might help you.

  • Ms SqlServer connection: where is the database?

    I'm connecting to MS SQL 2000 with a user that is owner of the database i want to convert into oracle. The connection is OK, but when i connect i cannot see the database and its tables. The same if i connect with user "sa".
    Can anybody help me?

    Hi,
    I'm not sure where the problem is, I think it is more how SQL Server is implemented, whenever we look for tables they always appear under the 'dbo' schema regardless of who created them. All that JDeveloper does is query the Database metadata.
    Regards,
    Lisa

  • Oracle connection: cannot find the database driver

    i have the following code:
    Class.forName("oracle.jdbc.driver.OracleDriver");
         // Create a connection to the database
         String serverName = "rana-etcsup3ueu";
         String portNumber = "1521";
         String sid = "ORCLE";
         String url = "jdbc:oracle:thin:@rana-etcsup3ueu:1521:ORCLE";
         String username = "scott";
         String password = "tiger";
         connection = DriverManager.getConnection(url, username,password);
         } catch (ClassNotFoundException e) {
              JOptionPane.showMessageDialog(null,"Coud not find the database driver ");
         // Could not find the database driver
         } catch (SQLException e) {
              JOptionPane.showMessageDialog(null,"Coud not connect to the database ");
         // Could not connect to the database
    but i have ClassNotFoundException that is cannot find tha database driver

    This clearly implies that your driver classes are not on the classpath.
    Ensure that the classes are reachable to your JVM.

  • Not able to create a database link using the database gateway of oracle 11g

    HI,
    While trying to create a database link to SQL server from Oracle ,using the database gateway provided with 11g, i am getting the following error while making use of it in selecting columns from tables :
    Error starting at line 1 in command:
    select * from test1@dblink
    Error at Command Line:1 Column:20
    Error report:
    SQL Error: ORA-28513: internal error in heterogeneous remote agent
    ORA-02063: preceding line from DBLINK
    These are the steps i have followed for setting up:
    1.Ran the set up for the Database gateway.and mentioned the SQL server name and database .ALos set up a listener.
    2. Added the following in the Listener.ora of Oraclehome 11/NETWORK/ADMIN:
    LISTENER_SQL_FCD =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST =localhost) (PORT = 1541)
    SID_LIST_LISTENER_SQL_FCD =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME=dg4msql)
    (ORACLE_HOME= D:\app\20537\product\11.1.0\db_3)
    (PROGRAM=dg4msql)
    3.Added the following in tnsnames.ora inOracle home/NETWORK/ADMIN:
    dg4msql=
    (DESCRIPTION=
    (ADDRESS=(PROTOCOL=tcp)(HOST=localhost)(PORT=1541))
    (CONNECT_DATA=(SID=dg4msql))
    (HS=OK)
    4. Following is the entry in initdg4msql.ora in C:\product\11.1.0\tg_5\dg4msql\admin:
    HS_FDS_CONNECT_INFO=10.148.45.242:1433//SalesDemo
    HS_FDS_TRACE_LEVEL=DEBUG
    HS_FDS_RECOVERY_ACCOUNT=RECOVER
    HS_FDS_RECOVERY_PWD=RECOVER
    5. Created the database link :
    create database link dblink
    connect to "sa" identified by "<pswd>"
    using 'dg4msql'
    On running :select * from test1@dblink i get the following error:
    Error starting at line 1 in command:
    select * from test1@dblink
    Error at Command Line:1 Column:20
    Error report:
    SQL Error: ORA-28513: internal error in heterogeneous remote agent
    ORA-02063: preceding line from DBLINK
    Is there any issue with the set or definition that I get the above error?

    What is the version of the Oracle database in which you have specified/and use the database link?
    If it is for example 10.2.0.3.0 you need to apply the mandatory patch for RDBMS bug 5965763 first before being able to use an 11g gateway. Have a look at MetaLink note 457808.1 for details about this patch.
    Regards,
    Ed

  • Starting up the database( Solaris 9 Oracle 9i)

    Hi Gurus,
    I've got a database that has 2 instances running on it. I had shutdown the database for some maintancance but now the problem is that after I startup I then checked this:
    ps -ef |grep pmon it returns only 1
    ora902 24138 24116 0 07:51:50 pts/2 0:00 grep pmon
    ora902 1679 1 0 Dec 08 ? 0:00 ora_pmon_pll01
    whereas it should return 2
    ora902 24138 24116 0 07:51:50 pts/2 0:00 grep pmon
    ora902 1679 1 0 Dec 08 ? 0:00 ora_pmon_pll01
    ora902 2444 1 0 Dec 08 ? 0:00 ora_pmon_DEATDB01
    How do I start this one:
    ora902 2444 1 0 Dec 08 ? 0:00 ora_pmon_DEATDB01
    Thank you.

    The second database apparently didn't start.
    As you don't disclose your startup procedures, only generic advice is possible.
    If you don't use the Oracle provided dbstart (which you should) start up the database manually.
    If you do use dbstart, check the oratab to see whether the database starts up automatically.
    If it should start up automatically, check the alert log why it didn't start.
    Newdba's should read documentation and do not jump to this forum straightaway.
    Learning Oracle should be done by using the documentation, instead of asking volunteers to abstract it.
    Sybrnad Bakker
    Senior Oracle DBA

  • Do I need start the database before installing Oracle 9iAS portal?

    I found the Oracle white paper which talks about installing
    Oracle8i EE and Oracle 9iAS portal on windows 2000. Based this
    document, after Oracle 8i installaion but before installing
    Oracle 8.1.7.1.1 path, all the Oracle database related services
    startup type have been changed to 'Manual'.
    Based on my understanding, there are some objects will be
    created in this database during the installation of 9iAS portal
    repository. But this oracle white paper didn't say that I need
    have the database ruuning during the 9iAS installation. Do I
    need to start the database before installing 9iAS?
    Thanks

    hi,
    Even i am new to oracle application server and had the same doubt that you have.
    When you install Application Server there would be two tiers installed, application tier and middle tier, these tiers can be running from the same machine or different machines.
    These tiers will have a meta data repository to store application server related data, this database will be installed along with application server.
    It is upto you to install "oracle database 10gR2 " before or after installaion of application server, this will be an independent database which will have its own home, but after this installation you will have three homes, ex: infra_home,mid_home and 10gR2_home.
    by default oracle_home is set to the last installation that happens so if you install the database 10gR2 after installing application server it will point to 10gR2_home, but if you install 10gR2 before and application server later then the oracle home will be infra_home(if both the middle tier and infratier are on the same machine)
    you can always change the oracle home by using set ORACLE_HOME=path/to/oracle/home( in windows)
    or export ORACLE_HOME=path/to/oracle/home (in unix)
    hope this helps....
    regards

Maybe you are looking for

  • IPhone 5S Call quality issues - Are they resolved?

    Hi folks, So long story short, I was previously a VZW customer with an iPhone 5S. When I was a customer, everything worked great, except one thing, Calls. What would happen during is: 1) The calls would sound metallic/robotic 2) the calls would sort

  • How to convert a new Apple ID into a iCloud email alias?

    Howdy, Just a few weeks ago, I created a second MobleMe accout for my daugher via my MobleMe family plan. The reason was that her orignal MobleMe email ([email protected]) address seemed a bit childish to her and she wanted a new "more professional" sound

  • TS1363 iPod classic no longer recognised in iTunes (v11)

    I have an 80gb iPod classic that, since I upgraded iTunes to the latest version in December 2012, no longer gets recognised within iTunes, so I cannot sync it anymore. I am running a PC on windows 7, with iTunes v11 (the latest version as I have remo

  • Weblogic 9.2 MP3 Issue with EPM System 11.1.1.3

    Hi, I am currently running into issues when trying to configure Shared Services via the EPM System Configurator 11.1.1.3. I've installed Weblogic 9.3 MP3 with all of the default options (including establishing Node Manager as a service). I've also cr

  • EXS samples go crazy

    I have a sample cd with exs instruments and this is very weird when i load them, sampler asks to choose which sample folder i want to load but none of them are maching the instrument's name, though there are folders with such a name. lets say I want