ORA-01031 error

We have Oracle applications VIS instance.
I have Oracle 10g database installed on my PC
I made entry in tnsnames.ora & tried connecting to VIS instance using,
conn apps/apps@VIS
but this does not work for sys, like
conn sys/sys@VIS as sysdba
It throws the following error:
ORA-01031: insufficient privileges
Warning: You are no longer connected to ORACLE.
Will the problem be rectified if sys privilege is given to sys user(on my pc) from sys user(VIS instance)
Thanks in advance
Bipin

Will the problem be rectified if sys privilege is given to sys user(on my pc) from sys user(VIS instance)...there is nothing like give sys user sys privilege. And, there is nothing like 'my pc sys' and 'server sys'. Sys is ONE single user.
--Mukesh                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

Similar Messages

  • Ora-01031 error: insufficient Priviliges

    hi experts,
    im was completely enervated by a simple error for which im hanging out for plenty of hours. kindly advice me what to do to eradicate it.
    i have a Redhat Linux AS 4 server and 9.2.0.4 database version.
    The problem is, when im trying to connect database as sysdba with netservice name, i.e using remote authentication method, i was thrown ora-01031 error: insufficient priviliges. But when i tend to connect it locally using OS authentication method it permits me to do it.
    for example,
    Sql> connect sys@<sid> as sysdba
    Enter password:
    ERROR: insufficient priviliges
    where as,
    Sql>conn sys as sysdba
    connected
    sql>
    i've configured oracle in Linux environment as per the documentation. i can't figure out the exact problem. the sqlnet.ora file contains SQLNET.AUTHENTICATION_SERVICES=none
    kindly tell me where im missing out?
    Thanks
    SM

    yes. i've Password file in its appropirate location,
    which is named as orapw$ORACLE_SID
    and the parameter, remote_login_passwordfile is set
    as EXCLUSIVE.This should be fine.
    Try
    - select * from v$pwfile_users; to check whether oracle sees the password file
    - recreate the password file, if possible (it can get corrupted sometimes)
    - delete sqlnet.ora to go with the defaults (of course, backup it first)
    - check whether you can connect as usual user using the net service name (and check whether you connect to the proper database, just to be sure)
    - try to connect from a different machine
    - check that TWO_TASK and TNS_ADMIN environment variables are not set.

  • ORA-01031 error...need enter password prompt

    Hi.
    I'm creating a form which kills a session, using this command:
    Forms_DDL('ALTER SYSTEM KILL SESSION'|| :v_$session.sid|| ',' ||:v_$session.serial# );
    in my when-button-pressed trigger. But I get ora-01031 error insufficient privileges. So I'd like to prompt the user to enter his password when he tries to kill a session, because only the administrator should be able to kill a session. Thanks in advance.
    -K

    Hi Kristine:
    First I would ask you why can't they just use the normal logon to establish their access level?
    Then, let me say there is no way to just popup the logon screen in forms, however, it is relatively simple to create a signon screen. Just create a dialog popup with two fields for username and password, and a button with a label maybe "Signon". Then in the WHEN-BUTTON-PRESSED associated with Signon button, you use the code like following. Please test it and modify as needed, because I do not have a database to test it with. Note I use ... as needed to indent because the forum strips leading spaces.
    DECLARE
    ..V_CONNECT_STRING VARCHAR2(100) :=
    ..........GET_APPLICATION_PROPERTY(CONNECT_STRING);
    BEGIN
    ..LOGOUT;
    ..LOGON(:B1.UN, :B1.PW ||'@'|| V_CONNECT_STRING, 'TRUE');
    ..EXIT_FORM;
    END;
    Hope this helps,
    Thomas

  • ORA-01031 Error When starting Database

    I have installed Oracle 11gr2 on my laptop having OS ubuntu 10.04, after installation i am receiving ORA-01031 error when try to log in with the command
    sqlplus / as sysdba what should i do to resolve it...

    Hi,
    there are a lot of possibilities why this can be wrong. Look at Oracle Support for note 233223.1, "Checklist for Resolving CONNECT AS SYSDBA (INTERNAL) Issues". This gives links to notes which leads you to maybe the solution.
    Possibilities are:
    - you are root, which is not allowed. You should connect with the oracle user
    - your user is not part of the dba group
    - permissions on files
    - and many more
    Herald ten Dam
    http://htendam.wordpress.com

  • ORA-01031 error while executing package..

    Hi All,
    user is getting an error ORA-01031 while executing a procedure (i.e create or replace procedure).
    Please let me know how I can trobuleshoot it..let me know the script to check the required privileges..
    Thanks a lot.......

    It's not a bug, check Oracle doc,
    System Privileges Needed to Create or Alter a Procedure
    http://download.oracle.com/docs/cd/B19306_01/network.102/b14266/authoriz.htm#i1009241
    To create a procedure, you must have been explicitly granted the necessary privileges (system or object) on all objects referenced by the procedure. You cannot have obtained the required privileges through roles. This includes the EXECUTE privilege for any procedures that are called inside the procedure being created.

  • Ora-01031 error while starting oracle9i server on linux advanced redhat 3.1

    I am encountering some errors while trying to start the oracle9i database on linux server.
    I am getting the error ora-01031 while trying to connect to the server as sysdba.
    I give the following commands
    sqlplus /nolog
    Sql> conn sys/xxxx as sysdba
    ERROR:
    ORA-01031: insufficient privileges
    The listener service is started. The user "oracle" belongs to the groups oinstall and dba on linux.
    When I try to connect to the sys account through enterprise manager console, it connects.
    But when I try to start the database it says
    ERROR:
    ORA-01031: insufficient privileges
    I am trying to solve this problem since the past two days but to no avail.
    The last time the database was used it was not shutdown properly (we had rebooted the linux server through command prompt).
    Might be this has caused some problem.
    I would be very grateful to you if you could spare some time and look into this problem.

    Listen Sheikh Abdullah, if u don't need remote access to that server over secure conn., don't use password file authentification but change REMOTE_LOGIN_PASSWORDFILE to NONE and when u conn thru OEM as sysdba try to change his pass and then try conn thru command promt(CP) usin that new pass.
    Or recreate pass file adding new pass in it, set REMOTE_LOGIN_PASSWORDFILE to exclusive or shared and conn thru CP using password file pass.
    Try this possible solutions in order u wish.

  • ORA-01031 Error; please help

    hai, iam getting a strange error,
    i have this procedure which is created successfully. but giving me insufficient privileges message inserted into error log.
    Also when iam writing the create table statement individually, it is creating a table.
    create table ACTIVITIES as select * from ACTIVITIES@x_old;
    i have dba privilege on the current database
    create or replace procedure get_old_tab_scr
    is
    lv_msg varchar2(500);
    lv_code number(10);
    begin
    for i in (select table_name from user_tables@x_old)
    loop
    execute immediate 'create table '||i.table_name||' as select * from '||i.table_name||'@x_old';
    dbms_output.put_line('create table '||i.table_name||' as select * from '||i.table_name||'@x_old');
    end loop;
    exception
    when others then
    lv_code := sqlcode;
    lv_msg := sqlerrm;
    insert into error_log values('get_old_tab_scr -'||sysdate||lv_code||'-'||lv_msg);
    end;
    can i get some help regarding this...

    Purpose:
    ~~~~~~~~
    Purpose of the document is to show the limitations of roles and privileges under
    PL/SQL.
    Due to these limitations, you may get errors in PL/SQL procedures/packages when
    accessing certain objects or packages, but the same code works in SQL*Plus
    The flagged errors are ORA-00942 or ORA-01933 or ORA-01031 and ORA-06512 or
    PLS-00201 and ORA-06550 or ORA-28111 with Fine Grained Auditing (FGA)
    Note that the generated errors may differ in each release.
    Explanation:
    ~~~~~~~~~~~~
    The fundamental misunderstanding with these problems is because of the misconception
    that roles that are granted to one user can be applied to another by intermediate
    objects such as views or pl/sql procedures, this is not possible, roles exist in
    sessions and are associated with a user in an active session only, the privileges
    of a role can not be transferred to objects.
    If you're accessing tables/views in PL/SQL procedure or package and getting
    either ORA-1031 or ORA-942 (or PLS-201), but the same select/update/insert/delete
    works ok on SQL*Plus, then you need to check if the privileges have been granted
    to the user creating the procedure via a role.
    Privileges granted via role are disabled inside stored procedures
    Detailed case studies follow:

  • Using database-link in view to get around ORA-01031 error

    I have been granted select rights on a users table. I am therefore able to select from his table. If however I try create a view against his table I run into the ORA-01031 problem. I have worked around this problem by creating a database-link to myself and then adding that to the view creation and it works. What are the downsides of using the database-link in this way?

    The only down side I have been able to identify is that a extra session is created and that the CPU has a little extra work due to the LOOP BACK that takes place. I need to ensure the network is not unnessesarly used and therefore will need to ensure that 127.0.0.1 (local host) is used in the database connection discription. e.g.
    create database link my_db_link connect to scott identified by tiger using '(description=(address=(protocol=tcp)(host=127.0.0.1) (Port = 1521) ) (connect_data= (sid=ora10g)))';

  • Orapwd generated a ORA-01031 error

    hello, I issued the orapwd command on both my primary and secondary databases when setting up for data guard clone. I went to the same folder as my old password file was located (same spot as init.ora) and supplied the same password I have been using for SYS. now I can't log in as sys. The unix account I used was the same that I created the database with and is a member of the DBA group. Its a 9iR2 on Solaris 9. I'm not sure what else to try out.
    here is what i entered:
    orapwd file=orapwST password=password entries=20
    Thanks for any suggestions.
    -Jim

    I can't post a screen shot of this database. I am able to log in as a user I created, issue SHO SGA and query all the tables under that account.
    the ps -ef|grep ora_ command displays
    ora_cjq0_SID
    ora_lgwr_SID
    ora_smon_SID
    ora_pmon_SID
    among others all with a date of May 16th.
    my unix user id is oracle and my group id is dba
    my $ORACLE_HOME/dbs folder contains orapwSID with rwSr for permissions. which I believe is what you was looking for correct? other than that I have the initSID.ora file and spfile associated with the database.
    $ORACLE_SID is set to my SID which I cannot post. All references to my SID match. I did notice this env. variable was all lowercase so I changed it to all capitols to match everything else, sourced the .cshrc file, created a new orapwd file again and still get the same error.

  • Getting ORA-01031 in Log file

    Hi All,
    I registered my custom procedure as Concurrent Program in Oracle Apps. While I am running Oracle Concurrent Program, I am getting below in Log file an immediately Concurrent Managers are shut down, and is in "Running State" always. Enabled Trace file also, but didn't get any information about ORA-01031 error. I hope there is no problem with the procedure. I am getting same error even though ,I comment my entire procedure .
    Can you guys please help me.
    Log File:
    =====
    Current system time is 07-JUL-2009 03:32:40
    **Starts**07-JUL-2009 03:32:40
    **Ends**07-JUL-2009 03:44:19
    Start of log messages from FND_FILE
    Start of program 07-JUL-2009 03:32:40
    After Deletes 07-JUL-2009 03:32:42
    After insert 07-JUL-2009 03:34:38
    After receiving section 07-JUL-2009 03:34:38
    After A/P section 07-JUL-2009 03:34:38
    After A/P holds section 07-JUL-2009 03:44:00
    After unmatched Accruals section 07-JUL-2009 03:44:19
    Successfully completed.
    v_transactions_no_accrual = 0
    v_transactions_one_accrual = 0
    v_transactions_multi_accrual = 0
    End of program 07-JUL-2009 03:44:19
    End of log messages from FND_FILE
    **lock table FND_CONCURRENT_REQUESTS in share update mode**
    **Routine AFPPRD has encountered a fatal error. ORA-01031: insufficient privileges**
    Contact your system administrator or support representative.
    Shutting down Concurrent Manager : 07-JUL-2009 03:44:19
    List of errors encountered:
    _ 1 _
    Routine AFPPRD has encountered a fatal error. ORA-01031: insufficient
    privileges
    Contact your system administrator or support representative.
    _ 2 _
    Routine AFPPRD has encountered a fatal error. ORA-01031: insufficient
    privileges
    Contact your system administrator or support representative.
    ==========
    Waiting for your reply.
    Thanks,
    Bhujendra

    Hi Hsawwan,
    Thanks for your reply.
    It is my Custom Procedure. I executed the same procedure from backend(ofcource I used DBMS_OUTPUT instead of FND_FILE) and it's displaying all messages. I am not getting below messages in Log file . I am somewhat doubtful in this, but I am not sure
    End of log messages from FND_FILE
    Executing request completion options...
    Output is not being printed because:
    The print option has been disabled for this report.
    Finished executing request completion options.
    Instead
    I am getting
    End of log messages from FND_FILE
    lock table FND_CONCURRENT_REQUESTS in share update mode
    Routine AFPPRD has encountered a fatal error. ORA-01031: insufficient privileges
    Thanks,
    Bhujendra
    Edited by: KBK on Jul 7, 2009 6:23 PM

  • ORA-01031 (Insufficient Privileges) after moving server to new domain

    Hello SAP/Oracle experts,
    We recently performed a 'lift & shift' to move our SAP test system (QAS) from our HQ to our hosting partner's data centre. Although SAP works fine, we've lost the ability to run database operations through DB13. We now receive ORA-01031 - Insufficient Privileges errors whenever we try anything through DB13.
    Because moving the server involved changing the Windows domain to which it belonged, we created a trust relationship between old and new domains so that we didn't have to change the details of QASADM and SAPServiceQAS. We ran the usual oradbuser.sql and sapdba_role.sql scripts. We also removed and reassigned the ORA_QAS_DBA and ORA_QAS_OPER groups to the QASADM and SAPServiceQAS users. All of which seems to have made no difference and we still get ORA-01031 errors in DB13.
    Even stranger though is the fact that at the Oracle level, user sys is able to log in 'as sysdba', whilst user system cannot. e.g.
    sqlplus “sys/<password>@qas as sysdba” – Works.
    sqlplus “sys/<password> as sysdba” – Works.
    sqlplus “/ as sysdba” – Doesn’t work
    sqlplus “system/<password>@qas as sysdba” – Doesn’t work.
    sqlplus “system/<password> as sysdba” – Doesn’t work.
    This leads me to believe that the problem is not SAP-related (i.e. sapdba_role won't fix it!), but is more likely Oracle-related and perhaps down to the fact that ths system was built in one domain, but now resides in another. I guess the easiest thing to do would be to create QASADM and SAPServiceQAS accounts in the new domain and try that, but that's clutching at straws and doesn't explain why Oracle user sys works, whilst system doesn't.
    Has anyone moved servers between domains and experienced similar problems?
    Thanks in advance of any help,
    Arwel.

    is the recommended procedure when moving SAP Systems (or the server where they installed on) from one Domain to the next one (at least if the user accounts are in the same domain as the Server).
    You have following dependencies when installing in a domain:
    1. domain groups
    2. local groups containing domain groups and/or domain accounts
    3. Domain Accounts
    4. maybe domain groups are used in Access Control Lists of local Files / Directories
    5. User rights Assignment in registry
    6. as in Oracle Database internal users reflecting Operating System users.
    In Windows Security Objects (ACLs of Files, Directories) a Windows Account is referenced by it's SID which is unique (you can have a look at those strings in Upper Keys of the Registry HKEY_USERS). This means that a Domain User XYZ in Domain A has a different SID than Domain User XYZ in Domain B. The same applies to Windows Groups.
    As a result of this c:\documents and Settings\XYZ will not be for the use with the same name if you move the computer to a diferent domain.
    Windows will create something like c:\documents and Settings\XYZ.NEW_DOMAIN. As a result of this all envrionment variables of XYZ in the old domain are not visible in the new domain, because they are stored in the users registry which resides in c:\documents and Settings\XYZ\ntuser.dat in the old domain and c:\documents and Settings\XYZ.NEW_DOMAIN\ntuser.dat in the new domain.
    Too many things to do, to many possibilities you can make mistakes  - therefore --> homogenious system copy.
    regards
    Peter

  • ORA-01031 Unsufficient privileges

    Hello,
    I'm facing a weird issue.
    When logging with a specific user onto sqlplus, i'm able to issue a request which give me output.
    However when the very same request is issued from the web server i get the ORA-01031 error.
    I'm running Oracle 11.2.0.1.0.
    Regards,

    Ok, hereunder some more details:
    On the Dtabase itself:
    sqlplus TSTR@oratest
    select ORGANIZATION_CODE, ORGANIZATION_NAME, ROOT_ID, ACCOUNT_NUMBER, STATUS_CODE, EXTERNAL_ID, ORGANIZATION_TYPE, SITE_ID, GDS_BUSINESS_PROFILE, COMPANY_RESOURCE_ID, COMPANY_RULE_ID, COM_COMPANY_RESOURCE_ID, COM_COMPANY_RULE_ID, LOGO_URL, BILLING_ACCOUNT_ID from COMPANY_ORGANIZATION where COMPANY_ORGANIZATION_ID = 1 and EXPIRY_DATE is null ;
    And it works.
    On the web server:
    Pool is configured for the jboss using the very same information, configuration is done like this:
    <Resource name="tstrPool" auth="Container" type="javax.sql.DataSource" maxActive="20" maxIdle="3" maxWait="20" username="TSTR" password="password" driverClassName="oracle.jdbc.driver.OracleDriver" url="jdbc:oracle:thin:@ip:1521:oratest"/>
    The same request is issued, and we get ORA-01031 error.
    If i tried once more on the db itself, the request is still workable...
    After some investigations, i found that when the error is raised through the web server, i'm not able to kill TSTR session on the db anymore.
    Restarting the database solved the problem for the web server, but i know that will not last long.
    Any insight?

  • ORA-01031:  Insufficient Privledges

    Hi,
    When attempting to run a Check DB via DB13 I get the following error:
    BR0801I BRCONNECT 7.20 (22)
    BR0805I Start of BRCONNECT processing: ceoppnld.chk 2014-08-27 09.55.25
    BR0484I BRCONNECT log file: N:\oracle\bwq\sapcheck\ceoppnld.chk
    BR0280I BRCONNECT time stamp: 2014-08-27 09.55.26
    BR0301E SQL error -1031 at location BrInitOraCreate-2, SQL statement:
    'CONNECT / AT PROF_CONN IN SYSOPER MODE'
    ORA-01031: insufficient privileges
    BR0303E Determination of Oracle version failed
    BR0806I End of BRCONNECT processing: ceoppnld.chk 2014-08-27 09.55.26
    BR0280I BRCONNECT time stamp: 2014-08-27 09.55.26
    BR0804I BRCONNECT terminated with errors
    I have followed Note 134592:  Importing the SAPDBA role (sapdba_role.sql) but problem still exists.
    There are plenty of other examples of ORA-01031 errors online but as yet I haven't found a solution.
    I'm far from an expert on this subject so was hoping for a little bit of assistance from someone.
    Thanks
    Oracle:  11.2.0.1.0

    Hi Paul,
    Kindly check the permissions in the kernel for executing the brtools operations.
    The permissions should be like below:
    -rwsrwxr-x 1 ora<SID> sapsys brarchive
    -rwsrwxr-x 1 ora<SID> sapsys brbackup
    -rwsrwxr-x 1 ora<SID> sapsys brconnect
    -rwxrwxr-x 1 <SID>adm sapsys brrecover
    -rwxrwxr-x 1 <SID>adm sapsys brrestore
    -rwxrwxr-x 1 <SID>adm sapsys brspace
    -rwsrwxr-x 1 ora<SID> sapsys brtools
    Regards,
    Meenu Hans

  • Trying to connect as sysdba results in ORA-01031

    Database server runs in shared server mode,
    so in tnsnames I have entry for network service
    name with (SERVER = DEDICATED) option to be
    able to connect as sysdba, initialization
    parameter REMOTE_LOGIN_PASSWORDFILE is set to EXCLUSIVE,
    in password file there is one entry for user sys.
    I'm trying to connect with user sys as sysdba,
    but the result is ORA-01031 error.
    Can anybody tell me how can I make it to work?
    Thanks for advise a lot,
    P.

    I have recreated password file,
    but it behaves like before, connecting
    to database from local machine with
    user not in OSDBA or OSOPER group works,
    but from other machine it ends with error.
    I have one more question: When I connect
    from local machine using tnsnames.ora file
    in network service name defined in that file
    I have (SERVER = SHARED)
    and I'm able to connect as sysdba, I thought that
    connect as sysdba is possible only with
    (SERVER = DEDICATED) when database works in
    shared server mode.

  • Error while Creating Master Repository: ORA-01031: insufficient Privileges

    Hi,
    I'm trying to install ODI into my VM.
    I have done the installation and while creating Master Repository, I'm getting following error:
    ORA-01031: insufficient Privileges
    I'm using Oracle & have created user as ODI_MASTER with Admin Privileges.
    I'll be using it to load metadata onto planning (Version 11.1.2)
    Is there anything that I'm missing out on.
    Jitendra.

    Seems missing grants on the user you are using to create Master Repository.
    you are using Oracle .. grant connect, resource to <your_user>. These two rolesa have sufficient access to db to create the master repository.
    execuute the sql from sys user
    Regards,
    Amit
    Edited by: amitgupta1202 on 20 Aug, 2009 10:42 PM

Maybe you are looking for

  • In mail how do I set my browser to safari not firefox?

    In mail how do I sent my browser to go to safari?

  • Error while activating BC datasources

    Hi guys, I am getting this error while activating BC datasources...it is only with my login, rest of the users can work well. Error: DataSource 0BP_ACTITLE_TEXT; switch to package BUPA_CENTRAL_DATA_BW is off this happened with all DS in the BC, the p

  • Vendor Master Change History

    Dear all where can i check the changes that i have made to vendor master. Ex. i have created vendor master in say 12.03.2008      i made some chages say 20.03.2008 can i see the change history of the particular vendor Regards venu gopal

  • Query Results are having inconsistency

    Hi, I found the report is giving wrong values recently which was working fine earlier.  I performed RSRV test run on the Objects and found the below error message.  I tried to correct error but no result. The referential integrity is checked for 9 ch

  • FPGA courant

    Bonjour à tous! Voilà j'ai un petit problème, j'ai en ma possession un PXI 7851R que je contrôle bien évidemment sous LabView, et dont les sorties analogiques sont connectées à un contrôleur de polarisation. Seulement il semblerai que le contrôleur n