Insufficient privileges error

Hi,
I have some problem with imp on logical standby database. I have this posted on IMP & EXP errors. Kindly have a look and suggest.
ORA-01031: Insufficient privileges
Thanks,
Aswin.

Hi Aswin,
I have gone through the link, I say try to connect as testuser and then peform the creation of object, i doubt it there exist some Issue the way you create table from superuser. Kindly check the all_objects view the status of the object and access grants
Try create user
logon with user
create the table
disconnect
then exp and imp
the above steps would work with out any Issues, try to peform and see if you find any difference.
HTH
- Pavan Kumar N
- ORACLE OCP - 9i/10g
https://www.oracleinternals.blogspot.com

Similar Messages

  • "insufficient  privilege" ERROR?

    I'm a very newbie to Oracle world.....
    It seems the installer or DBCA not have enough privilege to create Database....
    How to fix this "insufficient privilege" ERROR?

    the below text shows what problem I fight with......
    bash-2.03$ sqlplus "/as sysdba"
    SQL*Plus: Release 9.0.1.0.0 - Production on Thu Mar 23 03:22:20 2006
    (c) Copyright 2001 Oracle Corporation. All rights reserved.
    Connected to an idle instance.
    SQL> grant sysdba to oracle
    2 ;
    grant sysdba to oracle
    ERROR at line 1:
    ORA-01034: ORACLE not available
    SQL> conn oracle
    Enter password:
    ERROR:
    ORA-01034: ORACLE not available
    ORA-27101: shared memory realm does not exist
    SVR4 Error: 2: No such file or directory
    Warning: You are no longer connected to ORACLE.
    SQL>

  • ORA-01031: Insufficient privileges error in upgrading from 9.2.0.5 to 10.2

    Hi, I am using DBUA to upgrade oracle 9i database to 10g. In step 1 of 7 when I select 9i datagase to upgrade I get ORA-01031: Insufficient privileges error. However, I can connect to the database from 9i as well as 10g using SQLPlus. Any idea what could be going wrong? Thanks. Manish
    Edited by: user635081 on Jul 22, 2009 10:38 AM

    Check your REMOTE_LOGIN_PASSWORDFILE . If it is set to NONE, then make sure that SQLNET.AUTHENTICATION_SERVICES = (NTS) in your sqlnet.ora file.
    the OS user should be in ORA_DBA group.
    Try connecting as SYS,
    SQL> sqlplus /nolog
    SQL> connect / as sysdba
    HTH
    Anantha

  • "Insufficient privileges"-error when starting database when on network

    Hi
    I have an Oracle 9.2.0.5 database installed on my laptop (Windows 2000 Prof), but I have a small problem.
    When I'm plugged in to the company's network, I can start the database normally.
    However, when I'm not connected to the company network, i.e. only logged in locally on my laptop, then I get an ORA-01031 Insufficient Privileges error when I start the database. Therefor, I can't do anything.
    When I'm plugged into the company network, start the database, and then unplug my laptop, I can still connect to the database. So I guess it checks some userrights only when it starts the database.
    I checked the user account settings, and my user is a local administrator, and is in the ORA_DBA usergroup.
    Does someone know which setting I have to change?

    You can install MS Loopback Adapter on your system and assign an IP Address to the loopback adapter. You should then be able to work even when not connected to the network.
    Mudassar Choudhry.

  • ORA-01031 insufficient privileges  error when selecting from a view

    OK I think this might be a dumb question but I can't figure it out:
    User John has been granted SELECT privilege (directly, not through a database role) to schema FRED.table1;
    User John can issue select * from FRED.table1; and it works just fine.
    User John has then been granted SELECT privilege (directly, not via a database role) to schema
    MARK.view1;
    MARK.view1 only selects from FRED.table1. No other tables are in the view1.
    Schema MARK can successfully query the views. SELECT * FROM VIEW1 returns results.
    I also checked the MARK schema to ensure that it has been granted SELECT on FRED.table1 directly which it has.
    Now, when logged into schema John, I try SELECT * FROM MARK.VIEW1; and I get ORA-01031 insufficient privileges error.
    I'm not sure how to troubleshoot this. If John is granted SELECT ANY TABLE, it of course works but I don't want John to have that powerful priv.
    To recap, John has SELECT on both MARK.VIEW1 and the table which VIEW1 selects from (FRED.TABLE1).
    John can select from FRED.TABLE1 no problem but receives a privilege error even though John has SELECT on MARK.VIEW1.
    Any thoughts?
    Oh, Oracle EE 10.2.0.4

    JSebastian wrote:
    OK I think this might be a dumb question but I can't figure it out:
    User John has been granted SELECT privilege (directly, not through a database role) to schema FRED.table1;
    User John can issue select * from FRED.table1; and it works just fine.
    User John has then been granted SELECT privilege (directly, not via a database role) to schema
    MARK.view1;
    MARK.view1 only selects from FRED.table1. No other tables are in the view1.
    Schema MARK can successfully query the views. SELECT * FROM VIEW1 returns results.
    I also checked the MARK schema to ensure that it has been granted SELECT on FRED.table1 directly which it has.
    Now, when logged into schema John, I try SELECT * FROM MARK.VIEW1; and I get ORA-01031 insufficient privileges error.
    I'm not sure how to troubleshoot this. If John is granted SELECT ANY TABLE, it of course works but I don't want John to have that powerful priv.
    To recap, John has SELECT on both MARK.VIEW1 and the table which VIEW1 selects from (FRED.TABLE1).
    John can select from FRED.TABLE1 no problem but receives a privilege error even though John has SELECT on MARK.VIEW1.
    Any thoughts?
    Oh, Oracle EE 10.2.0.4Are you certain John has been granted select on Mark.view1 ? In order for that to work Mark would have to have been given select on Fred.table1 WITH GRANT OPTION ... otherwise the grant would fail and then John would not be able to select from the view because the grant was never successfully issued.
    Here's a basic test case (which i think conforms to what you've outlined) to get it working.
    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 privilege" error

    We are getting "ora-01031 insufficient privilege" error while registering Apps as target user in production environment.
    We tried to add the user using below method
    · Design Center / Global Explorer / Security / Users -> Right click -> New user
    · Repository assistance.
    · Given the OWB owner as the DBA privilege.
    Please let me know how to investigate further
    Thanks a lot for your help.

    Hi!
    Please check the following query after the user registration. But the question is, are you registering the users with the repository owner?
    select * FROM user_role_privs;
    Regards.
    Sebastian

  • SQL Workshop insufficient privileges error :-S

    Hi everyone,
    The problem I have is when I try to compile a procedure, function or whatever I get the ORA-01031: insufficient privileges error.
    I tryed to give the DBA role to the APEX_PUBLIC_USER without success.
    I tryed to grant the "execute" (on an especified procedure or function for testing purposes) privileges to that user and I still getting the error. :-S
    I can compile any object from the SQL Navigator but APEX.
    What am I missing?
    Hope u could help me :)
    Thanks in advance,
    Fury Morales.

    You should not be messing around with the grants made to the APEX product accounts (FLOWS_xxx etc).
    Scott's suggestion is to have your workspace parsing schema be granted the 'create procedure' privilege.
    From sqlworkshop you can the run query below to determine the 'system' privileges granted to the workspace schema
    select privilege from user_sys_privs;
    Varad
    Edited by: varad acharya on Jul 28, 2009 4:32 PM

  • Get ORA-01031: insufficient privileges error, but only when using dbstart.

    I am getting ORA-01031: insufficient privileges error, but only when using dbstart. the listener starts but not the database. How come I can start it from SQL prompt but not from dbstart scripts as the oracle user?
    [oracle@mallard bin]$ ./dbstart
    Processing Database instance "gf44": log file /prod/oracle/10/startup.log
    [oracle@mallard bin]$
    Log file:
    Wed Aug 20 10:15:02 CDT 2008
    SQL*Plus: Release 10.2.0.1.0 - Production on Wed Aug 20 10:15:02 2008
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    SQL> ERROR:
    ORA-01031: insufficient privileges
    SQL> ORA-01031: insufficient privileges
    SQL>
    /prod/oracle/10/bin/dbstart: Database instance "gf44" warm started.
    >
    oratab file:
    gf44:/prod/oracle/10:Y
    dbstart file section:
    # See if it is a V6 or V7 database
    VERSION=undef
    if [ -f $ORACLE_HOME/bin/sqldba ] ; then
    SQLDBA=svrmgrl
    VERSION=`$ORACLE_HOME/bin/sqldba command=exit | awk '
    /SQL\*DBA: (Release|Version)/ {split($3, V, ".") ;
          print V[1]}'`
    case $VERSION in
    "6") ;;
    *) VERSION="internal" ;;
    esac
    else
    if [ -f $ORACLE_HOME/bin/svrmgrl ] ; then
    SQLDBA=svrmgrl
    VERSION="internal"
    else
    SQLDBA="sqlplus /nolog"
    fi
    fi
    Permissions of file:
    [oracle@mallard bin]$ ls -la dbstart
    -rwxrwxr-x 1 oracle oinstall 10407 Aug 19 12:27 dbstart
    [oracle@mallard bin]$
    User permissions:
    [root@mallard 10]# id oracle
    uid=503(oracle) gid=503(oinstall) groups=503(oinstall),504(dba)
    [root@mallard 10]#
    I can start the listener manually using "./lsnrctl start" and start the database manually from sql prompt using "SQL>startup" (as sysdba) with no problems. this only happens when using dbstart file. I am logged in as oracle user and all environment variables are set
    Thank you for any help you could provide.

    I have the same problem, but i don't want insert this string
    Connect sys/{password} as sysdbaI have deployed an Oracle 10g with os SunOS
    $ uname -a
    SunOS DB02 5.10 Generic_141444-09 sun4v sparc SUNW,Sun-Blade-T6320
    I can connect with sys/password, but I can't login with
    $ sqlplus /nolog
    SQL*Plus: Release 10.2.0.1.0 - Production on Thu Jan 7 15:19:50 2010
    Copyright (c) 1982, 2005, Oracle.  All rights reserved.
    SQL> connect / as sysdba
    ERROR:
    ORA-01031: insufficient privilegesthe the startup and dbshut don't work.
    Someone maybe help me?
    Thanks,
    Regards.
    Lain

  • Getting Insufficient Privileges Error while running Pages in Jdeveloper

    Hi,
    When I am running my pages in JDeveloper, I am getting the Error:
    "You have insufficient privileges for the current operation." and the Application login page is being shown.
    Looking at the log window, I see that the system expects my page to be shown correctly. However the login screen gets displayed.
    I suspected that my login/password is incorrect in Jdeveloper Project settings. But I tried that. It is finw. Any suggestions as to what the problem might be would be great.
    Please find excerpts from the Jdev log window:
    [328] Connected to Oracle JBO Server - Version: 9.0.3.13.88
    [329] Loading from /lalith/oracle/apps/xxtmg/graph/server/server.xml file
    [330] Loading from indvidual XML files
    [331] Loading the Containees for the Package 'lalith.oracle.apps.xxtmg.graph.server.server'.
    [332] Loading from /lalith/oracle/apps/xxtmg/graph/server/GraphAM.xml file
    [333] Created root application module: 'lalith.oracle.apps.xxtmg.graph.server.GraphAM'
    [334] Locale is: 'en_US'
    [335] DefaultConnectionStrategy is establishing an application module connection
    [336] mUsePersColl is false
    [337] ViewObjectImpl.mDefaultMaxRowsPerNode is 70
    [338] ViewObjectImpl.mDefaultMaxActiveNodes is 30
    [339] Oracle SQLBuilder: Registered driver: oracle.jdbc.driver.OracleDriver
    [340] Successfully logged in
    [341] JDBCDriverVersion: 9.2.0.5.0
    [342] DatabaseProductName: Oracle
    [343] DatabaseProductVersion: Oracle Database 10g Enterprise Edition Release 10.2.0.2.0 - Production With the Partitioning, OLAP and Data Mining options
    [344] Root application module, lalith.oracle.apps.xxtmg.graph.server.GraphAM, was created at 2007-01-02 14:08:08.391
    [345] setConnectionReleaseLevel - Set connection release level to 0
    [346] OAApplicationPoolImpl.setConnectionReleaseLevel was called with isReleased = false, isReserved = false
    [347] setConnectionReleaseLevel - Set connection release level to 0
    [348]
    <ICX_SessionValues_Diagnostics - ICX Cookie = m6BVBr6qeAiK1S9ptOKjFou1:S>: WebRequestUtil.validateContext is called.
    [349]
    <ICX_SessionValues_Diagnostics - ICX Cookie = m6BVBr6qeAiK1S9ptOKjFou1:S>: WebRequestUtil.validateContext returned status = VALID.
    ICX Session Values after WebRequestUtil.validateContext:
    ============================================================
    <ICX_SessionValues_Diagnostics - ICX Cookie = m6BVBr6qeAiK1S9ptOKjFou1:S>:
    Current ICX Session (Oracle Applications User Session) Values:
    1. User ID (DB, ICX_SESSIONS) = 6
    2. Responsibility ID (DB, ICX_SESSIONS) = -1
    3. Responsibility Application ID (DB, ICX_SESSIONS) = -1
    4. Org ID (DB, ICX_SESSIONS) = 132
    5. Org ID (DB, CLIENT_INFO) = 132
    6. Org ID (ProfileStore.getProfile) = 132
    7. Org ID (ProfileStore.getSpecificProfile with new ICX_SESSIONS values) = 132
    8. Employee ID (DB, FND_GLOBAL.EMPLOYEE_ID) = -1
    9. Employee ID (AppsContext.getFNDGlobal) = -1
    10. Function ID (DB, ICX_SESSIONS) = -1
    11. Security Group ID (DB, ICX_SESSIONS) = -1
    ===========================================================
    [350] New Language Code = null
    [351] Current Language Code = US
    [352] ViewDefImpl_1_2>#q computed SQLStmtBufLen: 64, actual=24, storing=54
    [353] select sysdate from dual
    [354] **********oracle.jdbc.driver.OraclePreparedStatement@11abd68
    [355] Column count: 1
    [356] Column count: 1
    [357] ViewObject : Created new QUERY statement
    [358] ViewDefImpl_1_2>#q old SQLStmtBufLen: 54, actual=24, storing=54
    [359] select sysdate from dual
    [360] ViewObject close prepared statements...
    [361] Loading from /oracle/apps/ak/region/server/server.xml file
    [362] Loading from indvidual XML files
    [363] Loading the Containees for the Package 'oracle.apps.ak.region.server.server'.
    [364] Loading from /oracle/apps/ak/region/server/AkAmParameterRegistryVO.xml file
    [365] ViewDef: oracle.apps.ak.region.server.AkAmParameterRegistryVO using glue class
    [366] Column count: 2
    [367] ViewObject : Created new QUERY statement
    [368] AkAmParameterRegistryVO>#q computed SQLStmtBufLen: 140, actual=100, storing=130
    [369] select PARAM_NAME, PARAM_SOURCE
    from AK_AM_PARAMETER_REGISTRY
    where APPLICATIONMODULE_DEFN_NAME = :1
    [370] Binding param 1: lalith.oracle.apps.xxtmg.graph.server.GraphAM
    [371] OAApplicationPoolImpl.setConnectionReleaseLevel was called with isReleased = true, isReserved = true
    JRAD_PERF : /lalith/oracle/apps/xxtmg/graphs/webui/GraphPG - processRequest : 1313ms
    We have recently migrated our 9i database to 10G database. Is it something related to that?
    Thanks

    Check whether the following thread helps.
    Re: Error: You have insufficient privileges for the current Operation.

  • Insufficient privileges error while calling the seeded page on button click

    hi all
    I am working on Customers Online module.
    I have added a normal button on a standard page through personalization .
    The destination for the button is set to call the seeded Create organization page
    destination="OA.jsp?OAFunc=XXIIMC_NG_ORG_CREATE&amp;OAHP=IMC_NG_MAIN_MENU&amp;OASF=IMC_NG_ORG_CREATE"
    System Admin --> functions --> XXIIMC_NG_ORG_CREATE is a copy of standard function IMC_NG_ORG_CREATE.
    It calls the page "OA.jsp?page=/oracle/apps/imc/ocong/party/organization/webui/ImcCreateOrg&HzPuiAddressEvent=CREATE"
    When i click on the button i get the error *"You have insufficient privileges for the current operation. Please contact your System Administrator"*
    1. The profiles *"FND Function Validation Level"* and *"FND Validation Level"* are set to NONE
    2. Bounced apache also.
    3. The responsibility Customers Online Superuser is assigned to my user.
    We are doing R12 upgrade. The similar functionality is working fine in 11i.
    Please let me know what could be the reason of this error and how to correct it.

    Hi,
    Grant is not given to the create organization page. Ask your DBA for this issue.
    Thanks,
    Kumar

  • Ora-01031: Insufficient Privileges error during 10g install on Suse 9.1

    I have tried installing Oracle 10g on Suse 9.1 Professional several times. Although I have tried to carefully follow the instructions in the installation guide, I get the following error.
    When the Database Configuration Assistant start during the initial installation, I receive the error -> Ora-01031: Insufficient Privileges.
    I created the oinstall and dba group according to the installation guide and made oracle a member with oinstall being the primary group. I also ran -> chown -R oracle:oinstall -> on the Oracle_Base folder to which I want to install the software and oradata files. Similarly, I ran -> chmod -R 775 -> on that folder. During the install I ran the script -> oracle_base/oraInventory/orainstRoot.sh -> during the installation when prompted.
    I would really appreciate any help that any of you could provide. Thank you so much in advance.
    -Daniel

    I'm logged in as oracle when I perform the installation but as soon as the database configuration assistant tries to create the database I get this error. I had made oracle a member of oinstall and dba just as it was desribed in the instructions. (At one point I even tried giving oracle root, which didn't seem to work either. I have since reinstalled the OS.)
    Thank you for helping me with this!

  • TS3212 Insufficient privileges error when trying to install itunes in Windows 7

    I'm trying to install itunes on a machine with windows 7 and keep getting the error that installer has insufficient privileges to access this directory c:\programdata\microsoft\windows\startmenue\programs\itunes.  I am logged in as an administrator.  Does anyone know how to fix this.  Thanks,

    After searching through this forrow i found this
    http://support.microsoft.com/kb/946414
    After running the Fix-It, i had no problem installing iTunes

  • ORA-01031:Insufficient Privileges error when I am trying to use ALERT_QUE

    Hi,
    I am working on SYS.ALERT.QUE for getting system alerts. I am using ODP in C# for connecting to Oracle database with username = SYSTEM, but when I am trying to enque or deque any message from SYS.ALERT.QUE, its gives an error ORA-01031:Insufficient Privileges. I am not able to understand how to assign SYSDBA privileges to SYSTEM and access ALERT_QUE for getting system alerts. I am posting my code below, plz have a look and let me know whats wrong with the code. I am able to connect to databse using SYSTEM, do I need to use username = SYS for accesing ALERT_QUE of database? Plz let me know whats the solution.
    OracleConnection con = new OracleConnection(constr);
    // Create queue
    OracleAQQueue queue = new OracleAQQueue("sys.alert_que", con);
    // Open connection
    con.Open();
    // Begin txn for enqueue
    OracleTransaction txn = con.BeginTransaction();
    // Set message type for the queue
    queue.MessageType = OracleAQMessageType.Raw;
    // Prepare message and RAW payload
    OracleAQMessage enqMsg = new OracleAQMessage();
    byte[] bytePayload = { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9 };
    enqMsg.Payload = bytePayload;
    OracleAQAgent[] agent = new OracleAQAgent[1];
    agent[0] = new OracleAQAgent("SUBSCRIBER1");
    enqMsg.Recipients = agent;
    enqMsg.SenderId = new OracleAQAgent("SENDER1");
    // Prepare to Enqueue
    queue.EnqueueOptions.Visibility = OracleAQVisibilityMode.OnCommit;
    // Enqueue message
    queue.Enqueue(enqMsg);
    The code throws exception at line "queue.Enqueue(enqMsg);" saying ORA-01031:Insufficient Privileges
    Edited by: 916462 on Feb 27, 2012 3:31 AM

    Hi Sudheendra,
    Thanks a lot, that worked. Now I am facing one more new issue, when I am trying to deque message from ALERT_QUE which is oracle maintained queue for alerts, I am getting an error "ORA-25215:User data type and queue type do not match". Is there something wrong with my code like Message type, payload and all. I am very new to Oracle database so I don't have idea about this details. Can u plz help me in solving this.
    OracleTransaction txn = con.BeginTransaction();
    // Set message type for the queue
    queue.MessageType = OracleAQMessageType.Raw;
    // Prepare message and RAW payload
    OracleAQMessage enqMsg = new OracleAQMessage();
    byte[] bytePayload = { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9 };
    enqMsg.Payload = bytePayload;
    OracleAQAgent[] agent = new OracleAQAgent[1];
    agent[0] = new OracleAQAgent("SUBSCRIBER1");
    enqMsg.Recipients = agent;
    enqMsg.SenderId = new OracleAQAgent("SENDER1");
    // Begin txn for Dequeue
    txn = con.BeginTransaction();
    // Prepare to Dequeue
    queue.DequeueOptions.Visibility = OracleAQVisibilityMode.OnCommit;
    queue.DequeueOptions.Wait = 10;
    queue.DequeueOptions.ConsumerName = "SUBSCRIBER1";
    // Dequeue message
    OracleAQMessage deqMsg = queue.Dequeue();
    txn.Commit();
    Edited by: 916462 on Feb 28, 2012 9:55 PM

  • Insufficient privilege error when executing DBMS_ERRLOG through PLSQL

    Hi,
    I shall be grateful if any one of you give me the solution at the earliest.
    I have 2 schemas like A & B those are running on Oracle 10g rel2.
    As per my buz req' I need to create DML Error log table for 'A.T1' table in B schema using DBMS_ERRORLOG package.
    I have granted direct SELECT on A.T1 to B (...not through ROLE as it doesn't work in plsql)
    The problem is when i'm running the procedure,
    DBMS_ERRLOG.CREATE_ERROR_LOG('A.T1', 'err_T1', 'B');
    in SQL*Plus of B schema, it's creating the error log table successfully.
    But the same will get failed when i run this error log procedure with in a procedure owned by B schema.
    It throws 'ORA-01031: insufficient privileges'...
    I hope this is related to privilege issue which is working fine in SQL*Plus but NOT in PLSQL stored procedure.
    Awaiting your earliest reply.
    Thanks.
    - Ela

    Hi,
    It's not an issue with direct privilege. Actually the package is working when i execute it with in a ananymous block, but the same get fails when execute it through procedures...
    Even we have given COMMENT ANY TABLE priv to the schema and that too didn't work out.
    awaiting your reply.
    -Saravanan

  • ORA-01031: insufficient privileges error

    DB Version : 10.2.0.4.0
    OS version : Sun SPARC 5.10
    When i try logging in as SYS through local authentication, i get
    $ sqlplus / as sysdba
    SQL*Plus: Release 10.2.0.4.0 - Production on Wed Aug 18 15:56:16 2010
    Copyright (c) 1982, 2007, Oracle.  All Rights Reserved.
    ERROR:
    ORA-01031: insufficient privileges
    Enter user-name:So, i recreated the password file in
    $ORACLE_HOME/dbsBut i still am getting this error.
    I can login to SYS locally and remotely through tns entry though
    sqlplus sys/secret@tnsentry as sysdbaFollowing is the result of id command
    $ id oracle
    uid=1001(oracle) gid=1000(oinstall)Result of ls command in ORACLE_HOME/dbs directory
    $ ls -alrt *pw*
    -rw-r-----   1 oracle   oinstall    1536 Aug 18 12:01 orapwmhprod -- instance name is mhprod

    Your OS user which currently logged on actually is not member of dba OS group,provide this and try again.
    oinstall is the owner of the oracle inventory.
    [oracle@rac1 bin]$ id oracle
    uid=500(oracle) gid=500(oinstall) groups=500(oinstall),501(dba)

Maybe you are looking for