ORA-01950: no privileges on tablespace 'USERS'  - bug?

(1)you(SYSTEM) create a XE(APEX)-User with DBA privilege and "create table..."
(2) later SYSTEM revoke the dba (only uncheck the dba)
he should have even connect, resource, "create table..." ?
(3) but he can connect, but not create a table:
ORA-01950: no privileges on tablespace 'USERS'
=> bug?

granting of `unlimited tablespace' systemprivilege
when granting DBA or RESOURCE (and may be someother
roles too?). could you please point me any?Did you know that it has UNLIMITED TABLESPACE system
privilege, making it able to create any table
anywhere in the database – including the SYSTEM
tablespace? "it" - who is "it"? DBA (or RESOURCE) role? but UNLIMITED TABLESPACE can't be granted to a role.
Obviously, this is not what you want. You
would want to restrict the tablespaces to specific
users only...?i want to find where this issue (or feature) is documented.
PS ouch. in my previous post i ment implicit granting of that system privilege.

Similar Messages

  • ORA-01950: no privileges on tablespace

    I am trying to move 'test' users table as system to a new tablespace 'tbs2'.
    I am getting the above error, however both system and test users have either resource role or unlimited tablespace privilege ?

    Hey,
    ORA-01950: no privileges on tablespace 'string'
    Cause: User does not have privileges to allocate an extent in the specified tablespace.
    Action: Grant the user the appropriate system privileges or grant the user space resource on the tablespace.
    I believe you can find helpful help in URLs below -
    http://asktom.oracle.com/pls/ask/f?p=4950:8:::::F4950_P8_DISPLAYID:1063989617206
    ( this one regarding : ORA-01950: NO PRVILIGES ON TABLESPACE...)
    and
    http://asktom.oracle.com/pls/ask/f?p=4950:8:::::F4950_P8_DISPLAYID:47812348053
    ( this one regarding : move tables from one
    tablespace to another tablespace)
    Best regards,
    Marcello

  • Import error IMP-00017 and ORA-01950 no privileges on tablespace

    Hi,
    I am trying to do a full import into a 10.2.0.4 database from a 9.2.0.6 export dumpfile. The tablespaces have already been pre-created. I got this error on one tablespace, and I can't figure out why because I was using SYS to do import, how come SYS doesn`t have this privilege. All objects in other tablespaces were created without this problem.
    - IMP-00017: following statement failed with ORACLE error 1950:
         "CREATE TABLE "FYAERLG" ...
    - ORA-01950: no privileges on tablespace 'INFOTABLES'
    Please help.
    Thanks
    -lixidon

    Who is the owner of "FYAERLG" ?
    Try granting the owner of the table, quota on INFOTABLES tablespace.
    **Added**
    Note [95554.1|https://metalink.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=95554.1] explains a scenario,which could be the reason for this failure.
    Edited by: Bobcatalog on Jan 8, 2009 12:49 PM

  • ORA 01950 no privileges to tablespace 'system'

    Please help,
    I need to create a table as XX user.
    First, I log in as system/manager
    Second, I grant create table privilege to XX
    Third, I log in as UPS and create a table... (X)
    At this point I get an error 'ORA-01950' no privileges to table space 'SYSTEM'. What should I do next? Should I grant assess to tablespace 'System' for UPS?
    Thanks in advance,
    Sonya

    Change the default and temporary tablespaces of the user to something other than SYSTEM, and grant them an unlimited quota on those tablespaces.

  • Exchange Partition and ORA-01950  no privileges on tablespace

    I am getting an ORA-01950 error on exchanging a partition. The user that is being used has been granted 'Unlimited Tablespace' privilege. I can create tables with the user in question in the tablespace in question but the exchange fails with the 1950 error.
    Anyone have any thoughts?

    No it is not. However the user has select, insert,update and delete on all tables in the schema. Not even SYSTEM can perform this without the same error

  • Help Request: ORA-01950: no privileges on tablespace

    I am a fairly new Oracle DBA. I have a developer who has his own tablespace, and he is getting the error message above when he tries to execute the following script to create a table:
    CREATE TABLE SOA_FWK_VALUE_TRANSLATION
    CONTEXT_ID VARCHAR2(10) NOT NULL,
    TRANSLATION_ID VARCHAR2(10) NOT NULL,
    FROM_QUALIFIER VARCHAR2(30) NOT NULL,
    FROM_VALUE VARCHAR2(250) NOT NULL,
    TO_VALUE VARCHAR2(250)
    , CONSTRAINT SOA_FWK_VALUE_TRANSLATION_PK PRIMARY KEY
    CONTEXT_ID,
    TRANSLATION_ID,
    FROM_QUALIFIER,
    FROM_VALUE
    He has CONNECT as well as CREATE TABLE and CREATE SEQUENCE privledges. What other privledges do I need to grant to him so that he can create his tables and indexes?
    Thank you!

    ORA-01950

  • Found ORA-20072: insufficient privileges when run user package

    We use workspace manager
    enable version table : FEED_ADMIN.FEED_SET
    login with my username : KTEERAYUT that have dba privilege
    If we run dbms_wm in sqlplus. It work properly.
    KTEERAYUT@BKKXE > BEGIN
    2 dbms_wm.Beginresolve('D_1_1');
    3 dbms_wm.resolveconflicts('D_1_1','FEED_ADMIN.FEED_SET','','PARENT');
    4 COMMIT;
    5 dbms_wm.rollbackresolve('D_1_1');
    6 COMMIT;
    7 END;
    PL/SQL procedure successfully completed.
    Then try create as procedure with FEED_ADMIN owner.
    create procedure feed_admin.test_resolveconflicts_wm(p_workspace_name varchar2)
    as
    begin
    dbms_wm.Beginresolve(p_workspace);
    dbms_wm.resolveconflicts(p_workspace,'FEED_ADMIN.FEED_SET','','PARENT');
    COMMIT;
    dbms_wm.rollbackresolve(p_workspace);
    COMMIT;
    END;
    Then test run with KTEERAYUT
    KTEERAYUT@BKKXE > BEGIN
    2 feed_admin.test_resolveconflicts_wm('D_1_1');
    3 end;
    4 /
    begin
    ERROR at line 1:
    ORA-20072: insufficient privileges on 'FEED_ADMIN.FEED_SET'
    ORA-06512: at "WMSYS.LT", line 8615
    ORA-06512: at "FEED_ADMIN.TEST_RESOLVECONFLICTS_WM", line 5
    ORA-06512: at line 2
    I already grant all on FEED_ADMIN.FEED_SET to KTEERAYUT but it's still error.
    Anyway It work properly if connect and execute with FEED_ADMIN.
    So Can I run the package with another username? Which privilege that it's required?

    Hi Ben,
    Thanks for reply. Version of workspace manager is 10.2.0.4.4 on oracle 10.2.0.4 platform is window server 2003 sp2
    Below is more detail.
    1. Grant workspace manager privs to both user (KTEERAYUT also have dba privs)
    GRANT EXECUTE ON dbms_lock TO feed_admin;
    GRANT ROLE WM_ADMIN_ROLE TO feed_admin;
    GRANT SELECT ON DBA_WORKSPACE_SESSIONS TO feed_admin;
    begin
    dbms_wm.grantSystemPriv (
    'ACCESS_ANY_WORKSPACE, ' ||
    'MERGE_ANY_WORKSPACE, ' ||
    'CREATE_ANY_WORKSPACE, ' ||
    'REMOVE_ANY_WORKSPACE, ' ||
    'ROLLBACK_ANY_WORKSPACE',
    'feed_admin',
    'YES');
    END;
    GRANT EXECUTE ON dbms_lock TO KTEERAYUT;
    GRANT ROLE WM_ADMIN_ROLE TO KTEERAYUT;
    GRANT SELECT ON DBA_WORKSPACE_SESSIONS TO KTEERAYUT;
    begin
    dbms_wm.grantSystemPriv (
    'ACCESS_ANY_WORKSPACE, ' ||
    'MERGE_ANY_WORKSPACE, ' ||
    'CREATE_ANY_WORKSPACE, ' ||
    'REMOVE_ANY_WORKSPACE, ' ||
    'ROLLBACK_ANY_WORKSPACE',
    'apex',
    'YES');
    END;
    2. FEED_ADMIN create table FEED_SET and enable version for FEED_ADMIN.FEED_SET
    CREATE TABLE feed_admin.feed_set
    (feed_set_id NUMBER PRIMARY KEY,
    feed_set_name VARCHAR2(30)
    GRANT ALL ON feed_admin.feed_set TO kteerayut;
    BEGIN
    dbms_wm.enableversioning('feed_set','VIEW_WO_OVERWRITE');
    END;
    SELECT * FROM ALL_WM_VERSIONED_TABLES;
    INSERT INTO feed_admin.feed_set
    VALUES (1,'new feed set');
    COMMIT;
    3. KTEERAYUT create workspace name : WORK
    BEGIN
    dbms_wm.gotoworkspace('LIVE');
         COMMIT;
         dbms_wm.createworkspace('WORK_TEST');
         dbms_wm.gotoworkspace('WORK_TEST');
         COMMIT;
    END;
    SELECT * FROM feed_admin.feed_set;
    FEED_SET_ID FEED_SET_NAME
    1 new feed set
    4. FEED_ADMIN create procedure name : TEST_REFRESH and grant execute privs to KTEERAYUT
    create or replace procedure FEED_ADMIN.Test_refresh is
    BEGIN
    dbms_wm.Beginresolve('WORK');
    dbms_wm.resolveconflicts('WORK','feed_admin.feed_set','','PARENT');
    COMMIT;
    dbms_wm.Commitresolve('WORK');
    COMMIT;
    dbms_wm.refreshworkspace('WORK');
    end Test_refresh;
    GRANT EXECUTE ON Test_refresh TO KTEERAYUT;
    5. Login with KTEERAYUT.
    5.1 test directly command via sql*plus
    BEGIN
    dbms_wm.Beginresolve('WORK');
    dbms_wm.resolveconflicts('WORK','feed_admin.feed_set','','PARENT');
    COMMIT;
    dbms_wm.Commitresolve('WORK');
    COMMIT;
    dbms_wm.refreshworkspace('WORK');
    END;
    PL/SQL procedure successfully completed.
    5.2 but it will fail when call via procedure
    BEGIN
    feed_admin.Test_refresh;
    END;
    ERROR at line 1:
    ORA-20072: insufficient privileges on 'FEED_ADMIN.FEED_SET'
    ORA-06512: at "WMSYS.LT", line 8615
    ORA-06512: at "FEED_ADMIN.TEST_REFRESH", line 4
    ORA-06512: at line 2
    Regards.

  • How to grant create table privilege for a user on a specific table

    Hi:
    I created a user, for a test scenario. I granted this user create any table, and I made the default tablespace as example.
    When I connect as the user and try to create a table, I get this:
    SQL> create table T1 (NAME varchar2 (500), AGE number(2));
    create table T1 (NAME varchar2 (500), AGE number(2))
    ERROR at line 1:
    ORA-01950: no privileges on tablespace 'EXAMPLE'
    How can I grant the necessary privilege to have user create/delete tables on tablespace example?
    Thanks.
    DA

    create user ADAM identified by radge default tablespace EXAMPLE
    quota 10M on EXAMPLE;
    for example 10Mbytes given to Example tablespace.... or you can write:
    .....quota unlimited on EXAMPLE
    and
    grant connect to ADAM
    grant create table to ADAM .....
    or
    grant connect , resource to ADAM .... although grant resource is not recommended...
    ....and something else....
    you should define temporary tablespace in create user command... otherwise the system would be used...
    Greetings...
    Sim
    Message was edited by:
    sgalaxy

  • Privileges on tablespace

    Hi all,
    A real beginner's question:
    I created a tablespace ts_name, and when I try and create my table using the tablespace, I get:
    ORA-01950: no privileges on tablespace 'TS_NAME'
    Which privileges do I need to setup?
    Thanks
    Philippe

    Please do NOT hijack a thread to ask your own, unrelated questions.
    PLEASE, PLEASE, PLEASE, PLEASE learn to check the documentation. The full set of official Oracle documents, including SQL Reference manuals, can be found at tahiti.oracle.com.

  • No privileges on tablespace

    i exported a table from database test to other database through logical backup.
    while importing i am getting error ora-01950-no privileges on table space 'mchtbs'
    the user from which i exported the table default table space is mchtbs.
    i am getting my table imported to the user who has default table space mchtbs
    why this is happening.can any one suggest me
    thanks in advance

    So?
    Isn't this just a quota issue?
    Did you look up the error message?
    Your initial post is so vague, one would need an interpreter to understand it.
    If you would have set up the target user with the correct default tablespace, quota on the default tablespace, and no quota on the original tablespace, it would have worked.
    And obviously, the resolution to ora-1950 has been posted all over the Internet.
    But why would one use a search engine, when you can post the question again?
    Sybrand Bakker
    Senior Oracle DBA

  • ORA-01654: unable to extend index user.index_x by 16 in tablespace tablespa

    Hi all,
    I get the error message : ORA-01654: unable to extend index user.index_x by 16 in tablespace tablespace_t after an insert into table table_x(having the index index_x ).
    Could you please help me ? Should I add new datafile? Is there any other solution
    I have get this message before, I have added new datafile to this tablespace,
    ALTER TABLESPACE tablespace_t ADD DATAFILE 'C:\APP\...\ORADATA\MABASE\S_TAB_user02.DBF' SIZE 500M
    AUTOEXTEND ON NEXT 100M MAX SIZE 1000M;
         TABLESPACE_NAME     ALLOUE     OCCUPE     LIBRE
    1     tablespace_t     5720     5421     297

    i think that would work.. And also if the error still persists then you have to tune the queries which are cost effective..For that you have to wait until you get the same error after addition of the datafile..Cheers!

  • Fail to logon with SYS user: ORA-01031: insufficient privileges

    Hello,
    Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Production
    PL/SQL Release 11.2.0.1.0 - Production
    CORE 11.2.0.1.0 Production
    TNS for Linux: Version 11.2.0.1.0 - Production
    NLSRTL Version 11.2.0.1.0 - Production
    OS: CentOS 5.5
    I fail to log on with SYS user through PL/SQL Developer. I receive the error: ORA-01031: insufficient privileges. PL/SQL Developer is installed on Windows 7 Professional. Oracle Client Version is 11.2.0.1.0. However I logon successfully with SYSMAN and SYSTEM.
    For those who might ask whether I try to connect "as sysdba" when I use SYS user, the answer is YES, I do.
    Besides I think the name of the tool (PL/SQL Developer) doesn't matter because I think I'll face the same error with any other tool (but I mentioned it just in case).
    On server side I have no issues with SYS user. I can connect through SQLPlus with connect / as sysdba or connect "/as sysdba" faultlessly.
    The initialization parameter sec_case_sensitive_logon is set to FALSE
    SQL> show parameter sensi
    NAME TYPE VALUE
    sec_case_sensitive_logon boolean FALSE
    I'm using local naming to connect and on client side I've a tnanames.ora file. The sqlnet.ora file looks like this:
    SQLNET.AUTHENTICATION_SERVICES= (NTS)
    NAMES.DIRECTORY_PATH= (TNSNAMES, EZCONNECT)I read in this forum (another thread) about using a password file. I created a password file using orapwd this way:
    orapwd file=orapwDB11G2 entries=100 ignorecase=y password=a_passwordwhere I replaced "a_password" with the SYS password.
    Actually I'm not sure the client is influenced by the password file anyway because I tell it to use local naming.
    Any clues?
    Thank you very much!

    Verdi wrote:
    Hello, Chinar, AlexeyDev,
    ORACLE_SID variable is:
    [oracle@localhost bin]$ echo $ORACLE_SID
    planetThe directory $ORACLE_HOME/dbs:
    [oracle@localhost ~]$ ls -l $ORACLE_HOME/dbs
    total 28020
    -rw-rw---- 1 oracle oinstall    1544 Apr 10 12:43 hc_DBUA0.dat
    -rw-rw---- 1 oracle oinstall    1544 Apr 27 18:02 hc_planet.dat
    -rw-r--r-- 1 oracle oinstall    2851 May 15  2009 init.ora
    -rw-r--r-- 1 oracle oinstall    2966 Apr 26 16:33 initplanet.ora
    -rw-r----- 1 oracle oinstall      24 Apr  1 18:22 lkPLANET
    -rw-r----- 1 oracle oinstall 9519104 Apr 27 18:43 ora_control1
    -rw-r----- 1 oracle oinstall 9519104 Apr 27 18:43 ora_control2
    drwx------ 2 oracle oinstall    4096 Apr 10 12:43 peshm_DBUA0_0
    drwx------ 2 oracle oinstall    4096 Apr  1 18:19 peshm_planet_0
    -rw-r----- 1 oracle oinstall 9519104 Apr  8 11:25 snapcf_planet.f
    -rw-r----- 1 oracle oinstall    2560 Apr 27 18:41 spfileplanet.oraThe value of the parameter remote_login_passwordfile is:
    *.remote_login_passwordfile='EXCLUSIVE'
    I start up the instance using the spfile.As a side observation, it appears you have two control files also in this directory. That is risky, and goes against the intent of having multiplexed the control file. Ideally they would be on separate disk devices - including separate controllers, but at the very least they should be in directories that are separate all the way back to the root directory. If you can't protect against hardware failure, at least protect against human failure.

  • ORA-01630: max # extents (2) reached in temp segment in tablespace USERS

    Hi all,
    I got the error when I created CLUSTER
    ORA-01630: max # extents (2) reached in temp segment in tablespace USERS
    CREATE CLUSTER trial_cluster (trialno NUMBER(5,0))
    PCTUSED 80
    PCTFREE 5
    TABLESPACE users
    STORAGE (INITIAL 250K NEXT 50K
    MINEXTENTS 1 MAXEXTENTS 2
    PCTINCREASE 0)
    HASH IS trialno HASHKEYS 150;
    And I increased maxextents to 20480
    alter tablespace users default storage(MAXEXTENTS 20480)
    same error happens.

    Here is one example from Metalink note:
    create tablespace dropme datafile 'dropme.dbf' size 200m
    extent management dictionary
    default storage (initial 100k next 100k maxextents unlimited pctincrease 0);
    SQL> create index myind on mytab (object_name)
    2 storage ( initial 16k next 16k maxextents 3 pctincrease 0)
    3 tablespace dropme;
    ERROR at line 1:
    ORA-01630: max # extents (3) reached in temp segment in tablespace DROPME

  • "Create User" gives ORA-01031: insufficient privileges for user sys

    I am on Oracle 11g db, 11.1.0.6 and login successfully using sys/password as sysdba. This login is successful.
    [oracle@RH5-32-OR bin]$ ./sqlplus sys/abcd1234 as sysdba
    SQL*Plus: Release 11.1.0.6.0 - Production on Thu Jan 21 06:06:51 2010
    Connected to:
    Oracle Database 11g Enterprise Edition Release 11.1.0.6.0 - Production
    With the Partitioning, Oracle Label Security, OLAP, Data Mining,
    Oracle Database Vault and Real Application Testing options
    However, I cannot create a new user, getting error about insufficient privileges. I though since this is a sys login with role DBA, it should be allowed to create user.
    I also logged in to enterprise manager console using the same credentials, and navigated to: Security->Sys.
    - Under the system tab, and can see "Create User" granted.
    - Under the role tab, there is DBA granted.
    SQL> create user myuser identified globally;
    create user myuser identified globally
    ERROR at line 1:
    ORA-01031: insufficient privileges
    Where to check for previleges? And how to debug. I am really very surprised.
    Thanks.

    I don't have first hand experience of using Database Vault myself, but according the manual the default setup prevents SYSDBA from creating users when Database Vault is enabled (which I would guess is the case based on the banner posted above) This behaviour can be modified by the Vault administrator.
    http://download.oracle.com/docs/cd/B28359_01/server.111/b31222/db_objects.htm#BEIJIFGA

  • ORA-01950

    Hi All,
    My DB Version: 10.2.0
    OS: Solaris 5
    Hi while one of my user trying to create a table he is getting below error:
    create table emp
    2 (ename varchar2(10));
    create table emp
    ERROR at line 1:
    ORA-01950: Message 1950 not found; No message file for product=RDBMS,
    facility=ORA; arguments: [TSI]
    Can anyone tell me the reason for the same

    Hi,
    Check the user's privilege on the particular tablespace which he is trying to create the table.
    Regards,
    Mahesh.

Maybe you are looking for

  • Itunes Using like 90% of the CPU

    When importing songs from CD, I am noticing that I am no longer able to listen to songs while importing without very choppy audio. Also, though I have a 3 Ghz processor, Itunes is using like 70-90% of the CPU when importing CDs. This has never happen

  • Adobe Reader open a PDF embed with a Link to Open another PDF

    HI, I have a online web program. The browser use Adobe reader to open a PDF. In ths PDF, it  has a link to point a file that store in Server. When click this link to open the file, the link file can open, but the original PDF screen  will turn to gre

  • Loading to inventory cube - LBWQ ( entry MCEX03 missing )

    Dear Guru's, My main idea is to store only last 1 years of data in inventory cube . I do not want to load the movements & revaluation data from ECC but reconstruct. I have successfully  initialized  only 2LIS_03_BX and filled the set up table and fur

  • Unable to print Click N Ship Labels (USPS) after installing Snow Leopard

    I upgraded last week and today was the first time I needed to print a USPS label. Absolutely nothing happens. Normally, Reader opens, displays the label and then the label is printed using Reader. On the USPS website, their requirements say to use In

  • Panasonic LX5 RAW not importing into iPhoto 09

    I cannot import RAW photos taken with my Panasonic LX5. I assume that they are not supported yet. If i upgrade to iPhoto '11, will it support panasonic LX5 RAW? When I search iPhoto help to see what camera's RAW files are compatible with iPhoto, I am