ORA-20001 when creating my first workspace.

Hi,
I'm sure this must be an easy one to answer.
I am trying to create a new workspace in my new install of Application Express 3.1.2.00.02 (Oracle 11g 11.1.0.6.0).
I get the error:
ORA-20001: Request 1030503661329735 could not be processed. -20001 ORA-20001: Unable to create user. ORA-01031: insufficient privileges
Do I need to grant something to my ADMIN user?
Surely this should have been done as part of the install.
(I did a quick search and couldn't see the same problem anywhere else)
Regards
Michael

Hi Scott,
SQL> select privilege from dba_sys_privs where grantee='FLOWS_030100';
PRIVILEGE
DROP PUBLIC SYNONYM
SELECT ANY TABLE
DROP USER
UNLIMITED TABLESPACE
DROP TABLESPACE
CREATE JOB
ALTER SYSTEM
EXECUTE ANY PROCEDURE
CREATE PUBLIC SYNONYM
ALTER SESSION
10 rows selected.
SQL> Select granted_role from dba_role_privs where grantee='FLOWS_030100';
GRANTED_ROLE
RESOURCE
CONNECT
SQL>
I am sure nothing has been revoked.
Is there a script I have not run?
Regards
Michael

Similar Messages

  • OWB 11g rel2 Client install. Error when creating my first Workspace

    We just installed Oracle 11g rel2 Std edition database on Oracle Linux. No problem connection with Toad. Everything works fine.
    I have just installed OWB 11.2.0.1 client on Windows 7 and Windows 7 in XP mode. Having the same problem on both installations mentioned below.
    No I am about to create my first Workspace in Repository Assistant where I get an error:
    - Step 1, Database information
    - Host xxx
    - Port 1521
    - Oracle Service Name: instance name (the one I use in Toad that works)
    -SQL Net Connection: Checked  Seems that I have to use this when I connect with system user later on in the wizard.
    - Step 2 Manage Warehouse Builder workspaces, checked
    - Step 3 Create a new Warehouse Builder workspace
    - Step 4 Create a workspace with a new user as workspace owner, checked
    - Step 5 DBA Information: user system, Password: xxx
    - Step 6 Enable Optional Features: Non selected
    - Step 7 Workspace Owner(new)
    - Workspace Owners’s User Name: owb_owner
    - Password x 2
    - Workspace Name: workspace_dev
    - Step 8 OWBSYS Information:
    - User Name: OWBSYS (OWBSYS and OWBSYS_AUDIT accounts are unlocked)
    - Password: xxx
    - Then I click next, and the error information are as follow:
    “OWB software with the compatible version must be installed locally on the database server machine. If it is already installed, please acquire the DBA user credentials, an run the SQL script owb/UnifiedRepos/remote_owb_install.sql on the database server machine. This creates a database directory named ‘OWB_REMOTE_ADMIN’ that the remote installation will access to read the database servers OWBHOME/owb/bin/admin directory. Relaunch the Repository Assistant or execute OWB scripting command OMBSEED to seed the repository.
    Since we have installed the Oracle 11g rel 2 database, the OWB are already in that installation. I also tried to run the remote_owb_install.sql and applied the OWBHOME/owb/bin/ when running sql. I still have the same problem.
    Anyone experienced this and have a solution to solve this?

    Hi Scott,
    SQL> select privilege from dba_sys_privs where grantee='FLOWS_030100';
    PRIVILEGE
    DROP PUBLIC SYNONYM
    SELECT ANY TABLE
    DROP USER
    UNLIMITED TABLESPACE
    DROP TABLESPACE
    CREATE JOB
    ALTER SYSTEM
    EXECUTE ANY PROCEDURE
    CREATE PUBLIC SYNONYM
    ALTER SESSION
    10 rows selected.
    SQL> Select granted_role from dba_role_privs where grantee='FLOWS_030100';
    GRANTED_ROLE
    RESOURCE
    CONNECT
    SQL>
    I am sure nothing has been revoked.
    Is there a script I have not run?
    Regards
    Michael

  • Error ORA-20001 when Creating an Application Express Workspcce

    I have a 11.1.0.6.0 Enterprise Edition database running on a Fedora 10 box that was created using dbca. At the time, I did not select Oracle Application Express for installation. However, I can configure APEX and start it with URL http://<host>:8080/apex/apex_admin and log in as ADMIN. Looks like I'm ready to go... Database accounts APEX_PUBLIC_USER, FLOWS_030000 and FLOWS_FILES existed at the time I configured APEX.
    Following the 2 Day + Application Express Developer's Guide, I get error "ORA-20001: Unable to create user. ORA-01935: missing user or role name" when I attempt to create a workspace for the demo application. In an attempt to resolve this, I've run dbca again to install Application Express in the database, and I then get "ORA-04063: package body "FLOWS_030000.WWV_FLOWS" has errors: ORA-06508: PL/SQL: could not find program unit being called: "FLOWS_03000.WWV_FLOW" ORA-06512: at line 2". DBA_OBJECTS reports table WWV_FLOWS owned by this user, but no package body of the same name.
    Can anyone advise what I need to do to resolve the ORA-20001 error when I attempt to create a APEX workspace, or resolve the ORA-04063 error when I attempt to use dbca to install APEX in the database?
    TIA
    Jon

    ..and show me the results, I might know what is wrong.SQL> alter session set current_schema = flows_030100;
    Session altered.
    SQL> select distinct provisioning_company_id from wwv_flow_companies;
    PROVISIONING_COMPANY_ID
    0
    10
    11
    9.4232E+14
    9.5741E+14
    1.7393E+15
    (I imported the file to my workspace http://apex.oracle.com/pls/otn.... it loaded succesfully but couldn't login.)
    I found a site where the file might have been downloaded from:
    [http://www.oracle.com/technology/products/database/application_express/packaged_apps/packaged_apps.html#CUST]

  • Ora-20001 when creating a form on table with report (bug?)

    Having some trouble creating a "Form on table with report".
    1) I pick my table
    2) take most of the defaults on the page where you pick the report type (interactive) and the page number (I changed it to 950). next->
    3) Do not use tabs. Next->
    4) Select all columns for the report. THEN (here's the problem) set an optional where clause of system_role_name like 'ODPSPOPUP%'. Next->
    5) choose standard edit link. next->
    6) Specify a page of 951 for the form (leave others defaults). next->
    7) Set the form primary key (defined in table). next->
    8) use existing trigger. next->
    9) choose all columns for the form. next->
    10) Leave actions to insert, update, delete. next->
    11) Get to the summary page and click Finish
    Then I get an error page saying:
    ORA-20001: Unable to create query and update page. ORA-20001: Unable to create query and update page. ORA-00933: SQL command not properly ended
    If I go back to step 4 and erase my where clause the wizard completes successfully.
    Also if I change the report type in step 2 from the default of "Interactive" to "Classic" the wizard completes successfully. However upon running the report I get a query parse error. Looks like the where clause in the report sql is: system_role_name like ''ODPSPOPUP%'' (two single quotes on each side).
    It looks as if you cannot specify a where clause with a quoted string. The wizard is expecting a bind variable.
    Workaround(s):
    1) Don't specify a where clause when report type = Interactive in "create form on table with report" wizard.
    or
    2) Specify a bogus where clause using bind variable syntax such as "system_role_name like :BOGUSVARIABLE". Then edit the report query once the wizard finishes and change the where clause to the constant string you wanted to use in the wizard (e.g. "system_role_name like 'MYSYSTEM%'")
    Apex: 3.2.0.00.27
    Database: Oracle Database 11g Enterprise Edition 11.1.0.7.0 64bit Production (Oracle EL5)

    Andy,
    It's a bug, all right. Thanks for the detailed problem description. We'll fix it when we can.
    Scott

  • ORA-20001: Security Group ID (your workspace identity) is invalid

    Hi,
    I'm exploring with the concept of creating a user in a predefined workspace, from an APEX application (in development, in a different workspace)
    I get the following when executing the following on submit of a page in a "SAGE" workspace
    (within package compiled in SYS)
    -- id for workspace 'WS' - predefined, empty workspace
    apex_util.set_security_group_id(123001);
    ORA-20001: Security Group ID (your workspace identity) is invalid
    Might this be because I'm attempting this within the context of an APEX session? Am I walking into a dead end?
    Cheers

    Hi Scott,
    I guess you created the package with invoker rights.
    That's the catch or a security protection in other words ;-)
    If you create the procedure with standard definer rights, you can switch between different SGIDs (assuming there are multiple workspaces associated to the same oracle schema), but you get the error you've just experienced when this is attempted from a procedure running with invoker rights.
    Or, at least, this is my current understanding of the "problem" that, funnily enough, I encountered yesterday.
    Flavio
    http://oraclequirks.blogspot.com
    http://www.yocoya.com

  • ORA-20001 When trying to default page element to sysdate

    Hello,
    I have a master detail with last updated in the detail that I want to autopopulate based on sysdate.
    To do that I have Tabular Form Attributes set to sysdate and default type PL/SQL Expression or function.
    The display as is set to "Display as Text(saves state).
    I would like to format the date which I do with Column Attributes and then specify the Number Data Format.
    When I click add row in the detai part of the pagethe date is displayed as desired however then I try and
    apply the changes (save the page) I get ORA-20001: Found invalid date value, please verify date format. (Row 2)
    I have tried formatting the date in the PL/SQL expression with TO_DATE(SYSDATE,'DD-MON-YYYY HH24:MI')
    with the same result.
    If I change the element to Text Field the date is saved correctly however I don't want the user to edit the
    feild.
    Any suggestions? Using APEX 4.1

    I have the same issue.
    1. DEFAULT=SYSDATE when using format mask='DD-MON-YYYY HH24:MI:SS' causes the time portion to appear but ORA-20001 when submitting the row.
    2. Since the base column datatype is DATE, a simple to_char(SYSDATE,'DD-MON-YYYY HH24:MI:SS') obviously causes ORA-01790: expression must have same datatype as corresponding expression.
    3. A to_date(to_char(SYSDATE,'DD-MON-YYYY HH24:MI:SS'),'DD-MON-YYYY HH24:MI:SS') leads to the same error: ORA-20001: Found invalid date value, please verify date format.
    Does anyone know the trick?

  • ORA-02303 when creating database on Exadata using template with BP12

    I get ORA-02303 when creating a RAC database on Exadata. Logs indicate that error happened when applying bundle patch BP12 and probably when running following script: /u01/app/oracle/product/11.2.0.4/dbhome_1/rdbms/admin/catsnap.sql
    CREATE OR REPLACE TYPE SYS.RewriteMessage AS OBJECT(
    Check the following file for errors:
    /u01/app/oracle/product/11.2.0.4/dbhome_1/cfgtoollogs/catbundle/catbundle_EXA_ACSES01_GENERATE_2014Dec17_13_07_45.log
    Apply script: /u01/app/oracle/product/11.2.0.4/dbhome_1/rdbms/admin/catbundle_EXA_ACSES01_APPLY.sql
    Rollback script: /u01/app/oracle/product/11.2.0.4/dbhome_1/rdbms/admin/catbundle_EXA_ACSES01_ROLLBACK.sql
    Executing script file...
    Processing Oracle Database Packages and Types...
    CREATE OR REPLACE TYPE SYS.RewriteMessage AS OBJECT(
    ERROR at line 1:
    ORA-02303: cannot drop or replace a type with type or table dependents
    CREATE OR REPLACE TYPE SYS.ExplainMVMessage AS OBJECT (
    ERROR at line 1:
    ORA-02303: cannot drop or replace a type with type or table dependents
    Anyone experienced the same issue??

    Metalink search points to few bugs. May be opening a SR is a good idea.

  • ORA-20001: error 29th ORA-24344 When creating a workspace

    Hi,
    I just installed APEX 4.0 on 10g (10.2.0.4).
    When I tried to create a new workspace, at the last step (after clicking "Create Workspace" button), it fails with the following error.
    ORA-20001: error 29th ORA-24344: success with compilation error
    Error provisioning test.
    I could not find any errors in PLSQL debug error, and in DBA_ERRORS table.
    Could you help me to fix this problem? I ran utlrp.sql to make sure we don't have invalid objects. And I read the installation log and found no errors. XDB, OWA installed.
    I have another APEX 4.0 instance on 11g R2, and it works fine.
    Thanks
    Jung
    Edited by: jwryoo on Jul 15, 2010 8:37 AM

    thanks.
    Yes, that's I already checked and confirmed that the privilege is granted.
    DBA_ERRORS did not show any errors owned by APEX% users.
    But I did see some errors owned by XDB.
    PL/SQL: Item ignored
    PLS-00201: identifier 'UTL_FILE' must be declared
    PL/SQL: Statement ignored
    PLS-00201: identifier 'DBMS_LOB' must be declared
    It seems the DB has revoked some public access for security reasons.
    So, I am trying to ask DBA to grant the privileges to XDB.

  • ORA-24344 when creating new workspace

    I am using HTMLDB 2.0 and successfully created several workspaces several months ago. I am now trying to create a new workspace and I get "ORA-24344: success with compilation error. Error provisioning <workspace>." I receive the same error whether I am reusing an existing schema or not. I have made sure there are no invalid views or procedures in the flows_020000 schema and have run ...\rdbms\admin\utlrp.sql just in case. When an existing schema is not reused, the new user does not appear to have been created. My database is 10.2.0.1 and I am running on a Windows Server 2003 system. Does anyone have any ideas?
    Thanks,
    Bob

    Just to recap, when you re-use an existing schema, you get the error but the workspace gets created, you can login to the workspace, everything works? But when you specify a new schema you get the error but the workspace is/is not created (?) and the schema is definitely not created?
    Scott

  • ORA-20001 when Updating Reporting Attributes

    I have a simple SQL report in Apex3.0 - I first created it with standard display just to get the feel of it. I went back to the Report region to change the paging and display attributes of the report -> then I click on "Apply Changes" I get the following error :-
    Report attributes updated.
    ORA-20001: Error in DML: p_rowid=1190707439217628, p_alt_rowid=ID, p_rowid2=, p_alt_rowid2=. ORA-20001: Current version of data in database has changed since user initiated update process. current checksum = "9B5D30FA7EB05EADECC08971D3DA0C73" application checksum = "0"
    ORA-20001: Error in DML: p_rowid=1190707439217628, p_alt_rowid=ID, p_rowid2=, p_alt_rowid2=. ORA-20001: Current version of data in database has changed since user initiated update process. current checksum = "9B5D30FA7EB05EADECC08971D3DA0C73" application checksum = "0"
    Return to application.
    I did not change anything to the table nor the data in the table.
    Does anyone know how to resolve ?

    HI Scott
    NO I did not use the BACK button at all.
    I tried this several times :
    I logout - then login again -
    go the page containg the sql report
    -> click on that report region
    -> click on report attribute tab
    -> make minute changes such as "Show Null Values as : <blank>" ,
    then click on apply changes > I get the same error.

  • ORA-02263 when creating Report on Web Service Result

    Hi,
    I'm using Application Express 4.2.1.00.08 and I'm having problems creating a report on web service result.
    This is the tutorial I'm using: http://docs.oracle.com/cd/E14373_01/appdev.32/e13363/web_serv.htm (yes, I realize it's intended primarily for APEX 3.2).
    I am able to create the web service, but when creating a report on web service result, I get the following error in the last step:
    ORA-20001: Unable to create form on table. ORA-02263: need to specify the datatype for this column.
    I have tried creating a report on the same web service result on apex.oracle.com (Application Express 4.2.1.00.08) and I don't get the error, and I am able to create the report.
    The same thing happens with another web service, so I'm puzzled.
    What could be the problem?
    Thank you.

    I wasn't able to solve the original problem, but I was able to recreate the process manually, using APEX_WEB_SERVICE.PARSE_RESPONSE function, documented here:http://docs.oracle.com/cd/E23903_01/doc/doc.41/e21676/apex_web_service.htm#autoId10
    Thanks again for your help!

  • ORA-30014 When creating new database manually

    Greetings!
    OS : Windows XP
    Oracle Version : 10g
    I'm trying to install Peopelsoft Database into a newly created Oracle seed database, I have tested my seed database looging into SYS user.. it works with no issues.
    Im going through the Step by step instructions from the people soft installation document.
    Step #1
    Create Ini.ora for new DB. I named it as HDMO
    DB_NAME = HDMO
    DB_FILES = 1021
    OPEN_CURSORS = 1000
    db_block_size = 8192
    And placed it into database folder. C:\oracle\product\10.2.0\db_1\database
    Step #2
    Created ORACLE_SID Environemnt Variable. ORACLE_SID = HDMO
    Step #3
    Created Windows Service...
    oradim -new -sid HDMO -intpwd manager -startmode auto -pfile C:\oracle\product\10.2.0\db_1\database\inithdmo.ora
    Database service created succefully, and im able to start & stop activites without issues.
    Step #4
    Then manual creation of database as mentioned....
    REMARK startup nomount pfile=%ORACLE_HOME%\database\inithdmo.ora
    CREATE DATABASE HDMO
    maxdatafiles 1021
    maxinstances 1
    maxlogfiles 8
    maxlogmembers 4
    CHARACTER SET WE8ISO8859P15
    NATIONAL CHARACTER SET UTF8
    DATAFILE 'C:\oracle\product\10.2.0\oradata\hdmo\system01.dbf' SIZE 2000M REUSE AUTOEXTEND ON NEXT 10240K MAXSIZE UNLIMITED EXTENT MANAGEMENT LOCAL SYSAUX DATAFILE 'C:\oracle\product\10.2.0\oradata\hdmo\sysaux01.dbf' SIZE 120M REUSE AUTOEXTEND ON NEXT 10240K MAXSIZE UNLIMITED DEFAULT TEMPORARY TABLESPACE TEMP TEMPFILE 'C:\oracle\product\10.2.0\oradata\hdmo\temp01.dbf' SIZE 20M REUSE AUTOEXTEND ON NEXT 640K MAXSIZE UNLIMITED UNDO TABLESPACE "PSUNDOTS" DATAFILE 'C:\oracle\product\10.2.0\oradata\hdmo\psundots01.dbf' SIZE 300M REUSE
    AUTOEXTEND ON NEXT 5120K MAXSIZE UNLIMITED LOGFILE GROUP 1 ('C:\oracle\product\10.2.0\oradata\hdmo\redo01.log') SIZE 100M, GROUP 2 ('C:\oracle\product\10.2.0\oradata\hdmo\redo02.log') SIZE 100M,
    GROUP 3 ('C:\oracle\product\10.2.0\oradata\hdmo\redo03.log') SIZE 100M;
    Entered into SQLPLUS ' as / sysdba' from Command prompt...
    ran above script...
    Encountered the following error....
    ORA-30014 Operation only supported in Automatic Undo Management Mode
    I read some where found that I can get around with it, by adding... UNDO_MANAGEMENT = AUTO in my Inithdmo.ora file.. I did it..
    then it yield to diffrent error...
    After i login into SQL prompt.. first it says.. "*CONNECTED TO AN IDLE Instance*" then i ran my create database
    script... but it says...
    ORA-01034  ORacle Not available
    Can someone help me here....
    Thanks in advance....

    I tried with the following... Uncommented... (Previosuly it was REMARK ed)
    startup nomount pfile=%ORACLE_HOME%\database\inithdmo.ora
    there was an error message ORA-01081 Cannot start already running Oracle - shut it down first.
    I stop the service and ran the script.. it says NOT CONNECTED to ORACLE.
    Is shutdown means stopping the service?

  • Ora -20001 When moving application from development to production

    Hi,
    I am currently trying to get this application to successfully to update but i am receiving the below error message.
    The action I am performing is trying to update a record via a save button.
    This issues an SQL_UPDATE to Automatic row processing.
    ORA-20001: Error in DML: p_rowid=5718074, p_alt_rowid=PERSONAL_ID, p_rowid2=, p_alt_rowid2=. ORA-20001: Current version of data in database has changed since user initiated update process. current checksum = "F6632C5E819349C1307E25A54BBD2F93" application checksum = "0"
    This is not happening on the development application or when I access the application via the admin login. It is only when I use the following url:
    http://<server>:<port>/pls/htlmdb/f?p=101 I get the error.
    Both versions of APEX are 2.2.1.00.04 and using IE 6.0
    I have checked various entries in the forum but they do not fully meet the scenario I am getting,
    Any help will be greatly appreciated.
    Many thanks
    Ty

    oops wrong forum
    Message was edited by:
    user522107

  • Ora-00942 when creating time dimension

    hi All,
    I am new to data warehouse, i have created a date dimension " date_dim " in a target location, it has created a corresponding mapping "date_dim_map" in mappings section.
    But when i try to deploy the dimension i get error ora-00942 table or view does not exist.
    I get the same error when i try to deploy the corresponding map created by this dimension.
    any ideas what the problem could be.
    regards

    oops got it had to deploy the corresponding table first.\

  • ORA-00942 when creating external table under 10g with AQ

    I have an application that runs with AQ. The front-end queues up batch-type
    tasks in a queue. When one particular kind of message is dequeued, it
    initiates a data load. That load requires the creation of an external
    table.
    The schema in question is owned by user BL (bulkload). The queue
    is owned by BLB (bulkload batch), primarily to simplify some of the
    rules needed by the resource manager in order to limit the total CPU
    a batch process can consume. The BLB user has full access to the
    BL schema, along with the following rights:
    CREATE TYPE
    CREATE TABLE
    CREATE SEQUENCE
    CREATE PROCEDURE
    CREATE VIEW
    CREATE SYNONYM
    CREATE SEQUENCE
    ALTER SESSION
    CREATE SESSION
    QUERY REWRITE
    CREATE ANY CONTEXT
    EXECUTE_CATALOG_ROLE
    CREATE MATERIALIZED VIEW
    CREATE ANY DIRECTORY
    DROP ANY DIRECTORY
    The table creation works fine under 9.2.0.8 (our current required
    version). However the application generates an ORA-00942 table or view does
    not exist when run under 10g (10.2.0.1 and 10.2.0.3).
    The following statement is the problem:
    CREATE TABLE bulkload33 (
              field1 VARCHAR2(2000),field2 VARCHAR2(2000),field3 VARCHAR2(2000))
              ORGANIZATION EXTERNAL (
              TYPE oracle_loader DEFAULT DIRECTORY EXT_100
              ACCESS PARAMETERS ( RECORDS DELIMITED BY "\r\n"
              CHARACTERSET 'WE8ISO8859P1'
              BADFILE EXT_100:'bulkload_bad.csv'
              LOGFILE EXT_100:'bulkload_log.csv'
              FIELDS TERMINATED BY ','
              OPTIONALLY ENCLOSED BY '"' MISSING FIELD VALUES ARE NULL REJECT ROWS WITH ALL NULL FIELDS (
              field1 CHAR(2000),field2 CHAR(2000),field3 CHAR(2000),field4 CHAR(2000)))
              LOCATION ('bulkload.csv')
              ) REJECT LIMIT UNLIMITED PARALLEL;
    To clarify, the preceding statement, when handled by the process
    for a queue message, failes with an ORA-00942.
    Note that I can issue the command directly, as BLB or SYS, against
    the BL schema with no problems. Further, as user BLB or SYS, I can do
    the following:
    CREATE OR REPLACE PROCEDURE dotest
    IS
         l_sql varchar2(2000);
    BEGIN
         l_sql := 'CREATE TABLE bulkload33 (
              field1 VARCHAR2(2000),field2 VARCHAR2(2000),field3 VARCHAR2(2000))
              ORGANIZATION EXTERNAL (
              TYPE oracle_loader DEFAULT DIRECTORY EXT_100
              ACCESS PARAMETERS ( RECORDS DELIMITED BY "\r\n"
              CHARACTERSET ''WE8ISO8859P1''
              BADFILE EXT_100:''bulkload_bad.csv''
              LOGFILE EXT_100:''bulkload_log.csv''
              FIELDS TERMINATED BY '',''
              OPTIONALLY ENCLOSED BY ''"'' MISSING FIELD VALUES ARE NULL REJECT ROWS WITH ALL NULL FIELDS (
              field1 CHAR(2000),field2 CHAR(2000),field3 CHAR(2000),field4 CHAR(2000)))
              LOCATION (''bulkload.csv'')
              ) REJECT LIMIT UNLIMITED PARALLEL';
         EXECUTE IMMEDIATE l_sql;
    END;
    show errors
    EXEC dotest
    Does anyone have any ideas of why this doesn't work under 10g? Metalink
    has yielded no clues so far.
    Thanks.

    Define "has full access to the BL schema" given that it is impossible to grant access rights, in Oracle, by schema. What was done and how was it done?
    My guess is that the privs were granted in a role, rather than explicitly, as is required for PL/SQL.

Maybe you are looking for