Error in creating a report defined by the user in the grid control

I am trying to create a simple report user-defined in the OEM grid

Under the tab 'Éléments', I have a 'Type' - 'SQL database Table'
And I have this "Declaration" - SELECT * FROM SYS. DBA_USERS


When I click on the 'Preview' button I get this error.
Element rendering Error. Exception: ORA-00942: table or view does not exist

I'm connected like SYSTEM.


Isn't the SYS. Table dba_users accessible by the SYSTEM?

Any advice on what I'm doing wrong.

Published by: bfee_sdc on October 19, 2010 09:12

When you start access to non SYSMAN or you must realize that the database you are referring to objects MGMT_VIEW is the repository of OEM database. Is that what you want?

Tags: Enterprise Manager

Similar Questions

  • How to create a report based on the item selected from the list of selection?

    Hello

    I created a tables_LOV based on:

    Select table_name table_name user_tab_cols r, d

    where column_name like '% _type % '.

    Then I created a ListOfTables page element, display in a selection list and pointing to tables_LOV.

    I run the page, and I can choose the table I want in the drop-down list.

    How to create a report based on the selected element? (ex: select * from selected_table)

    Thanks in advance

    Salah

    Hi Salah,

    Allright, take a look at this page: http://apex.oracle.com/pls/apex/f?p=vincentdeelen:collection_report

    I think that simulates what you are trying to accomplish. I've implemented the simplest method I could think of.

    The report is based on a collection of apex. If you are not familiar with this, you should study the documentation: APEX_COLLECTION

    To recreate my example, you should:

    (1) create a report (interactive) on your collection

    SELECT *
       FROM APEX_collections
     WHERE collection_name = 'MY_COLLECTION'
    

    (2) create a selection list page_item for the tables that you want to display (in my case, this is called "P38_TABLES")

    (3) create a dynamic action that triggers on the evolution of your selection list page_item. Dynamic action must be a parade of PL/SQL procedure the following code:

    declare
      l_query varchar2(4000);
    begin
      l_query := 'select * from '||:P38_TABLES;
      if apex_collection.collection_exists
            ( p_collection_name => 'MY_COLLECTION' )
      then
        apex_collection.delete_collection
          ( p_collection_name => 'MY_COLLECTION' );
      end if;
    
      apex_collection.create_collection_from_query
        ( p_collection_name => 'MY_COLLECTION'
        , p_query           => l_query
        );
    end;
    

    Make sure that you add your page_item 'Page to send items' section.

    (4) add a real extra action that makes an update of the report area.

    Here are two photos describing the da:

    http://www.vincentdeelen.com/images/OTN/OTN_COLLECTION_REPORT_DA1.PNG

    http://www.vincentdeelen.com/images/OTN/OTN_COLLECTION_REPORT_DA2.PNG

    Good luck and greetings,

    Vincent

    http://vincentdeelen.blogspot.com

  • Retention policy for the grid control

    Hello

    One of our clients wants to change the retention policy of the Grid control to 2 years in order to check the statistics of the application of these last 2 years,

    Default purge policy is as follows:

    Raw metrics - 7 days

    An hour aggregate metrics data - 31 days

    A day aggregate metrics data - 365 days

    Having someone of you will never change these default policies to a great values?

    I'm afraid of performance issues

    Depends on what policy they want change, but I n ' tthink this will help you at all.  If they are looking for AWR data, it is not stored in MS, unless you configure CWA warehouse.   EM will be measures such as SQL response time, but it does not store the SQL query and the stats you'd see in an AWR report.   Storing so for 2 years will not help.  If you want just generic performance history, then changing strategies of purge will be fine, but you don't want to store the raw data for 2 years. Keep in mind that you will increase the size of your repository database as well.

  • strange behavior in the planning of a script in the grid control

    I have a script that works fine when I run it manually and through cron.it datapump exports.
    I created jobs in the grid as operating system command and control as a script of the os type.
    However when I schedule it's running in the grid control as a task, the task has failed
    .sh: line 17: 4274 Abort (core dumped)

    It exceutes all the lines of the os script except core dump/abort (line 17) which is
    $ORACLE_HOME/bin/expdp

    **********************************************************************************************************************

    Grid control is 11 GR 2 and it's on Solaris10.

    It depends on what shell you use.

    Please try

    LD_LIBRARY_PATH_64 =""

    Export LD_LIBRARY_PATH_64

  • Planning of a work of export using the Grid control

    Hello

    I had an obligation to schedule tasks for export in Oracle Grid Control 10.2.0.5 (Windows). Is this possible and have each done this? If so, please share the steps. The idea is to receive alerts when a job fails.

    Thank you.
    GB

    Here are the easy steps (there could be some slight differences as I'm posting screen of 11 g-based)

    1. the grid control console, click on the relevant database

    2. click on the tab "Data Movement.

    3. click on "export to export the files.

    4A chose the export type (Database / Schema / table / Tablespace)

    5. provide credentials to the host (OS user name and password) and click on "continue". You will get a new screen called ' export: Options

    6. click on the box called 'Generate a log file', and then select the directory object where you want to create the dump files. (You must create a database directory object, if you do not)

    7. choose the option that you required the content, then click on ' * following *'. You will get a page called ' export: files

    8. Select the directory object in the drop-down list and provide a name of filename format and click on "next".

    9. here provide you the job name and description, and chose repeat options (daily, weekly, etc.) and click "next".

    10. you will get a summary screen called ' export: Annex "." Review the details of your job and click 'submit '.

    It's the solution, and it works well.

  • Find the status of the Agent of the grid from the grid control repository

    Hello

    I need help on the extraction of repository of grid control. My database of the Grid control is 10.2.0.5 on Solaris 64-bit.
    In grid control, there is a report in the reports (installation of Enterprise Manager-> Agent information) tab that displays the status of all agents configured. I have the similar requirment but I will be filtering based on certain criteria and other factors, so I need a query sqlplus to extract information from the repository grid agent base of databases.
    Can someone please help to get information from the OMS using SQL repository Agent * MORE

    Kind regards
    Ajay

    Hi Ajay,
    Do you mean something like:
    SELECT
    M.TARGET_NAME, M.START_TIMESTAMP, M.AVAILABILITY_STATUS
    OF SYSMAN. MGMT$ AVAILABILITY_CURRENT M
    WHERE Mr. TYPE_DISPLAY_NAME = "Agent".
    AND M.TARGET_NAME NOT in ('erereeer', 'Scott', 'qwdasdasd')

    Eric

  • Notification of the Grid control for tablespaces

    With grid, we have a basic rule of data availability generated control system and critical States include the use of Tablespace.

    If we want to customize the rules, we are not ablke to select a part of a Cluster database tablespace. Apparently because of the target type we are not able to select a table to a Cluster database space.

    I have created a new settlement with a Cluster database as the target type and include the Tablespace metrics but no e-mail is sent. (Email notification is on and everything critical level, warning, clear and also all the State of corrective measures).

    If someone has any idea on this subject?

    Our notification based on the Grid control, but apparently, we are not able to be notified for cluster database tablespace usage.

    Enterprise Manager

  • Cannot start the grid control

    Hello

    I got the grid control Setup on a server laboratory almost a year back and everything worked very well.
    a week back from the developer could not access the URL.


    While I try to start the services, I get the following error:

    xvmdsxaor03: / opt/oem/oms10g/opmn/bin >. / opmnctl startall
    opmnctl: from opmn and managed all process...
    =========================================================================
    opmn id = xvmdsxaor03:6200
    0 out of 1 process started.

    IAS instance-id = EnterpriseManager0.xvmdsxaor03
    ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
    IAS-component/process-type/process-set:
    HTTP_Server/HTTP_Server/HTTP_Server

    Error
    -> Process (pid = 1382)
    Cannot start a process managed after the attempt limit maximum
    Journal:
    / opt/OEM/oms10g/opmn/logs/HTTP_Server ~ 1

    xvmdsxaor03: / opt/oem/oms10g/opmn/bin > 10 g/opmn/logs/HTTP_Server ~ 1
    ========================================================================


    According to the newspapers:
    ========================================================================
    06/09/23 07:59:55 start
    --------
    apachectl does not belong to this user
    ========================================================================

    I checked for .apachectl and its property by the same user "oraoem" that I m starting services with. I'm not sure what is causing this problem:

    [root@xvmdsxaor03 bin] # ls-l .apache *.
    -rwsr-s - 1 oraoem s/n 1716966 5 August 2005 .apachectl
    [root@xvmdsxaor03 bin] # pwd
    / opt/OEM/oms10g/Apache/Apache/bin

    Please notify.

    Thank you!

    What are you user to use 'startall opmnctl?

    Ok...

    Please...

    $. / opmnctl stopall

    $ ps - aef | grep oms10g

    And then if find some process... Kill it to superuser.

    # kill-9 ID_processus

    OR (be careful)
    # ps - aef | grep oms10g | AWK '{print $2} ' | XARGS kill-9

    Go to/opt/oem/oms10g/Apache/Apache/logs PATH

    # cd/opt/oem/oms10g/Apache/Apache/logs PATH

    Check the file httpd.pid

    # ls - the httpd.pid

    It must not be permission oracle, don't mind... verification process and remove

    # ps - aef | grep 'cat httpd.pid '.

    If find... kill

    # rm f httpd.pid

    Oh apachectl file (it is owned by oracle)

    -rwx - 1 oracle oinstall 12615 10 May 2007 apachectl

    After that the oracle Goto user, and then use 'startall opmnclt.

    $. / opmnctl startall

    and check the log

    Good luck

  • Upgrading repository database for the grid control 10205

    Hello

    I have the following problem: we took the grid control 10205. It was an upgrade of 10203. By default, it runs a repository 10104. Now I have to spend this repository to 10205 version too. I need to do because this grid control runs on ELinux 4 and we want to improve this ELinux 5 machine, but in the database of ELinix 5 10105 Certification Matrix only is not supported.

    Now my question:

    To perform this upgrade, I've read that I must first install Database 10205 Software in a separate House and then upgrade the database with the repository. CMS and the repository database are installed in separate houses. Are these references in OMS to host the repository? What should I do after I upgraded the database repository?

    Unfortunately I'm not able to find something about this in the Documentation. Everyone speaks of upgrade of WHO and almost nothing on the database repository.

    I'd appreciate a lot of the advice.

    Salvation;

    Have you checked the following note:

    How to level a 10.1.0.X or a repository database for Grid Control 10.2.0.4/5 10.2.0.X to a Version 11.1.0.X database [399520.1 ID]

    Respect of
    HELIOS

  • Control of the database and the grid control

    Hello

    I installed Oracle 10 g DB and configure its control of DB. Then I added this database as the target of OEM Grid Control.

    My question is: after you add the database as a target for the grid control, be it still controlled by the DB control and the grid of the company control?

    It's good questiion Yes this will be monitor by both, please check both console and see

  • Request for the GRID CONTROL

    Hello

    I use Oracle version 10.2.0.1.

    I want to install the GRID CONTROL on the top of this facility. For this I install OMA (Oracle Management Agent) first.

    My query is, can I straighaway install AMO on Oracle database version 10.2.0.1 10.2.03 version? Or do I need to patch first the version of oracle database 10.2.0.1 to 10.2.0.3 base then only I can install version 10.2.0.3 on AMO.


    Thanks in advance.

    Concerning

    Published by: user12302569 on Sep 9, 2010 16:56

    user12302569 wrote:
    Hello

    I use Oracle version 10.2.0.1.

    I want to install the GRID CONTROL on the top of this facility. For this I install OMA (Oracle Management Agent) first.
    My query is, can I straighaway install AMO on Oracle database version 10.2.0.1 10.2.03 version? Or do I need to patch first the version of oracle database 10.2.0.1 to 10.2.0.3 base then only I can install version 10.2.0.3 on AMO.

    Yes, you can install OMA and I suggest you to install the agents of 11G because they are now available and have additional options. Version of the agent does not depend on the version of database. An agent can monitor all the Oracle database versions (depending on the version of the agent).

    For the certification of the official follow-up of targets, see note MOS:

    Auditor Certification Oracle Enterprise Manager Grid Control [ID 412431.1]

    What is your version of SGD also?

    OMA officer does not autonomous and you need to have an OEM grid control installed before you install the agent on a target server.

    For OEM grid, please see:

    http://www.Oracle.com/technetwork/OEM/grid-control/downloads/index.html

    http://www.Oracle.com/technetwork/OEM/grid-control/documentation/index.html

    Concerning
    Rajesh

  • new agent is not displayed in the grid control

    I got 10.2.0.1 agent registry in the grid control 10.2.0.4.

    I remove agent from grid control OEM target GUI interface. remove the home directory of the agent on the target computer,
    can I install a 10.2.0.4 target agent on the computer, but this did not appear in the OEM grid control. Why?
    Thank you.

    Oracle2@bclabdb02:/Clusterware/Oracle/agent10g/bin > emctl agent status
    Oracle Enterprise Manager 10g Grid Control 10.2.0.4.0 4 Release.
    Copyright (c) 1996, 2007 Oracle Corporation. All rights reserved.
    ---------------------------------------------------------------
    Agent version: 10.2.0.4.0
    Version of the WHO: 10.2.0.4.0
    Protocol version: 10.2.0.4.0
    Home Agent: / clusterware/oracle/agent10g
    File binary agent: / clusterware/oracle/agent10g
    Agent process ID: 16470
    Parent process ID: 16454
    Agent URL: https://bclabdb02:1831/emd/main /.
    URL of repository: https://bclabdb03.smc.ads:1159/em/upload
    Starts on: 2008-10-11 21:11:43
    Started by user: oracle2
    Last reload: 2008-10-11 21:17:49
    Last download successful: 2008-10-14 11:47:30
    Total megabytes of XML files uploaded so far: 40,36
    Number of XML, waiting for loading files: 0
    Size of the XML files in the upload wait (MB): 0.00
    Available disk space on the file upload system: 39.20%
    Last pulse in SGD: 2008-10-14 11:51:01
    ---------------------------------------------------------------
    Agent is running and ready

    performance agentca d AOH\bin and still not working, paste the targets.xml

  • vCO WebView error - parameter value is not defined in the list of the Webview attribute

    Hello

    I tried to create a simple web view for Orchestrator (5.5.1 1617127), who will present a link to launch a single workflow. I followed the instructions in the Guide of VMware and the VCO Team Blog, but both find themselves with similar errors, which seem to have a common root: it seems that the display of web pages can not read the attributes.

    On the web page, I'll see something similar to the following:

    WebView - an exception has occurred.

    Reason: WorkflowLink component error: value of the parameter "attribute" (alias "workflow") ("createVM") is not defined in the list of the Webview attribute

    You may continue by restarting the session.

    In the server.log, I see the following: -.

    11:46:04.717 2014-10-02 + 0100 [http-bio-xxx.xxx.xxx.xxx-8281-exec-2] {} [WebviewExceptionPage] Exception Webview INFO - message:

    org.apache.hivemind.ApplicationRuntimeException: component error WorkflowLink: "attribute" parameter value (alias "workflow") ("createVM") is not defined in the list of the Webview attribute

    The createVM attribute is set in the correct web view as an attribute with a Type of Workflow and value to create simple virtual machine. I get a similar error any attribute type I try to get out of the workflow (the example of getVirtualMachineList does not create an error on the page, but is not fill the window and creates a similar message appears in the log).

    Can someone give me directions on what to watch next? I can't find anyone else with this error, which makes me think it might be something specific to this medium, but I can't work on what it could be.

    Thanks in advance,

    Ben

    I had the time this by restarting the service after each new attribute has been added, which was far from perfect, but looking around the forums, I have seen that WebViews were being obsolete, so I'll have to look at alternatives in any case.

  • Create a report based on the Emails in folders

    Our emails are stored in specific folders depending on which group is the application or through electronic mail.  I have a group that wants to e-mail, daily/weekly reports for all their emails, but I don't have the bandwidth to collect and provide the information manually.  I am creating a report, will include e-mails from "their case" in E10, but I do not think that this is possible.  Anyone know or have a method they use?

    I have daily and weekly reports that are generated with these data for all emails that we send, but I don't want to share these reports because it's WAY too much information.

    Thanks for the help!

    Drewann

    Big question, drewannp... Unfortunately, file-based reporting is not available. Exist records for purposes of organization; If you have your emails carefully sorted in E-mail groups, you can run reports on this... but nothing for file-based. Sorry!

  • How to create a report based on the selection of a node of a tree

    Hello

    I am new to Oracle Apex and tried to build a tree and also an interactive report based on column empno from emp table.

    I created a tree based on the emp table. Now, I want to see the records in the employee selected in the tree.

    This is the query of the tree:

    Select case when connect_by_isleaf = 1 then 0
    When level = 1 then 1
    of another-1
    end the status,
    level,
    'ENAME' as the title,
    NULL as an icon,
    'EMPNO' as value,
    NULL as ToolTip,
    NULL as link
    of ' #OWNER # '. " EMP.
    Start by "MGR" is nothing
    connect prior "EMPNO" = "MGR".
    siblings arrested by 'ENAME '.

    Can someone tell me step by step how to go from here?

    I tried to follow the thread Re: question of tree but could not understand a lot of it.

    The approach to reload the page and display the report is fairly simple.

  • You start by creating a new page element that will be used to store the selected node ID, for example. P100_SELECTED_NODE (you can do atext element and change hidden once everything works as expected)
  • Change the query of the tree and the link column in the SQL of tree definition to a link to the same
    for example if your page is 100, you'd do the tree node a link to the same page but the value of the P100SELECTED_NODE with id_ of the node selected
    This is done here
    {message: id = 4410987}
    In this case, it would be

    ' f ? p = & APP_ID.: 100 :'|| : APP_SESSION |': P100_SELECTED_NODE :'|| EMPNO as link

    Now when you click on a link to tree node, it would be back to the same page, but set the P100_SELECTED_NODE with the empno of the clicked node.

  • All that's left to do, change your report so that it refers to the new point inorder to filter records for this employee empno i.e

    SELECT ...
      ..
    WHERE empno= :P100_SELECTED_NODE
    

Maybe you are looking for