Run dbms_profiler for not owners

I run pl/sql-script with dbms_profiler calls, such this:
begin
dbms_profiler.start_profiler;
dbms_profiler.stop_profiler;
user1.proc1;
dbms_profiler.flush_data;
end;
it's ok if script runs under user1 !
I issued grant all on user1.proc to user2 with grant option;
and run sript under user2. There are only ANONYMOUS BLOCKS in plsql_profiler_units for thjis call !
Say me, please, how I can to avoid this problem.
Michael

the problem has solved

Similar Messages

  • Run dbms_profiler by not owner

    I run pl/sql-script with dbms_profiler calls, such this:
    begin
    dbms_profiler.start_profiler;
    user1.proc1;
    dbms_profiler.stop_profiler;
    dbms_profiler.flush_data;
    end;
    it's ok if script runs under user1 !
    I issued:
    grant all on user1.proc to user2 with grant option;
    garnt execute on dbms_profiler to user2;
    and run sript under user2.
    I have no oracle errors, but instead procedures and functions of user1 I see in plsql_profile_units table only records about ANONYMOUS BLOCKS
    Say me, please, how I can to avoid this problem.
    Michael

    This thread has a similar issue.
    DBMS_PROFILER and ONLY ANONYMOUS
    What user OWNS the code you are profiling? What user is executing the profile gathering?
    Are you sure that you have granted the necessary privs per the doc?
    Do you meet this condition?
    http://docs.oracle.com/cd/B28359_01/appdev.111/b28419/d_profil.htm
    >
    Security Model
    The profiler only gathers data for units for which a user has CREATE privilege; you cannot use the package to profile units for which EXECUTE ONLY access has been granted. In general, if a user can debug a unit, the same user can profile it. However, a unit can be profiled whether or not it has been compiled DEBUG. Oracle advises that modules that are being profiled should be compiled DEBUG, since this provides additional information about the unit in the database.
    >
    Does the user running the profiler have CREATE privilege on the code?

  • My G Drive will not show up on my desktop for use. It did yesterday. It is not full and currently the light turns on and seems to be running but will not show up on my desktop. What can I do?

    My G Drive will not show up on my desktop for use. It did yesterday. It is not full and currently the light turns on and seems to be running but will not show up on my desktop. What can I do?

    1. verify on another Mac first. and another port.
    2. very likely dead SATA card
    read about it here:
    Your dead external hard drive is likely fine! Great hope for your 'faulty' external HD

  • When i go to sign on it says firefox is already running, but is not responding and to close exisiting FF process or restart system. Have used FF for years with no problems?

    I have been using FF to acess the web for years but recently (within the last few days) I get the above message. I have deleted the ff I was using and downloaded the 3.6 again but continue to get the same message

    Hopefully this support article is what you need:
    https://support.mozilla.com/en-US/kb/Firefox+is+already+running+but+is+not+responding

  • I recently bought an iphone 4s from people who are not in the know and restore my iphone .. Now do not be in use for not having ID and password ... Owner apple owner just gave me a serial number how do I want to continue to use this ... Their telephone he

    I recently bought an iphone 4s from people who are not in the know
    and restore my iphone .. Now do not be in use for not having ID and password ... Owner apple owner just gave me a serial number how do I want to continue to use this ... Their telephone help me: (

    I am having same problem . i can not use the phone. my Carrier ROGERS checked the phone its not stolen or lost phone but after restoring always ask for apple ID of previous owner and seller is not responding to any mails or phone if some one can help me out than it will be great.
    thank you

  • I run a Windows 8.1 -  Photoshop CS5 under Parallels on an iMac one year old and both having the latest OS. I use a NIK plugin "VIVEZA" which run fine for years without a problem. Latelt and without a reason, the NIK plugin has gone corrupt, (can not use

    @I run a Windows 8.1 -  Photoshop CS5 under Parallels on an iMac one year old and both having the latest OS. I use a NIK plugin "VIVEZA" which run fine for years without a problem. Latelt and without a reason, the NIK plugin has gone corrupt, (can not use it more the 2 corrections after a get a black background message that there is not enough memory) and the system stops running and a must restart is required. How do I fix this terrible problem?
    If it requires a Photoshop CS5 re-install, (I belief that it may fix the problem) and re-install the two third party plugins (NIK Viveza) and (Onone Perfect Resize) how and where do I get to the proper Adobe upload page to do that.
    I have tried to fix this problem by changing the memory allocations, I have spend many hours on it and are very disgusted with it but it needs to be fixed. The current memory settings are;
    Ram available = 1588 MB
    Range = 873 -1143 MB
    Recommended Photoshop usage range =  857  however I have tried every setting to max and in between. Nothing works. Current setting = 1588 (max)
    The Photoshop I use is registered, I have product # and order # .

    Contact NIK for updated/upgraded versions of their plug-ins.  They have been having a lot of issues with their plug-ins.

  • I am considering buying a new MAC laptop to run LOGIC for composition and band live/recording, but which one is best as I do not want to spend too much money? Does it have a line in and how do you monitor sound? Will I need adaptors and a interface?

    Can anybody help?
    I am considering buying a new MAC laptop to run LOGIC for composition and band live/recording, but which one is best as I do not want to spend too much money?
    Does it have a line in and how do you monitor sound?
    Will I need adaptors and an interface?
    Also, I am guessing as Logic only runs on MAC surely then they would not the best spec to recommend to run it?
    I see all the upgrades as additional memory or a faster process?
    Is a retina screen necessary, and why flash based storage against a 1TB hard drive, and a i5 instead of an i7
    The main reason for this purchase is to play live and use backing tracks and record found sounds and make creative songs.
    I hope you can provide some valuable feedback, as I am a longtime MAC user and see upgrades and changes happen regularly but the most important thing is the songs not the equipment.
    I have £500 already and willing to add another 500 to 700 pounds, then software extra.

    Can anybody help?
    I am considering buying a new MAC laptop to run LOGIC for composition and band live/recording, but which one is best as I do not want to spend too much money?
    Does it have a line in and how do you monitor sound?
    Will I need adaptors and an interface?
    Also, I am guessing as Logic only runs on MAC surely then they would not the best spec to recommend to run it?
    I see all the upgrades as additional memory or a faster process?
    Is a retina screen necessary, and why flash based storage against a 1TB hard drive, and a i5 instead of an i7
    The main reason for this purchase is to play live and use backing tracks and record found sounds and make creative songs.
    I hope you can provide some valuable feedback, as I am a longtime MAC user and see upgrades and changes happen regularly but the most important thing is the songs not the equipment.
    I have £500 already and willing to add another 500 to 700 pounds, then software extra.

  • "Run as Administrator" not Elevating/Asking for Password properly

    I've got a weird issue on a Windows 7 x64 Professional that was installed and distributed (17 times) by someone else. All request to run with Elevated Rights are completely ignored.
    When I try to run Programm Elevated with Rightclick->"Run as Administrator" they are instead started as the User I am currently logged in as. I have to manually relog (logout, login) as Administrator in order to do stuff I normally would do with
    "Run as Admin".
    There is no UAC question, no Dialog to input the Admins Password/Select the user, no automatic elevation - it just executes as the current user, even if that is a Standart User.
    If any process would normally ask for elevated rights (anything marked with the Admin Right Shield thingy in Windows Explorer) it instead runs as normal user and (of course) runs into lack of rights down the road, sooner or later.
    Haven't checked how Programms with a Manifest that requires Elevation behave yet, but I guess it is the same.
    Parts that might be relevant:
    The UAC is disabeled (set to not ask anything/lowest setting)
    Two accounts: Admin Type account named "sheriff" (instead of default name) and Standart User Type account "User". The Guest account is disabeled.
    While UAC is off, unless I am very mistaken "Run as Administrator" should still work while logged in as a limited Standart User type. After all it has been around a lot longer then the UAC.
    Let's talk about MVVM: http://social.msdn.microsoft.com/Forums/en-US/wpf/thread/b1a8bf14-4acd-4d77-9df8-bdb95b02dbe2 Please mark post as helpfull and answers respectively.

    Was a while since I posted here and I think I understand the problem a lot better now. Couldn't actually solve my problem (this would require setting the UAC back online wich is explicitly not wanted), but it still might be helpfull for others:
    Elevating as Adminsitrator (under Vista and later) needs two Components:
    runas - a Commandline Command that has been around since XP and whose sole purpose is to start Programms under other rights then the current user.
    In order for it to work the "Secundary Login" Windows Service must be running during Login of the current user. Enabling it or disabling it after a login will have no effect.
    And it will fail silently (not telling you it failed).
    UAC - normally you need it to surpress the Admin aspect. In my case it was not neded for that from a Security Standpoint. What I have here was a suiteable set of Credentials for Windows XP style Security: limited normal User, Administrator with non-standart
    name and password.
    What I would have needed from the UAC (and get on all the other Computers where it is online but we still have limited users) was it's ability to detect wich User to elevate too. The UAC is needed to "Find the Admin". And it cannot do that if set to "not inform".
    Under XP the "Run as"-Explorer Option was designed to let you select the user. Always.
    Under Vista, 7 and 8 it's renamed "Run as Adminsitrator" and the UAC autodetects wich user to Elevate towards. If the UAC is not running the menu Explorer Context Menu Option, the Runas Modifier for .NET Process and Manifests have no idea wich Usercontext they
    should run under. And never even try to elevate.
    The only way to elevate on such Computers is to relog as Administrator or use Runas on Command Line with explicit naming of the User you want to use.
    Let's talk about MVVM: http://social.msdn.microsoft.com/Forums/en-US/wpf/thread/b1a8bf14-4acd-4d77-9df8-bdb95b02dbe2 Please mark post as helpfull and answers respectively.

  • My mac mini is running slow.  Bought it in 2009.  Activity monitor shows nothing running that should not be.  Someone suggested it might be my operating system?  Check for software updates, and I am current.  Suggestions?

    My mac mini is running slow.  Bought it in 2009.  Activity monitor shows nothing running that should not be.  Someone suggested it might be my operating system?  Check for software updates, and I am current.  Suggestions?

    Open Activity Monitor, Show:>All Processes, sort on CPU%, see if anything using too much CPU% when this happens, click on Memory tab, do you have many Pageouts?
    Open Console in Utilities & see if there are any clues or repeating messages when this happens.
    Check the S.M.A.R.T. status of the drive in Disk Utilty by highlighting the Drive & looking at the bottom of the window.

  • I dropped my iPhone 4 in the sink where it was submerged in water for not even 2 seconds I took it out and put it in a warm room by the radiator and most of it works but no sound and battery length is short and runs out quickly. Any ideals on how to help?

    I dropped my iPhone 4 in the sink where it was submerged in water for not even 2 seconds I took it out and put it in a warm room by the radiator and most of it works but no sound and battery length is short and runs out quickly. Any ideals on how to help?

    $149
    They do not repair .Apple exchange and all returned units are refurbished at The Apple plants in China
    So you get a device that looks like and functions like new
    Are you familiar with the results of water and electricity mixing

  • I can not get any updates and therefor not use Java as it only run updates for Mac 10.7. and later? How do i get the updates to install and use Java?

    I can not get ny updates and therefore not use Java, as it only run updates for MAC 10.7. and later. How do i get the updates to install and use JAVA ?

    In Snow Leopard you update Java from Software Update (in the Apple menu). You can check your version by opening Terminal and typing
    java -version
    (don't get creative and type anything else)
    The latest version is 1.6.0_65.

  • I have quicken 2000 for mac on an old mac and wish to upgrade to a new laptop running snow leopard.  Quicken 2006 on my new laptop runs, but will not recognize the old data qif files.  What version of quicken for mac will recognize files from 2000?

    I have quicken 2000 for mac on an old mac and wish to upgrade to a new laptop running snow leopard.  Quicken 2006 on my new laptop runs, but will not recognize the old data qif files.  What version of quicken for mac will recognize files from 2000?  Or, is there a special procedure I should be following?

    can't open Quicken 2000 files in classic mode on new MacBook Pro version 10.6.7

  • Payroll has not been run successfully for all personnel numbers Message no.

    please all , i got this error while doing exit to payroll , although this employee has left one year ago , i m fear of doing the changes from pu03 as stated by SAP , doing that will make  personnel numbers processed with this transaction will have an undefined payroll status.
    error:
    Payroll has not been run successfully for all personnel numbers
    Message no. PG508
    please help

    HI,
    Generally, this type of error is occured when all the ee were not sucessfully execute, to clear the same, please follow the below:
    Exeucte the program RPUTRBK0 and assign payroll are and execute payroll correction.
    After doing this, you may able to delete and create new control record.
    Regards,

  • Iphone 4s - how do I change the name in the contacts for the owner of the phone - it is coming up as the other person who uses the laptop - so when ringing or texting anyone 2 names are being used as the caller id on the screen

    Iphone 4s - how do I change the name in the contacts for the owner of the phone - it is coming up as the other person who uses the laptop - so when ringing or texting anyone 2 names are being used as the caller id on the screen

    *Ralph Johns* writes:
    "Your options are:
    Get a trial account form @mac which will work as an iChat name after the 60 days run out but not be a email account that is valid (And is free)"
    Do you mean a trial account from .Mac? (DotMac)
    "Get an AIM Screen name and set it to Display what you want as you set it up.
    The Screen name can be whatever yu want but you can also set it to display something else as well."
    I had thought about this, but it seems other people have already chosen the screen name "pinksharkmark" and virtually every variation of it I can think of. So that isn't an option for me. As for getting it to display something else as well, do you mean that if I were to get an AIM screen name like "CromulentCat" I could somehow log in to iChat under the AIM account "CromulentCat" yet get iChat to represent me to my Buddies as "PinkSharkMark"? Because I have to admit I don't see how that can be done. It appears as if iChat displays to anyone chatting with you precisely the account name you logged in under and nothing else. So if you logged in using a .Mac account, then you are displayed as "[email protected]" while if you logged in under an AIM account, you are displayed as "CromulentCat". But that's it that's all... there is no way to change CromulentCat to PinkSharkMark.
    Thanks very much for taking the time to reply, though.

  • I cant re-start sql server (2008 developer) on win 7 workstation after enabling tcpIP -- been running fine for a year

    I had successfully installed sql server 2008 Developer edition on a win7 pro workstation about a year ago.  I has been running fine for the last year (locally and running .Net 4.5 framework).  All services (RS, Analysis) running fine.  
    Then today someone decided to enable tcpIP and went to services to restart the server on my workstation but it would not restart. I ran repair from the sql server installation center x64 - still nothing - the server wont restart. But Analysis server and Reporting
    services work fine -- these services can restart fine ... Just not the main server. I'm also running Sql Server express. that runs OK too. But I need my sql server 2008 Developer to run. I looked at the system event viewer -- it said this:
    The SQL Server (SQLDEVELOPER) service terminated with service-specific error The specified module could not be found..
    I went to Control panel ... services and looked at the properties for Sql Server Developer -- the path was listed as:
    C:\Program Files\Microsoft SQL Server\MSSQL10_50.SQLDEVELOPER\MSSQL\Binn\sqlservr.exe" -sSQLDEVELOPER
    Everything in windows explorer appears to be in order.  How can I restart the server?  Do I need to uninstall it and then reinstall it?  Any suggestions appreciated.
    I rebooted the entire workstation a few times already also, but still server won't restart.  What to do?
    Rich P

    There were several Error Logs (for today) since I tried restart several times.  They appear to say the same thing:
    2014-07-14 12:57:31.27 Server Microsoft SQL Server 2008 R2 (RTM) - 10.50.1600.1 (X64)
    Apr 2 2010 15:48:46
    Copyright (c) Microsoft Corporation
    Developer Edition (64-bit) on Windows NT 6.1 <X64> (Build 7601: Service Pack 1)
    2014-07-14 12:57:31.27 Server (c) Microsoft Corporation.
    2014-07-14 12:57:31.27 Server All rights reserved.
    2014-07-14 12:57:31.27 Server Server process ID is 4452.
    2014-07-14 12:57:31.27 Server System Manufacturer: 'Dell Inc.', System Model: 'OptiPlex 9010'.
    2014-07-14 12:57:31.28 Server Authentication mode is WINDOWS-ONLY.
    2014-07-14 12:57:31.28 Server Logging SQL Server messages in file 'C:\Program Files\Microsoft SQL Server\MSSQL10_50.SQLDEVELOPER\MSSQL\Log\ERRORLOG'.
    2014-07-14 12:57:31.28 Server This instance of SQL Server last reported using a process ID of 2640 at 7/14/2014 12:55:59 PM (local) 7/14/2014 7:55:59 PM (UTC). This is an informational message only; no user action is required.
    2014-07-14 12:57:31.28 Server Registry startup parameters:
    -d C:\Program Files\Microsoft SQL Server\MSSQL10_50.SQLDEVELOPER\MSSQL\DATA\master.mdf
    -e C:\Program Files\Microsoft SQL Server\MSSQL10_50.SQLDEVELOPER\MSSQL\Log\ERRORLOG
    -l C:\Program Files\Microsoft SQL Server\MSSQL10_50.SQLDEVELOPER\MSSQL\DATA\mastlog.ldf
    2014-07-14 12:57:31.29 Server SQL Server is starting at normal priority base (=7). This is an informational message only. No user action is required.
    2014-07-14 12:57:31.29 Server Detected 4 CPUs. This is an informational message; no user action is required.
    2014-07-14 12:57:31.38 Server Using dynamic lock allocation. Initial allocation of 2500 Lock blocks and 5000 Lock Owner blocks per node. This is an informational message only. No user action is required.
    2014-07-14 12:57:31.40 Server Node configuration: node 0: CPU mask: 0x000000000000000f:0 Active CPU mask: 0x000000000000000f:0. This message provides a description of the NUMA configuration for this computer. This is an informational message only. No user action is required.
    2014-07-14 12:57:31.41 spid7s Starting up database 'master'.
    2014-07-14 12:57:31.46 spid7s 1 transactions rolled forward in database 'master' (1). This is an informational message only. No user action is required.
    2014-07-14 12:57:31.46 spid7s 0 transactions rolled back in database 'master' (1). This is an informational message only. No user action is required.
    2014-07-14 12:57:31.46 spid7s Recovery is writing a checkpoint in database 'master' (1). This is an informational message only. No user action is required.
    2014-07-14 12:57:31.51 spid7s Resource governor reconfiguration succeeded.
    2014-07-14 12:57:31.51 spid7s SQL Server Audit is starting the audits. This is an informational message. No user action is required.
    2014-07-14 12:57:31.51 spid7s SQL Server Audit has started the audits. This is an informational message. No user action is required.
    2014-07-14 12:57:31.52 spid7s FILESTREAM: effective level = 0, configured level = 0, file system access share name = 'SQLDEVELOPER'.
    2014-07-14 12:57:31.54 spid7s SQL Trace ID 1 was started by login "sa".
    2014-07-14 12:57:31.55 spid7s Starting up database 'mssqlsystemresource'.
    2014-07-14 12:57:31.58 spid7s The resource database build version is 10.50.1600. This is an informational message only. No user action is required.
    2014-07-14 12:57:31.78 spid10s Starting up database 'model'.
    2014-07-14 12:57:31.78 Server Warning: Support for the VIA protocol is deprecated and will be removed in a future version of Microsoft SQL Server. If possible, use a different network protocol and disable VIA.
    2014-07-14 12:57:31.78 spid7s Server name is 'WKS308\SQLDEVELOPER'. This is an informational message only. No user action is required.
    2014-07-14 12:57:31.82 spid10s Clearing tempdb database.
    2014-07-14 12:57:31.89 Server A self-generated certificate was successfully loaded for encryption.
    2014-07-14 12:57:31.89 Server Error: 26055, Severity: 16, State: 1.
    2014-07-14 12:57:31.89 Server The SQL Server failed to initialize VIA support library [QLVipl.dll]. This normally indicates the VIA support library does not exist or is corrupted. Please repair or disable the VIA network protocol. Error: 0x7e.
    2014-07-14 12:57:31.89 Server Error: 17182, Severity: 16, State: 1.
    2014-07-14 12:57:31.89 Server TDSSNIClient initialization failed with error 0x7e, status code 0x60. Reason: Unable to initialize the VIA listener. The specified module could not be found.
    2014-07-14 12:57:31.89 Server Error: 17182, Severity: 16, State: 1.
    2014-07-14 12:57:31.89 Server TDSSNIClient initialization failed with error 0x7e, status code 0x1. Reason: Initialization failed with an infrastructure error. Check for previous errors. The specified module could not be found.
    2014-07-14 12:57:31.89 Server Error: 17826, Severity: 18, State: 3.
    2014-07-14 12:57:31.89 Server Could not start the network library because of an internal error in the network library. To determine the cause, review the errors immediately preceding this one in the error log.
    2014-07-14 12:57:31.89 Server Error: 17120, Severity: 16, State: 1.
    2014-07-14 12:57:31.89 Server SQL Server could not spawn FRunCM thread. Check the SQL Server error log and the Windows event logs for information about possible related problems.
    2014-07-14 12:57:31.97 spid10s Starting up database 'tempdb'.
    2014-07-14 12:57:32.19 spid14s A new instance of the full-text filter daemon host process has been successfully started.
    2014-07-14 12:57:32.22 spid13s Starting up database 'ReportServer$SQLDEVELOPER'.
    2014-07-14 12:57:32.22 spid10s Starting up database 'msdb'.
    2014-07-14 12:57:32.22 spid17s Starting up database 'Sales_DW'.
    2014-07-14 12:57:32.22 spid15s Starting up database 'DB1dev'.
    2014-07-14 12:57:32.22 spid18s Starting up database 'ConferenceData'.
    2014-07-14 12:57:32.22 spid14s Starting up database 'ReportServer$SQLDEVELOPERTempDB'.
    2014-07-14 12:57:32.22 spid19s Starting up database 'SubsDBstuff'.
    Cannot close event log because there are still event handle users active.
    Rich P

Maybe you are looking for