ORA-13605: the specified task or object ADDM: < task > does not exist.

Hello
I use ORACLE 11g R2 & RHEL 5 DB.

My task of bottom line is I want to send an AWR & ADDM report by mail to myself and the other members of my team all the hours for a particular user. I did a procedure for the same thing. When I perform this procedure from the sys user then it is run successfully and we even receive emails with attachments well. When I try to run this procedure from the particular user, it gives me the following error: -.

"ORA-13605: the ADDM:1987121644_4118 of task or a specified object does not exist for the current user."

When I explored my procedure, I found that the error was in the query that is used to generate the report of the ADDM. The same query within an enforcement procedure s successfully with the sys user, but not in the other user. The query is as below: -.
 select dbms_advisor.get_task_report(task_name,'TEXT','ALL') as ADDM_report
                     from dba_advisor_tasks
                    where task_id =
                          (select max(t.task_id)
                             from dba_advisor_tasks t, dba_advisor_log l
                            where t.task_id = l.task_id
                              and t.advisor_name = 'ADDM'
                              and l.status = 'COMPLETED')
When I accessed the sight of dba_advisor_tasks separately then I saw that each task the ower name was "SYS" user. So its gives me error when I have the fire of the other user. When I run it from SCOTT I get the following error: -.
ORA-13605: The specified task or object ADDM:1987121644_4017 does not exist for the current user.
ORA-06512: at "SYS.PRVT_ADVISOR", line 3189
ORA-06512: at "SYS.DBMS_ADVISOR", line 590
ORA-06512: at line 1
ORA-06512: at "SCOTT.SEND_MAIL_FOR_AWR_ADDM_REPORT", line 72
ORA-06512: at line 2
I tried to use the view data dictionary with 'USER_'... like USER_advisor_tasks, but this returns null if it doesn't produce any report ADDM.

What should I do to run my (other than the user SYS) user SCOTT procedure and must generate the ADDM report.

Thanks in advance.

Look at the signature of the function:

function get_task_report (task_name      in varchar2,
                          type           in varchar2 := 'TEXT',
                          level          in varchar2 := 'TYPICAL',
                          section        in varchar2 := 'ALL',
                          owner_name     in varchar2 := NULL,
                          execution_name in varchar2 := NULL,
                          object_id      in number   := NULL)
  return clob;

See owner_name.

So:

select owner,task_name,
       dbms_advisor.get_task_report
       (t.task_name,'TEXT','TYPICAL','ALL',t.owner) as ADDM_report
                     from dba_advisor_tasks t
                    where task_id =
                          (select max(t.task_id)
                             from dba_advisor_tasks t, dba_advisor_log l
                            where t.task_id = l.task_id
                              and t.advisor_name = 'ADDM'
                              and l.status = 'COMPLETED');

Tags: Database

Similar Questions

  • Trying to enable and disable the scheduled tasks back but becomes "the name of the specified task * does not exist in the system.

    I am trying to create a .bat file that stops a set of scheduled tasks and start another game, but when it works it is said that there is no such thing as the name of the task

    SCHTASKS/Change/disable /TN ImageCopyTest
    ERROR: The name of the specified job 'ImageCopyTest' does not exist in the system.

    Running schtasks/query does not list the tasks that I have implemented in Task Scheduler

    For operational reasons, the tasks are set on "Run If the user is logged in or not ' and I read somewhere that this automatically makes the hidden task

    Can someone shed light on how I can get around what I need this operation for our recovery after disaster

    It's on Windows Server 2008 R2 Enterprise

    Hello

    Apologize for the delay in response. Because the question you posted is related to Windows Server and more complex than that which are usually dealt with here, this issue will be safer in our MSDN forums that cater to the more THIS professional audience.

    Thank you.

  • error packaed and launch: Oh, Snap! Build request failed with the message: [ERROR] an archive or directory does not exist in the specified path:

    Hello

    I get this error when you try to run the sample of cards on the corrugation Simulator:

    Oh, Snap! Build request failed with the message: [ERROR] an archive or directory does not exist in the specified path: "/ Users/Calgacos/Library/Application Support/Google/Chrome/Default/Extensions/cnijnnaimeaacneklcndcafbnkeicckh/0.9.16_0/services/node/node_modules/rbd/Packaged/Maps.zip".

    The .../rbd/Packaged folder is writable and the Maps.zip will be created in the folder ~/RippleSites/Maps/Packaged.  With the help of Mac, the latest versions of everything.  The application runs in undulation ok, but I can't throw on the SIM BB10.

    Someone else have this error and know why?

    PS the Maps.zip does not get created (or copied) in specified folder, of course, but why?

    PS try another application and it worked but is too has not put its zip file into the folder... rbd/Packaged.  I guess it should not but leaves me clueless as to whats wrong with cards.

    Thank you

    The two directories (in the extensions directory and maps project directory) have permissions to 777.

    But you gave me an idea...

    It turns out that simply by putting

    "Packages".

    in setting output wasn't enough, I need the full path

    for example: "/ Users/username/RippleSites/Maps/packed."

    and presto, now it works!

    Thank you!

  • The root of the oracle/jpub/runtime/dbws/DbwsProxy class does not exist

    Hello

    I am using UTL_DBWS to call a Web service and get an error "ORA-29540: oracle/jpub/runtime/dbws/DbwsProxy of class does not exist"

    his back and forth between me and operations, I have aske to load the package, but still the script fails. Is it possible to confirm if the package is loaded, as the script below

    as sys:
    Select the State of the object where
    dbms_java.longname (parameter) = "oracle/jpub/runtime/dbws/DbwsProxy";

    Please help to find the root cause

    Please check if you have subsidies on UTL_DBWS.

  • The "Glyphs" task does not work

    Hey

    I have Illustrator CS5 on my PC and I bought a font with different glyphs. I have the glyphs of the task and I can also see them, but when I choose a letter and put a different glyph it does not work. What can I make it work?

    Thank you very much Diana

    Thank you very much for your help, we did an update and now it works

  • ORA-34492: analytic workspace object < cubename > _STORED does not exist.

    I have problems to access the data in the cube of one user other than the one where the AW will be built.

    Here's what I did to the user 1:

    1. create two AW in user-1: AW-1 and AW-2.

    2. create all objects in these two AW

    3 AW-2 is dynamically linked on the setting of the AW-1 by PERMIT startup programs. Please refer to attach several AW

    4 refreshed the two AW for loading data

    5 ALLCOMPILE - no errors.

    6. created some views SQL on User-1 which basically ask the views of the underlying cube. I have also a few queries using the olap_table option.

    7. all my querries work very well at user-1. I can access the data of 1 AW and AW-2.


    However, we provide access to views abstract SQL above by user: user-abs. In 10g, everything we did was grant select privs to all tables of $ User - 1.AW and also on all views sql. That would leave user-abs recover data from user-1 ice all.

    I'm not able to get the ABS users to do the same in 11g. We encounter an error stating that there is no such thing as the workspace object < cubename > _STORED. The cubename to what it refers exists AW - 2.

    I select given privs on all tables of $ AW, views of dimension, views of cube and the views sql abstract but the error persists.

    I tried to search this forum but did not find all the useful leads. Any help will be greatly appreciated.

    Thank you!

    Database - 11.2.0.1
    MN - 11.2.0.2.0A

    I think I understand the problem, and I have at least one solution for you.

    Your PERMIT_READ to USER-1 program. AW - 1 tie USER-1. AW-2, and as the attachment of part of this process, we must implement object for all objects USER-1 security. AW-2. For example, if you SELECT for X-USER-1 cube access. AW-2 but no access update, then we'll run the following

    REVIEW X_STORED
    PERMIT TO WRITE WHEN FALSE

    We run so essentially involving them objects OLAP DML USER-1. AW-2 as part of the PERMIT_READ on USER-1. AW-1. It strikes the restriction documented at PERMIT_READ I mentioned in my previous post.

    You don't hit the problem when running as a USER-1 because USER-1 automatically gets all permissions on the objects he owns, so we try not to run/PERMIT to take into ACCOUNT.

    You don't hit the problem of setting USER-1. AW-2 directly because the object security is applied outside the context of the PERMIT_READ on USER-1. AW-1

    You don't hit the problem if you have connected the USER 1. AW-2 and then withdrawn because (I think) USER-1. AW - 2 remains in a State of 'attached soft' after the initial attachment and we does not apply the security of objects that we have "attached soft" back to "hard Attaché".

    The solution is to grant all types of object security on objects of the AW-2 USER-2. This includes not only the SELECT, but also the UPDATE, INSERT, etc. Just give everything in the AWM dialog for all dimensions and all the cubes. Once you do this, the second user should be able to connect wihtout error because there is no need for us to CONSIDER/PERMIT.

    I don't know yet if this should be considered as a formal bug or if this is the expected behavior by the people who coded it.

  • Scheduled task does not exist, yet still short

    Some time ago I implemented a simple batch file as a task scheduled to run at 07:00 every day, and he does so since then.  It starts DTExec.exe to do a load of data and send me an email when it is successful.

    Now I want to change the run time - but I can't find work anywhere!  I do not see it in Task Scheduler (and yes I putShow hidden tasks ), the task name appears nowhere in \Windows\Tasks or \Windows\System32\Tasks

    No schedule in such a way does seem to exist - yet the task always runs daily so there must be somewhere!  If not, where can I get?

    (It's on Windows 7 Home Premium, and my account does not have administrator rights. The task of the TA is configured to use the system account.)

    More info: looking at the logs with Event Viewer, I see in the application log an entry at 07:00:22 to SQLISPackage100 that says that my task is completed then.

    But the newspaper Windows/TaskScheduler operational, there is no event at 7:00!  There is something to 06:52 then the following entry is RacTask starting at 07:14:16

    Is there something in windows that can perform tasks of the user to fire time OTHER than Task Scheduler?  Maybe I'm looking at the bad service?
    Ah - that's all!  Opened by SQL Agent jobs do not appear in the list of Task Scheduler (and I had forgotten that I would be implemented in this way).

    > Article 2nd Wright of debugging: If you can't find the bug, looking for it in the wrong place.  (1st rule: there is always a bug.)

  • In the creating tutorial, text object I created does not appear as a subelement of the roundrect in

    The tutorial shows how

    Screen Shot 2013-04-26 at 10.27.19 AM.png

    But what I get is this

    Screen Shot 2013-04-26 at 10.27.13 AM.png

    I redid several times and it works very well. Can you screen shots of your steps or a video?

  • Remove the entry from "Uninstall a program" which does not exist anymore

    I have a few listed under "Uninstall" programs that are older, and I had deleted the files for. Is it possible to erase the list 'uninstall '? I just get that it can not find the uninstall log. Thanks for any help!

    Hello Lucas,.

    Thanks for posting your query in Microsoft Community.

    Please let us know if you have used programs and features to uninstall programs are no longer needed?

    This place is when the source of the program folder is removed first rather remove programs and features. I suggest you refer to the following he difficulty that automatically fix problems that are blocking the program installation or removal because of corrupted registry keys.

    The problems that the programs cannot be installed or uninstalled

    http://support.Microsoft.com/mats/Program_Install_and_Uninstall

    I hope this helps. Please post back the results.

  • Grants.gov tells me to use the drive 11.0.2. It does not exist. Please tell me I'm not crazy.

    I am about to submit a federal grant through grants.gov.

    On their site, they list Adobe Reader "11.0.2" compatible. In fact, they LINK to the page where it is clear that there is not. 11.0.07 is the latest rev.

    I think they mean 11.0.02. It is very good. I can use it. But we had SO many problems on previous grants through this website, I want to assure you that I'm just following their instructions to the letter. I want to confirm that 11.0.02 is the correct version.

    By sending an e-mail, and speaking with their customer support dept, they literally claim 11.0.2 exists, and that I should contact Adobe. This forum is my only option.

    It is the site where 99% of federal grants are submitted, is not that great.

    Thank you for your help.

    It's the full version of the updates of the player: http://www.adobe.com/support/downloads/product.jsp?product=10&platform=Windows

    There is no drive 11.0.2.

  • ORA-23308: object OWNER_MASTER. DEPT does not exist or is not valid

    Hello
    in 10g R2 (10.2.0.4) I created master groups (following this article http://www.akadia.com/services/ora_replication_guide.html).
    But I got the following error:
    SQL> select sname, oname, type, status, gname
      2  from dba_repobject ;
    
    SNAME                          ONAME                          TYPE
    ------------------------------ ------------------------------ -------------
    STATUS     GNAME
    ---------- ------------------------------
    SCOTT                          DEPT                           TABLE
    VALID      REPG
    
    SCOTT                          EMP                            TABLE
    VALID      REPG
    
    SQL> grant CREATE SNAPSHOT TO SCOTT;
    
    
    
    SQL> grant CREATE TABLE TO SCOTT;
    
    
    
    CONNECT repadmin/****@CEL1.WORLD
    
    SQL> BEGIN
      2     DBMS_REPCAT.SET_COLUMNS (
      3     sname => 'owner_master',
      4     oname => 'DEPT',
      5     column_list => '"COL1","COL2","COL3","COL4"');
      6  END;
      7  /
    BEGIN
    *
    ERROR at line 1:
    ORA-23308: object OWNER_MASTER.DEPT does not exist or is invalid
    ORA-06512: at "SYS.DBMS_SYS_ERROR", line 95
    ORA-06512: at "SYS.DBMS_REPCAT_OBJ_UTL", line 1280
    ORA-06512: at "SYS.DBMS_REPCAT_OBJ_UTL", line 1322
    ORA-06512: at "SYS.DBMS_REPCAT", line 937
    ORA-06512: at "SYS.DBMS_REPCAT", line 920
    ORA-06512: at line 2
    Thanks for the help

    First, you will need to check that there is a primary key on these tables.

    You may also like to take a look at the view of dba_repcatlog.

    concerning

  • When you try to schedule a task, error message 0 x 80090016 Keyset does not exist.

    Whenever I try to schedule a task, I get the error message 0 x 80090016 Keyset does not exist. I went to the response page, but I do not understand what protected storage is and I do not know how to find... I followed the instructions, but windows cannot find MSC.

    Hello

    You did changes to the computer before this problem?

    I think you could have typed incorrect order in the run window. Here are the steps that may help you.

    1 open administrative tools by clicking the Start button, click on the Control Panel, clicking system and Maintenance, and then clicking Administrative Tools.

    2. double-click on Services. If you are prompted for an administrator password or a confirmation, type the password or provide confirmation.

    3. find the protected storage service, and click to select.

    4. Select Properties.

    5. in the Startup Type list, select automatic.

    6. make sure the service of that status is started.

    7. click on OK.

  • Delete or remove the disc hard which does not exist

    Windows 7 Professional, 64-bit, all updates have been made.  Explorer > computer > drives shows disk space (q) but no other info like x GB free y GB, and there is no box with a blue line.  "By clicking on the disc (q) Local triggers an error box ' there is no location: Q:\ is not accessible.  Access is denied. »

    In looking at Start > computer > Manage > storage > Disk Management (q) does not appear while all other disks are listed.

    With the help of Jv16 Power Tools 2014 to search the drive (q) it just says "Directory does not exist."

    Digging further, I found the registry under HKEY LOCAL MACHINE\SYSTEM\MountedDevices\ watch? \VOLUME{ff00752d-F6E4-11E2-853d-002564e38f71}

    That same volume appears in hundreds of Warning Messages in the start menu > computer > Manage > system tools > event viewer > Windows Logs > request as a VSS 12348 warning.  In some cases there are two second VSS in the same warning messages.

    How to fixed the problem?  Fictitious (q) hard drive may be removed or deleted?  The registry entry should be deleted?  My guess is that a program is trying to access all mounted devices that triggers the VSS warning.

    Any help would be greatly appreciated.

    dax1792:

    Thank you very much, the problem disappeared after the reference, but with a slight difference.  I have been using Microsoft Office 365 Home Premium for a few months.  Looking at the Uninstall list, I found three ad for Microsoft Office, two for the 2010 version.  I uninstalled both versions 2010 and everything is fine now.  The Q drive disappeared.

    Thanks again.

  • There was an error importing the widget: [3003] file or directory does not exist.

    Hi allllllllllllllllllllll I want to help please?

    I have a lot of questions?

    1:widget.jpg

    There was an error importing the widget:

    [3003] file or directory does not exist.

    sound appear when aim import widget?

    import.jpg

    2:

    Impossible to load the WSDL. If there are currently online, please verify the format of the WSDL and URI file (http://www.adobe.com/cfusion/exchange/exchangedwwidgetsfacade.cfc?wsdl)

    sound appear when aim box in!

    sign in.jpg

    3:

    Could not feed widget. Make sure that you are connected to the internet.

    Unknown error.

    Could not feed widget. Charging | View more information!

    Sorry to say, but the browser Widget support has been removed from Dreamweaver CC

  • Adobe Scout does not exist in the list of applications of Creative Cloud Desktop install

    How can I install? When I click on download through the web page, it redirects to the desktop application. But Adobe Scout does not exist in the list of apps.

    Hello

    I had similar problem a few days ago, you probably 32-bit in oprating system and scout is 64-bit

Maybe you are looking for