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.

Tags: Database

Similar Questions

  • 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, what is the solution?

    [oracle@ora-lab2 ~] $ sqlplus/nolog
    SQL * more: version 11.1.0.6.0 - Production on Fri Sep 18 14:01:43 2009
    Copyright (c) 1982, 2007, Oracle. All rights reserved.
    SQL > connect virtue sysdba;
    ERROR:
    ORA-01031: insufficient privileges

    SQL > connect sys/test as sysdba;
    Connected.
    SQL > show the distance parameter

    VALUE OF TYPE NAME
    ------------------------------------ ----------- ------------------------------
    remote_dependencies_mode string TIMESTAMP
    remote_listener chain
    Remote_login_passwordfile string EXCLUSIVE
    REMOTE_OS_AUTHENT Boolean TRUE
    remote_os_roles boolean FALSE
    result_cache_remote_expiration integer 0

    [oracle@ora-lab2 ~] $ rman
    Recovery Manager: release 11.1.0.6.0 - Production on Fri Sep 18 14:02:24 2009
    Copyright (c) 1982, 2007, Oracle. All rights reserved.
    RMAN > Connect target;
    RMAN-00571: ===========================================================
    RMAN-00569: = ERROR MESSAGE STACK FOLLOWS =.
    RMAN-00571: ===========================================================
    ORA-01031: insufficient privileges
    RMAN > Connect target sys/test@prim01;
    connected to target database: PRIM01 (DBID = 2934738896)
    RMAN > exit
    Complete recovery manager.

    [oracle@ora-lab2 admin] $ cat sqlnet.ora
    NAMES. DIRECTORY_PATH = (TNSNAMES)
    SQLNET. AUTHENTICATION_SERVICE = (NONE)
    #NAMES. DOMAINE_PAR_DEFAUT = EVERYONE
    TRACE_LEVEL_CLIENT = OFF
    SQLNET. EXPIRE_TIME = 30

    Pavan Kumar says:
    Refer to http://www.psoug.org/reference/net_services.html

    Pavan - Please note this is a library of Dan Morgan's more hosted psoug. Your reference is a copy of archive that is still available but is no longer maintained.

    Please change your links to replace www.psoug.org by www.morganslibrary.com to get the latest wonderful resource of Dan thye. The correct link would be http://www.morganslibrary.com/reference/net_services.html

  • 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 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

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

  • ORA-01031: insufficient privileges when connecting as SYSDBA

    I am trying to connect to the database and receiving "ORA-01031: insufficient privileges". Database version is 11.2.0.3 (standalone) on Linux.

    [oracle@dbserv admin] $ echo $ORACLE_HOME

    /U01/app/Oracle/product/11.2.0.3/db1

    [oracle@dbserv admin] $

    [oracle@dbserv admin] $ which sqlplus

    /U01/app/Oracle/product/11.2.0.3/db1/bin/sqlplus

    [oracle@dbserv dbs] $ sqlplus sys/oracle@newdb as sysdba

    SQL * more: Production release 11.2.0.3.0 Wed Aug 26 20:38:13 2015

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

    ERROR:

    ORA-01031: insufficient privileges

    Enter the user name:

    Password file has been created and is in $ORACLE_HOME/dbs location.

    [oracle@dbserv dbs] $ pwd

    /U01/app/Oracle/product/11.2.0.3/db1/DBS

    [oracle@dbserv dbs] $ ls - lrt * orapw *.

    -rw - r - 1 oracle oinstall 1536 26 August to 20:38 orapwnewdb

    To be clear, there is a version of GI 11.2.0.2 already installed with 11.2.0.2 RDBMS version on the same server (standalone).

    In addition, 11.2.0.3 has been installed on the same machine and a new listening port has been created on 11.2.0.3 home for databases residing on this House.

    Here are the details:

    [oracle@dbserv dbs] $ ps - ef | grep tns

    Oracle 4226 1 0 20:20?        00:00:00 /u01/app/oracle/product/11.2.0.2/grid/bin/tnslsnr EARPHONE-inherit

    Oracle 4239 1 0 20:20?        00:00:00 /u01/app/oracle/product/11.2.0.3/db1/bin/tnslsnr LISTENER_NEWDB-inherit

    Oracle 4599 3734 0 20:44 pts/2 00:00:00 grep tns

    [oracle@dbserv dbs] $ lsnrctl status LISTENER_NEWDB

    LSNRCTL for Linux: Version 11.2.0.3.0 - Production on August 26, 2015 20:44:32

    Copyright (c) 1991, 2011, Oracle.  All rights reserved.

    Connection to (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST=dbserv.mydomain) (PORT = 1526)))

    STATUS of the LISTENER

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

    Alias LISTENER_NEWDB

    Version TNSLSNR for Linux: Version 11.2.0.3.0 - Production

    Start date August 26, 2015 11:20:20

    Uptime 0 days 0 h 24 min 21 sec

    Draw level off

    Security ON: OS Local Authentication

    SNMP OFF

    Parameter Listener of the /u01/app/oracle/product/11.2.0.3/db1/network/admin/listener.ora file

    The listener log file /U01/app/Oracle/diag/tnslsnr/dbserv/listener_newdb/alert/log.XML

    Summary of endpoints listening...

    (DESCRIPTION = (ADDRESS = (PROTOCOL = tcp)(HOST=dbserv.mydomain) (PORT = 1526)))

    (DESCRIPTION = (ADDRESS = (PROTOCOL = ipc) (KEY = EXTPROC1526)))

    Summary of services...

    Service 'SLAVE_PORT_NUM' has 1 instance (s).

    Instance of 'SLAVE_PORT_NUM', status UNKNOWN, has 1 operation for this service...

    The command completed successfully

    My bad. OP has already validated the status of the listener. I just forgot.

    I suspected to be an incompatibility with SID in regard to upper and lower case letters and now seem to be confident.

    The listener status indicates the name of the instance as SLAVE_PORT_NUM but OP said as slave_port_num lowercase. Let's take a look in the file of the listener.

    TNS ADMIN could also be a cause, but in this case, it could lift error related to the listener (TNS).

    OP, please send the contents of listener.ora crossing 11.2.0.3 House.

    -Jonathan Rolland

  • Download "error: ORA-01031: insufficient privileges" when try to add relief of database

    Hi all

    I get insufficient privileges error when I added a standby database to dg configuration. I read some blog and he said that dgmgrl does not support os authentication, which means that I need to connect with sys and password. But I found that if I keep standby and primary SIDs are the same, the error will not occur even if I don't provide a password. Anyone know the reason? And no workaround?

    The process as follows:

    main SID: orcl ensures sid: prxx

    connect to "dgmgrl / '.

    Run ' add the database ' prxx_stby "as an identifier of connection is"prxx_stby"

    Download:

    Error: ORA-01031: insufficient privileges

    Failed.

    But if sid main: orcl ensures sid: orcl

    connect to "dgmgrl / '.

    Run ' add the database ' orcl_stby "as an identifier of connection is"orcl_stby"

    Download:

    Database "orcl_stby" added

    Liz

    I think still you can connect as "dgmgrl /", but its recommended to use "dgmgrl sys / * '.

    As rchem has said, there can be question of password. It doesn't matter whether the SID is the same or not primary and standby so different locations. So the best practice is to connect to the database from the primary server before using Oracle net service and test whether you connect or not.

    Ex: Prim_host > sqlplus sys/***@stby as sysdba

    There are a lot of possible issues

    -Missing or invalid password file

    -Service name is not registered with earphone

    -service incorrect, mentioned in the tns names

    and so many things, overlaps with these things.

  • Error ORA-01031 insufficient privilege when selecting a view

    OK, I think it's maybe a stupid question, but I can't understand it:

    The user John won the right to SELECT (directly, not by a database role) to the FRED.table1 schema.
    John user can issue select * from FRED.table1; and it works very well.

    User John then got the right to SELECT (directly, without going through a database role) to the schema
    MARK.view1;

    MARK.view1 selects only FRED.table1. No other table is in the View1.
    Schema MARK questionable views successfully. SELECT * FROM View1 returns results.
    I also checked the MARK scheme to ensure that she got the select on FRED.table1 directly that he has.

    Now, when you're logged in schema John, I try SELECT * to SCORE. VIEW1; and I get error ORA-01031 insufficient privileges.

    I don't know how to solve this. If John is granted SELECT a TABLE, it works of course but I don't want John to have this powerful private.

    As a reminder, SELECT these two brands a John. View1 and the table View1 selects from (FRED. (TABLE 1).
    John can select FRED. Table1: no problem but does not receive a privilege error even if John has SELECT on the BRAND. VIEW1.

    Any thoughts?

    Oh, Oracle 10.2.0.4 EA

    JSebastian wrote:
    OK, I think it's maybe a stupid question, but I can't understand it:

    The user John won the right to SELECT (directly, not by a database role) to the FRED.table1 schema.
    John user can issue select * from FRED.table1; and it works very well.

    User John then got the right to SELECT (directly, without going through a database role) to the schema
    MARK.view1;

    MARK.view1 selects only FRED.table1. No other table is in the View1.
    Schema MARK questionable views successfully. SELECT * FROM View1 returns results.
    I also checked the MARK scheme to ensure that she got the select on FRED.table1 directly that he has.

    Now, when you're logged in schema John, I try SELECT * to SCORE. VIEW1; and I get error ORA-01031 insufficient privileges.

    I don't know how to solve this. If John is granted SELECT a TABLE, it works of course but I don't want John to have this powerful private.

    As a reminder, SELECT these two brands a John. View1 and the table View1 selects from (FRED. (TABLE 1).
    John can select FRED. Table1: no problem but does not receive a privilege error even if John has SELECT on the BRAND. VIEW1.

    Any thoughts?

    Oh, Oracle 10.2.0.4 EA

    Are you sure that John was granted select on Mark.view1? In order for that to work, Mark would have had to select on the WITH GRANT OPTION Fred.table1... otherwise the grant to fail and then John would not be able to select the view because the grant was never issued successfully.

    Here is a basic test case (which I think is consistent with what you said) to make it work.

    drop user u1 cascade;
    drop user u2 cascade;
    drop user u3 cascade;
    
    create user u1 identified by u1;
    grant connect, resource to u1; 
    
    create user u2 identified by u2;
    grant connect, resource, create view to u2;
    
    create user u3 identified by u3;
    grant connect, resource to u3;
    
    connect u1/u1@orcl
    create table test1 (col1 number);
    grant select on test1 to u2 with grant option; --> this is the important part
    grant select on test1 to u3;
    
    connect u2/u2@orcl
    create view test2 as select * from u1.test1;
    grant select on test2 to u3;
    
    connect u3/u3@orcl
    select * from u2.test2;
    
  • ORA-01031: insufficient privileges when you try to run a proc

    I have a procedure called KILL_MY_SESSION that is defined with a value of DEFINE AUTHID

    The schema JOHN belonged procedure. The procedure makes several calls to PL/SQL DBMS_SQL package.
    The last thing that not with DBMS_SQL proceedings concern an ALTER SYSTEM KILL SESSION statement.
    Schema JOHN has privileges to kill a session in the database.
    If I log in the scheme of JOHN, I can issue the statement ALTER SYSTEM KILL SESSION successfully.
    Also, when you are logged in the scheme of JOHN, I can run the KILL_MY_SESSION procedure.

    Now I have the ISTO schema. I got ISTO privileged EXECUTE on the JOHN. Procedure KILL_MY_SESSION.
    Since JOHN. KILL_MY_SESSION is a privilege of rights DEFINERs, if RIGHTS shouldn't be able to execute the procedure correctly and kill a session?

    This is an output of the session of the ISTO when you try to run JOHN. KILL_MY_SESSION:

    SQL > conn oifs@dbname
    Enter password: *.
    Connected.
    SQL > 500 fixed lines
    SQL > select username, osuser, sid, serial #.
    2 session $ v
    3 where username = "OIFS."

    USERNAME OSUSER SID SERIAL #.
    ------------------------------ ------------------------------ ---------- ----------
    OIFS administrator 142 325
    OIFS administrator 139 613

    SQL > exec ('142 ', 325') john.kill_my_session
    BEGIN john.kill_my_session ('142 ', 325'); END;

    *
    ERROR on line 1:
    ORA-01031: insufficient privileges
    ORA-06512: at "SYS." DBMS_SYS_SQL", line 1204
    ORA-06512: at "SYS." DBMS_SQL", line 323
    ORA-06512: at "EIADBA. KILL_MY_SESSION', line 20
    ORA-06512: at line 1


    Someone at - he a clue as to what I'm doing wrong?
    View DBA_PROCEDURES, here's the record for KILL_MY_SESSION


    OWNER
    ------------------------------
    OBJECT_NAME
    --------------------------------------------------------------------------------
    OBJECT_TYPE AUTHID
    ------------------- ------------
    JOHN
    KILL_MY_SESSION
    DEFINE PROCEDURE

    I mean the privilege of system alter directly, not through roles.

    GRANT ALTER SYSTEM TO JOHN;
    

    Please read the articles below, you should restrict the sessions that can be killed, according to what will be your implementation.

    It could be useful.
    http://asktom.Oracle.com/pls/asktom/f?p=100:11:0:P11_QUESTION_ID:226613885088
    http://DBA-Oracle.com/t_granting_alter_system_kill_session.htm

  • Service_name problem-> ORA-01031: insufficient privileges error!

    I installed the database Oracle 11.2.0.1 on Oracle Linux 6.6, Virtualbox to test replication of the database.

    I have oracle11g and grid of two users. User network is set to infrastructure grid on ASM.

    When I prepare the database for duplication, I created a service_name as neworcl. When I connect to new oracle_sid with service name neworcl the following error has occurred!

    [oracle11g@orcl11g dbs] $ sqlplus sys/222333@neworcl as sysdba

    SQL * more: Production release 11.2.0.1.0 on Sun Oct 13 15:00:35 2015

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

    ERROR:

    ORA-01031: insufficient privileges

    BUT WHEN I want TO CONNECT locally without service_name then it is OK as follows

    Enter the user name: sys as sysdba

    Enter the password:

    Connected to:

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

    With partitioning, OLAP, Data Mining and Real Application Testing options

    SQL > select instance_name, status from v$ instance;

    STATUS INSTANCE_NAME

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

    neworcl START

    My tnsnames.ora file located in oracle11g user home as below

    tnsnames.ora # Network Configuration file: /u01/app/oracle/product/11.2.0/dbhome_1/network/admin/tnsnames.ora

    # Generated by Oracle configuration tools.

    = ORA11G

    (DESCRIPTION =

    (ADDRESS = (PROTOCOL = TCP)(HOST = orcl11g) (PORT = 1521))

    (CONNECT_DATA =

    (SERVER = DEDICATED)

    (SERVICE_NAME = ora11g)

    )

    )

    NEWORCL =

    (DESCRIPTION =

    (ADDRESS = (PROTOCOL = TCP)(HOST = orcl11g) (PORT = 1521))

    (CONNECT_DATA =

    (SERVER = DEDICATED)

    (SERVICE_NAME = neworcl)

    )

    )

    Listener.ora file located user to network as below

    listener.ora # Network Configuration file: /u01/app/grid/product/11.2.0/grid/network/admin/listener.ora

    # Generated by Oracle configuration tools.

    SID_LIST_LISTENER =

    (SID_LIST =

    (SID_DESC =

    (GLOBAL_DBNAME = ora11g)

    (ORACLE_HOME = u01/app/oracle/product/11.2.0/dbhome_1)

    (SID_NAME = ora11g)

    )

    (SID_DESC =

    (GLOBAL_DBNAME = neworcl)

    (ORACLE_HOME = u01/app/oracle/product/11.2.0/dbhome_1)

    (SID_NAME = neworcl)

    )

    )

    LISTENER =

    (DESCRIPTION_LIST =

    (DESCRIPTION =

    (ADDRESS = (PROTOCOL = CIP)(KEY = EXTPROC1521))

    (ADDRESS = (PROTOCOL = TCP)(HOST = orcl11g) (PORT = 1521))

    )

    )

    ADR_BASE_LISTENER = / u01/app/grid

    ENABLE_GLOBAL_DYNAMIC_ENDPOINT_LISTENER = WE

    QUESTION: Why I can't connect to the new database with service_name = neworcl?

    Net Oracle connections as sysdba usually require a password file. Have you created a password file for your database?

    You can check the content of $ORACLE_HOME/dbs and see if you have a file named "orapwneworcl". If you do not, you can create it using the orapwd utility. Change your password for SYS in sqlplus must automatically synchronize the password in the password file. The password file is necessary for remote connections, since you cannot authenticate using the OSDBA group and the database may in fact not even begin to verify your password.

    For more details, see https://docs.oracle.com/cd/B28359_01/server.111/b28310/dba007.htm

    BTW, when you connect AS SYSDBA using Protocol inheritance, you can use any user name and password and will always connect to the SYS schema, which case authentication is made by the OSDBA group identifier. For example, you can use any user name and password, such as "humptydumpy/blablaba sqlplus as sysdba".

  • ORA-01031: insufficient privileges in a LOGIN TRIGGER

    Connected to db as SYS (SYSDBA) and created:


    CREATE OR REPLACE TRIGGER SYSTEM.trace_login
    AFTER LOGON
    WE DATABASE
    BEGIN
    IF SYS_CONTEXT ('USERENV', "SESSION_USER") LIKE '% TS_PROD_OGE_70803A % '.
    THEN
    -EXECUTE IMMEDIATE ' alter session set sql_trace = TRUE ";
    DBMS_SESSION.session_trace_enable (expected = > TRUE, lie = > FALSE);
    EXECUTE IMMEDIATE 'alter session set tracefile_identifier = LOCTRACE';
    END IF;
    END;

    When the TS_PROD_OGE_70803A user (logon)

    Trace file C:\oracle\app\tsadmin\diag\rdbms\wptsora11g\wptsora1\trace\wptsora1_ora_2444.TRC
    Oracle Database 11 g Enterprise Edition Release 11.1.0.7.0 - 64 bit Production
    With partitioning, OLAP, Data Mining and Real Application Testing options
    Windows NT Version 6.0 Service Pack 2
    CPU: type 4-8664, 4 physical cores
    Process affinity: 0 x 0000000000000000
    Memory (success/Total): Ph: 793 M / 4094 M, Ph + FCP: 4981 M / 8437 M
    Instance name: wptsora1
    Redo thread mounted by this instance: 1
    Oracle process number: 21
    Windows thread ID: 2444, image: ORACLE. EXE (SHAD)


    2010-12-29 16:50:52.723
    SESSION ID: (54.2012) 2010-12-29 16:50:52.723
    CUSTOMER ID :() 16:50:52.723 2010-12-29
    SERVICE NAME: (WPTSORA11G) 2010-12-29 16:50:52.723
    MODULE NAME:(SQL Developer) 2010-12-29 16:50:52.723
    ACTION NAME :() 16:50:52.723 2010-12-29

    Ignored the error 604 while SYSTEM is running. TRACE_LOGIN

    2010-12-29 16:50:52.723
    -Error stack dump-
    ORA-00604: an error has occurred at the SQL level 1 recursive
    ORA-01031: insufficient privileges
    ORA-06512: at "SYS." DBMS_SESSION", line 269
    ORA-06512: at line 5


    I tried a number of grants to the user, but I always get the same answer

    (Oracle 10.2.x and also on Oracle 11)

    Thanks for the tips

    OK, if people helped you that you can still give their answers as correct or useful.

    Nice day

  • 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;

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

  • EXPDP: ORA-01031: insufficient privileges

    Hello

    When I add the QUERY clause in the settings file, get the following errors.

    ERROR:
    ORA-31693: Data Table object 'TESTDB '. "' ACCOUNT ' could not load/unload and being ignored because of the error:
    ORA-01031: insufficient privileges

    Version: Export: Release 10.2.0.4.0 - Production 64-bit

    Parameter:

    DIRECTORY = USER_DATA_PUMP_DIR
    CONTENT = ALL
    PARALLEL = 4
    ESTIMATE = STATISTICS
    INCLUDE = TABLE: 'IN (SELECT EXP_TABLE_NAME FROM EXPDP. '. EXP_TABLES).
    QUERY = TESTDB. ACCOUNT: ' IF ADDED_OPRID NOT IN (SELECT OPRID FROM EXCLUDE_OPRID).
    FLASHBACK_TIME = "to_timestamp (to_char (sysdate, 'YYYY-MM-DD HH24:MI:SS'),"YYYY-MM-DD HH24:MI:SS").

    The following grants have been created on the user of datapump EXPDP export.

    GRANT PERMISSION TO EXPDP
    GRANT 'CONNECT' TO THE EXPDP
    GRANT CREATE SESSION EXPDP
    GRANT CREATE TABLE TO EXPDP
    GRANT SELECT ANY TABLE TO EXPDP

    Can you help me solve this problem?

    Thank you

    Hello
    you do an export with the return of flame parameter.
    Try to give your user FLASHBACK ANY TABLE export.

    I have several problems in the past, the permission is not enough for the return of flame.

    concerning
    Peter

Maybe you are looking for

  • Tecra A5 Wireless LAN Driver XP

    Hello, I had to reinstall a laptop Tecra A5. The problem is that I would not find the Wlan Driver for WIN XP.Device Manager indicates that its Intel Pro / Wireless 2200BG Network Adapter.Serial number of the laptop is 16168071K Hope someone could hel

  • Satellite M30x freezes when I remove the power adapter

    Whenever there is a change of power freeze my laptop, I've adjusted the Toshiba power management software, still does not work.So, I formatted the laptop and tried to reinstall the operating system (Windows XP Home edition), while loading the driver,

  • Qosmio F10-100 keyboard replacement

    I have a client with a Qosmio F10-100 which is a few months out of warranty. It has several keys that don't work at all and the removal of the key top and cleaning underneath had no effect. He wants to replace. So I have two questions; 1. where can I

  • What is the best way to generate the density curve for example spectral dBuV / 200 Hz?

    There are large screws for PSD, but this is an easy way to create a field of spectral density with units dBuV/200 Hz?

  • Photosmart HP 7510 - can't find the option to check the ink cartridge levels

    I used my HP Photosmart 7510 for about 3 years on my Windows 7 computer. In the past when I clicked on the icon of the printer, it would bring a window that allowed me to select what I wanted to do with the printer.  Analyze, check the properties, bu