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).

Tags: Database

Similar Questions

  • EXECUTE privilege is not granted on the following SYS packages: UTL_FILE

    Hi brothers and sisters.

    Hope that you are well. I installed Oracle Developer Suite 10 g on Windows 7 successfully and that it works correctly.

    I created a new user with the following script:

    Grant
    resource,
    connect,
    create session,
    create the table,
    create view.
    create sequences,
    create a synonym,
    create database link,
    create the role
    Create the procedure
    to orcdesign;

    And then he GRANTS the following privileges:

    Grant execute on dbms_lock to orcdesign;
    Grant execute on dbms_pipe to orcdesign;
    Grant execute on dbms_rls to orcdesign;
    Grant select on dba_rollback_segs to orcdesign;
    Grant select on dba_segments to orcdesign;
    Grant select on parameter v_$ orcdesign;
    Grant select on sys.v_$ nls_parameters to orcdesign with the option grant.

    When I connect to the repository Administration utility, click on install and then start button in order to install an instance of repository, an error pops up with the message: ' EXECUTE privilege is not granted on the following SYS packages: UTL_FILE'.

    Please help me what should I do to be able to successfully run Oracle Designer?

    Noor

    Noor ul Huda wrote:
    When I connect to the repository Administration utility, click on install and then start button in order to install an instance of repository, an error pops up with the message: ' EXECUTE privilege is not granted on the following SYS packages: UTL_FILE'.

    Hi, Noor
    As salamu Asalam

    Try this SQL

    GRANT EXECUTE ON SYS.UTL_FILE TO orcdesign WITH GRANT OPTION;
    

    I hope this works...

    If anyone has the answer is useful or appropriate mark it.

  • How to configure firefox to run as a single instance, so that all external links open within my existing window rather than opening another window?

    How to configure firefox to run as a single instance, so that all external links open within my existing window rather than opening another window?

    Sorry, there is no setting for what is built into Firefox.

    https://addons.Mozilla.org/en-us/Firefox/addon/tab-utilities/

    In the utilities tab > Options > links there is a preference to enable single window mode.

  • When I run Adobe Cloud Packager I get the message: Foutcode: A12E1

    When I run Adobe Cloud Packager I get the message: Foutcode: A12E1

    I tried all the possible solutions of Adobe, but they do not work.

    I get the message when the program downloaded Creative Cloud Packager try to settle.

    Network problems can prevent the verification of installers downloaded during the installation process.

    1. When this error occurs, leave it on the screen (by clicking on the cancel button will remove the downloaded files).
    2. Navigate to C:\Users\[User name] \App Data\Local and find a folder of application that is installed. For example, if you try to install the creative cloud Packer, look for a folder named "Creative cloud packer."
    3. Copy this folder and paste it in another location or at the same place with a name change.
    4. You can now click on the Cancel button, this will remove the original download.
    5. Open the copy of the folder you just created and run the Setup.exe file to install the application.
  • Unable to connect sys/password@instance as sysdba

    Hello

    I had updated my datbase to 9i and 10g, but I am not able to connect as

    sys/Password@instance as sysdba from my local computer to the remote database

    I recreated password file, but I'm not able to solve the problem

    any suggestions

    Hello

    Just take a look and follow the instructions on this Metalink Note:

    -Troubleshooting insufficient privilege ORA-1031 - Doc ID: Note: 730067.1

    See you soon,.

    Francisco Munoz Alvarez
    http://www.oraclenz.com

  • 4EA2 'RUN' is grayed out in the contextual menu for the SYS package

    I am running in a database of Oracle 11 g Enterprise Edition Release 11.2.0.3.0 - Production of 64-bit environment.

    I use the version of SQL Developer release Early Adopter 2 4.

    SQL Developer 3.2, while it is connected to a specfic scheme, it was possible in the Connections window, expand the menu item from other users, so the SYS menu item, then the PACKAGES menu item and select a package, and using the context menu 'run '. ' Run PL/SQL ' window would appear, and I could enter the appropriate settings and run a procedure in this package. I think in particular of the DBMS_ERRLOG package.

    In 4EA2, following the same path, the command "Run", well visible, is grayed out. The combination of keys "Ctrl + F10" alternative works. Please restore the "Run" command in the active state (not greyed out) in the context menu.

    Hi wine,

    Perhaps the scenario you describe is the same as a bug fixed for EA3:

    Bug 17601294 - LOW PRIV USER CANNOT RUN the PACKAGE IN the SCHEMA STRANGER WITH EXECUTE PRIV

    A small detail of the test case it (nothing mentioned about Ctrl-F10, however):

    1. create user ONLY CONNECT, RESOURCES, SELECT_CATALOG_ROLE.
    2 Grant EXECUTE on a package in another schema.
    3. navigate to the package in the tree view.
    4 run/run button is disabled.

    5. but this scenario works as expected in v3.2

    This close is enough?

    Kind regards

    Gary

    SQL development team

  • creating an applet in one package instances

    Hello
    I tried to install 3 instances of my applet in one package, but I could not install more than 2! As the card has sufficient storage space to create another instance, I thought that there could be a limit on the size of the package context.

    Everyone knows about such a limit in the size of cards java framework?
    Moreover, my card is Gemalto.

    -Thanks a lot

    Published by: Bluefairy on August 21, 2011 10:28

    You're probably running out of RAM. Be aware that applets enter RAM when instantiating (transient tables/keys) not in use by other cmdlets. With the JCOP tools, you can use the memory view to know how you make wise memory during execution.

  • 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

  • PLS-00201 when you run the dbms_compression package

    Hello

    I am collecting estimates compression rates in a 10 g database before upgrading us to 11 g. I downloaded the package compression of DBMS of OTN: http://www.oracle.com/technetwork/database/options/compression/compression-advisor-095705.html

    And this installed in my db 10g:
    SQL > @dbmscomp.sql

    Package created.


    The synonym is created.


    Grant succeeded.

    No errors.
    SQL > @prvtcomp.plb

    Package body created.


    The synonym is created.


    Grant succeeded.

    No errors.

    When I try to run run this package as described in the README file, I get the following error:

    SQL > exec dbms_compression.getratio ('SAPAPO', ' / SAPAPO/MATLOC ', 'OLTP', 10);
    BEGIN dbms_compression.getratio ('SAPAPO', ' / SAPAPO/MATLOC ', 'OLTP', 10); END;

    *
    ERROR on line 1:
    ORA-06550: line 1, column 7:
    PLS-00201: identifier ' DBMS_COMPRESSION. GETRATIO' must be declared
    ORA-06550: line 1, column 7:
    PL/SQL: Statement ignored

    Please let me know if anyone has come across this error before.

    Thank you

    The package is called dbms_comp_advisor, not dbms_compression.

  • SYS packages are not valid in oracle 10g (10.2.0.4)

    I use Oracle 10 g (10.2.0.4) in AIX 6.1 server. According to OEM advice I remove the privilege of "utl_file.
    the PUBLIC user. At the moment I get the "SYS" schema invalid packets. I once again give the
    grant permission to the 'UTL_FILE' to the PUBLIC user but the SYS schema packets are remain invalid.

    I compile packages several times but the problem not solved. If a single package make it valid
    then, another package passes not VALID when compiling. Now, how can I activate the
    Package of the SYS user. The problem is only with packages and views now...

    Could someone please help me now...

    shipon_97 wrote:
    I use Oracle 10 g (10.2.0.4) in AIX 6.1 server. According to OEM advice I remove the privilege of "utl_file.
    the PUBLIC user. At the moment I get the "SYS" schema invalid packets. I once again give the
    grant permission to the 'UTL_FILE' to the PUBLIC user but the SYS schema packets are remain invalid.

    I compile packages several times but the problem not solved. If a single package make it valid
    then, another package passes not VALID when compiling. Now, how can I activate the
    Package of the SYS user. The problem is related only with packages & views now...

    Could someone please help me now...

    Try to compile all the objects with 'UTLRP.sql' on the server, then check the invalid objects.

    conn / as sysdba
    @?/rdbms/admin/utlrp.sql 
    

    Concerning
    Z.K.
    http://oracleendeavor.blogspot.com/

  • I have 2 separate servers, 2 databases running with 2 packages of the apex. Can I merge them all on a single server/database?

    Hello.

    Currently I have two servers each with an oracle database, each of them is running apex and offers a package that people use to interact with data through Web pages.

    I want to merge these two servers into one to save on costs, which means that 1 Server 1 database... with 2 packets of the apex. Is this possible? I guess I would need to export/import the whole package and to migrate database schema, but I will say a default package a schema and a single default package to another scheme? I don't understand workspaces so maybe that's where the question is rooted.

    Hi Daniel Jakes.

    Daniel Jakes wrote:

    Currently I have two servers each with an oracle database, each of them is running apex and offers a package that people use to interact with data through Web pages.

    I want to merge these two servers into one to save on costs, which means that 1 Server 1 database... with 2 packets of the apex. Is this possible? I guess I would need to export/import the whole package and to migrate database schema, but I will say a default package a schema and a single default package to another scheme? I don't understand workspaces so maybe that's where the question is rooted.

    APEX applications are similar/different?

    You can do the following:

    • Import the schema (data) of base2 in database1.
    • You can associate multiple schemas to a workspace. For example, you can associate the schema imported into your workspace (in database1).

    Reference: https://docs.oracle.com/cd/E59726_01/doc.50/e39151/adm_mg_wrkspc.htm#BABCEBIE

    • Then, you can export the APEX of base2 workspace application and import this request to the workspace from base1.
    • Access the newly imported application. Change the attributes of the Application -> Security-> database Session and define the Schema of the analysis to the newly imported schema.

    Kind regards

    Kiran

  • Grant does not process and package APEX

    Hello

    I have the following problem with this procedure Apex

    ----------------------------------------------------------------------------

    BEGIN

    ebs_getsession(:P101_USERNAME);

    : P101_PASSWORD: =.

    XXAPX_SECURITY_PKG.generate_hash

    (FND_GLOBAL.user_name);

    IF: P101_PASSWORD IS NOT NULL THEN

    (APEX_CUSTOM_AUTH). Login

    P_UNAME = >: P101_USERNAME,.

    P_PASSWORD = >: P101_PASSWORD,.

    P_SESSION_ID = > v ('APP_SESSION').

    P_APP_PAGE = >: APP_ID | » : 1'

    );

    END IF;

    EXCEPTION: WHEN OTHER THEN NULL;

    END;

    ------------------------------------------------------------------------------

    ERROR:

    • ORA-06550: line 3, column 1: PLS-00201: identifier 'EBS_GETSESSION' must be declared ORA-06550: line 3, column 1: PL/SQL: statement ignored ORA-06550: line 5, column 1: PLS-00201: identifier ' XXAPX_SECURITY_PKG. GENERATE_HASH' must be declared ORA-06550: line 4, column 1: PL/SQL: statement ignored

    I give the EBS_GETSESSION (wfa_sec.getsession) grant the user APEX_EBS. Also I don't see this in the APEX by procedures. The same problem for the XXAPX_SECURITY_PKG.generate_hash package.

    I use the following statement: GRANT EXECUTE ON XXAPX_SECURITY_PKG to APEX_EBS;


    Anyone know what I'm missing? The grant is incorrect?

    Concerning

    ELCO

    This bug should be removed:

    WHEN OTHERS THEN NULL;
    

    You should make it a habit to fully qualify your objects. (IE add schema name)

    I'm sure that the due process of 'ebs_getsession' is not defined in APEX_SCHEMA.

    The extent of the XXAPX_SECURITY_PKG. GENERATE_HASH(), make sure what you call it correctly.

    It seems that APEX_SCHEMA see the XXAPX_SECUIRTY_PKG package, but he does not see a match for GENERATE_HASH() function.

    (IE check the component required parameters)

    MK

  • Need help for a function running in a package

    Hello
    I'm trying to run a function called 'IsGuest', which is stored in a package called "PK_USER_ROLE". This procedure returns a Boolean value as a result. Here is the PHP code in the web page that I use:

    echo "< br / > Test to run a stored procedure."
    $s = oci_parse ($conn, ' start: ret: = PK_USER_ROLE. ") IsGuest(:userid); end; ") or die ('can not analyze the query");
    $myid = "hoopoe";
    oci_bind_by_name ($s, ': ret', $r, 40);
    oci_bind_by_name ($s, ': username ', $myid);
    oci_execute ($s);
    echo "< br / > result =". " $r;
    echo "< br / > completed < br / > < br / > ';
    oci_free_statement ($s);
    oci_close ($conn);

    In Oracle, here is the definition of the package:

    create or replace
    PACKAGE PK_USER_ROLE IS

    function IsGuest (i_unique_id in varchar2) return Boolean;

    END;



    All I get when I discovered the PHP file in the browser is:

    Test to run a stored procedure
    result =
    Completed


    PHP 5.3.8
    Oracle 11g
    Oci8 extension

    Any help would be appreciated

    I find it helpful to turn on the errors and warnings in the php.ini file for
    development.

        display_errors  = On
        error_reporting = E_ALL | E_STRICT
    

    or use ini_set() equivalents in your script. For the production.
    make sure that the errors are registered but not visible to users.

    Your script then gives:

        $ php54 t.php
        Test to execute a stored procedurePHP Warning:  oci_execute(): ORA-06550: line 1, column 15:
        PLS-00382: expression is of wrong type
        ORA-06550: line 1, column 7:
        PL/SQL: Statement ignored in /tmp/t.php on line 10
    
        Warning: oci_execute(): ORA-06550: line 1, column 15:
        PLS-00382: expression is of wrong type
        ORA-06550: line 1, column 7:
        PL/SQL: Statement ignored in /tmp/t.php on line 10
    

    See the comment below the table of
    http://docs.Oracle.com/CD/E11882_01/AppDev.112/e10646/oci03typ.htm#CEGIEEJI

    + "The following two types are internal to PL/SQL and can not be returned in the form of the beak: +"
    + Boolean, SQLT_BOL +.
    + Record, SQLT_REC ' + '.

    Since PHP OCI8 is written in the BEAK, this limitation is inherited.

    Try something like:

      $s = oci_parse($conn, "begin if (IsGuest(:userid) = true) then :ret := 1; else :ret := 0; end if; end;") or die ('Can not parse query');
    
  • Grant permission to another schema package

    Dear friends,

    I want to give access to another user access to a package in my diagram.

    How do I do?

    I've seen on this page, but how do refer to the different schema package is?

    http://www.techonthenet.com/Oracle/grant_revoke.php

    Please guide me.

    Thank you.

    Nith

    user645399 wrote:
    Dear friends,

    I want to give access to another user access to a package in my diagram.

    How do I do?

    I've seen on this page, but how do refer to the different schema package is?

    http://www.techonthenet.com/Oracle/grant_revoke.php

    Please guide me.

    Thank you.

    Nith

    Dear nith
    Here's the command:

    grant execute on your_schema.your_package to the_second_user;
    

    Kamran Agayev a.
    Oracle ACE
    - - - - - - - - - - - - - - - - - - - - -
    My video tutorials of Oracle - http://kamranagayev.wordpress.com/oracle-video-tutorials/

  • How to write a procedure to call and run the custom package backend

    Hi all

    Oracle 10g
    Oracle Apps R12

    I work with here oracle order management, we have a package called (Pick Release) to customize. Due to a problem, we have this concurrent program execution manually giving Route_id as parameter. The route_id comes from the road to the Table. By using this query

    Select distinct route@DB_LINK_APPS_TO_ROADSHOW route_id
    When trunc (route_date) = trunc (sysdate + 2).

    on a daily basis, we have almost 42 routes and we run this simultaneous program manually close times.

    so now how to write a procedure for this

    Step 1 make the route to the routing table. (By cursor we can get the route_id accordingly)

    Step 2 How to trigger custom backend package and run accordingly to this output of the cursor (route_id)

    If 40 routes of cursor get is - that the simultaneous program runs 40 times according to this route_id.


    can some could provide the steps to do this


    Thanks and greetings

    Srikkanth.M

    To submit a competing request from the back - end:

    FND_REQUEST. SUBMIT_REQUEST (Client or server)

    Summary

    function FND_REQUEST. SUBMIT_REQUEST

    (application IN varchar2 default NULL,

    program IN varchar2 NULL by default,

    Description IN varchar2 default NULL,

    start_time IN varchar2 default NULL,

    sub_request IN default boolean FALSE

    Argument1,

    argument2,..., argument99.

    Return to argument100 number);

    Description

    Submits a competing treatment by a simultaneous Manager. If the query is successful, this function returns the ID of the concurrent request; Otherwise, it returns 0.

    ATTENTION: FND_REQUEST needs to know information about the user and accountability whose application is submitted. Therefore, this feature works of concurrent programs or forms within the Oracle Applications.

    The FND_REQUEST. SUBMIT_REQUEST function returns the ID of the concurrent application after successfully. It is up to the caller to issue a commit to complete the application.

    Your code should retrieve and handle the error message generated if there is a problem of presentation (the ID of the concurrent request returned is 0). Use FND_MESSAGE. RETRIEVE and FND_MESSAGE. ERROR to retrieve and display the error (if the application is made on the client side).

    Related essays: overview of the Message dictionary (see page)

    You must call FND_REQUEST. SET_MODE before calling FND_REQUEST. SUBMIT_REQUEST of a database trigger.

    If FND_REQUEST. SUBMIT_REQUEST fails to go anywhere but a database trigger, database changes are cancelled until the time of the function call.

    After a call to the FND_REQUEST. SUBMIT_REQUEST function, installation of all parameters are reset to their default values.

    Arguments (input)

    short name of the application associated with the concurrent request for enforcement.
    short simultaneous program (not the executable) name of the program for which the application must be made.
    Description Description of the application that appears in the form of concurrent requests (optional).
    start_time time during which demand is expected to start running in the (optional) HH24 or HH24:MI:SS format.
    sub_request set to TRUE if the request is made by another application and should be treated as a subquery.
    From version 11, this parameter can be used if you submit requests for in a concurrent program of PL/SQL stored procedure.
    argument1... 100 arguments for the concurrent request; up to 100 arguments are allowed. If the Oracle Forms submitted, you must specify all arguments of 100.

Maybe you are looking for