Grants AD running

Hi all

I'm new to apps dba. Any help in detail is appreciated.

To read me the file of patch 9239089 , instructions for execution adgrants.sql is given. I have some doubts about this.

The actual instructions are

Instructions for the execution of AD subsidies
Run the script adgrants.sql as a user that can connect as SYSDBA to grant privileges to the objects selected for SYS and create objects in PL/SQL profiler.

Use:

1. create $ORACLE_HOME/appsutil/admin on the database server.

2. copy of the patch directory (UNIX) adgrants.sql for
$ORACLE_HOME/appsutil/admin.
Or copy of this patch directory (Windows) adgrants_nt.sql for
% ORACLE_HOME%\appsutil\admin.

3. set the environment to point to ORACLE_HOME on the database server.

4. use SQL * more to run the script:

UNIX:
$ sqlplus/nolog
SQL > @$ORACLE_HOME/appsutil/admin/adgrants.sql < name of the APPS schema >

Windows:
C:\ > sqlplus/nolog
SQL > @%ORACLE_HOME%\appsutil\admin\adgrants_nt.sql < name of the APPS schema >

============================

Step - 1 is clear: I should create an admin folder in this path in dbTier

Step-2 is also ok

Step-3: what is this environment variable definition pointing to ORACLE_HOME in database server? I already have the environment variable ORACLE_HOME to dbTier and I created the admin folder in the path specified in step 1.

Step-4: I need to run this script on dbTier.

Please tell me the step 3.

Kind regards
Charan.

Acquisition of knowledge is the ultimate, he shares is unique.

Hi Haran;

1. you must connect as user oramgr, in your case, the user gdevdb

It is:

1 su - gdevdb
2. echo $ORACLE_HOME
3. echo $ORACLE_SID

They should bring your home and sid database

4. do not pass user applications (su - gdevapps) continue to work with gdevdb

5 sqlplus as sysdba

SQL > @$ORACLE_HOME/appsutil/admin/adgrants.sql

or you can run

SQL > @YOUR ORACLE APPS HOME//appsutil/admin/adgrants.sql

Concerning
HELIOS

Tags: Oracle Applications

Similar Questions

  • Granting of running on sys packages - instance VM 12 c

    Hello everyone, it's been a few years.

    I have an instance of 12 c in VirtualBox, through the days of June 2015 developer VM.

    Developer Day - database application development practice

    It's pretty sweet. I created a user/schema, made a few basic grants. Now, I would like to grant execute on utl_call_stack, but I only have a login SYSTEM. Anyone know where I can find the SYS password? Allegedly "all passwords are oracle", but no luck with sys/oracle.

    Otherwise, anyone know which forum I actually should have posted this question to?

    Thank you and Hello again,

    Scott

    SQL > connect sys as sysdba and then type oracle. After the exact error (if any).

  • Grant to run right to a class java and java resources to another user

    Hello

    I have users in my database scott and sam.
    User scott I class following java and java resources.

    Class Java - com/acesw/util/CryptoHash

    Java resource - META-INF/MANIFEST. MF


    How to give to the user sam.


    Thank you.

    AMM - K says:
    Hello

    I have users in my database scott and sam.
    User scott I class following java and java resources.

    Class Java - com/acesw/util/CryptoHash

    Log in as scott and
    Grant execute on "com/acesw/util/CryptoHash" to sam;

    >

    Java resource - META-INF/MANIFEST. MF

    How to give to the user sam.

    Grant execute on "META-INF/MANIFEST. MF"to sam;

  • 31 Firefox should run Greasemonkey scripts on POST pages

    The update of Firefox 31 broke Greasemonkey 2.1 features. Greasemonkey scripts don't work anymore on the pages that are displayed in the form of a response to a MESSAGE event. Works fine, once again, when I go back to 30 of Firefox.

    Steps to follow:
    -Install https://addons.mozilla.org/en-US/firefox/addon/greasemonkey/
    -Install https://www.eclipse.org/jdt/ui/scripts/jdtbugzilla.user.js
    -Go to https://bugs.eclipse.org/bugs/query.cgi?format=advanced

       => page is correctly tweaked (e.g. "eclipse bugs" header image removed)
    

    -Select some filters (e.g. Target Milestone M1 4.5), and then click Search

       => result list is not tweaked (e.g. bug summaries are underlined)
    

    The first action of the script is the following, which is not executed on the MESSAGE page:
    Console.log ("Running jdtbugzilla.user.js we" + window.location);

    Classified https://github.com/greasemonkey/greasemonkey/issues/1977 for this, but the bug might as well be in Firefox. Maybe same question as https://support.mozilla.org/en-US/questions/1012688

    With the news of https://github.com/greasemonkey/greasemonkey/issues/1970 , I could write this script to workaround for 31 FF:
    https://www.Eclipse.org/JDT/UI/scripts/jdtbugzilla-start.user.js

    This model could help others to create workaround for their broken pages:

    // ==UserScript==
    // @name        Remove history.replaceState from buglist.cgi
    // @description Removes history.replaceState from buglist.cgi to work around https://github.com/greasemonkey/greasemonkey/issues/1970
    // @include     https://your/page*
    
    // @version 1
    // @grant       none
    // @run-at document-start
    // ==/UserScript==
    history.replaceState = function(data, title, url) {
    	console.log("caught history.replaceState(" + data + ", " + title + ", " + url + ")");
    };
    
  • grant privilege

    ORACLE 11g r2.

    Under the admin user, created a package pkg_test with function f_test() in it. Tested OK. Grant then run pkg_test to new_user. Successful CONCESSION.

    Now the connection as new_user, tried to run the pkg_test.f_test.

    ERROR: pkg_test.f_test must be declared.

    What could be wrong?



    Thank you

    scottjhn wrote:
    ORACLE 11g r2.

    Under the admin user, created a package pkg_test with function f_test() in it. Tested OK. Grant then run pkg_test to new_user. Successful CONCESSION.

    Now the connection as new_user, tried to run the pkg_test.f_test.

    ERROR: pkg_test.f_test must be declared.

    What could be wrong?

    Thank you

    must include schema/owner of the package because new_user didn't pkg_test himself.

    Handle: scottjhn
    Status level: Beginner
    Join date: April 22, 2003
    Total messages: 646
    Total Questions: 95 (46 pending)

    Why so MANY unanswered questions?

  • Taking "ages" to grant the right to select on the table

    Hello

    I'm the granting of permissions for a user to select tables about 50:
    GRANT SELECT ON SCHEMA1.TABLE1 TO DANSCOTT;
    GRANT SELECT ON SCHEMA1.TABLE2 TO DANSCOTT;
    GRANT SELECT ON SCHEMA1.TABLE2 TO DANSCOTT;
    The first 25 or so to fill quickly and successfully. The script seems to have got stuck on one of the grants (been running for more than 10 minutes so far). I don't think that there is nothing special about the particular table and I do not see why licensing should take very long.

    Can someone tell me how to understand why it takes so long and what I need to do to fix it?

    Thank you

    Dan Scott

    I used to run below script to determine who owns the library cache PIN. This is not my script I got from the internet, but it is useful...

    Select
    separate
    sid, serial ses.ksuseser SES.ksusenum #, ses.ksuudlna user name, the KSUSEMNM module.
    OB.kglnaown obj_owner, ob.kglnaobj obj_name
    lk.kgllkcnt lck_cnt, lk.kgllkmod lock_mode, lk.kgllkreq lock_req
    w.state, w.event, w.wait_Time, w.seconds_in_Wait
    Of
    x$ kgllk lk, x$ kglob ob, x$ ksuse SSE
    , v$ session_wait w
    where lk.kgllkhdl in
    (select kgllkhdl from x$ kgllk where kgllkreq > 0)
    and ob.kglhdadr = lk.kgllkhdl
    and lk.kgllkuse = ses.addr
    and w.sid = ses.indx
    seconds_in_wait desc order
    /

  • Different security settings of the person running it can cause a procedure

    I saw several times who advocate people updates to the database are made through procedures of database, and I want to do. However, I understand that the procedure "inherits" the security permissions of the user running it? If so, how is it possible to "expose" a procedure call to a user that allows them to make changes/insertions/deletions etc. and yet at the same time, only allow the user to perform then selects on the base table?

    I just want to make sure the database is protected from changes that do not pass through the "proper channels"...

    Thanks in advance.

    Carl.

    Stored procedures can be ' DEFINER rights"or" Summoner"stored procedures with the default being the author's rights.

    So by default, if user A has a stored procedure and grants access running on this stored procedure to user B, the procedure runs with privileges to A user. Specifically, the procedure runs with the privileges granted explicitly to the user, not the privileges granted to the user through a role.

    Justin

  • Why I can't grant execute on a directory?

    Why I can't grant run in a directory?

    I realized the following:

    Connect as SYS

    Prove that the oracle directory exists SELECT * from all_directories WHERE the directory_name = "nom_repertoire";

    GRANT EXECUTE ON nom_repertoire TO role-name DIRECTORY.

    The following documentation to the following address says I can grant to run:

    http://www.morganslibrary.org/reference/directories.html

    And yet when I realized the administrator to do and when I query the database to see if he did, it shows me that he has done:
    GRANTOR                        GRANTEE                        TABLE_SCHEMA                   TABLE_NAME                     PRIVILEGE                                GRANTABLE HIERARCHY 
    ------------------------------ ------------------------------ ------------------------------ ------------------------------ ---------------------------------------- --------- --------- 
    SYSTEM                         role_name                    SYS                            dir_name                     EXECUTE                                  NO        NO        
    SYSTEM                         role_name                    SYS                            dir_name                     READ                                     NO        NO        
    SYSTEM                         role_name                    SYS                            dir_name                     WRITE                                    NO        NO        
    
    3 rows selected
    When I try in my environment of xe, it throws the error:
    Error starting at line 1 in command:
    GRANT EXECUTE ON DIRECTORY dir_name TO role_name
    Error report:
    SQL Error: ORA-22928: invalid privilege on directories
    22928. 00000 -  "invalid privilege on directories"
    *Cause:    An attempt was made to grant or revoke an invalid privilege on a
               directory.
    *Action:   Only CREATE, DELETE, READ and WRITE privileges can be granted or
               revoked on directories. Do not grant or revoke other privileges.
    What is going on?

    Benton

    Benton says:
    Why I can't grant run in a directory?

    Because you cannot, according to the 10 g documentation...

    http://download.Oracle.com/docs/CD/B19306_01/server.102/b14200/statements_9013.htm#BGEJEBCJ

    However, in 11g, it can be done...

    http://download.Oracle.com/docs/CD/E11882_01/server.112/e17118/statements_9013.htm#BGBCIIEG

  • Add pagination to the top of the screen messages page - new and improved

    I have a phase beta Javascript that puts a third set of pagination and icons located at the top right of the screen CSA post web page information.

    Here is the web page with my improvement Linc Davis is not nearly enough recognition :

    If it was not easy for me to code, it must not be easy for you to install.

    Installation:

    (1) install GreaseMonkey in Firefox. GreaseMonkey does not work in other browsers like Chrome, but I have not tried.

    How to install improved pagination

    (2) add the javascript code of

    http://pastebin.com/raw/9MBCkakf

    R

    PS. Hiroto has a solution too: Hiroto, javascript fix for CSA.

    Hello

    Here's my javascript which now includes the cloning of pagination in header. The pagination_in_header() of service as well as the relevant rules of style injected by CSSStyleSheet.insertRule () does the job. You can adjust the positioning of the cloned by CSSRule element defined in javascript.

    FC.

    Document Object Model (DOM) level 2 Style specification

    https://www.w3.org/TR/DOM-level-2-style/

    // ==UserScript==
    // @name            ASC thread content view (d2)
    // @namespace       bubo-bubo/gmscripts
    // @description     ASC - disable jquery animation, initially show all replies, hide rollup solved answer in page 2 or later, clone pagination navigator in header.
    // @grant           unsafeWindow
    // @run-at          document-end
    // @include         https://discussions.apple.com/*
    // @include         https://discussionsjapan.apple.com/*
    // @include         https://discussionskorea.apple.com/*
    // @include         https://discussionschinese.apple.com/*
    // @include         https://communities.apple.com/*
    // @version         0.2.1
    // ==/UserScript==
    
    var _debug = 0;
    var $ = unsafeWindow.jQuery;
    var watchdog1, watchdog2, watchdog3;
    var watch_interval          = 300; // [ms]
    var re_thread               = new RegExp('^https://[^/]+/thread/');
    var re_thread_or_message    = new RegExp('^https://[^/]+/(thread|message)/');
    
    // disable jquery animation (globally)
    $.fx.off = true;
    
    // supplementary styles for pagination nagivator cloned in header (.thread-container-wrapper)
    // pagination navigator
    document.styleSheets[0].insertRule(
    '.thread-container-wrapper .j-pagination.top {\
        position: absolute !important;\
        top: -10px !important;\
        right: 0px !important;\
    }', 0);
    // loading gear icon
    document.styleSheets[0].insertRule(
    '.thread-container-wrapper .j-loading-big {\
        position: absolute;\
        top: -6px;\
        left: 0;\
        margin-left: -60px;\
        z-index: -1;\
    }', 0);
    
    // modify thread content view behaviour (in post-load phase)
    window.onload = function() {
        // register event listeners
        window.addEventListener('unload', function(e) {
            if (_debug) console.log('unload is observed');
            stop_watchdog(watchdog1);
            stop_watchdog(watchdog2);
            stop_watchdog(watchdog3);
            window.removeEventListener('_locationchange', _locationchange_handler, true);
            window.removeEventListener(e.type, arguments.callee, true);
        }, true);
    
        window.addEventListener('_locationchange', _locationchange_handler, true);
        function _locationchange_handler(e) {
            if (_debug) console.log('_locationchange is observed');
            var href = window.location.href;
            if ( href.match(re_thread) ) {
                setTimeout(show_all_replies, 100);
            }
            if ( href.match(re_thread_or_message) ) {
                setTimeout(hide_solved_p2, 100);
                setTimeout(pagination_in_header, 100);
            }
        }
    
        // _locationchange watch dog
        var prev_href = '';
        watchdog1 = setInterval( function() {
            // watch for location to change
            var curr_href = window.location.href;
            if (curr_href != prev_href) {
                if (_debug) console.log('_locationchange is issued');
                window.dispatchEvent(new Event('_locationchange'));
                prev_href = curr_href;
            }
        }, watch_interval);
    };
    
    function show_all_replies() {
        window.addEventListener('_helpfuldisplay', function(e) {
            if (_debug) console.log('_helpfuldisplay is observed');
            $('.helpful-all-switch li.helpful').addClass('inactive').removeClass('active').hide();
            $('.helpful-all-switch li.all-replies').addClass('active').removeClass('inactive').show();
            $('#helpful-container').hide();
            $('.all-replies-container').show();
            window.removeEventListener(e.type, arguments.callee, true);
        }, true);
    
        watchdog2 = setInterval( function() {
            // watch for helpful container to appear
            if (_debug) console.log('watchdog (for helpful container) is active : ' + watchdog2);
            if ($('#helpful-container').css('display') != 'none') {
                if (_debug) console.log('_helpfuldisplay is issued');
                window.dispatchEvent(new Event('_helpfuldisplay'));
                stop_watchdog(watchdog2);
            }
        }, watch_interval);
        setTimeout(stop_watchdog, 3000, watchdog2);
    }
    
    function hide_solved_p2() {
        var u = window.location.href;
        var re = /[?&]start=([0-9]+)/;
        var m = re.exec(u);
        var p = m ? m[1] : 0;
        if (_debug) console.log('current start post numebr = ' + p);
        var div = $('.j-answer-rollup.recommended-answers.span-full-width');
        if (!div) { return; }
        p > 0 ? div.hide() : div.show();
    }
    
    function pagination_in_header() {
        window.addEventListener('_pagereday', function(e) {
            if (_debug) console.log('_pagereday is observed');
            var pg = $('.all-replies-container .j-pagination.top');
            if (pg) {
                $('.thread-container-wrapper .j-pagination.top').remove();
                pg.clone(true).appendTo($('.thread-container-wrapper'));
            }
            window.removeEventListener(e.type, arguments.callee, true);
        }, true);
    
        watchdog3 = setInterval( function() {
            // watch for reply container opacity to be 1 (which is .5 while loading)
            if (_debug) console.log('watchdog (for page ready) is active : ' + watchdog3);
            if ($('.all-replies-container').css('opacity') == 1) {
                if (_debug) console.log('_pagereday is issued');
                window.dispatchEvent(new Event('_pagereday'));
                stop_watchdog(watchdog3);
            }
        }, watch_interval);
    //  setTimeout(stop_watchdog, 5000, watchdog3);
    }
    
    function stop_watchdog(dog) {
        clearInterval(dog);
        if (_debug) console.log('watchdog is inactive : ' + dog);
    }
    

    Tested with Greasemonkey 3.9 and Firefox 45.3.0esr OS X 10.6.8.

    All the best,

    Hiroto

  • SURVEY USER

    Hello

    11.2.0.1

    Whe have six 6 PROD databases that match our different applications of six 6.

    I am required to create six 6 INVESTIGATION for each six database user and grant the entire table of app (select only) him.

    This user of INQUIRY will be our "app data analyst" for purposes of verification and validation.


    Y at - it an order of a single line to give all tables to INQUIRYuser? Something like "grant select on all tables from HR to the INVESTIGATION?

    Or should I grant 1 by 1 and recreate synonyms 1 by 1?

    Or I have to create the function to SYS (grant select on tables) and grant to run the survey?



    Thank you

    Petra k.




    Technically, you must issue a SELECT on each table.

    You can write a PLSQL block that iterates through a list of tables (. e.g. USER_TABLES in the scheme of the owner) and emits the granting of the right to SELECT.

    Hemant K Collette

  • Semantic error with ProC for a given package


    Hello

    We now move to Oracle 11 g 2, and I encounter an error during precompilation of our code for ProC.  The error is S-PLS-00201, identifier "XXXXXX" must be declared.

    Let me explain what I'm doing.

    The identifier in question is a package.  The owner of this package is a schema user1 user.  In the same instance of the database, I have another user of schema, user 2.

    Granted User1 RUN to USER2.  And a SYNONYM was created for User2.  So now connect with USER2 with SqlDeveloper, I see the synonym of the given package.

    When precompiling with ProC, I use the SQLCHECK = SEMANTICS USERID=USER2/PWD@INSTANCE.

    Other indicators are: DBMS = V8 CHAR_MAP = VARCHAR2 ireclen = 80 oreclen analysis 80 = NONE select_error = no = NO maxliteral = 1024 maxopencursors = 10 TLigne = NONE release_cursor = YES

    That's when I get the error.  I need to connect with User2, because it is the main schema, and only a package is in another schema.  But if I change the username for ProC User1 and precompile only the part of the code that need USER1, it works (same package here, but in the scheme of the owner).  It seems that there is a problem with the GRANT.

    Does anyone have an idea?

    Thank you.

    Jessy Saint.

    Of course, it's the ovious.  The grant has been removed from someone else, something of another test.  The problem with the large dev teams using the same databases...

    Thanks again.

  • 403 Forbidden error of execution of the procedures of the URL of the browser stored

    I am currently trying to run a simple stored procedure (ea.hello_world, where "ea" is the pattern and "hello_world" is the name of the procedure) a URL from the browser, but am getting a 403 Forbidden - error message "you don't have permission to access /pls/apex/ea.hello_world on this server. I use APEX 3.2 with Oracle 11 g and mod_plsql and gave the steps of apex_public_user. Any thoughts on what I am doing wrong?

    Here is the process I have used so far:

    Create the "Hello_World" procedure in the "EA: schema

    create or replace
    procedure hello_world
    is
    Start
    HTP. Print ("'Hello World!");
    end;

    I then successfully granted to run the apex_public_user procedure:

    Grant execute on ea.hello_world to apex_public_user;

    Then, I tried to call the stored procedure from the browser using the following syntax:

    http:// < Server >: < port > / pls/apex/< schema >. < Procedure & gt;

    I also experimented with the use of a public synonym and the configuration of the wwv_flow_epg_include_mod_local, but I do not think that the function s relevant since I'm using mod_plsql and not the embedded pl/sql gateway.

    Hello

    If you have below the line in dads.conf, then wwv_flow_epg_include_mod_local sets

    PlsqlRequestValidationFunction wwv_flow_epg_include_modules.authorize
    

    Try:
    Create public synonym

    CREATE PUBLIC SYNONYM hello_world FOR ea.hello_world;
    

    Grant privilege to execute procedure to the public

    GRANT execute on hello_world to public;
    

    Then change the APEX_030200.wwv_flow_epg_include_mod_local function

    CREATE OR REPLACE FUNCTION
    APEX_030200.wwv_flow_epg_include_mod_local(
        PROCEDURE_NAME IN VARCHAR2)
    RETURN BOOLEAN
    IS
    BEGIN  
    
        IF UPPER(procedure_name) IN (
              UPPER('hello_world'))
       THEN
            RETURN TRUE;
        ELSE
            RETURN FALSE;
        END IF;
    END;
    /
    

    Then try
    http://:/pls/apex/hello_world

    If you can now run your procedure in URL, you can then low and e.g. grant execute procedure to the user of DAD.

    Kind regards
    Jari

    http://dbswh.webhop.NET/dbswh/f?p=blog:Home:0

    Published by: jarola on December 6, 2011 16:20

    Published by: jarola on December 6, 2011 16:24

    typo in the name of the function

  • OLS Question: ORA-12407

    Hi all

    I met a problem that stuck. Google gives little more than the inscription of the error. If anyone can get an idea, I would really appreciate it.

    Background:
    -Oracle Database 11 g 2
    Official LANGUAGES - installed and put in work
    O/s = Red Hat 5.5

    Package or attempt to execute the procedure: SA_USER_ADMIN. SET_USER_LABELS (in the LBACSYS)

    User oracle: myUser

    Permissions granted: myUser has run on SA_USER_ADMIN and SA_SESSION

    When you try to run SA_USER_ADMIN. SET_USER_LABELS('myPolicyName','userName','labelString'); I get:

    ERROR on line 1:
    ORA-12407: operation not allowed for policy "myPolicyName."
    ORA-06512: at "LBACSYS. LBAC_STANDARD', line 20
    ORA-06512: at "LBACSYS.SA_USER_ADMIN", line 42
    ORA-06512: at "LBACSYS.SA_USER_ADMIN", line 1420
    ORA-06512: at line 1

    Now, I can run this same command if connected as a LBACSYS without problem. This leads me to believe that it is a problem of permisions. However, I have explicitly granted to run on the SA_USER_ADMIN package to myUser, so I'm confused.

    Order out any other package, I temporarily gave performance at all the LBACSYS myUser rights packages. Still, it gave the same error.

    Any ideas?

    If I left any relevant information, my apologies and I would be happy to fill in the gaps. I am really puzzled.

    Sincerely,
    Chris

    PS I apologize for the generic names. I had to replace the real names, go figure, for security reasons. :)

    Hi, which is a security feature of operation LIFELINE - normally, LBACSYS would create at the start of the policy and another user could pick up and complete the life policy, but LBACSYS to grant _DBA another user for this user to handle just this one political; in your model, myuser could manage / change (!) all policies.

    Also, see here:

    http://download.Oracle.com/docs/CD/E11882_01/network.112/e10745/creatpol.htm#i1009588

    HTH, Peter

  • Errors on the migration of 9.2.0.2 to 11.2.0.1.0 procedures

    Hi people!
    I'm 9.2.0.2 migration (32-bit) to 11.2.0.1.0 (32 bit).

    In the old database of myl, I have several procedures that calls another one that uses the <>schema. SEND_MAIL

    When I try to compile the procedure mentioned above, I get the following error.

    103/22 PL/SQL: ignored element
    103/22-PLS-00201: identifier 'UTL_SMTP' must be declared
    113/22 PL/SQL: ignored element
    113/22-PLS-00201: identifier 'UTL_FILE' must be declared
    143/4 PL/SQL: statement ignored
    143/4 PLS-00320: the declaration of the type of this expression is
    incomplete or incorrect

    148/4 PL/SQL: statement ignored
    148/19 PLS-00320: the declaration of the type of this expression is
    incomplete or incorrect

    149/4 PL/SQL: statement ignored

    149/19 PLS-00320: the declaration of the type of this expression is
    incomplete or incorrect

    159/5 PL/SQL: statement ignored
    159/20 PLS-00320: the declaration of the type of this expression is
    incomplete or incorrect

    163/4 PL/SQL: statement ignored
    163/25 PLS-00320: the declaration of the type of this expression is
    incomplete or incorrect

    195/4 PL/SQL: statement ignored
    195/26-PLS-00320: the declaration of the type of this expression is

    incomplete or incorrect

    227/14 PL/SQL: statement ignored
    227/14 PLS-00320: the declaration of the type of this expression is
    incomplete or incorrect

    238/14 PL/SQL: statement ignored
    238/36 PLS-00320: the declaration of the type of this expression is
    incomplete or incorrect

    My question is: is this procedure may become invalid with oracle 9.2 to oracle 11.2?
    Sorry if the question / answer is stupid or just, but I'm at the office of my client, and belive it or not, I don't have access to metalink...

    Thanks in advance.

    As security improved, a number of packages of % UTL_ is not granted to public any longer. You will need to connect as sysdba and grant to run on these packages for the patterns that must be used. They recompile and the errors should go away.

  • CTXSYS. Problem creating index of type CONTEXT.

    Hi all

    I am trying to create an index of context as follows and it works well.

    CREATE INDEXES SMADMIN. ITX_DM_SYSOB_R_KYS ON SMADMIN. DM_SYSOBJECT_R (KEY WORDS)
    INDEXTYPE IS CTXSYS. CONTEXT;

    CREATE INDEX succeeded.

    But when I'm adding it setting paragraph as follows, I get the below error.


    CREATE INDEXES SMADMIN. ITX_DM_SYSOB_R_KYS ON SMADMIN. DM_SYSOBJECT_R (KEY WORDS)
    INDEXTYPE IS CTXSYS. CONTEXT parameters ('sync (each SYSDATE + 5/1440)');

    Error from the 1 in the command line:
    CREATE INDEXES SMADMIN. ITX_DM_SYSOB_R_KYS ON SMADMIN. DM_SYSOBJECT_R (KEY WORDS)
    INDEXTYPE IS CTXSYS. CONTEXT parameters ('sync (each SYSDATE + 5/1440)')
    Error in the command line: 1 column: 23
    Error report:
    SQL error: ORA-29855: error when executing routine ODCIINDEXCREATE
    ORA-20000: Oracle text error:
    DRG-50857: error oracle in drvddl. IndexCreate
    ORA-27486: insufficient privileges
    ORA-06512: AT CTXSYS. DRUE, line 160
    ORA-06512: AT CTXSYS. TEXTINDEXMETHODS, line 365
    29855 00000 - an error has occurred in the execution of routine ODCIINDEXCREATE
    * Cause: Cannot run the ODCIIndexCreate routine.
    * Action: Check if the routine was coded correctly.


    Please advise to solve the problem.

    Thank you
    -Samar-

    Hello

    the use of the synchronization setting, the user must be granted to run a job. Oracle is a job to do the synchronization. Then issue:

    GRANT CREATE JOB TO SMADMIN;

    SYS/system.

    Herald tiomela
    superconsult.nl

Maybe you are looking for

  • PHP script works in Chrome, IE9, but not in Firefox 15

    This page is a PHP script to create links to all files in a directory: http://www.checktheevidence.co.UK/audio/index.php?dir= & sort = Date & Order = DESC It works great in IE9 and Chrome, but Firefox 'give up' way about 3/4 down the list hyperlinks

  • Re: Message from Usb hub root

    Hello I'm doing some research for my friend who has a laptop, model No.Toshiba Satellite A200 system UniModel PSAF0A-02L0K number He recently bought an internet wireless USB When it connect through USB ports, he receives a message from USB root hub a

  • WNDR3400V2 (RN600) router - wireless repeating with Wireless Modem Arris

    I need help. I have an Arris wifi Modem (TG862) - recently installed when moving into a new House and the signature to the top for cable internet. I have a problem with weak wifi signal in the rear rooms - with signal drop. I have the spare WNDR3400V

  • I can't open my sidebar

    Hi, I tried to open my windows sidebar and it is impossible. Apparently, it is still installed on my computer, but in any case it does not open. A clue? Thank you

  • AccountKey ActiveSync/Accountid?

    Hello is it possible to get the accountkey (accountid) of Microsoft Exchange ActiveSync? I get the message "private" accounts, but I would like to send an e-mail via the account of buisness? Thank you.