The current user username has not been granted the ADVISOR privilege despite having it !

Hi,
I'm trying to follow ML note 2499931.1 'Using Dbms_Advisor.Tune_Mview To Optimize Materialized Views For Fast Refresh' and am receiving an error suggesting the user4 does Not have the Advisor privilege
despite the fact that it does. What am I missing ?
Every note I've found so far suggests granting the privilege is the fix.
I have and continue to receive the error.
Version 11.2.0.3 on Redhat 5
select * from dba_sys_privs where grantee = 'SOAUSER';
GRANTEE                        PRIVILEGE                                ADM
SOAUSER                        CREATE MATERIALIZED VIEW                 NO
SOAUSER                        CREATE VIEW                              NO
SOAUSER                        CREATE PUBLIC SYNONYM                    NO
SOAUSER                        SELECT ANY DICTIONARY                    NO
SOAUSER                        ON COMMIT REFRESH                        NO
SOAUSER                        CREATE ANY DIRECTORY                     NO
SOAUSER                        CREATE DATABASE LINK                     NO
SOAUSER                        SELECT ANY TABLE                         NO
SOAUSER                        ADVISOR                                  NO
SOAUSER                        UNLIMITED TABLESPACE                     NO
SOAUSER                        CREATE SESSION                           NO
Error at line 2
ORA-13616: The current user SOAUSER has not been granted the ADVISOR privilege.
ORA-06512: at "SYS.PRVT_ADVISOR", line 4869
ORA-06512: at "SYS.DBMS_ADVISOR", line 1969
ORA-06512: at "SYS.PRVT_TUNE_MVIEW", line 490
ORA-06512: at "SYS.PRVT_TUNE_MVIEW", line 970
ORA-06512: at "SYS.DBMS_ADVISOR", line 739
ORA-06512: at line 3
Thanks in Advance
Ken

Sorry, but the code I was receiving the error message for is essentially   the same as the example in the note. Assumed people would have access to the note.
The statement is:
variable foo varchar2(20);
declare foo varchar2(20) := 'ken_foo';
begin
dbms_advisor.tune_mview(:foo,
'create materialized view ken_foo
as
select 
papf.rowid R_papf,
paaf.rowid R_paaf,
gcc.rowid R_gcc,
papf.employee_number,
gcc.segment4 cost_center
from hr.per_all_people_f@atc_pp_to_ebs_atcllc papf,
     hr.per_all_assignments_f@atc_pp_to_ebs_atcllc paaf,
     gl.gl_code_combinations@atc_pp_to_ebs_atcllc gcc
where papf.person_id = paaf.person_id
--and trunc(sysdate) between papf.effective_start_date and papf.effective_end_date
--and trunc(sysdate) between paaf.effective_start_date and paaf.effective_end_date
and paaf.default_code_comb_id = gcc.code_combination_id');
end;
Per another forum the answer appears to be that sys didn’t have the advisor privilege.
Granted advisor to sys and ran the statement again as soauser and no error.
Thanks
Ken

Similar Messages

  • Logon failure; the user has not been granted the requested logon type at this computer (IE App)

    Hello,
    Question of a newbie:
    In Windows Server 2012 I'm using IE10 to simulate numerous different users. But for some of these "fake" users I got the error:
    Logon failure; the user has not been granted the requested logon type at this computer.
    So I opened PowerShell : GPEDIT.MSC
    Computer Configuration / Windows Settings / Security Settings / Local Policies / User Rights Assignment.
    In the detail zone : Double-Clic sur Allow log on locally.
    Dialog box : Allow log on locally properties
    But the Add User or Group
    button is grayed out!
    What can I do?
    Thanks for your help!

    Several months after...
    I found the solution : the user has to be member of the Server
    Operators in Active Directory. 
    That's all :)
    Thanks

  • Failed to start worker process: Logon failure: the user has not been granted the requested logon type at this computer. (0x80070569

    We just rebuilt our machine with server 2012, and it was working flawlessly and then randomly it started giving me this error if i would try to start up a machine. At first this was just an annoyance but now it is worrying me greatly. I have tried
    everything from logging on as the domain admin account to the actual server administrator account. Nothing seems to start these machines up, and I need them to start.
    'Computer1' failed to start worker process: Logon failure: the user has not been granted the requested logon type at this computer. (0x80070569). 

    Hi,
    As this thread has been quiet for a while, we assume that the issue has been resolved. At this time, we will mark it as 'Answered' as the previous steps should be helpful for many similar scenarios.
    If the issue still persists and you want to return to this question, please reply this post directly so we will be notified to follow it up. You can also choose to unmark the answer as you wish.
    In addition, we'd love to hear your feedback about the solution. By sharing your experience you can help other community members facing similar problems.
    Thanks!
    Lawrence
    TechNet Community Support

  • TS1702 I downloaded IOS6 to my ipad2..since then the Pentix Free app has not been behaving the same as before the download

    I downloaded IOS6 to my ipad2...since then the Pentix Free app. has not been been behaving the same
    Is this a problem with the upgraded IOS?

    It's more likely that the App make needs to provide and update for iOS6.

  • The user has not been granted the requested logon type at this computer

    Hi,
    I'm running Win Server 2012 R2
    I'm trying to do the following, but the Add User or Group is grayed out!  :-(
    Why? What did I miss?
    Thanks for your help
    To assign the user right Allow log on locally
    On the Telnet server, open the Group Policy Management Editor. To do so, click Start, then in the Start Search box,
    type gpedit.msc, and then press ENTER.
    If the User Account Control dialog box appears, confirm that the action it displays is what you want, and then click Continue.
    In the navigation pane, open Computer Configuration, Windows Settings, Security Settings, Local
    Policies, and User Rights Assignment.
    In the details pane, double-click Allow log on locally.
    Click Add User or Group.
    Find the user or group account you want to add, and then click OK.
    Click OK to save your changes to the Group Policy object (GPO).
    Users that are currently logged on must log off and back on to be affected by the changed GPO setting.

    Sorry, I just forgot to add these new users to the Server
    Operators in Active Directory. 
    Now they can connect.
    Thanks for your help

  • Hi.. I am reinstalling ios on macbook. While doing process, it asks for the Apple id and password. I am providing the id but it displays the message that apple user id has not been used with apple store... what shall I do to make my id work. Please assist

    Hi.. I am reinstalling ios on macbook.
    While doing process, it asks for the Apple id and password. I am providing the id/password but it displays the message that apple user id has not been used with apple store... what shall I do to make my id work. Please assist

    Just to clarify, iOS is the operating system for iOS based devices such as the iPod touch, iPhone, and iPad.
    Your Mac runs on OS X.
    As for your Apple ID, help here >  Using an existing Apple ID with the iTunes Store, Mac App Store, and iBooks Store

  • User "wlisystem" has not been assigned task "Task 1"

    Hi,
    I am having problems executing a task thro' Worklist JSP. My env. is WLS 7.0 on Windows
    NT.
    I can do a Start Workflow and then click on the appropriate template.
    Then, when I click on the task, I get the error (see below)
    Any help please? This used to work fine in WLS 6.1.
    User "wlisystem" has not been assigned task "Task 1". User "wlisystem" has not been
    assigned task "Task 1". Start server side stack trace:
    Workflow error: com.bea.wlpi.common.WorkflowException: The server
    was unable to complete your request. User "wlisystem" has not been
    assigned task "Task 1". at com.bea.wlpi.server.worklist.WorklistBean.taskExecute(Unknown
    Source) at
    com.bea.wlpi.server.worklist.WorklistBean_1nnm8f_EOImpl.taskExecute(WorklistBean_1nnm8f_EOImpl.java:151)
    at
    com.bea.wlpi.server.worklist.WorklistBean_1nnm8f_EOImpl_WLSkel.invoke(Unknown
    Source) at
    Thanks,

    Just to be a little more clear, this works fine from the
    Worklist Swing application but the same gives an error when
    I execute from JSP page. The task seems to execute properly
    but still the JSP page gives an error as shown below.
    Anyone has experience with JSP workjlist on WLS 7.0 please??!
    "SLN" <[email protected]> wrote:
    >
    Hi,
    I am having problems executing a task thro' Worklist JSP. My env. is WLS
    7.0 on Windows
    NT.
    I can do a Start Workflow and then click on the appropriate template.
    Then, when I click on the task, I get the error (see below)
    Any help please? This used to work fine in WLS 6.1.
    User "wlisystem" has not been assigned task "Task 1". User "wlisystem" has
    not been
    assigned task "Task 1". Start server side stack trace:
    Workflow error: com.bea.wlpi.common.WorkflowException: The
    server
    was unable to complete your request. User "wlisystem" has not been
    assigned task "Task 1". at com.bea.wlpi.server.worklist.WorklistBean.taskExecute(Unknown
    Source) at
    com.bea.wlpi.server.worklist.WorklistBean_1nnm8f_EOImpl.taskExecute(WorklistBean_1nnm8f_EOImpl.java:151)
    at
    com.bea.wlpi.server.worklist.WorklistBean_1nnm8f_EOImpl_WLSkel.invoke(Unknown
    Source) at
    Thanks,

  • (java.util.PropertyPermission * read,write) has not been granted

    I've been getting the following error:
    java.security.AccessControlException:
    the Permission (java.util.PropertyPermission * read,write)
    has not been granted by dbms_java.grant_permission to
    SchemaProtectionDomain(ROVER|PolicyTableProxy(ROVER))
    So to fix it I did the flowing as system:
    SQL> EXEC DBMS_JAVA.GRANT_PERMISSION('ROVER','SYS:java.util.PropertyPermission', '*', 'read,write');
    PL/SQL procedure successfully completed.
    SQL> COMMIT;
    Commit complete.
    But their is no change.
    What am I missing?
    I'm using 8.1.6 on linux.

    I'm also in this situation:
    I got this error:
    [1]: (Error): ORA-29532: Java call terminated by uncaught Java exception:
    java.security.AccessControlException: the Permission
    (java.net.SocketPermission mailhost resolve) has not been granted by
    dbms_java.grant_permission to
    SchemaProtectionDomain(TOLKIEN|PolicyTableProxy(TOLKIEN)) ORA-06512: at line
    14
    I believe I must use the dbms_java.grant_permission procedure to grant the
    procedure to resolve hostname. But I don't know how to use this procedure.
    I tried with
    'dbms_java.grant_permission(SchemaOfMyJavaClass,'java.net.SocketPermission',
    'mailhost','resolve',intRet);'
    and a record is been appended to dba_java_policy, but Oracle complaines again.
    Someone can help us?
    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Oracle Support():
    Can you see the permission in dba_java_policy table?
    <HR></BLOCKQUOTE>
    null

  • "Could not use the clone stamp because the area to clone has not been defined (Alt-click to define a source point)".

    Few users access our Photoshop through Citrix on a mac but use a Windows 7 platform once they're in Citrix.  They're all having issues using the Clone Stamp tool.  Get the error "Could not use the clone stamp because the area to clone has not been defined (Alt-click to define a source point)". We've reset the clone stamp tool, reset all the tools, and reset the preferences. We've made sure that we're in All Layers.  Nothing seems to be working.  None of the other forums helped either.  Adobe support is no help either.
    Thanks,
    Moe.

    Did you check with Citrix support?  Did you try both of the Alt keys.

  • The group transfer account has not been defined  Error message KM124

    Hi,
    Friends,
    i
    When my user is posting  a logistical vendor invoice for intercompany vendor  the system issues error message KM124 "The group transfer account has not been defined.
    I have seen SDN there was a posting but no response.
    Can you suggest me how we can work on this error.
    Thank you
    Medha

    Hi Firends,
    One of my user is also getting the same error,  user is posting a logistical vendor invoice for intercompany vendor the system issues error message KM124 "The group transfer account has not been defined.
    I have checked the 8KEN and OX15 customizing also.. it seems to be fine.
    Please can you guide me in regards to this error.
    Thanks and Regards,
    Rahul.

  • "The property or field has not been initialized" Error, when debbuging app

    Hello,
    I'm  following the instructions of a dev book but I get the following error message when debugging the app.
    "The property or field has not been initialized. It has not been requested or the request has not been executed. It may need to be explicitly requested."
    The code:
    var collListItems;
    $(document).ready(function () {
    getConfigValues();
    function getConfigValues() {
    var context = SP.ClientContext.get_current();
    var configList = context.get_web().get_lists().getByTitle('Configuration Values');
    var camlQuery = new SP.CamlQuery();
    collListItems = configList.getItems(camlQuery);
    context.load(collListItems);
    context.executeQueryAsync(onGetConfigValuesSuccess, onGetConfigValuesFail);
    function onGetConfigValuesSuccess() {
    var OrgLogoUrl;
    var OrgName;
    var listItemEnumerator = collListItems.getEnumerator();
    while (listItemEnumerator.moveNext()) {
    var oListItem = listItemEnumerator.get_current();
    var current = oListItem.get_item('Title');
    switch (current) {
    case 'OrganizationName':
    OrgName = oListItem.get_item('Value');
    break;
    case 'OrganizationLogoUrl':
    OrgLogoUrl = oListItem.get_item('Value');
    break;
    if (OrgName && OrgName.length > 0) {
    $('#DeltaPlaceHolderPageTitleInTitleArea').html(OrgName);
    $('.ms-siteicon-img').attr('title', OrgName);
    if (OrgLogoUrl && OrgLogoUrl.length > 0)
    $('.ms-siteicon-img').attr('src', OrgLogoUrl);
    else
    $('.ms-siteicon-img').attr('src', '../Images/AppLogo.png');
    function onGetConfigValuesFail(sender, args) {
    alert('Failed to get the Configuration Values. Error:' + args.get_message());
    What it have to do is to replace the Title and Site logo, using the "Title" and "Value" fields of the "Configuration Values" list.
    My dev environment: SharePoint online, Azure, VS2013 Ultimate (trial)
    I've tried to reach the author of the book but it's being 4 days and no response, maybe somebody here can help me.
    Thanks in advance.
    Jimmy

    Jaydeep, I don't get the values, see the HTML code below.
    <%@ Page Inherits="Microsoft.SharePoint.WebPartPages.WebPartPage, Microsoft.SharePoint, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" MasterPageFile="~masterurl/default.master" Language="C#" %>
    <%@ Register TagPrefix="SharePoint" Namespace="Microsoft.SharePoint.WebControls" Assembly="Microsoft.SharePoint, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
    <%@ Register TagPrefix="Utilities" Namespace="Microsoft.SharePoint.Utilities" Assembly="Microsoft.SharePoint, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
    <%@ Register TagPrefix="WebPartPages" Namespace="Microsoft.SharePoint.WebPartPages" Assembly="Microsoft.SharePoint, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
    <%-- The markup and script in the following Content element will be placed in the <head> of the page --%>
    <asp:Content ContentPlaceHolderID="PlaceHolderAdditionalPageHead" runat="server">
    <script type="text/javascript" src="https://ajax.aspnetcdn.com/ajax/jQuery/jquery-1.8.2.min.js"></script>
    <script type="text/javascript" src="/_layouts/15/sp.runtime.js"></script>
    <script type="text/javascript" src="/_layouts/15/sp.js"></script>
    <!-- Add your CSS styles to the following file -->
    <link rel="Stylesheet" type="text/css" href="../Content/App.css" />
    <!-- Add your JavaScript to the following file -->
    <script type="text/javascript" src="../Scripts/App.js"></script>
    </asp:Content>
    <%-- The markup in the following Content element will be placed in the TitleArea of the page --%>
    <asp:Content ContentPlaceHolderID="PlaceHolderPageTitleInTitleArea" runat="server">
    KA Online Klas
    </asp:Content>
    <%-- The markup and script in the following Content element will be placed in the <body> of the page --%>
    <asp:Content ContentPlaceHolderID="PlaceHolderMain" runat="server">
    <div id="menu">
    <ul>
    <li><a href="../Lists/Configuration Values">Site Configuration</a></li>
    <li><a href="../Lists/Site Assets">Site Assets</a></li>
    </ul>
    </div>
    </asp:Content>

  • The wifi has been lost or disconnected on my iPad. It's the iPad 2 and has not been updated yet. It's IOS 6.1.3 .. how do I add a network back onto it? I have typed in the name and chosen each of the securities and still hasn't connected!

    The wifi has been lost or disconnected on my iPad. It's the iPad 2 and has not been updated yet. It's IOS 6.1.3 .. how do I add a network back onto it? I have typed in the name and chosen each of the securities and still hasn't connected!

    Hey there Luba_kalstad,
    It sounds like you are unable to join your network and cannot see it in the Wi-Fi list in Settings. I would try the troubleshooting outlined in this article named:
    iOS: Troubleshooting Wi-Fi networks and connections
    http://support.apple.com/kb/ts1398
    Be sure you're in range of your Wi-Fi router (access point).
    Tap Settings > Wi-Fi and turn Wi-Fi off and on. If your Wi-Fi setting is dimmed, follow these steps.
    Confirm that your Wi-Fi router and cable or DSL modem are connected to power, turned on, and connected to the Internet. If not, refer to your network administrator or Internet service provider (ISP) for assistance.
    Restart your iOS device.
    Tap Settings > Wi-Fi and locate the Wi-Fi network to which you're connected.
    Tap and Forget this Network.
    Try to connect to your desired Wi-Fi network.
    Note: You may need to enter your Wi-Fi password again if your network requires one.
    Turn your Wi-Fi router off and on2. If your ISP also provides cable or phone service, check with them before attempting this step to avoid interruption of service.
    Update your device to the latest version of software.
    Update your Wi-Fi router to the latest firmware2. For AirPort Base Stations, install updates using the AirPort Utility.
    And this section down toward the bottom if needed:
    Unable to locate a Wi-Fi network
    Verify that the network is available by tapping Settings > Wi-Fi and choosing from the available networks.Note: It may take a few seconds for the Wi-Fi network name to appear.
    Move closer to your wireless router (access point) and attempt to locate the Wi-Fi network.
    If you do not see the network you would like to join, you may be attempting to connect to a hidden network. Learn how to join a hidden network.
    Supported Wi-Fi configurations vary by iOS device model. Find out which standards your device supports3.
    Reset network settings by tapping Settings > General > Reset > Reset Network Settings. Note: This will reset all network settings including:
    previously connected Wi-Fi networks and passwords
    recently used Bluetooth accessories
    VPN and APN settings
    Thank you for using Apple Support Communities.
    Take care,
    Sterling

  • A photo has been found in the iphoto library that has not been imported???

    When i open iphoto i get a message saying "a photo has been found in the iphoto library that has not been imported, would you like to import it?" I have tried what everyone is saying to do, but when i look under show package contents there is no import folder to move. only a folder that says contents and i've looked all through that, still no import folder. Even though i click no i do not want the photo imported it still is stored on my external hard drive and every so often i have to go delete TONS of photos and when you click on the photo it doesn't even actually show up as anything.

    but when i look under show package contents there is no import folder to move. only a folder that says contents
    You're looking at the iPhoto.app package. Those instructions are for the iPhoto Library package. That's in your Pictures Folder.

  • When I try to export the file in word, I get the error "The Save as command has not been able to develop this document. Unable to create file"

    When I try to export the file in word, I get the error "The Save as command has not been able to develop this document. Unable to create file".
    Win7 Pro, 64bit
    Acrobat XI Pro, tryal

    Create a one word pdf file. Try converting to word. If that fails, try a complete uninstall, run the cleaner tool, then re-install.
    Download Adobe Reader and Acrobat Cleaner Tool - Adobe Labs

  • My iPhone 3GS was recently stolen.  I can't find the box and it has not been synced to my computer in a long time.  I just use it as an iPod now.  I have the IMEI

    My iPhone 3GS was recently stolen.  I can't find the box and it has not been synced to my computer in a long time.  I just use it as an iPod now.  I have the IMEI but not the serial number.  Is there a way that I can get the serial number using the IMEI number.  Thanks

    What To Do If Your iDevice Is Lost or Stolen

Maybe you are looking for

  • In a detailed list, 5 HUGE problems on my iPod. Everyone please help...

    Maybe my title is really bad on explaining my situation. I have a 1.1 USB drive, or whatever. I know for sure it is not 2.0. Windows XP Professional Edition. Windows Internet Explorer 7 Beta Version 3. Latest iTunes as of July 30, 2006. iPod software

  • Switching off the workflows...

    During actual production cutover, we need a means of switching off team center and other workflow updates that send information out of SAP during conversion runs and switch them back on again after conversion. We need something that we can use (like

  • Authentication failed binding to mac server 2.2.1

    I have setup a new Mac Mini Server running Mountain Lion 10.8.2 and OS X Server 2.2.1.  I am trying to join my Macbook Pro to Open Directory however it continues to fail.  It does prompt with the SSL warning which I select continue on, however when I

  • ARTISTS SECTION OF IPOD

    When I go to 'Artists' in the section that has Playlists, Artists, Albums, Songs etc. instead of having all my different artists listed alphabetically I have all the songs from my ipod listed alphabetically like in the 'Songs' section. I hope that ma

  • A serial number I received as part of my school program does not work.

    what do I need to do?