9i db pointing 11g listener

Hi,
I am facing some problem in my listener.Actually i am going to upgrade
my db from 11.2.0.2 to 11.2.0.3,as i checked the basic pre-requiste i found that my
one of 9i db instance which is running in the same serverhas running under this 11g home.
I need to stop the listener and create new listener after the db would upgrade.
Kindly let me know how can i point the 9i db service from 11g home to other listener running under 9i home.
OS- AIX,DB version - 11.2.0.2
Regards,
Mugunth

There are two options. One, don't do anything! This is because the listener that would be running from 11.2 home would discover the databases running using their PMON's and there is no setting required from your side. If not, you can configure a static registration of the database within the listener using the Net Manager or EM.
Aman....

Similar Messages

  • 10g and 11g  listener problems

    i've set up 11g on a Windows Xp machine that had 10gR2 previously installed.i created an 11g listener but i can not start it
    lsnrctl start LISTENER11g
    Copyright (c) 1991, 2007, Oracle. All rights reserved.
    Starting tnslsnr: please wait...
    TNS-12560: TNS:protocol adapter error
    the 10g listener starts normally.
    almost forgot, my listener.ora file looks like this
    # listener.ora Network Configuration File: C:\oracle\product\product\11.1.0\db_1\network\admin\listener.ora
    # Generated by Oracle configuration tools.
    LISTENER11g =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL=TCP)(HOST=127.0.0.1)(PORT=1523))
    TRACE_FILE_LISTENER11g = LISTSNER11g
    TRACE_DIRECTORY_LISTENER11g = C:\oracle\product\product\11.1.0\db_1\NETWORK\trace
    i can't find any further logs/messages anywhere else

    no actually not together. i'm planning to keep the 11g listener (though i heard that problems may arise) but i'm curious to know what the problem is in fact.
    i found the log in
    C:\oracle\product\diag\tnslsnr\<PC_NAME>\listener11g\trace
    seems it's still considering it a setup stage, well the log simply says
    Tue Jan 22 13:24:38 2008
    System parameter file is c:\oracle\product\10.2.0\db_1\network\admin\listener.ora
    Log messages written to c:\oracle\product\diag\tnslsnr\<PC_NAME>\listener11g\alert\log.xml
    Trace information written to c:\oracle\product\diag\tnslsnr\<PC_NAME>\listener11g\trace\ora_2968_3416.trc
    Trace level is currently 0
    the file ora_2968_3416.trc is not found
    i've set the TRACE_LEVEL_LISTENER11G to ADMIN and now i get
    Failed to start service,error 0
    Message was edited by:
    u_steven

  • 11g listener

    Hi
    Oracle 10.2.0.3
    Oracle 11.2.0.1
    AIX 5.3
    I have six databases on one server. I have upgraded one database to 11g and rest of the databases are on 10g.
    what i have to do so 10g databases talk to 11g listener?
    and what should i do with 10g listener?
    should i keep 10g listener or 11g listener?
    Thanks,
    Vishal

    >
    I have six databases on one server. I have upgraded one database to 11g and rest of the databases are on 10g.
    what i have to do so 10g databases talk to 11g listener?
    and what should i do with 10g listener?
    should i keep 10g listener or 11g listener?
    >
    Pl indicate how many ORACLE_HOMEs you have - do you have one per instance (dedicated OH) or one per release (shared OH) ? I suspect you have a shared OH. How many listeners do you have - one for 10g and one for 11g ?
    My personal preference is to have the 11g listener service the 11g instances and the 10g listener service the 10g instances, although the 11g listener is perfectly capable of servicing all of the instances.
    HTH
    Srini

  • Oracle 11g listener issue

    Hello,
    I have installed oracle 11g on windows 7. Installation and database creation was successfull but after creating database listener should automatically up and start
    but i am not able to listener in the services window and not able to conntest database using connect string.
    I tried to create new listener using netca but it is hanging ..
    I have downloaded this software from oracle website.
    any idea where can i check to resolve this issue.

    944589 wrote:
    Hi,
    I had the same problem as the OP, and I followed these instructions to try and see which error was raised by the listener when it started.
    Weird thing is, after deleting the listener.ora file and restarting the listener with the "lsnrctl start" command, it worked !
    The only additional thing I did is (as written in some obscure Oracle documentation) create a loopback network adapter (because my PC is DHCP-based).
    Now I have rebooted my PC, and it still works. Go figure...
    I hate Oracle. They shouldn't have been authorized to buy back Sun. My prediction is that Java is going the same way as their DB : it's gonna be a mess... :(Just because you can't make things work and find the documentation obscure doesn't mean things don't work. Its not Access with point-click you see!
    Aman....

  • Oracle 11g Listener Supports No services

    I have installed Oracle 11g in Linux (Centos). i created a starter database using dbca. I also created a listener.ora using netca.
    I have observed that that the listener.ora was only generated like this after running netca:
    LISTENER =
      (DESCRIPTION_LIST =
        (DESCRIPTION =
          (ADDRESS = (PROTOCOL = TCP)(HOST =proky.warnerbro.com)(PORT = 1521))
      )Now when i start this listener, I get a message: "The listener supports no services".
    I have read on some forums that something like this should be included:
    SID_LIST_LISTENER =
      (SID_LIST =
        (SID_DESC =
          (SID_NAME = $$###$)
          (ORACLE_HOME =$ORACLE_HOME)
          (PROGRAM = extproc)
        (SID_DESC =
          (GLOBAL_DBNAME = orcl)
          (ORACLE_HOME = $ORACLE_HOME)
          (SID_NAME = orcl)
      )So, my question is, do dba's edit this manually or there should be a tool or wizard that would generate this text in listener.ora.
    thanks in advance,
    Anton

    Thanks guys.
    Another question though.
    How can I edit the listener that is used by emctl (database control)? Cause I have edited my listener.ora. I have removed an entry originally listened to by database control. For Example, originally there was a listener called listener3 which was used by emctl. Now I run netca and remove "listener3" and add one listener "listener". If i check listener.ora at ORACLE_HOME/network/admin, the file now has an entry listener and no more listener3.
    However when I start emctl, it says there that is still uses the "listener3" listener
    So even if i issued a "alter system register" at sqlplus, I still can't find my database on emctl.

  • Using HOSTNAME in 11g Listener?

    In our current 9i/10g environment, we're making use of HOSTNAME in our clients' sqlnet.ora files (both 9i and 10g clients). We add an alias for the server name to Active Directory corresponding to the database instance(s) on that server. So, we have database MYDB on server SERVE, with MYDB being an alias in Active Directory. We can then use user/password@MYDB to connect from that client.
    Is there a way to emulate this with an 11g client? I can tnsping with the hostname adapter, but actually connecting with SQL*Plus doesn't work; I get "ORA-12504: TNS:listener was not given the SERVICE_NAME in CONNECT_DATA." If I add the database to tnsnames.ora, it works, of course.
    Any insights would be appreciated!
    Thanks,
    Dan

    Okay, here are the current settings. I have changed it to local registering on the database side (9.2.0.8 on Windows 2003 SP1, just like the original version of the DB).
    Database server: chqsrvr20 (9.2.0.8)
    Database SID: testdaq
    local_listener parameter = 'testdaq'
    testdaq is an alias for chqsrvr20 in Active Directory.
    listener.ora:
    LISTENER =
      (DESCRIPTION_LIST =
        (DESCRIPTION =
          (ADDRESS_LIST =
            (ADDRESS = (PROTOCOL = TCP)(HOST = CHQSRVR20)(PORT = 1521))
      )On the client side:
    Client 11.1.0.6 on Windows 2003
    sqlnet.ora:
    SQLNET.AUTHENTICATION_SERVICES= (NTS)
    NAMES.DIRECTORY_PATH= (HOSTNAME, TNSNAMES)Results:
    M:\>sqlplus system@testdaq
    SQL*Plus: Release 11.1.0.6.0 - Production on Mon Nov 2 13:29:08 2009
    Copyright (c) 1982, 2007, Oracle.  All rights reserved.
    Enter password:
    ERROR:
    ORA-12504: TNS:listener was not given the SERVICE_NAME in CONNECT_DATAI've noticed that, though a tnsping works, it doesn't fill in the SERVICE_NAME:
    M:\>tnsping testdaq
    TNS Ping Utility for 32-bit Windows: Version 11.1.0.6.0 - Production on 02-NOV-2
    009 13:36:14
    Copyright (c) 1997, 2007, Oracle.  All rights reserved.
    Used parameter files:
    C:\oracle\product\11.1.0\client_1\network\admin\sqlnet.ora
    Used HOSTNAME adapter to resolve the alias
    Attempting to contact (DESCRIPTION=(CONNECT_DATA=(SERVICE_NAME=))(ADDRESS=(PROTOCOL=TCP)(HOST=10.1.3.36)(PORT=1521)))
    OK (0 msec)Of course, now that I'm checking, I'm not connecting with any SQL*Plus session, not just the 11g ones. The big change is that I'm using local_listener now, rather than setting everything in listener.ora.
    Thanks for taking a peek at this; I've inherited this mess, and I'm doing what I can to get it cleaned up.
    Thanks,
    Dan

  • OWB 11g Listener fails to start

    Hi,
    I am running OWB11g on Windows XP 2002 SP2.
    I get the following error when attempting to start the listener. This is preventing me from running the Repository Browser.
    Microsoft Windows XP [Version 5.1.2600]
    (C) Copyright 1985-2001 Microsoft Corp.
    C:\Documents and Settings\sys_MBurke>cd C:\oracle\product\11.1.0\owb\bin\win32
    C:\oracle\product\11.1.0\owb\bin\win32>C:\oracle\product\11.1.0\owb\bin\win32\st
    artOwbbInst.bat
    C:\oracle\product\11.1.0\owb\bin\win32>call setowbenv.bat
    08/08/05 10:37:44 WARNING: Application.setConfig Application: owbb is in failed
    state as initialization failedjava.lang.InstantiationException: Error loading we
    b-app 'owbb' at C:\oracle\product\11.1.0\owb\j2ee\owbb: Unable to find/read file
    WEB-INF/web.xml in C:\oracle\product\11.1.0\owb\j2ee\owbb (WEB-INF/web.xml)
    05-Aug-2008 10:37:44 com.evermind.server.Application setConfig
    WARNING: Application: owbb is in failed state as initialization failedjava.lang.
    InstantiationException: Error loading web-app 'owbb' at C:\oracle\product\11.1.0
    \owb\j2ee\owbb: Unable to find/read file WEB-INF/web.xml in C:\oracle\product\11
    .1.0\owb\j2ee\owbb (WEB-INF/web.xml)
    08/08/05 10:37:44 Error initializing server: Error loading web-app 'owbb' at C:\
    oracle\product\11.1.0\owb\j2ee\owbb: Unable to find/read file WEB-INF/web.xml in
    C:\oracle\product\11.1.0\owb\j2ee\owbb (WEB-INF/web.xml)
    2008-08-05 10:37:46.273 WARNING J2EE JTA RecoveryManager is null during shut
    down
    08/08/05 10:37:46 Fatal error: server exiting
    C:\oracle\product\11.1.0\owb\bin\win32>C:\oracle\product\11.1.0\owb\bin\win32\st
    artOwbbInst.bat
    C:\oracle\product\11.1.0\owb\bin\win32>call setowbenv.bat
    08/08/05 10:44:36 WARNING: Application.setConfig Application: owbb is in failed
    state as initialization failedjava.lang.InstantiationException: Error loading we
    b-app 'owbb' at C:\oracle\product\11.1.0\owb\j2ee\owbb: Unable to find/read file
    WEB-INF/web.xml in C:\oracle\product\11.1.0\owb\j2ee\owbb (WEB-INF/web.xml)
    05-Aug-2008 10:44:36 com.evermind.server.Application setConfig
    WARNING: Application: owbb is in failed state as initialization failedjava.lang.
    InstantiationException: Error loading web-app 'owbb' at C:\oracle\product\11.1.0
    \owb\j2ee\owbb: Unable to find/read file WEB-INF/web.xml in C:\oracle\product\11
    .1.0\owb\j2ee\owbb (WEB-INF/web.xml)
    08/08/05 10:44:36 Error initializing server: Error loading web-app 'owbb' at C:\
    oracle\product\11.1.0\owb\j2ee\owbb: Unable to find/read file WEB-INF/web.xml in
    C:\oracle\product\11.1.0\owb\j2ee\owbb (WEB-INF/web.xml)
    2008-08-05 10:44:38.026 WARNING J2EE JTA RecoveryManager is null during shut
    down
    08/08/05 10:44:38 Fatal error: server exiting
    C:\oracle\product\11.1.0\owb\bin\win32>
    Any help much appreciated,
    Marlise

    OWB 11.gR2 client does not run on Windows 64 bit :-)
    There is a long thread about here: OWB 11gr2 on Windows 7 64
    Good and clever people have hacked their way into making it work, but to my knowledge there is not yet a supported solution, other than running the client on a 32 bit os l.
    A new patch have just been released for OWB11gR2. Search for patch: 13365457 on support.oracle.com
    /Henrik
    Edited by: HenrikVerup on Nov 22, 2011 3:22 PM
    Edited by: HenrikVerup on Nov 22, 2011 3:24 PM

  • XML with HTML Tags... (easy points) 11g question

    Dear Programming Gods,
    I have been researching this for about 2 weeks now, and I have hit the final road block.
    Using BI Publisher 11.1.1
    In APEX 4.0 I have a Rich Text Field. The data from the Rich Text Field is store in CLOB. The data has HTML formatting tags. I have a data model that selects the data. I create an xml which has the html tags. I export the xml and import it into MS Word using the BI Publisher add-in. I import my subtemplate which handles almost all of the formatting tags. I apply the template to the CLOB field so that the HTML formatting tags will be rendered when printed.
    The problem is this. The subtemplate is looking for this < and / > however BI publisher convters the tags stored in the CLOB from raw html tags to this &.lt; and &.gt; so the subtemplate can not match to it.
    Here is what I need to figure out and please explain it in very novice terms.
    When I generate and export the XML from BI Publisher how do I prevent it from converting my raw tags?
    Here is some further assistance when prepairing your answer.
    My subtemplate is based on the htmlmarkup.xsl from the following blog but has been modified heavily to include support for simple tables, more formatting such as subscripts and superscripts, ect...
    http://blogs.oracle.com/xmlpublisher/2007/01/formatting_html_with_templates.html
    I am also familliar with this blog but I do not understand how to implement it using BI 11g.
    http://blogs.oracle.com/xmlpublisher/2009/08/raw_data.html
    I have tried adding this to my layout but it doesnt seem to work.
    <xsl: element name="R_CLOB" dataType="xdo:xml" value="R_CLOB" / >
    Please, help me. I have to have this working in 4 days.
    Richard

    This did not work either. Here's more infor on what I have so far.
    My data template looks like this:
    <dataTemplate name="Data" description="Template">
         <parameters>
              <parameter name="p_person_id" dataType="character" defaultValue="1"/>
         </parameters>
         <dataQuery>
              <sqlStatement name="Q1">
                                  select TEMPORARY_TEMPLATE_DATA.line_id as LABEL_line_ID,
    TEMPORARY_TEMPLATE_DATA.column_id as LABEL_column_ID,
    TEMPORARY_TEMPLATE_DATA.person_id as LABEL_PERSON_ID,
    TEMPORARY_TEMPLATE_DATA.label as LABEL_DATA
    from MY_BIO.clm_TEMPORARY_TEMPLATE_DATA TEMPORARY_TEMPLATE_DATA
    Where person_id = :p_person_id
    and style = 'L'
                             </sqlStatement>
              <sqlStatement name="Q2" parentQuery="Q1" parentColumn="LABEL_DATA">
                                  select TEMPORARY_TEMPLATE_DATA.LINE_ID as LINE_ID,
    TEMPORARY_TEMPLATE_DATA.COLUMN_ID as COLUMN_ID,
    TEMPORARY_TEMPLATE_DATA.label as COLUMN_LABEL,
    to_nclob(TEMPORARY_TEMPLATE_DATA.COLUMN_DATA) as  COLUMN_DATA,
    TEMPORARY_TEMPLATE_DATA.STYLE as STYLE,
    TEMPORARY_TEMPLATE_DATA.ATTRIBUTE as ATTRIBUTE,
    NVL(TEMPORARY_TEMPLATE_DATA.JUSTIFY,'L') as JUSTIFY
    from MY_BIO.clm_TEMPORARY_TEMPLATE_DATA TEMPORARY_TEMPLATE_DATA
    Where person_id =:p_person_id
    and label = :LABEL_DATA
    and style != 'L'
    Order by line_id, column_id
                             </sqlStatement>
         </dataQuery>
         <dataStructure>
              <group name="G_LABEL" source="Q1">
                   <element name="LColumnData" value="label_data"/>
                   <group name="G_DATA" parentGroup="G_Label" source="Q2">
                        <element name="LineID" value="line_id"/>
                        <element name="ColumnID" value="column_id"/>
                        <element name="ColumnData" value="column_data"/>
                        <element name="Style" value="style"/>
                        <element name="Attribute" value="attribute"/>
                        <element name="Justify" value="justify"/>
                   </group>
              </group>
         </dataStructure>
    </dataTemplate>
    After running this data_template there was no change in the xml file generated see partial :  Note:
    my test actually has the B with the html tags
    </G_DATA>
    - <G_DATA>
    <LINEID>20</LINEID>
    <COLUMNID>1</COLUMNID>
    <COLUMNDATA>test test <B>my test</B></COLUMNDATA>
    <STYLE>R</STYLE>
    <ATTRIBUTE />
    <JUSTIFY>C</JUSTIFY>
    </G_DATA>
    - <G_DATA>
    <LINEID>21</LINEID>
    I loaded in to MS Word but there was no change documnet still look the same. I left the commands import file command and xsl:apply-templates command in the word document template.
    I really appreciate you helpiing me.
    cheryl

  • Oracle 11g - Listen for remote connections

    Hi all,
    I recently installed Oracle 11.1.0.7.0 on a Windows Server 2008 standard server 6.0 service pack 2. Everything is working as it should.
    I can open the database control web page on the local computer.
    I can connect locally to the database from SQL Plus
    I can connect locally to the database from Oracle SQL Developer
    The database control web page shows the database is up and running as well as the listener. All is good! As the status shows:
    C:\>lsnrctl status
    LSNRCTL for 32-bit Windows: Version 11.1.0.7.0 - Production on 11-APR-2012 07:24
    :02
    Copyright (c) 1991, 2008, Oracle. All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1521)))
    STATUS of the LISTENER
    Alias LISTENER
    Version TNSLSNR for 32-bit Windows: Version 11.1.0.7.0 - Produ
    ction
    Start Date 10-APR-2012 16:58:34
    Uptime 0 days 14 hr. 25 min. 33 sec
    Trace Level off
    Security ON: Local OS Authentication
    SNMP OFF
    Listener Parameter File F:\app\oracle\product\11.1.0\db_2\network\admin\listen
    er.ora
    Listener Log File f:\app\oracle\diag\tnslsnr\SLOTH\listener\alert\log.xm
    l
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC1521ipc)))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=SLOTH.qmuzik.local)(PORT=1521)))
    Services Summary...
    Service "qmzorcl" has 1 instance(s).
    Instance "qmzorcl", status READY, has 1 handler(s) for this service...
    Service "qmzorclXDB" has 1 instance(s).
    Instance "qmzorcl", status READY, has 1 handler(s) for this service...
    Service "qmzorcl_XPT" has 1 instance(s).
    Instance "qmzorcl", status READY, has 1 handler(s) for this service...
    The command completed successfullyBut when I open Oracle SQL Developer from another PC and try to connect, I am unable to do so!
    I keep getting the following error:
    Status: Failure - Test failed: IO Error: The Network Adapter could not establish the connection.What do I need to do, so that I can connect from a remote computer?
    Can anyone please assist me in this matter?
    Many thanks in advance!
    Kind regards,
    Richard

    Vishwanath wrote:
    Open Listener .ora and tnsnames .ora on server and match the below parameters with the connection form of SQL developer.Check one by one they should match to establish the connection to the database.
    HOSTNAME, PORTNUMBER and SERVICE_NAME.Hi,
    Many thanks for the response! I am sure that the connection parameters are correct.
    Client PC:
    Hostname: SLOTH.qmuzik.local
    Port: 1521
    SID: qmzorcl (I even tried the QMZORCL - but that did not make a difference)
    Server listener.ora File:
    # listener.ora Network Configuration File: F:\app\oracle\product\11.1.0\db_2\network\admin\listener.ora
    # Generated by Oracle configuration tools.
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
    (ADDRESS = (PROTOCOL = TCP)(HOST = SLOTH.qmuzik.local)(PORT = 1521))
    Server tnsnames.ora File:
    # tnsnames.ora Network Configuration File: F:\app\oracle\product\11.1.0\db_2\network\admin\tnsnames.ora
    # Generated by Oracle configuration tools.
    QMZORCL =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = SLOTH.qmuzik.local)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = qmzorcl)
    )Any suggestions?
    Thanks again!

  • Info about Listener for oracle 10g and 11g installed on single systm

    Hi,
    I have installed oracle 10g n 11g on my system. I have question regarding oracle listener.
    oracle 10g , Listener.ora
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
    (ADDRESS = (PROTOCOL = TCP)(HOST = kankala.kalyan)(PORT = 1521))
    oracle 11g, Listener.ora
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1522))
    (ADDRESS = (PROTOCOL = TCP)(HOST = kankala.kalyan)(PORT = 1522))
    my question is why the listener's names are same even though thy are on different ports?
    and for people worrying, why i have installed 10 n 11 is
    Initally only oracle 11g was installed on my system. Later, I was learning forms for first time and i have to connect to database frm developer suite 10g. so i installed oracle 10g database.

    The names are the same because that is the way you created them.
    If you want to make a change use NETCA to drop and recreate one of them.
    Just make sure you've defined ORACLE_HOME correctly before you do it.

  • 10g listener cannot start after install 11g

    Hi,
    I install 11g R2 into one of 10g windows 2003 server, but I did not perform upgrade, I want the 11g coexists with 10g.
    But after I install 11g and create a new 11g instance, I found that the listener cannot be started, until I change the environment variable ORACLE_HOME
    of windows to 11g home directory.
    But when I reboot my server, I found that the old 10g listener cannot be started,
    the services cannot be started and if I try to start the listener in command "lsnrctl start", error TNS-12560: TNS:protocol adapter error prompt.
    So I changed the ORACLE_HOME environment variable to 10g home directory again and the listener can be started.
    And when I want to start 11g listener, I will have to change again the ORACLE_HOME environment variable to 11g home directory.
    Is this a normal behaviour to have 11g and 10g co-exists in one server?
    Thanks
    Vincent

    pj**** wrote:
    Hi,
    I install 11g R2 into one of 10g windows 2003 server, but I did not perform upgrade, I want the 11g coexists with 10g.
    But after I install 11g and create a new 11g instance, I found that the listener cannot be started, until I change the environment variable ORACLE_HOME
    of windows to 11g home directory.
    But when I reboot my server, I found that the old 10g listener cannot be started,
    the services cannot be started and if I try to start the listener in command "lsnrctl start", error TNS-12560: TNS:protocol adapter error prompt.
    So I changed the ORACLE_HOME environment variable to 10g home directory again and the listener can be started.
    And when I want to start 11g listener, I will have to change again the ORACLE_HOME environment variable to 11g home directory.
    Is this a normal behaviour to have 11g and 10g co-exists in one server?
    Thanks
    Vincentonly 1 listener is needed on any DB Server & the listener should be for the highest version of Oracle DB Server

  • Upgrade to 11g - DBUA can't retrieve the version

    Hello,
    I'm upgrading 10.2.0.4 version to 11.2.0.2 and I have problem at the beginning.
    Immediately after the start of DBUA in the I get the error, that the version of the database can' be retrieved. Somewhere in the logs I have found:
    connect /****** as SYSDBA
    set echo off;
    @/u01/app/oracle/OracleHomes/db11g/rdbms/admin/rdbmsup.sql;
    exactly at this point I have big understanding problem.
    It looks like the new software wants to connect to the instance and can't. What should I do to allow it to do that? I have started the new(11g) listener and it it possible to connect to the old 10g instance, but the old instance runs in the old home. I can connect to it, but I must use the tnsname "emrep". Without using the tnsname it connects to the idle instance.
    SQL> conn / as sysdba
    Connected to an idle instance.
    SQL> conn sys@emrep as sysdba
    Enter password:
    Connected.
    Probably I have made some mistake during configuration of the listener, but I can't find any guidance in this direction. At all places where I'm looking I see only: "create new listener using netca and add the database in the Database Services tab for this listener using netmgr". Actually there is no need to do the last because tha databse is using the default port 1521.
    If I do only that, the I get in $ORACLE_HOME/networt/admin folder only listener.ora with the following contents:
    # listener.ora Network Configuration File: /u01/app/oracle/OracleHomes/db11g/network/admin/listener.ora
    # Generated by Oracle configuration tools.
    LISTENER =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = mmredora.aegon-net.de)(PORT = 1521))
    ADR_BASE_LISTENER = /u01/app/oracle
    After that I see the databse registered with the listener:
    [oracle@mmredora-SID:emrep]$ lsnrctl status
    LSNRCTL for Linux: Version 11.2.0.1.0 - Production on 27-SEP-2011 15:38:23
    Copyright (c) 1991, 2009, Oracle. All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=mmredora.aegon-net.de)(PORT=1521)))
    STATUS of the LISTENER
    Alias LISTENER
    Version TNSLSNR for Linux: Version 11.2.0.1.0 - Production
    Start Date 27-SEP-2011 15:34:19
    Uptime 0 days 0 hr. 4 min. 3 sec
    Trace Level off
    Security ON: Local OS Authentication
    SNMP OFF
    Listener Parameter File /u01/app/oracle/OracleHomes/db11g/network/admin/listener.ora
    Listener Log File /u01/app/oracle/diag/tnslsnr/mmredora/listener/alert/log.xml
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=mmredora.aegon-net.de)(PORT=1521)))
    Services Summary...
    Service "emrep" has 1 instance(s).
    Instance "emrep", status READY, has 1 handler(s) for this service...
    The command completed successfully
    Can somebody help me with that?

    "could not get the database version from the "Oracle Server" component. The "CEP" file "/u01/app/oracle/OracleHomes/db11g/rdbms/admin/rdbmsup.sql" does not provide the version directive."
    but I have found some other problem.
    in rdbmsup.sql I found:
    SELECT version INTO inst_version FROM v$instance;
    vers := SUBSTR(inst_version,1,6); -- three digits
    ptch_version := SUBSTR(inst_version,1,8); -- four digits (patch release)
    IF (vers = '9.2.0' AND
    SUBSTR(ptch_version,1,8) = '9.2.0.8') OR
    (vers = '10.1.0' AND
    SUBSTR(ptch_version,1,8) = '10.1.0.5') OR
    (vers = '10.2.0' AND
    SUBSTR(ptch_version,1,8) != '10.2.0.1') OR
    (vers IN ('11.1.0','11.2.0')) THEN
    NULL; -- is a supported version
    ELSE
    -- version is some unsupported version
    DBMS_OUTPUT.PUT_LINE('ODMA_DIRECTIVE:EXIT:NOT_INSTALLED:');
    RETURN;
    END IF;
    I have executed
    SELECT version INTO inst_version FROM v$instance;
    from sqlplus connecting to the old instance using a "tnsname" and get version 10.1.0.4, not "10.2.0.4" as it is in my papers. now I'm making upgrade to 10.1.0.5
    But it still bothers me: this "connect /****** as SYSDBA"! The text of the message sounds like "not possible to retrieve the version at all" - not that it is an unsupported version.

  • Oracle 10g and 11g on the same computer....

    Hi ,
    Just for confirmation.... i 'd like to ask if this is possible.....without migrating the existing Oracle 10g v.2 database to Oracle 11g......
    I want to keep them working both (not of course simultaneously.....)
    Thanks....
    Sim

    Assuming you load everything into separate 10.2 and 11.1 Oracle Homes, sure. You can even have both running at the same time if you'd like.
    Depending on your setup, you may want to spend a bit of time figuring out whether you want to run separate listeners or have one listener for both databases (in which case you'd probably want just the 11g listener running). And whether you want separate tnsnames.ora files or whether you want to use the TNS_ADMIN environment variable to point both Oracle Homes at a single file.
    Justin

  • Establish 32-bit ODBC connection to 64-bit Oracle 11g database

    Hi Everyone,
    Just to set the scene:
    PC with Windows 2003 server x64 OS installed, Oracle 11g 11.1.0.7 64-bit installed and MS Office 2007 installed.
    I am looking for advice on the best way to establish an ODBC link so that MS Access 2007 (32-bit) can connect to the Oracle 11g (64-bit) database.
    There are known issues, see [http://support.microsoft.com/kb/942976|http://support.microsoft.com/kb/942976] (which I have hit) when attempting to use a 64-bit ODBC DSN within MS Access 2007. This means that I need to setup and install an Oracle 11g 32-bit ODBC driver to be used against the Oracle 11g database (TNS listener also running 64-bit).
    Any thoughts on the best approach I should take to do this?
    Regards,
    Leigh.

    The more information section of the MS support article doesn't give me much to go on other than to explain the differences in how user and system DSNs are displayed and managed between the 2 different bit versions of ODBC administrator and how this information is stored in the different registries (64-bit and WOW64).
    I have been able to install 32-bit Oracle11g instantclient and its ODBC driver successfully and then in turn create the 32-bit ODBC DSN, however I am unable to connect to the 64-bit database when I attempt to test the DSN. I have updated the Windows PATH environment variable to include both the path of the Oracle11g DB server and instantclient homes as well as creating a TNS_ADMIN environment variable to point to the location of the Oracle11g TNSNAMES.ORA and the 64-bit 11g listener. However despite this I still get the error when testing the DSN:
    Unable to connect
    SQLState=S1000
    [Oracle][ODBC][Ora]ORA-12541: TNS:no listener

  • ODBC connectivity between Oracle 11G and MSSQL Server on Solaris 10

    When we were running in 10G, I was able to successfully configure hsodbc using unixODBC and freeTDS to allow for an ODBC connection between Oracle and MSSQL Server.
    A few weeks ago we upgraded to 11G and I've been struggling to get the connectivity (dg4odbc) working.
    In our 10g environment unixODBC and freeTDS were compiled as 32-bit. I have recompiled them as 64-bit and switched over to an 11G listener and I am getting the following error:
    ERROR at line 1:
    ORA-28500: connection from ORACLE to a non-Oracle system returned this message:
    here are my configuration files:
    /usr/local/unixODBC/etc[PPRD]> more odbc.ini
    [ODBC Data Sources]
    identipass = MS SQL Server
    [identipass]
    Driver = /usr/local/freetds/lib/libtdsodbc.so
    Setup = /usr/local/freetds/lib/libtdsodbc.so
    Description = MS SQL Server
    Trace = 1
    TraceFile = /export/home/oracle/ODBC/odbc.trace
    Server = stormwind
    QuoteID = Yes
    AnsiNPW = No
    Database = identipass
    Port = 1433
    TDS_Version = 8.0
    [Default]
    Driver = /usr/local/freetds/lib/libtdsodbc.so
    /usr/local/unixODBC/etc[PPRD]> more odbcinst.ini
    [TDS]
    Description=FreeTDS driver
    Driver=/usr/local/freetds/lib/libtdsodbc.so
    Setup=/usr/local/freetds/lib/libtdsodbc.so
    Trace=Yes
    TraceFile=/tmp/freetds.log
    FileUsage=1
    UsageCount=2
    tnsnames.ora
    identipass =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = tcp)(HOST = localhost)(PORT = 1522))
    (CONNECT_DATA =
    (SID = identipass)
    (HS = OK)
    listener.ora
    LISTENERODBC =
    (ADDRESS_LIST=
    (ADDRESS=(PROTOCOL=tcp)(HOST=localhost)(PORT=1522))
    (ADDRESS=(PROTOCOL=ipc)(KEY=PNPKEY)))
    SID_LIST_LISTENERODBC=
    (SID_LIST=
    (SID_DESC=
    (SID_NAME=identipass)
    (ORACLE_HOME=/u01/app/oracle/product/11.2.0/db_1)
    (ENV="LD_LIBRARY_PATH=/u01/app/oracle/product/11.2.0/db_1/lib:/u01/app/oracle/product/11.2.0/db_1/hs/lib")
    (PROGRAM=dg4odbc)
    And finally, output from the trace file:
    /u01/app/oracle/product/11.2.0/db_1/hs/log[PPRD]> more identipass_agt_1381.trc
    Oracle Corporation --- THURSDAY NOV 18 2010 16:00:16.010
    Heterogeneous Agent Release
    11.2.0.1.0
    Oracle Corporation --- THURSDAY NOV 18 2010 16:00:16.008
    Version 11.2.0.1.0
    Entered hgogprd
    HOSGIP for "HS_FDS_TRACE_LEVEL" returned "Debug"
    Entered hgosdip
    setting HS_OPEN_CURSORS to default of 50
    setting HS_FDS_RECOVERY_ACCOUNT to default of "RECOVER"
    setting HS_FDS_RECOVERY_PWD to default value
    setting HS_FDS_TRANSACTION_LOG to default of HS_TRANSACTION_LOG
    setting HS_IDLE_TIMEOUT to default of 0
    setting HS_FDS_TRANSACTION_ISOLATION to default of "READ_COMMITTED"
    setting HS_NLS_NCHAR to default of "AL32UTF8"
    setting HS_FDS_TIMESTAMP_MAPPING to default of "DATE"
    setting HS_FDS_DATE_MAPPING to default of "DATE"
    setting HS_RPC_FETCH_REBLOCKING to default of "ON"
    setting HS_FDS_FETCH_ROWS to default of "100"
    setting HS_FDS_RESULTSET_SUPPORT to default of "FALSE"
    setting HS_FDS_RSET_RETURN_ROWCOUNT to default of "FALSE"
    setting HS_FDS_PROC_IS_FUNC to default of "FALSE"
    setting HS_FDS_CHARACTER_SEMANTICS to default of "FALSE"
    setting HS_FDS_MAP_NCHAR to default of "TRUE"
    setting HS_NLS_DATE_FORMAT to default of "YYYY-MM-DD HH24:MI:SS"
    setting HS_FDS_REPORT_REAL_AS_DOUBLE to default of "FALSE"
    setting HS_LONG_PIECE_TRANSFER_SIZE to default of "65536"
    setting HS_SQL_HANDLE_STMT_REUSE to default of "FALSE"
    setting HS_FDS_QUERY_DRIVER to default of "TRUE"
    HOSGIP returned value of "FALSE" for HS_FDS_SUPPORT_STATISTICS
    Parameter HS_FDS_QUOTE_IDENTIFIER is not set
    setting HS_KEEP_REMOTE_COLUMN_SIZE to default of "OFF"
    setting HS_FDS_GRAPHIC_TO_MBCS to default of "FALSE"
    setting HS_FDS_MBCS_TO_GRAPHIC to default of "FALSE"
    Default value of 64 assumed for HS_FDS_SQLLEN_INTERPRETATION
    setting HS_CALL_NAME_ISP to "gtw$:SQLTables;gtw$:SQLColumns;gtw$:SQLPrimaryKeys;gtw$:SQLForeignKeys;gtw$:SQLProcedures;gtw$:SQLSt
    atistics;gtw$:SQLGetInfo"
    setting HS_FDS_DELAYED_OPEN to default of "TRUE"
    setting HS_FDS_WORKAROUNDS to default of "0"
    Exiting hgosdip, rc=0
    ORACLE_SID is "identipass"
    Product-Info:
    Port Rls/Upd:1/0 PrdStat:0
    Agent:Oracle Database Gateway for ODBC
    Facility:hsa
    Class:ODBC, ClassVsn:11.2.0.1.0_0008, Instance:identipass
    Exiting hgogprd, rc=0
    Entered hgoinit
    HOCXU_COMP_CSET=1
    HOCXU_DRV_CSET=873
    HOCXU_DRV_NCHAR=873
    HOCXU_DB_CSET=873
    HOCXU_SEM_VER=112000
    Entered hgolofn at 2010/11/18-16:00:16
    HOSGIP for "HS_FDS_SHAREABLE_NAME" returned "/usr/local/unixODBC/lib/libodbc.so"
    Entered hgolofns at 2010/11/18-16:00:16
    symbol_peflctx=0x7a715450
    hoaerr:0
    Exiting hgolofns at 2010/11/18-16:00:16
    Exiting hgolofn, rc=0 at 2010/11/18-16:00:16
    HOSGIP for "HS_OPEN_CURSORS" returned "50"
    HOSGIP for "HS_FDS_FETCH_ROWS" returned "100"
    HOSGIP for "HS_LONG_PIECE_TRANSFER_SIZE" returned "65536"
    HOSGIP for "HS_NLS_NUMERIC_CHARACTER" returned ".,"
    HOSGIP for "HS_KEEP_REMOTE_COLUMN_SIZE" returned "OFF"
    HOSGIP for "HS_FDS_DELAYED_OPEN" returned "TRUE"
    HOSGIP for "HS_FDS_WORKAROUNDS" returned "0"
    HOSGIP for "HS_FDS_MBCS_TO_GRAPHIC" returned "FALSE"
    HOSGIP for "HS_FDS_GRAPHIC_TO_MBCS" returned "FALSE"
    Invalid value of 64 given for HS_FDS_SQLLEN_INTERPRETATION
    treat_SQLLEN_as_compiled = 1
    Exiting hgoinit, rc=0 at 2010/11/18-16:00:16
    Entered hgolgon at 2010/11/18-16:00:16
    reco:0, name:identipass, tflag:0
    Entered hgosuec at 2010/11/18-16:00:16
    Exiting hgosuec, rc=0 at 2010/11/18-16:00:16
    HOSGIP for "HS_FDS_RECOVERY_ACCOUNT" returned "RECOVER"
    HOSGIP for "HS_FDS_TRANSACTION_LOG" returned "HS_TRANSACTION_LOG"
    HOSGIP for "HS_FDS_TIMESTAMP_MAPPING" returned "DATE"
    HOSGIP for "HS_FDS_DATE_MAPPING" returned "DATE"
    HOSGIP for "HS_FDS_CHARACTER_SEMANTICS" returned "FALSE"
    HOSGIP for "HS_FDS_MAP_NCHAR" returned "TRUE"
    HOSGIP for "HS_FDS_RESULTSET_SUPPORT" returned "FALSE"
    HOSGIP for "HS_FDS_RSET_RETURN_ROWCOUNT" returned "FALSE"
    HOSGIP for "HS_FDS_PROC_IS_FUNC" returned "FALSE"
    HOSGIP for "HS_FDS_REPORT_REAL_AS_DOUBLE" returned "FALSE"
    using identipass as default value for "HS_FDS_DEFAULT_OWNER"
    HOSGIP for "HS_SQL_HANDLE_STMT_REUSE" returned "FALSE"
    Entered hgocont at 2010/11/18-16:00:16
    HS_FDS_CONNECT_INFO = "identipass"
    RC=-1 from HOSGIP for "HS_FDS_CONNECT_STRING"
    Entered hgogenconstr at 2010/11/18-16:00:16
    dsn:identipass, name:identipass
    optn:
    Entered hgocip at 2010/11/18-16:00:16
    dsn:identipass
    Exiting hgocip, rc=0 at 2010/11/18-16:00:16
    Exiting hgogenconstr, rc=0 at 2010/11/18-16:00:16
    Entered hgopoer at 2010/11/18-16:00:16
    hgopoer, line 233: got native error 0 and sqlstate ; message follows...
    Exiting hgopoer, rc=0 at 2010/11/18-16:00:16
    hgocont, line 2753: calling SqlDriverConnect got sqlstate
    Exiting hgocont, rc=28500 at 2010/11/18-16:00:16 with error ptr FILE:hgocont.c LINE:2772 ID:Something other than invalid authoriza
    tion
    Exiting hgolgon, rc=28500 at 2010/11/18-16:00:16 with error ptr FILE:hgolgon.c LINE:781 ID:Calling hgocont
    Entered hgoexit at 2010/11/18-16:00:16
    Exiting hgoexit, rc=0
    Can anyone help me see what I'm missing?

    Thank you for your response.
    I modified the envs LD_LIBRARY_PATH parameter in my SID_LIST_LISTENERODBC to be:
    (ENV="LD_LIBRARY_PATH=/usr/local/freetds/lib:/usr/local/unixODBC/lib:/u01/app/oracle/product/11.2.0/db_1/lib:/
    u01/app/oracle/product/11.2.0/db_1/hs/lib")
    and bounced the listener, but I'm still getting the same error.
    I do not have a lib64 directory in my Freetds installation, but all the files in the lib directory are 64-bit.
    Here is a listing of my DG4ODBC init file:
    /u01/app/oracle/product/11.2.0/db_1/hs/admin[PPRD]> more initidentipass.ora
    # This is a sample agent init file that contains the HS parameters that are
    # needed for an ODBC Agent.
    # HS init parameters
    HS_FDS_CONNECT_INFO = identipass
    #HS_FDS_TRACE_LEVEL = 0
    HS_FDS_TRACE_LEVEL = Debug
    HS_FDS_SHAREABLE_NAME = /usr/local/unixODBC/lib/libodbc.so
    HS_FDS_SUPPORT_STATISTICS=FALSE
    HS_LANGUAGE=AMERICAN.AMERICA.WE8ISO8859P15
    # ODBC specific environment variables
    set ODBCINI=/usr/local/unixODBC/etc/odbc.ini
    # Environment variables required for the non-Oracle system
    #set <envvar>=<value>
    Thanks for your help with this!
    Catina

Maybe you are looking for

  • Policy files expiry for pgp encryption

    HI All i am using bouncycastle jars for encrypting data using PGP. for this to function we need to install the jce unrestricted security files given at the java downloads but when i download and use them then for one weeek they are working fine but a

  • Problem downloading pdf's from Adobe site

    Hello: First of all, thank you very much for your time and help in troubleshooting this issue. The issue is as follows: I downloaded Acrobat Reader 9 and it is successfully installed in my applications folder on my Mac. I am trying to download some p

  • Hiii . i have encountere a problem . my notes app are not syncing in my ipad and iphone . plz help

    hiii . i have encountere a problem . my notes app are not syncing in my ipad and iphone . plz help

  • Photo Stream On Older Macs

    Can anyone help me understand how PhotoStream works on older Macs (that are not compatible with iCloud)? I recently started sharing photos from my MacBookPro (OS 10.7.5) and my OS devices.  Family members who have newer Macs and/or OS devices can acc

  • Contact / calendar sync

    I am no longer able to sync my calendar and contacts between my macbook Pro and iphone 5s - any suggestions?