CREATE a USER Oracle 12 c fails with ORA-01031 (insufficient privileges)

I work with a client to start the test 12 c with an application.

User logged into the database by using both "/ as sysdba" and "xxxxxxx/sys as sysdba.

However, doing so CREATE USER someuser IDENTIFIED BY somepass;

insufficient privileges ORA-01031 auto fails.

I don't see an obvious reason why this does not work, and it works on my own system. Any ideas are appreciated.

He said he was using a traditional database (no plug-in) wrong after previously created a pluggable.

Daryl

by chance, do you have database Vault (figure DVSYS) installed in your database? According to default manual installation program prevents you to create the user if data vault is configured.

http://docs.Oracle.com/CD/B28359_01/server.111/b31222/DB_objects.htm

Oracle Database Vault | Oracle database | Oracle

Oracle Database Vault allows customers to avoid excesses in controlling the use of commands such as ALTER SYSTEM, ALTER USER, DROP USER, CREATE USER, etc.

In addition, check this box

"Create a user" gives ORA-01031: not sufficient privileges to user sys

Tags: Database

Similar Questions

  • Creating master repository error: ORA-01031: insufficient privileges

    Hello

    I try to install ODI in my VM.

    I did the installation and creating master repository, I am getting following error:

    ORA-01031: insufficient privileges

    I'm using Oracle & created as ODI_MASTER user with administrator privileges.
    I will use it to load the metadata on planning (Version 11.1.2)

    Am I missing out on.

    Jitendra.

    Seems missing grants on the user that you use to create the master repository.

    you use Oracle... Grant connect, resource to . These two rolesa have sufficient access to db to create the master repository.

    execuute the sql code of the sys user

    Kind regards
    Amit

    Published by: amitgupta1202 on August 20, 2009 22:42

  • create returns user ORA-01031: insufficient privileges

    Hi all

    I am trying to create user on Oracle 11.2.0.4 windows db.

    I get the following error

    create the user one identified by a

    Error in the command line column: 6:28

    Error report:

    SQL error: ORA-01031: insufficient privileges

    01031 00000 - "insufficient privileges".

    * Cause: An attempt was made to change the user name or password

    without the privilege appropriate. This error also occurs if

    trying to install a database without the need for employment

    access privileges.

    When Trusted Oracle is configure in DBMS MAC, this error may occur

    If the user has been granted the privilege necessary for a higher label

    that the connection is active.

    * Action: Ask the database to perform the operation or grant administrator

    the required privileges.

    For users Trusted Oracle get this error, well that granted the

    the privilege that is suitable for the top label, ask the database

    administrator to grant the privilege to the appropriate label.

    Please may I know how to solve.

    I disabled Database Vault Account Management.

    This allowed me to grant privileges as user sys.

    C:\Users\rbastawa>sqlplus / as sysdba

    SQL * more: Production release 11.2.0.4.0 on sea 12 Nov 09:56:40 2014

    Copyright (c) 1982, 2013, Oracle.  All rights reserved.

    Connected to:

    Oracle Database 11 g Enterprise Edition Release 11.2.0.4.0 - 64 bit Production

    With partitioning, Oracle Label Security, OLAP, Data Mining,

    Oracle Database Vault and Real Application Testing options

    SQL > grant connect to one.

    grant connect to a

    *

    ERROR on line 1:

    ORA-47410: Violation of Kingdom for GRANT on CONNECT

    SQL > grant connect to one.

    Grant succeeded.

    SQL >

    Thanks for the help.

  • Failure to logon with the user SYS: 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
    AMT for Linux: Version 11.2.0.1.0 - Production
    NLSRTL Version 11.2.0.1.0 - Production

    OS: CentOS 5.5

    I can't log in with the user SYS via PL/SQL Developer. I get the message: ORA-01031: insufficient privileges. PL/SQL Developer is installed on Windows 7 Professional. Version of the Oracle Client is 11.2.0.1.0. However, I connect successfully with SYSMAN and SYSTEM.
    For those who may wonder if I try to connect 'as sysdba' when I use the SYS user, the answer is YES, I do.
    In addition, I think that the name of the tool (PL/SQL Developer) does not matter because I think I'm going to face the same error with any other tool (but I mentioned just in case).

    Server side, I have no problem with the SYS user. I can connect via SQLPlus with connect / as sysdba or connect "virtue sysdba" without fault.

    The sec_case_sensitive_logon initialization parameter is set to FALSE
    SQL > show parameter sensi

    VALUE OF TYPE NAME
    ------------------------------------ ----------- ------------------------------
    SEC_CASE_SENSITIVE_LOGON boolean FALSE

    I use the local name to connect and client side, I have 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) on the use of a password file. I created a password file using orapwd this way:
    orapwd file=orapwDB11G2 entries=100 ignorecase=y password=a_password
    where I replaced "a_password" with the SYS password.

    In fact, I'm not sure that the customer is influenced by the file password anyway because I said to use a local naming.

    Clues?

    Thank you very much!

    So your ORACLE_SID is planet but not DB11G2 , second password file must be located in $ORACLE_HOME/dbs location if you want to connect the planet of database/sid and therefore

    orapwd file= $ORACLE_HOME/dbs/orapwplanet password=syspass
    

    Then try again.

  • ORA-01031: insufficient privileges with user SYS when I try to log

    Hello

    When I try to connect to our database with the user SYS via TOAD he gives below error.
    ORA-01031: insufficient privileges

    If I use SQLPLUS "/ as sysdba" it's conningting but if I try to use another tool like TOAD I can't connect.

    You could someone help me what is the problem andhow can I connect the user SYS with TOAD.
    version of database is 9.2.0.8.

    Thank you and best regards,

    You set remote_login_passwordfile exclusive.

  • ORA-01031: insufficient privileges in ORACLE 8.0.5


    Hi all


    Can you help me please:


    IM using ORACLE 8.0.5



    I made this package:

    ORACLE 8.0.5

    CREATE OR REPLACE PACKAGE BODY MULTIFOX. PAQ_MULTIFOX AS

    PROCEDURE REVISA_CRED IS

    BEGIN

    UPDATE / * + BYPASS_UJVC * /.

    (

    SELECT IF NECESSARY. CDGNS, PRN. CICLO, PRN. CANTAUTOR, MPD. NF

    OF MULTIFOX. MPD MPD,

    SIACOM. NRP NRP

    WHERE MPD. CDGNS = PRN. CDGNS AND MPD. CICLO = PRN. CICLO

    AND THE LBD. CANTAUTOR > 0

    ) NF SET = null;

    COMMIT;

    END;

    END PAQ_MULTIFOX;

    /

    CREATE OR REPLACE PACKAGE MULTIFOX. PAQ_MULTIFOX AS


    PROCEDURE REVISA_CRED;

    END PAQ_MULTIFOX;

    When I call this procedure of Toad SQLEditor I get this error

    Capturado.gif

    If I run the script directly in TOAD sqleditor, it works great!

    Capturado.gif

    I have connected to the schema SIACOM one gave all permisions them user MULTIFOX,.


    GRANT CONNECT TO MULTIFOX;

    GRANT DBA TO MULTIFOX;

    MULTIFOX GRANT RESOURCE;

    GRANT SELECT ANY TABLE TO MULTIFOX;

    GRANT EXECUTE ANY PROCEDURE TO MULTIFOX;

    GRANT SELECT, INSERT ON SIACOM. PD FOR MULTIFOX;

    GRANT SELECT, INSERT ON SIACOM. PDI TO MULTIFOX;

    but don't solve it, get the same error (ORA-01031: insufficient privileges)

    When I add the AUTHID CURRENT_USER clause to the definition of the package, had this error in compiling...

    Capturado.gif

    What Miss me?

    Thanks in advance. !



    But isn't your request doing an UPDATE? A right to select is not help with that.

    The best way to solve the problems related to the privilege is to remove all of THE objects except for one a simple query and see if it works. If she adds another object of return and test this.

    You will find the problem object when it fails.

  • ORA-01031: insufficient privileges when granted access privileges to a new user

    Hello.

    When you are connected to a SYSTEM, I'm trying to create a new user and give him all the system privileges, but do so always the following error message appears:

    Cannot process the SQL command

    -

    Error at startup to the line: 123 to orders.

    SYSDBA GRANT TestUser

    Error report-

    SQL error: ORA-01031: insufficient privileges

    01031 00000 - "insufficient privileges".

    * Cause: An attempt was made to execute a database operation without

    the necessary privileges.

    * Action: Ask your database or the designated security administrator

    administrator to grant you the required privileges

    After clicking OK, the user is still being created, but it lacks many privileges to access.

    How can I solve this problem?

    I use Oracle SQL Developer version 4.1.2.20 and Oracle database 11g of the express edition.

    Connect as SYS, not SYSTEM to grant this priv

    Give him with extreme prejudice - it is powerful

    Note in the 12 c database we have stopped a lot of the administrative bits of the SYSDBA role in less powerful. This gives you more flexibility on who can do what in your database

    https://docs.Oracle.com/database/121/DBSEG/authorization.htm#DBSEG578

  • ORA-01031: insufficient privileges despite belonging to group DBA oracle

    DB version: 10.2.0.4.0
    Version of the operating system: Solaris 5.10

    OS user Oracle already belongs to the DBA group.
    $ id -a
    uid=1001(oracle) gid=1100(oinstall) groups=1100(oinstall),1800(dba)
    But, I get the following error

    $ sqlplus / as sysdba
    
    SQL*Plus: Release 10.2.0.4.0 - Production on Mon Nov 29 14:33:59 2010
    
    Copyright (c) 1982, 2007, Oracle.  All Rights Reserved.
    
    ERROR:
    ORA-01031: insufficient privileges
    
    
    Enter user-name: ^C
    $
    $
    $ sqlplus sys/password as sysdba
    
    SQL*Plus: Release 10.2.0.4.0 - Production on Mon Nov 29 09:34:13 2010
    
    Copyright (c) 1982, 2007, Oracle.  All Rights Reserved.
    
    
    Connected to:
    Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - Production
    With the Partitioning, Data Mining and Real Application Testing options
    
    SQL>
    Value of the parameter remote_login_passwordfile
    SQL> show parameter password
    
    NAME                                 TYPE        VALUE
    ------------------------------------ ----------- ------------------------------
    remote_login_passwordfile            string      EXCLUSIVE
    What could be the reason?

    Make sure that /network/admin/sqlnet.ora does not:

    SQLNET.AUTHENTICATION_SERVICES=NONE
    
  • ORA-01031: insufficient privileges on run immediately 'create a table... '. »

    Hello. I created a stored procedure that starts an immediate execution "create table..." Responses to Oracle with the message ' ORA-01031: insufficient privileges.

    I solved the problem adding 'authid current_user is' in the procedure declaration.

    Unfortunately, if I try to plan his by DBMS_JOB, responses to oracle with the same error again.

    Why? And how can I avoid it?

    Thank you very much in advance

    Published by: user4501018 on 6-mag-2010 4.00

    user4501018 wrote:

    Unfortunately, if I try to plan his by DBMS_JOB, responses to oracle with the same error again.

    Add:

    run immediately "role play all THE ';"

    before immediate 'create table..."

    SY.

  • Oracle ORA-01031 insufficient privileges

    Hi all,

    I installed oracle 10g and created the new database. When I try to create the simple view wristwatch the following error.

    Oracle ORA-01031 insufficient privileges

    Note: if I connected through the admin user, I was able to create the view (System Manager). Although I have provide him grant leave, I could not able to create the view, his request for privileges.

    say create or replace view view-name as select * from employees;

    Error: oracle ora-01031 insufficient privileges

    Thanks in advance

    Hello

    You need the privilege system CREATE VIEW to create a view. This is in addition to the SELECT on the tables directly granted privileges at home (and not a role you have).

  • ORA-01031: insufficient privileges while selectin view belongs to another schema in oracle database 11g

    Hello

    DB version 11.2.0.3.0

    We have a few views resides in the application schema, we cerated user and granted select on the view through the roles.

    but the user becomes ORA-01031: insufficient privileges when accessing the content view

    appreciated inputs

    BR

    Praaksh GR

    > I issued a grant select on Z.table - X with the option grant.

    This isn't what you need - you should

    Grant select on Z.table y with the option grant.

    Grant select on Y.view to X;

  • Create table ORA-01031: insufficient privileges

    SQL > indicate user USER is 'TEST_RPT.

    SQL > CREATE TABLE mytest (id NUMBER); - it does not work

    CREATE TABLE mytest (id NUMBER)

    * ERROR at line 1: ORA-01031: insufficient privileges

    SQL > CREATE TABLE TEST_RPT.mytest (id NUMBER).

    Table created. SQL >


    SQL > select * from session_privs;

    PRIVILEGE

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

    ANY PROCEDURE DEBUG

    DEBUGGING SESSION CONNECT

    CREATE INDEXTYPE

    OPERATOR TO CREATE

    CREATE THE TYPE

    CREATE THE TRIGGER

    CREATE PROCEDURE

    CREATE SEQUENCES

    CREATE VIEW

    CREATE SYNONYM

    CREATE THE CLUSTER

    CREATE TABLE

    UNLIMITED TABLESPACE

    ALTER SESSION STATEMENT

    CREATE SESSION

    Try this:

    SELECT USER, SYS_CONTEXT('USERENV','CURRENT_SCHEMA') FROM DUAL;

    The two identical values? CURRENT_SCHEMA is what will determine the owner of the table you create, if you do not specify an owner.

    This can be changed by

    ALTER SESSION SET CURRENT_SCHEMA = whatever_you_want_it_to_be;

  • Creating the javax/activation/ActivationDataFlavor class error ORA - 01031: insufficient privileges

    Hi all

    I created mail.jar is correctly loaded in the database, but while loading activation.jar I get the following error.

    Version of Oracle 11.2.0.4.0 database.

    loadjava.bat u sys / * o - r - v f - noverify-synonym g public D:\EXCEL_ORACLE_DIR\activation.jar

    arguments: '-u' ' sys / *' 'o' '-r' '-v' '-f' '-noverify' '-synonym ' "-g' 'Public' 'D:\EXCEL_ORACLE_DIR\activation.jar'"

    creation: resource META-INF/MANIFEST. MF

    loading: resource META-INF/MANIFEST. MF

    creation: resource META-INF/mailcap.default

    loading: resource META-INF/mailcap.default

    creation: resource META-INF/mimetypes.default

    loading: resource META-INF/mimetypes.default

    creation: javax/activation/ActivationDataFlavor class

    loading: javax/activation/ActivationDataFlavor class

    Error when creating class javax/activation/ActivationDataFlavor

    ORA-01031: insufficient privileges

    ORA-06512: at line 1

    creation: class javax/activation/CommandInfo

    load: class javax/activation/CommandInfo

    Error when creating class javax/activation/CommandInfo

    ORA-01031: insufficient privileges

    ORA-06512: at line 1

    Something that I missed.

    Thank you all for your response.

    I connect sys as sysdba.

    I checked the sys schema which classes activation.jar is already there that is why it is showing error.

  • Select display on public dblink fails with ORA-01031 run select directly throw dblink public works very well

    Hi @ all,

    A company CAR 11.2.0.3 I'm tring to select * on a view with another user (not the owner of the view), this view select another scope of view a dblink (don't ask me why please ) and mount an ORA-01031... If I try to run the select used in the view with this different user all works very well... I try to explain better:

    Point of VIEW is USERA. BIRD using a dblink public:

    CREATE OR REPLACE FORCE VIEW "USERA"."MYVIEW" ("A", "B", "C") AS
    SELECT A,B,C FROM ANOTHERVIEW@REMOTEDB;
    
    

    B user trying to pick at this point of view: (USERB is a logon trigger that change current_schema to USERA) so, make USERB :

    select * from MYVIEW;
    
    

    and get an ORA-01031.

    If the user USERB perform only:

    SELECT A,B,C FROM ANOTHERVIEW@REMOTEDB;
    
    

    everything works fine.

    Dblink is created in public

    This problem does not occur on other 10 public database with similar assumptions link...

    Can you help me o redirect any link to metalink or something else?

    Thank you!

    IAIO wrote:

    USERB is a logon trigger that change current_schema to USERA

    Current schema to USERA definition allows user USERB reference user USERA belonging to objects without prefixing them with USERA. Then, when USERB emits:

    Select * from BIRD;

    Oracle translates him:

    Select * from USERA. BIRD;

    but the user session is always USERB. As a result, Oracle checks to see if USERB has the right to SELECT on USERA. BIRD. And based on ORA - 01031 USERB didn't. Needs will USE to grant select on BIRD to USERB.

    SY.

  • ORA-01031: insufficient privileges - creating a Package

    Hai,

    11.2.0.4 Linux

    SQ

    I can access all objects in the creation script and it works fine...

    No idea

    I'm sure if you searched this forum for "insufficient privileges" you would have found as 100 entries with the solution in it.

    Inside the package, grants you have received a role do not work... you must direct subsidies unless the package is a package of the Summoner.

    HTH

Maybe you are looking for

  • Satellite L850-b409 - cannot listen files mp4 video

    I have proplem in audio list in files mp4 video I have used all the video player - multimedia player - klite Player cannot play audio files mp4 vedioHelp, please My laptop is Toshiba Satellite L850-b409part no: pskg8v I have 8 64-bit windows Pleasehe

  • Throughput WAN Netgear R7000

    I am really interested in buying this router, but I have a concern that it can't handle a 1 Gbps connection. I recently got 1 Gbps fiber and looking to buy a router to manage this speed in a connection. I read that it can not reach speeds of more tha

  • Correct configuration for a measurement of voltage of 5 signals of pressure 4-20mA with a common GROUND (see photo)

    Hello! I intend to use the NRSE-installation for 5 meters of 4-20mA pressure that share a common GND. I drew a diagram of physical connection according to the wiring diagram that suggests the DAQ Assistant. However I do not know if it's okay or not..

  • Prevent editing of legend

    Okay, that's annoying me now. I have a graph of waveform in my current application. I use a lot of control by programming so that it can adapt and displays just the way I like it on the front panel (the application is highly customizable to the user)

  • How can I design a simple Board layer in Ultiboard?

    Students, I work with the design very simple tips and we want to make it simple layer, mainly because we their etch ourselves.  Is it possible to set up Ultiboard to route on a single layer?