Connecting 9i database from 10g OEM

Does anyone know how you would connect to a 9i database from 10g OEM?

If you want to manage a 9i environment just as if this was a 10g environment, it is not possible with the regular EM DB Control console. First of all this console is setup on a per oracle instance basis, so in the event you had a 10g Console configured this is exclusively to mange the database it is attached to.
On the other hand, you can setup db 10g Grid control, this way, by properly installing and configuring a grid agent in the target node, you can monitor and manage the 10g database. You should keep in mind that even if the 9i database is visible from the 10g grid control console, it doesn't mean the 10g features will be availabe, such as ADDM or some other advisors. If you want to monitor performance you must configure the regular Statspack available in 9i.
EM Grid Control can manage databases starting from 8.1.7.4.0
~ Madrid
http://hrivera99.blogspot.com

Similar Messages

  • Facing Parse Errors after upgrading database from 10g to 11g

    Hi,
    We are facing parse errors in the SQL's after upgrading database from 10g to 11g.
    Kindly look into below parse errors.
    ********************************** Parse Error *****************************************************
    Tue Aug 13 14:13:08 2013
    kksSetBindType 16173533-2: parse err=1446 hd=3c73061fb8 flg=100476 cisid=173 sid=173 ciuid=173 uid=173
    PARSE ERROR: ospid=15598, error=1446 for statement:
    SELECT ROWID,ORGANIZATION_CODE,PADDED_CONCATENATED_SEGMENTS,PRIMARY_UOM_CODE,REVISION,SUBINVENTORY_CODE,TOTAL_QOH,NET,RSV,ATP,ORGANIZATION_NAME,ITEM_DESCRIPTION,INVENTORY_ITEM_ID,ORGANIZATION_ID,LOCATOR_ID,LOCATOR_TYPE,ITEM_LOCATOR_CONTROL,ITEM_LOT_CONTROL,ITEM_SERIAL_CONTROL FROM MTL_ONHAND_LOCATOR_V WHERE (INVENTORY_ITEM_ID=:1) and (ORGANIZATION_ID=:2) order by ORGANIZATION_CODE,SUBINVENTORY_CODE,REVISION, organization_code, padded_concatenated_segments
    Tue Aug 13 14:13:10 2013
    kksfbc 16173533: parse err=942 hd=3c387c4028 flg=20 cisid=3266 sid=3266 ciuid=3266 uid=3266
    PARSE ERROR: ospid=29813, error=942 for statement:
    Select feature from toad.toad_restrictions where user_name=USER or user_name in ( select ROLE from sys.session_roles)
    kksfbc 16173533: parse err=942 hd=3c97d83648 flg=20 cisid=3266 sid=3266 ciuid=3266 uid=3266
    PARSE ERROR: ospid=29813, error=942 for statement:
    SELECT password
    FROM SYS.USER$
    WHERE  0=1
    kksfbc 16173533: parse err=6550 hd=35185e4278 flg=20 cisid=3266 sid=3266 ciuid=3266 uid=3266
    ----- PL/SQL Stack -----
    ----- PL/SQL Call Stack -----
      object      line  object
      handle    number  name
    319e277050        30  anonymous block
    319e277050        57  anonymous block
    PARSE ERROR: ospid=29813, error=6550 for statement:
    BEGIN sys.dbms_profiler."146775420110782746251362632012"; END;
    kksfbc 16173533: parse err=942 hd=3c142d8600 flg=20 cisid=3266 sid=3266 ciuid=3266 uid=3266
    ----- PL/SQL Stack -----
    ----- PL/SQL Call Stack -----
      object      line  object
      handle    number  name
    319e277050        67  anonymous block
    PARSE ERROR: ospid=29813, error=942 for statement:
    SELECT 1 FROM plsql_profiler_data WHERE 0 = 1
    Please help.
    Regards
    Suresh

    Hi Suresh,
    Apologies for misunderstanding..
    Tue Aug 13 14:13:08 2013
    kksSetBindType 16173533-2: parse err=1446 hd=3c73061fb8 flg=100476 cisid=173 sid=173 ciuid=173 uid=173
    PARSE ERROR: ospid=15598, error=1446 for statement:
    SELECT ROWID,ORGANIZATION_CODE,PADDED_CONCATENATED_SEGMENTS,PRIMARY_UOM_CODE,REVISION,SUBINVENTORY_CODE,TOTAL_QOH,NET,RSV,ATP,ORGANIZATION_NAME,ITEM_DESCRIPTION,INVENTORY_ITEM_ID,ORGANIZATION_ID,LOCATOR_ID,LOCATOR_TYPE,ITEM_LOCATOR_CONTROL,ITEM_LOT_CONTROL,ITEM_SERIAL_CONTROL FROM MTL_ONHAND_LOCATOR_V WHERE (INVENTORY_ITEM_ID=:1) and (ORGANIZATION_ID=:2) order by ORGANIZATION_CODE,SUBINVENTORY_CODE,REVISION, organization_code, padded_concatenated_segments
    Assuming you see the above error message in the alert log file, which was your original post, follow the below steps:
    1 Get the 'ospid' value from the error
    2. Issue the below command:
    SQL> select request_id,ORACLE_PROCESS_ID
      2 from fnd_concurrent_requests
      3 where request_id = 15598;
    3. After obtaining the request_id
    4, Query it from the front-end using SYSADMIN responsibility
    Hopefully this should get you the respective concurrent report/program.
    Thanks &
    Best Regards,

  • Problem in connecting to database from webdynpro for java

    Hi
    I have a problem in connecting to database from webdynpro application
    I am using oracle 10 express edition as database and was able to connect to database from a java application.But  was unable to connect from a webdynpro for java.
    <b>I guess webdynpro for java uses open sql instead of vendor sql(I looked in the visual admin ,DB is using open sql) so unable to connect to database.Am i right.?</b>
    Do i need to make any settings in the visual admin to make it work?
    How to solve this problem.Please give me pointers
    Thanks
    Bala

    Hi,
    For connecting to Oracle, either you can use the normal JDBC connectivty code directly which is given below :
    DriverManager.registerDriver(new oracle.jdbc.driver.OracleDriver());
    Connection conn = DriverManager.getConnection("jdbc:oracle:thin:@Oracle_server_ip:Oracle port:SID of the Database","user_name","password");
    Statement stmt = conn.createStatement();
    ResultSet rs = stmt.executeQuery("your query");
    In case you want to fetch data through ejbs, these are the steps to be followed :
    1) Open the J2EE perspective
    2) Create an EJB Module project
    3) Right click on ejbModule, create a new EJB (select your EJB type)
    4) While creating the ejb itself, you can add business methods by clicking ‘Next’ in the UI. Another option is after creating the ejb, write the method in the bean, then select the method from ejb-jar.xml -> <bean name> ->method. Right click and select ‘propogate to local & remote’.
    5) Double click on ejb-j2ee-engine.xml. select your bean and specify a Jndi name for eg: “MyJndi”.
    6) Right click on the EJB project and add ‘classes12.zip’ file (provided by Oracle) to it’s build path. (under libraries tab). Also check the same file under ‘Order & Export’.
    7) Create an Enterprise Application project.
    8) Right click on the EJB module project and select add to EAR project, then select the created EAR project.
    9) Right click on the EJB project, select ‘Build EJB Archive’
    10) Right click on the EAR project, select ‘Build Application Archive’
    11) Open the WebDynpro perspective, open a new project, right click on the project ->properties. Do the following configurations :-
    • Java Build path - select the EJB project from ‘projects’ , check the selected project under ‘Order & Export’
    • Project references – select the EAR project
    • WebDynpro references – select ‘sharing references’ tab, click add & make an entry as : <vendor>/<EAR project name without .ear extension>
    You can find the vendor name under ‘application-j2ee-engine.xml’ file of the EAR project. By default it is ‘sap.com’. So if my EAR project’s name is ABC, my entry would look like ‘sap.com/ABC’
    12) Now the configurations are over and the EJB can be invoked by writing the client code inside the webdynpro component. Like:
    InitialContext context = new InitialContext();
    Object obj = context.lookup("MyJndi");
    MyEJBHome home = MyEJBHome)PortableRemoteObject.narrow(obj,MyEJBHome.class);
    MyEJB mybean = home.create();
    int a = 0;
    a= mybean.add(10,15);
    wdContext.currentContextElement().setSum(a);
    where ‘MyEJB’ is my EJB name and ‘MyJndi’ is my JNDI name
    To connect to Oracle , you can write the usual Java code (given below) as a business methos of the ejb (similar to add() method in the example). And access it like mybean.<businessMethodName>().
    DriverManager.registerDriver(new oracle.jdbc.driver.OracleDriver());
    Connection conn = DriverManager.getConnection("jdbc:oracle:thin:@Oracle_server_ip:Oracle port:SID of the Database","user_name","password");
    Statement stmt = conn.createStatement();
    ResultSet rs = stmt.executeQuery("your query");
    Extracted from Re: Webdynpro and Oracle
    http://help.sap.com/saphelp_webas630/helpdata/en/b0/6e62f30cbe9e44977c78dbdc7a6b27/frameset.htm
    May be of use to understand the VA Conf /people/varadharajan.krishnasamy/blog/2007/02/27/configuring-jdbc-connector-service-to-perform-database-lookups
    Regards
    Ayyapparaj

  • Not able to connect RAC database from client

    Hi there
    Recently I have configured RAC in test environment. version 11.2.0.1. OS Redhat 5.9. Everything seems to be fine except not able to connect rac database from client.  Error is as under :
    C:\Documents and Settings\pbl>sqlplus test1/test1@myrac
    SQL*Plus: Release 10.2.0.1.0 - Production on Mon Nov 17 14:29:06 2014
    Copyright (c) 1982, 2005, Oracle.  All rights reserved.
    ERROR:
    ORA-12545: Connect failed because target host or object does not exist
    Enter user-name:
    myrac =
      (DESCRIPTION =
        (ADDRESS_LIST =
          (ADDRESS = (PROTOCOL = TCP)(HOST = rac-scan)(PORT = 1521))
        (CONNECT_DATA =
          (SERVICE_NAME = racdb.testdb.com.bd)
    Please give me your valuable suggestion to  overcome the issue.
    Regards
    Jewel

    user13134974 wrote:
    ORA-12545: Connect failed because target host or object does not exist
    This error means that the hostname or IP address used in the TNS connection string, failed to resolve or connect.
    Your client is making two connections. The first connection is to the SCAN listener. It matches a db instance for your connection request based on service requested, available registered service handlers, load balancing, and so on. It then send a redirect to your client informing it of the handler for that service.
    Your client then does a second connection to this service (a local RAC listener that will provide you with a connection to the local RAC instance). This is what seems to be failing in your case.
    The SCAN listener's redirect uses the hostname of the server that the local listener is running on. Your client needs to resolve that hostname (of a RAC node) to an IP address. This likely fails.
    You can add the RAC node hostnames to your client platforms hosts file. The appropriate action however would be to ensure that DNS is used for name resolution instead.

  • Not able to connect to database from Form builer

    Hi ,
    I installed oracle 10 g in my machine and is accessable from SQLPLUS & TOAD.
    In the same drive i installed Form builder, i am getting the below error when i tried to connect DB from form builder.
    ORA- 12154 : TNS : could not resolve service name.
    Kindly do the needfull.

    not able to connect to database from Form builder

  • How to Connect Oracle database from excel

    I have installed oracle 11g on Windows 8 64 bit OS  on my laptop. I have Microsoft excel 2013. I can connect to database from SQL and from TOAD. Now  i want - from excel to connect to database.
    Please guide me the steps.
    Thanks

    Below link may be helpful to you :
    http://khalidali-oracledba.blogspot.in/2013/09/connection-between-ms-excel-to-oracle.html
    And if you are getting 32 bit vs 64 bit ODBC driver issue then :
    https://social.technet.microsoft.com/Forums/office/en-US/2234554e-e93c-438b-990a-6739df19da44/odbc-connection-problem-in-excel-2013-64-bit-windows-8-os-and-x64-processor-oracle-8i?forum=excel
    And still you are not able then post the question in :
    ODBC
    Regards
    Girish Sharma

  • How to connect oracle database from tuxedo

    Hi,
    How to connect oracle database from tuxedo.
    If any one can help me.
    Regards,

    it depends on configuration your going to choose, there are two ways--
    - Using X/Open standards, for this
    you have to make an entry of Resource manager in $TUXDIR/udataobj/RM file.
    Then in UBBConfig file in GROUPS section u have to set Openinfo.
    It also depend on which database you are going to use.
    In your service now you need to call tpopen() API from tpsvrinit() function.
    - Other possibility is, take an implicit connection using Pro*C or Pro*Cobol whatever platform you are using.
    EXEC SQL Connect ...

  • How to connect informix database from informatica through JDBC instead of ODBC

    How to connect informix database from informatica through JDBC instead of ODBC.

    Hi mate,
    You may get fast reply for this in informatica forums.
    Thanks
    http://mkashu.blogspot.com

  • When connect the Database from Toad , Sqlplus giving the error

    when connect the Database from Toad , Sqlplus giving the error
    recent changes 12.1.1 installatiojn
    Oracle SQL plus encountered a problem and needs to close we are sorry for convenienvce
    Oracle Forms Designner has encountered a probloem and needs to close we are sorry for the convenience
    Thanks & Regards,
    sree

    when connect the Database from Toad , Sqlplus giving the error recent changes 12.1.1 installatiojnHave you tried using the same user via simple sqlplus on the database server or apps tier server itself? Please try the same database user/login on the database server using the sqlplus available on the server itself. See what message do you get. If the the login happens, then try with the tns entry e.g. sqlplus username/password@prod and see if that works on the db server. If both of these conditions work the check where is Toad picking up the tns entry from on the client pc/laptop. If first test fails, then check if the account is locked.
    Hope this helps.

  • Unable to connect to database from D2K

    Hi,
    GoodDay, This is Ramesh. I have loaded both Oracle 9i & D2K in my PC. But i am getting some error message while trying to connect to database from d2k forms. I entered Usename, Password. The message is..
    ORA-12203: TNS: Unable to connect to destination
    The second time i entered both Username, Password & Database.
    User Name: Scott
    Passwors : tiger
    Database: ORCL9i (SID name)
    please let me know where i am lacking..?
    Regards,
    Ramesh.

    Do you connect when you set username , passwd , database....????
    If you can via another tool , for example sql*plus then simply , copy the particular setting tns alias , you use to connect to this db, from [ORACLE_HOME]\network\admin\tnesanames.ora and paste it to [DEV2000_HOME]\network\admin\tnsnames.ora
    Greetings,
    Sim

  • Getting exception ORA-12705 while trying to connect to database from forms 9i

    Hello All,
    I have installed 9i database and I gave path for oracle home as Oracle_path while installing. then I installed 9i dev suite, Installer forced me to use different Oracle home, so I gave Odev_path as path.
    I have created server alias name from dev suite to Oracle database and I could connect to database from froms 9i. suddenly it started giving me the following exception when I try to connect database from forms 9i.
    ORA-12705 invalid or unknown NLS parameter value specified
    could some one help toresolve the issue.
    Thanks in advance
    Raj

    I have already seen this document and tried it out, but it didn't work. And I have tried out numerous other tips that I have found in different places on the web.
    Is the client installation of any relevance? I notice that this user has a different installation from the one that I have, and that he amongst other things doesn't have sql plus installed.

  • How to find the number of users  connected to database from OS level(Linux)

    Hi All,
    Could anyone know , how to find the number of users connected to database without connecting with sql*plus
    is there any command to find it?
    example we have 10 databases in one server, how to find the number of users connected to particular database without connecting to database(v$session)?
    oracle version:- 10g,11g
    Operating System:- OEL4/OEL5/AIX/Solaris
    any help will be appreciated.
    Thanks in advance.
    Thank you.
    Regards,
    Rajesh.

    Excellent.
    Tested, works as long as you set the ORACLE_SID first ( to change databases )
    ps -ef | grep $ORACLE_SID | grep "LOCAL=NO" | awk '{print $2}' | wc -l
    Thanks!
    select OSUSER
        from V$SESSION
    where AUDSID = SYS_CONTEXT('userenv','sessionid')
        and rownum=1;Best Regards
    mseberg

  • Ora-12154 when trying to connect to database from fortran application

    I am trying to connect to database and run an simple select query to a table(without any where clause) using pro*fortran code.
    the connect strng is like
    exec sql connect :uidpwd
    where uidpwd = username/password@SID
    SID and tnsnames connect string are the same.
    The fortran (profortran) code is placed in the database server and there are no errors when make is run.
    Tnsping is working fine, also i am able to conect using sql*plus and run the same query.
    Please help
    Thanks and Regards
    Nitin

    Hi Nitin
    Thanks for the helpful! With your point I'm now Pro! Great thanks.
    By the way have your seen that?
    Files such as LISTENER.ORA, TNSNAMES.ORA, SQLNET.ORA, if configured manually, or copied and edited from earlier releases of Oracle Database may have record attributes that are incompatible with Oracle Database 10g release 2. The software cannot read such files. The required record format is stream_lf and the record attributes are carriage_control and carriage_return.
    This may result in:
    Inability to start the listener
    Services not registered with the listener
    Inability to connect to other databases
    ORA-12154: TNS:could not resolve service name
    Run the following command on each file affected:
    $ DIR/FULL filename
    An output similar to the following may be displayed:
    Record format: Variable length, maximum 255 bytes
    Record attributes: Carriage return carriage control
    If the output includes the preceding entries, then run the following command:
    $ CONVERT/FDL=SYS$INPUT filename filename
    RECORD
    CARRIAGE_CONTROL CARRIAGE_RETURN
    FORMAT STREAM_LF
    ^Z
    Otherwise herewith an interesting metalink note. Doc ID:      Note:437597.1
    Subject:      Ora-12154 When Executing Pro*Fortran Code Compiled With Oracle 10g.
    Hope this will also help you...
    Cheers
    Hubert

  • How to monitor various databases using 10g OEM

    I have Oracle 9i and Oracle 10g Databases. How can I configure Oracle 10g OEM to monitor all these databases. In Oracle 9i OEM it was easy. But I didn't find the method to add it in 10g OEM? Can we access the 10g OEM only through browser?
    Regards

    If you are installing Database and you choose to use Database Control, it is a different thing from Grid Control. Database Control comes with its one agent which is different from Grid Control's management agent.
    If you install a database on different host and you do not have Grid control, you can use the database control for that database for that host. If you have grid control, then you can install the Management Agent separately on that new host to manage the new database as a Grid Control target.

  • To find out total number of sessions connected to database from DMZ node

    Hi Experts,
    We are in the process of auditing and i need detail data on this.Kindly help me to know ,how many sessions are connected to oracle database from DMZ node.Also let me know how can i get all the users connected from different node on daily basis?
    Please let me know the sql query for this.
    Thanks,
    Prabhat.

    Try
    select count(distinct d.user_name) from apps.fnd_logins a,
    v$session b, v$process c, apps.fnd_user d
    where b.paddr = c.addr
    and a.pid=c.pid
    and a.spid = b.process
    and d.user_id = a.user_id
    and (d.user_name = 'USER_NAME' OR 1=1);

Maybe you are looking for

  • Mail only downloads one mail at a time from Gmail

    I have a gmail email account and read it using Apple Mail. This used to work fine: every time I connected, all my mails were downloaded in one go. Recently, something has changed (all my settings are the same) and now only one mail is downloaded at a

  • AET F4 Search Help

    Hi All, I have one issue in AET added field. I am creating F4 help for this AET added field. As per my knowledge easily e can create F4 for those field which has format  STRUCT.XXXXX but if we add ny field through AET field format is like EXT.XXXX. I

  • A Problem with custom Datatype

    Hi, I have a container i've defined that is passed between different sequnces as a parameter. As shown i the first window, there is a parameter of type BMR_RESET_REQUESTS. HOWEVER, in the second window it does not appear in the list of the custom dat

  • Can't download music from the cloud to my iphone 5

    I can stream but cannot download from the cloud.

  • Exchange 2013: Correcting mailbox delegation - Full Access

    Not sure how to correct this issue.  I have an Admin that setup the Exchange 2013.  The admins account is now added to every new account (Resources, shared mailboxes etc.)  I know how to remove the auto mapping so it does not show in the admin OWA an