Insufficient privileges to create database

Hi all,
I am new to oracle and just solved my database login problem by using scott/tiger as username/password. I am just wondering does this login has rights to create database? Since the system/manager combo doesn't work when I login, I have no choice but to use scott/tiger. However, I got this when I try to follow the exercise from the book I am reading on.
SELECT tablespace_name
FROM dba_tablespaces
ORDER BY tablespace_name;
ERROR at line 2:
ORA-00942: table or view does not exist
I was just trying to find out what my Default and Temporary tablespace to create an account. I kept on following the book anyways and I tried this:
SQL> create user student identified by
2 default tablespace users
3 temporary tablespace temp;
create user student identified by learn
ERROR at line 1:
ORA-01031: insufficient privileges
Any idea?

The user scott does not have the privilege you are trying to use. Have you tried to login as SYS password change_on_install (it is the default and should be changed)?
If you are successful, you can then find the information you were looking for and you can create the user STUDENT

Similar Messages

  • Insufficient privileges to create the RDF NETWORK

    Hi,
    I am using user scott to test a rdf database using oracle 11.2.0.2 contained in oracle developer days. I granted resource, create session, create table, and create tablespace to scott. I am able to create a tablespace under scott. I also used the OEM panel to grant many privileges in roles, system privileges and object privileges to scott. However, I am still not able to create the rdf network under scott. The error says insufficient privileges to create the RDF NETWORK. How can I grant a priviledge to scott to create a rdf network? Thanks a lot.
    hong

    Hi Hong,
    Yes. This is the correct order. You must first create the semantic network as a user with DBA privileges. After that, you can create semantic models with a less privileged user.
    You can find more information in the Quick Start Section of the user guide:
    http://docs.oracle.com/cd/E11882_01/appdev.112/e25609/sdo_rdf_concepts.htm#CHDEDFFA
    Hope this helps,
    Matt

  • ORA-01031: insufficient privileges from auxiliary database while connecting

    i am getting this error ORA-01031: insufficient privileges from auxiliary database while connecting plz help.
    TNS-01106: Listener using listener name VINAR has already been started
    [oraclone@server VINTEST_server]$ tnsping VINAR
    TNS Ping Utility for Linux: Version 11.1.0.7.0 - Production on 17-JAN-2013 19:10:49
    Copyright (c) 1997, 2008, Oracle.  All rights reserved.
    Used parameter files:
    /d04/oraclone/db/tech_st/11.1.0/network/admin/VINTEST_server/sqlnet_ifile.ora
    Used TNSNAMES adapter to resolve the alias
    Attempting to contact (DESCRIPTION= (ADDRESS=(PROTOCOL=tcp)(HOST=server.csacons.com)(PORT=1571)) (CONNECT_DATA= (SERVICE_NAME=VINAR) (INSTANCE_NAME=VINAR)))
    OK (0 msec)
    [oraclone@server VINTEST_server]$ rman target sys/change_on_install@VINAR auxiliary /
    Recovery Manager: Release 11.1.0.7.0 - Production on Thu Jan 17 19:11:38 2013
    Copyright (c) 1982, 2007, Oracle.  All rights reserved.
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-00554: initialization of internal recovery manager package failed
    RMAN-04005: error from target database:
    ORA-01031: insufficient privileges
    [oraclone@server VINTEST_server]$ sqlplus sys/change_on_install@VINAR as sysdba
    SQL*Plus: Release 11.1.0.7.0 - Production on Thu Jan 17 19:31:52 2013
    Copyright (c) 1982, 2008, Oracle.  All rights reserved.
    ERROR:
    ORA-01031: insufficient privileges
    Enter user-name: sys@VINAR as sysdba
    Enter password:
    ERROR:
    ORA-01031: insufficient privileges
    Enter user-name: [oraclone@server VINTEST_server]$
    [oraclone@server VINTEST_server]$
    SQL> select * from v$pwfile_users;
    no rows selected
    SQL>
    listner.ora
    SID_LIST_VINTEST =
      (SID_LIST =
        (SID_DESC =
          (ORACLE_HOME= /d04/oraclone/db/tech_st/11.1.0)
          (SID_NAME = VINTEST)
          #(GLOBAL_DBNAME = VINAR)
          #(ORACLE_HOME= /d03/oravnr/db/tech_st/11.1.0)
          #(SID_NAME = VINAR)
          (SID_DESC =
          #(ORACLE_HOME= /d04/oraclone/db/tech_st/11.1.0)
          #(SID_NAME = VINTEST)
          (GLOBAL_DBNAME = VINAR)
          (ORACLE_HOME= /d03/oravnr/db/tech_st/11.1.0)
          (SID_NAME = VINAR)
    tnsnames.ora
    VINTEST=
            (DESCRIPTION=
                    (ADDRESS=(PROTOCOL=tcp)(HOST=server.csacons.com)(PORT=1591))
                (CONNECT_DATA=
                    (SERVICE_NAME=VINTEST)
                    (INSTANCE_NAME=VINTEST)
    VINAR=
            (DESCRIPTION=
                    (ADDRESS=(PROTOCOL=tcp)(HOST=server.csacons.com)(PORT=1571))
                (CONNECT_DATA=
                    (SERVICE_NAME=VINAR)
                    (INSTANCE_NAME=VINAR)
    kind regards
    plz help

    Pl do not post duplicates - ORA-01031: insufficient privileges from auxiliary database while connecting

  • Insufficient privileges while creating EUL

    Hi All,
    I am trying to create a new EUL in Discoverer 9.0.4. Option "Select an existing user" is selected and "Grant access to Public" is unchecked.
    I am connected as user A. The tables are in schema for user B. So I selected the user B and entered the password. When I click "Finish", I get the following error:
    Insufficient privileges to create a new user or grant the necessary privileges to an existing user. You must have CREATE USER, ALTER USER and GRANT ANY PRIVILEGE privileges.
    Now user A does have privileges to create role, view, table, session, sequence, procedure. User B too has these privileges plus a few more.
    Can somebody help me with what privileges am I lacking? For which user, A or B?
    Thanks.

    If you want to create an EUL the user you select (B in your case) must be the following privilegies:
    CREATE SESSION
    CREATE USER
    GRANT ANY PRIVILEGE
    ALTER USER
    It doesn't matter the user you are connected in Discoverer.
    Hope this helps.

  • Insufficient Privileges when create materialized view as user system

    If I login as system (connect sys/****@DevDB) and try to create a materialized view for another schema (e.g. XDCONTROLDB), I get the insufficient privileges error. If I login as sys as sysdba then I can create successfully.
    I have searched some ariticles in Google and grant create any snapshot, create any table, create any view, global query rewrite, select any table system privileges to system but still get the same error.
    Any other privileges I need to grant to system?
    Cheers
    below is a sample script to create the view which get the error:
    CREATE MATERIALIZED VIEW XDControlDB."XDTest1" PCTFREE 10
    PCTUSED 0 MAXTRANS 255
    STORAGE ( INITIAL 64K NEXT 0K MINEXTENTS 1 MAXEXTENTS
    2147483645 PCTINCREASE 0)
    TABLESPACE "USERS"
    BUILD IMMEDIATE
    REFRESH COMPLETE START WITH sysdate NEXT sysdate + 1/24
    ENABLE QUERY REWRITE AS
    SELECT * From XDControlDB.RiskInstance;
    Message was edited by:
    user500168
    Message was edited by:
    user500168

    Thanks for your reply. After I grant privileges to system, I login as system and try to create the view as below which I get the insufficient privileges error:
    CREATE MATERIALIZED VIEW XDControlDB."XDTest1" PCTFREE 10
    PCTUSED 0 MAXTRANS 255
    STORAGE ( INITIAL 64K NEXT 0K MINEXTENTS 1 MAXEXTENTS
    2147483645 PCTINCREASE 0)
    TABLESPACE "USERS"
    BUILD IMMEDIATE
    REFRESH COMPLETE START WITH sysdate NEXT sysdate + 1/24
    ENABLE QUERY REWRITE AS
    SELECT 1 From XDControlDB.RiskInstance;
    As you can see, I try to create the view under a schema called 'XDCONTROLDB'. If I login as sys as sysdba, then it create successfully.
    After I create UserA, and grant the privileges I mentioned in the ealier post, I login as UserA, and run the statement above I get the same privileges error. But if I change the stament to below which will create the view under UserA's schema, then it create successfully:
    CREATE MATERIALIZED VIEW UserA."XDTest1" PCTFREE 10
    PCTUSED 0 MAXTRANS 255
    STORAGE ( INITIAL 64K NEXT 0K MINEXTENTS 1 MAXEXTENTS
    2147483645 PCTINCREASE 0)
    TABLESPACE "USERS"
    BUILD IMMEDIATE
    REFRESH COMPLETE START WITH sysdate NEXT sysdate + 1/24
    ENABLE QUERY REWRITE AS
    SELECT 1 From XDControlDB.RiskInstance;
    Looking for your suggestions,
    Cheers

  • Insufficient privileges when creating MV with alter session set current_sch

    I am getting Insufficient privileges when creating MV with alter session set current_schema=Application schema name. User running the alter session is DBA user. If run as SYSDBA, MV is created successfully. DB Version is 10.2.0.3
    I observed similiar issue with regular View also in 9.2.0.6 also.
    Any advice is greatly appreciated.
    Thanks,
    Siva

    Sounds like your management needs a stern lecture on the concept of change management. <g>
    I am not debating what you do. I am questioning the logic, or lack thereof, of doing it that way. My recommendation would be to change your procedure to one that:
    A. Is more in line with good change management practices.
    B. Works.

  • Insufficient privileges when creating user logged in as SYS

    Hi,
    I'm working on 11.1.0.6.0 Enterprise Edition, Advanced Security options, Label Security a and Database Vault installed. (for testing purposes)
    I'm creating a new user being logged as SYS using this sentence:
    CREATE USER "HR_DIRECTOR" PROFILE "DEFAULT" IDENTIFIED BY "*******" DEFAULT TABLESPACE "USERS" TEMPORARY TABLESPACE "TEMP" ACCOUNT UNLOCK;
    However, the command fails with the message "Failed to commit: ORA-01031: insufficient privileges . You do not have enough privileges to perform this operation. You must have the appropriate system and object privileges to create, edit, or drop database objects or objects outside of your schema."
    Please note that I'm working on a fresh DB install and I have also installed Database Vault in this instance for testing purposes, but still haven't configured any realm or command rules on it.
    Is it possible Vault is the reason why I am not able to create a new user?
    Thanks and Regards,
    Leandro

    Hi, It seems I've found it.
    After you install Database Vault and associate it with your SID, SYS user is revoked the CREATE USER system privilege.
    Only a user with the DV_ACCTMGR role may create, alter or drop a user. This is done in order to separate responsabilities in your database. A SYS user cannot grant himself this role or the DV_OWNER role.
    (If interested, check page 10-4 from http://www.oracle.com/pls/db111/to_toc?pathname=server.111/b31222/toc.htm)
    Regards,
    Leandro

  • Giving error of insufficient privileges while creating triggers

    Hi all,
    I am facing the problem of insuffcient privilege on base tables while creating triggers. I have three schemas say A, B, C in my database.
    Base tables are in schema A. I have given all the grants on base table to schema B and C.
    grant all on base_table_name to B;
    grant all on base_table_name to C;
    I have created synonym also on that base table.
    And i m creating triggers in schema B.
    When i execute the query for trigger the it giving following error :
    +AFTER INSERT OR UPDATE OR DELETE ON BASE_TBALE_NAME                                      *+
    ERROR at line 3:
    ORA-01031: insufficient privileges
    even i have checked in dba_tab_privs for that base_table.....it is showing all the grants to USER B and C.
    What should I do now?
    please suggest.......
    Regards,
    Andy.

    Hi karan,
    You are right. While searching docs i got the solution of my problem.
    Privileges Required to Use Triggers
    To create a trigger in your schema:
    +•You must have the CREATE TRIGGER system privilege+
    +•One of the following must be true:+
    +◦You own the table specified in the triggering statement+
    +◦You have the ALTER privilege for the table specified in the triggering statement+
    +◦You have the ALTER ANY TABLE system privilege+
    To create a trigger in another schema, or to reference a table in another schema from a trigger in your schema:
    +•You must have the CREATE ANY TRIGGER system privilege.+
    +•You must have the EXECUTE privilege on the referenced subprograms or packages.+
    To create a trigger on the database, you must have the ADMINISTER DATABASE TRIGGER privilege. If this privilege is later revoked, you can drop the trigger but not alter it.
    The object privileges to the schema objects referenced in the trigger body must be granted to the trigger owner explicitly (not through a role). The statements in the trigger body operate under the privilege domain of the trigger owner, not the privilege domain of the user issuing the triggering statement (this is similar to the privilege model for stored subprograms).
    I have to grant only create any trigger to user.
    Problem solved.
    Thanks to all for ur help.
    Regards,
    Andy.

  • 4.0 EA2 - Insufficient Privileges When Creating Object With Proxy

    When I have connected by proxying to another user, I receive the following message when trying to create a new object:
    The database user has insufficient privileges for the given operation.
    Steps to reproduce:
    Connect by proxying to another user
    Right Click on Views
    Select New View
    I noticed this under EA1, though, not sure if reported.  This worked under 3.2.2

    Sounds like your management needs a stern lecture on the concept of change management. <g>
    I am not debating what you do. I am questioning the logic, or lack thereof, of doing it that way. My recommendation would be to change your procedure to one that:
    A. Is more in line with good change management practices.
    B. Works.

  • Insufficient privileges for creating a table in a procedure

    Hello,
    I have a problem with creating a table from within a procedure. The error is
    -1031 : ORA-01031: insufficient privileges
    All objects are owned by the same user, and the procedure is run under that user. This user has CREATE ANY TABLE with Admin Option rights.
    I am working with Oracle 8i.
    Can anybody tell me how I can fix this?
    Thanks, Wouter

    Does the user have the CREATE ANY TABLE privilege granted directly to it, or through a role? Stored procedures by default don't know about any privileges granted through a role.
    Justin
    Distributed Database Consulting, Inc.
    http://www.ddbcinc.com/askDDBC

  • Insufficient Privileges while generating database

    Hello,
    I have created my ER diagram and I can see the entities, attributes, relations etc in the object Navigator. But, when I tried to run the database design transformer to generate my tables, I am getting insufficient privileges error and none of the tables are created.
    What is the solution for this problem? Has anyone faced this issue?
    Please help
    Vatsa

    General privileges are granted in the Repository Administration Utility (RAU). Specific privileges to an application are granted through the Repository Object Navigator (RON). The owner of the application must grant you the privileges to create table definitions in the application. Have the owner start up the RON and navigate to the application and right click. Choose "Grant Access Rights" then grant Select, Insert, Update and Delete to you.

  • ORA-01031: insufficient privileges when creating a table in other schema

    Dear all,
    I appreciate your help please in this issue :
    when i try to issue the below statement to create a table in an another schema than the user i am connected in
    CREATE TABLE SCHEMA_NAME_B.HST_ARCH nologging AS
    SELECT *
    FROM HST
    WHERE 1 = 0;
    I always get ORA-01031: insufficient privileges error, even if i have granted the create table privilege to the user i am connected in.
    What other privileges should i grant also,
    Please if you have any idea.

    user562674 wrote:
    Dear all,
    I appreciate your help please in this issue :
    when i try to issue the below statement to create a table in an another schema than the user i am connected in
    CREATE TABLE SCHEMA_NAME_B.HST_ARCH nologging AS
    SELECT *
    FROM HST
    WHERE 1 = 0;
    I always get ORA-01031: insufficient privileges error, even if i have granted the create table privilege to the user i am connected in.
    What other privileges should i grant also,
    Can you show us a cut/paste from the sql*plus of session of yours which should show that you have given the privilege directly to this user and after that the command fails?
    Aman....

  • Insufficient privileges after creating new files

    I have a PowerBook G4 that I sometimes start-up off an external Firewire drive. The Internal HD is locked-down admin-wise as it's a company laptop but sometimes I need to run my own apps that aren't on the internal HD (i.e. Photo Rescue, Aperture, etc).
    When I work on/create a jpeg image while running Photoshop (start-up and PS running off the external FWHD) I save the image onto the PowerBook internal HD inside the Shared Folder.
    Later when I boot-up the laptop via the Internal HD I can open these jpeg files but cannot modify them due to Insufficient privileges. I have to make sure I run iRepair to set to privileges on that particular directory before I shutdown off the FW drive.
    Is there some way I can default the Leopard Start-Up on the external FW drive so that when I save a file to the internal HD the privileges are wide open? It's a pain to remember to fix the directories with iRepair before I shutdown. I have run Repair Permissions via the FW drive but that hasn't helped anything.

    Create a disk image in the Shared folder using rhe Disk Utility, select the mounted image in the Finder, choose to ignore permissions from the Get Info window under the File menu, and change the permissions on the image file so that all accounts can write to it. Save the JPEGs to the mounted image.
    (31781)

  • Insufficient privileges to create view

    Hi! I am working with some software that creates views in certain situations. For whatever reason, Oracle indicated that the user does not have sufficient privileges to create views although I can create procs, functions, triggers, etc.
    Can anyone help me with this issue?

    Reiteration I know, but Nicolas' point is almost certainly the cause: having CREATE VIEW privilege does not mean that you magically get the rights to see the data in the objects your view references.
    Example:
    User FRED creates table ABC:
    CREATE TABLE ABC AS SELECT * FROM DUAL;
    He then allows user TERRY to insert into the table:
    GRANT INSERT ON ABC TO TERRY;
    Terry creates a view of that table:
    CREATE VIEW ABC_V AS SELECT * FROM FRED.ABC;
    Terry tries to select from his view:
    SELECT * FROM ABC_V;
    ORA-01031: insufficient privileges
    That sort of thing.
    HTH

  • Insufficient privileges while creating change set.

    Hi,
    I'm trying to setup CDC in Async Distributed HotLog mode with source 9i (9.2.0.7) and stage 10.2 database. Change source was created successfully, but when i run DBMS_CDC_PUBLISH.CREATE_CHANGE_SOURCE it gives error
    ORA-01031: insufficient_privileges
    ORA-09512: at "SYS.DBMS_CDC_PUBLISH", line 560
    It does create the propagation on source db for this change set and then gives this error. I'm following the chapter 16 of data warehousing guide to set it up. Have checked all privileges and I can't seem to figure this out. Has anyone faced something similar? what am i missing here?
    Regards.
    Ali

    Hi Ali,
    I had the same thing with plain Streams (dbms_streams_adm.add_Table_rule).
    The user with wich you set it up should have DBA role (that's somehow the requirement from Oracle, I would rather see some specific system-privileges in stead of having the whole DBA role to be granted). Another thing is that I wanted to create a package with functionality to setup my Streams environment. But in then the first time you would add table or schema rules, it creates the Capture or Apply process. And for that you need specific rights that are granted through the DBA role. But the Oracle rights-implementation prevents privileges granted via a Role to be used in a stored pl/sql-procedure. To be used in a stored-procedure you need the specific rights granted directly. That's another reason I'm not fond of the requirement of having to grant the DBA role.
    So grant the DBA role to your user, if not done allready, or if you use a stored procedure to setup your cdc then do the first call directly from an sqlplus script and not within your stored pl/sql code. Subsequent calls can then be made from your stored-procedure.

Maybe you are looking for

  • How do I sync voice memos and notes?

      I use windows and will never use a MAC as I hate them and only like  apples Iphone.  I have an Iphone 5 and use version 11.0.2.26 of itunes.  I had an older Iphone 4g with lots of voice memos on it and I cannot for the life of me figure out how to

  • How to create User in the specific group in Microsoft Active Directory

    Hi, I am using Nestcape LDAP, and want to create user in the user defined group. I have created a new user group "TestUsers" in the "Users" container of Active Directory, I want to add the new user to Test Users group But my problem is that whenever

  • Archive and install problems

    Hi: After filling out the Apple troubleshooting form, I followed the advice and took my machine to an authorized reseller/service center.  They recommended an archive and install, plus a new and larger HD(WD Caviar 750: he said it would not take a la

  • MacBook Pro with Belkins Thunderbolt Express sometimes drops network

    Hi, I have encoutered a problem with my MacBook Pro Retina and Belkins Thunderbolt express where the network sometimes just drops. The network does still have "link" but no network. Removing and adding network ssettings does not help. Removing and ad

  • Re: Portal roles are Inconsistent

    Recently my systems are upgraded from SP 13 to SP 16. Up to now EPA is working fine with SP13. But now I imported same EPA file in SP 16 system. In some machines some roles are working but same roles are not working in another SP 16 level systems. My