ORA-01031: insufficient privileges from auxiliary database while connecting
i am getting this error ORA-01031: insufficient privileges from auxiliary database while connecting plz help.
TNS-01106: Listener using listener name VINAR has already been started
[oraclone@server VINTEST_server]$ tnsping VINAR
TNS Ping Utility for Linux: Version 11.1.0.7.0 - Production on 17-JAN-2013 19:10:49
Copyright (c) 1997, 2008, Oracle. All rights reserved.
Used parameter files:
/d04/oraclone/db/tech_st/11.1.0/network/admin/VINTEST_server/sqlnet_ifile.ora
Used TNSNAMES adapter to resolve the alias
Attempting to contact (DESCRIPTION= (ADDRESS=(PROTOCOL=tcp)(HOST=server.csacons.com)(PORT=1571)) (CONNECT_DATA= (SERVICE_NAME=VINAR) (INSTANCE_NAME=VINAR)))
OK (0 msec)
[oraclone@server VINTEST_server]$ rman target sys/change_on_install@VINAR auxiliary /
Recovery Manager: Release 11.1.0.7.0 - Production on Thu Jan 17 19:11:38 2013
Copyright (c) 1982, 2007, Oracle. All rights reserved.
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-00554: initialization of internal recovery manager package failed
RMAN-04005: error from target database:
ORA-01031: insufficient privileges
[oraclone@server VINTEST_server]$ sqlplus sys/change_on_install@VINAR as sysdba
SQL*Plus: Release 11.1.0.7.0 - Production on Thu Jan 17 19:31:52 2013
Copyright (c) 1982, 2008, Oracle. All rights reserved.
ERROR:
ORA-01031: insufficient privileges
Enter user-name: sys@VINAR as sysdba
Enter password:
ERROR:
ORA-01031: insufficient privileges
Enter user-name: [oraclone@server VINTEST_server]$
[oraclone@server VINTEST_server]$
SQL> select * from v$pwfile_users;
no rows selected
SQL>
listner.ora
SID_LIST_VINTEST =
(SID_LIST =
(SID_DESC =
(ORACLE_HOME= /d04/oraclone/db/tech_st/11.1.0)
(SID_NAME = VINTEST)
#(GLOBAL_DBNAME = VINAR)
#(ORACLE_HOME= /d03/oravnr/db/tech_st/11.1.0)
#(SID_NAME = VINAR)
(SID_DESC =
#(ORACLE_HOME= /d04/oraclone/db/tech_st/11.1.0)
#(SID_NAME = VINTEST)
(GLOBAL_DBNAME = VINAR)
(ORACLE_HOME= /d03/oravnr/db/tech_st/11.1.0)
(SID_NAME = VINAR)
tnsnames.ora
VINTEST=
(DESCRIPTION=
(ADDRESS=(PROTOCOL=tcp)(HOST=server.csacons.com)(PORT=1591))
(CONNECT_DATA=
(SERVICE_NAME=VINTEST)
(INSTANCE_NAME=VINTEST)
VINAR=
(DESCRIPTION=
(ADDRESS=(PROTOCOL=tcp)(HOST=server.csacons.com)(PORT=1571))
(CONNECT_DATA=
(SERVICE_NAME=VINAR)
(INSTANCE_NAME=VINAR)
kind regards
plz help
Pl do not post duplicates - ORA-01031: insufficient privileges from auxiliary database while connecting
Similar Messages
-
ORA - 01031: insufficient privileges from report region
Hi All,
I'm getting below error from report region query (2 on a page and both return same error):
failed to parse SQL query
ORA - 01031: insufficient privileges
When I refresh page, it does not throw error and displays proper data. Can anyone please advice what could have gone wrong here?
Thanks.Hi
It would be easy to help you if you please provide the details about your environment like Database & Apex version.
Is the query in your report region is using tables? Are they in the same schema which your application's workspace is based on? Or are you using some DB Link or views or querying data from some other schema?
Also trying using Debug option in Apex to get some idea what's actually executing behind it? Try that query in SQL Plus/SQL Developer and see what you are getting?
Zulqarnain
MaxApex Hosting
http://www.maxapex.com -
ERRor ORA-01031: insufficient privileges
hi all,
i am presently working on logical standby database
but i am facing a problem from primary database
" select * from V$ARCHIVE_DEST"
LOG_ARCHIVE_DEST_1 valid
LOG_ARCHIVE_DEST_2 ERROR ORA-01031: insufficient privileges
at present database not synchronizing
please help
VaibhavVaibhav;
Is the password file is missing at standby site? Or is the password different between primary/standby database?
If yes I would correct by copying the password file from the primary to the standby and renaming to match your setup.
OR
Try this command :
Alter database guard standby;Best Regards
mseberg -
Resolving problem with ORA-01031: insufficient privileges
hello i just to write a few word about my installation of oracle database 9i
My installation is on a Red Hat AS3
I have a problem with the error :ORA-01031: insufficient privileges
The one who read this know what about i tell.
The authorization is only for the user which Group is DBA as you can read everywhere.
but me when i tried groupadd dba => it tells group already exist.
but i can't find the group dba in the file /etc/group.
So i tried to make my user 'oracle' works with the 'already group exist' dba .
useradd -g dba oracle
but when i tried to start the database i create i have the message. : ORA-01031: insufficient privileges
i tried to add manualy the group dba to /etc/group (as i can read in websites)
and add a user manualy (/etc/passwd).
But does works.
I try all i can during 1 days long.
I was really upset because nothing that i read work.
finaly I go to the RedHat Menu (things i don't really do normaly on LINUX) and go to 'SYSTEM SETTINGS' and choose 'User and Group'
Here i can see my user 'Oracle' I get the property of the user .
there is a tab group ( 'select the group that the user will be member of:')
None of them where name DBA so i decidied to select all of them and tried.
MAGIC!!! then it works!!!
ps: after when i see the list of the group I saw that one of them is named 'SYS' . I really think that it is the one group i had to select. but don't know.
Now It is working for me so... And good luck for you. bye.Errors
ORA-01031 "insufficient privileges"
Symptoms
During database upgrade phase using DBUA , it fails with error
ORA-1031 Insufficient privileges
Connection from sqlplus also fails with same error
$ sqlplus /nolog
SQLPLUS "conn / as sysdba"
ORA-1031 Insufficient privileges
Changing the REMOTE_LOGIN_PASSWORDFILE to SHARED / NONE does not make differen
Cause
ORACLE_HOME owner oramigts is part of OS group "dba" ,but config.s shows group "g680"
The 'OSDBA' and 'OSOPER' groups are chosen at installation time and usually both default to the group 'dba'.
These groups are compiled into the 'oracle' executable and so are the same for all databases running from a given ORACLE_HOME directory.
The actual groups being used for OSDBA and OSOPER can be checked thus:
cd $ORACLE_HOME/rdbms/lib
cat config.[cs]
Solution
To implement the solution, please execute the following steps:
1. Checked the ORACLE_HOME owner.
echo $ORACLE_HOME
/h02/app/oracle/product/9.2.0_64
cd / h02/app/oracle/product/
ls -l
drwxr-xr-x 58 oramigts dba 1024 Jan 2 2004 9.2.0_64
2.ORACLE_HOME software owner "oramigts" is part of group "dba"
3.Checked file $ORACLE_HOME/rdbms/lib/config.s
[If your platform has config.c:
Due to the way different compilers under different architectures generate
assembler code, it's not possible to give a universal rule.]
It shows dba group as "g680" where software owner is part of "dba" group
You can more find detail on config.s / config.c in the following doc.
Note 50507.1 SYSDBA and SYSOPER Privileges in Oracle
4. Modified the config.s for correct group.
.ascii "g680\0"
to
.ascii "dba\0"
7. mv config.o config.o.bak
8. make -f ins_rdbms.mk config.o ioracle
9. Checked the file config.o is created at $ORACLE_HOME/rdbms/lib
10. Connected / as sysdba thru Sqlplus from 9.2 Home, which connected sucessfully. -
DMU - ORA-01031 Insufficient privileges err
Hi I am trying to make a connection to a databse by using DMU. I am connecting as sys as sysdba. I am getting an error ORA-01031 Insufficient privileges error.
I can connect as sysdba on the server directly, so am pretty sure the password is correct.
I did run the SYS.DBMS_DUMA_INTERNAL package script, and it ran successfully.
SQL> @?/rdbms/admin/prvtdumi.plb
Library created.
Package created.
No errors.
Package body created.
Is there anything else I need to do in order to connect to a database through DMU
ThanksCheck the note pointed to by Srini. (It is mainly about double-checking the password, because password test performed on the server may be misleading.) If it does not help, set the file logging level to FINEST in DMU Preferences and then look into the log file. Is the error reported for the connection attempt itself or for some later internal operation logged in the log file?
Thanks,
Sergiusz -
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 -
Check database with error "ORA-01031: insufficient privileges"
Dear Gurus,
I ran "Check database" in DB13 but I got error "ORA-01031: insufficient privileges"
BR0280I BRCONNECT time stamp: 2010-03-31 12.37.00
BR0301E SQL error -1031 at location BrDbdiffRead-1, SQL statement:
'PREPARE stmt_5 STATEMENT FROM'
'SELECT OBJNAME FROM "SAPSR3".DBDIFF WHERE DBSYS IN ('ORACLE', ' ') AND OBJTYPE = 'TABL' AND DIFFKIND IN ('02', '61', '99') ORDER BY OBJNAME'
ORA-01031: insufficient privileges
BR0806I End of BRCONNECT processing: cecxekdh.chk 2010-03-31 12.37.00
Note I try to execute sapdba_role.sql (with command "sqlplus /nolog @sapdba_role.sql SR3") as Note 134592 both login 'oradev' and 'devadm' but it seem to do nothing (not found sapdba_role.log)
Please advice.
Best regards,
Choosak B.
Ps.
detailed log of /oracle/DEV/sapcheck/cecxekdh.chk
BR0801I BRCONNECT 7.00 (40)
BR0477I Oracle pfile /oracle/DEV/102_64/dbs/initDEV.ora created from spfile /oracle/DEV/102_64/dbs/spfileDEV.ora
BR0805I Start of BRCONNECT processing: cecxekdh.chk 2010-03-31 12.30.53
BR0484I BRCONNECT log file: /oracle/DEV/sapcheck/cecxekdh.chk
BR0101I Parameters
Name Value
oracle_sid DEV
oracle_home /oracle/DEV/102_64
oracle_profile /oracle/DEV/102_64/dbs/initDEV.ora
sapdata_home /oracle/DEV
sap_profile /oracle/DEV/102_64/dbs/initDEV.sap
system_info devadm/oradev sapdev SunOS 5.10 Generic_142900-03 sun4v
oracle_info DEV 10.2.0.4.0 8192 7465 94896497 sapdev UTF8 UTF8
sap_info 701 SAPSR3 0002LK0003DEV0011N11827599290015Maintenance_ORA
make_info sun_64 OCI_102 Feb 21 2009
command_line brconnect -u / -jid CHECK20100331123000 -c -f check
alert_log /oracle/DEV/saptrace/background/alert_DEV.log
BR0280I BRCONNECT time stamp: 2010-03-31 12.30.56
BR0813I Schema owners found in database DEV:
DBSNMP, DIP, OPS$DEVADM, OPS$ORADEV, OPS$SAPSERVICEDEV, ORACLE_OCM, OUTLN, SAPSR3*, SYS, SYSTEM,
TSMSYS
BR0118I Tablespaces and data files
Tablespace Status File Status Id. Size MaxSize IncrSize BlkSize Device Type Link
PSAPSR3 ONLINE+ /oracle/DEV/sapdata2/sr3_1/sr3.data1 ONLINE+ 4 2411732992 10485760000 20971520 8192 16777219 FILE NOLINK
SYSTEM ONLINE+ /oracle/DEV/sapdata1/system_1/system.data1 SYSTEM+ 1 1017126912 10485760000 20971520 8192 16777219 FILE NOLINK
BR0119I Redo log files
File Status Group Size Device Type Link
/oracle/DEV/origlogA/log_g11m1.dbf INUSE 1 52429312 16777218 FILE NOLINK
/oracle/DEV/mirrlogA/log_g11m2.dbf INUSE 1 52429312 16777218 FILE NOLINK
/oracle/DEV/origlogB/log_g12m1.dbf INUSE 2 52429312 16777218 FILE NOLINK
/oracle/DEV/mirrlogB/log_g12m2.dbf INUSE 2 52429312 16777218 FILE NOLINK
/oracle/DEV/origlogA/log_g13m1.dbf INUSE 3 52429312 16777218 FILE NOLINK
/oracle/DEV/mirrlogA/log_g13m2.dbf INUSE 3 52429312 16777218 FILE NOLINK
/oracle/DEV/origlogB/log_g14m1.dbf INUSE 4 52429312 16777218 FILE NOLINK
/oracle/DEV/mirrlogB/log_g14m2.dbf INUSE 4 52429312 16777218 FILE NOLINK
BR0120I Control files
File Size Device Type Link
/oracle/DEV/origlogA/cntrl/cntrlDEV.dbf 15024128 16777218 FILE NOLINK
/oracle/DEV/origlogB/cntrl/cntrlDEV.dbf 15024128 16777218 FILE NOLINK
/oracle/DEV/sapdata1/cntrl/cntrlDEV.dbf 15024128 16777219 FILE NOLINK
BR0982I Database disk volumes
Directory / Raw disk Device Total[KB] Free[KB] Used[%] MaxNeed[KB] MaxMiss[KB]
/oracle/DEV/102_64 16777218 480700086 404332206 15.89 0 0
/oracle/DEV 16777218 480700086 404332206 15.89 0 0
/oracle/DEV/mirrlogA 16777218 480700086 404332206 15.89 0 0
/oracle/DEV/mirrlogB 16777218 480700086 404332206 15.89 0 0
/oracle/DEV/origlogA 16777218 480700086 404332206 15.89 0 0
/oracle/DEV/origlogB 16777218 480700086 404332206 15.89 0 0
/oracle/DEV/sapdata1 16777219 591212116 404332206 31.61 240019884 0
/oracle/DEV/sapdata2 16777219 591212116 404332206 31.61 240019884 0
/oracle/DEV/sapdata3 16777219 591212116 404332206 31.61 240019884 0
/oracle/DEV/sapdata4 16777219 591212116 404332206 31.61 240019884 0
/oracle/DEV/saparch 16777218 480700086 404332206 15.89 0 0
/oracle/DEV/sapbackup 16777218 480700086 404332206 15.89 0 0
/oracle/DEV/sapcheck 16777218 480700086 404332206 15.89 0 0
/oracle/DEV/sapreorg 16777218 480700086 404332206 15.89 0 0
/oracle/DEV/saptrace 16777218 480700086 404332206 15.89 0 0
/oracle/DEV/oraarch 16777218 480700086 404332206 15.89 0 0
BR0280I BRCONNECT time stamp: 2010-03-31 12.31.29
BR0814I Number of tables in schema of owner SAPSR3: 74582
BR0836I Number of info cube tables found for owner SAPSR3: 49
BR0814I Number of tables/partitions in schema of owner SYS: 625/189
BR0814I Number of tables/partitions in schema of owner SYSTEM: 134/27
BR0280I BRCONNECT time stamp: 2010-03-31 12.32.28
BR0815I Number of indexes in schema of owner SAPSR3: 89159
BR0815I Number of indexes/partitions in schema of owner SYS: 678/199
BR0815I Number of indexes/partitions in schema of owner SYSTEM: 175/32
BR0280I BRCONNECT time stamp: 2010-03-31 12.37.00
BR0816I Number of segments in schema of owner DBSNMP: 25
BR0816I Number of segments in schema of owner OPS$DEVADM: 1
BR0816I Number of segments in schema of owner OUTLN: 9
BR0816I Number of segments/LOBs in schema of owner SAPSR3: 168369/2314
BR0816I Number of segments/LOBs in schema of owner SYS: 1831/87
BR0816I Number of segments/LOBs in schema of owner SYSTEM: 353/22
BR0816I Number of segments in schema of owner TSMSYS: 4
BR0280I BRCONNECT time stamp: 2010-03-31 12.37.00
BR0961I Number of conditions found in DBCHECKORA: 118
BR0983I Tablespace fragmentation
Tablespace Files Tables Indexes Extents Total[KB] Used[%] Free[KB] FreeExt. MaxSize[KB] MaxAlloc[KB] Used[%] Free[KB] Largest[KB]
PSAPSR3 16 74248 88689 209864 54138880 94.51 2970752 240 163840000+ 109701120+ 31.23+ 112671872+ 9246720:7966720:7946240:7905280:7905280+
PSAPSR3701 14 0 0 0 54466560 0.00 54465664 20 143360000+ 88893440+ 0.00+ 143359104+ 9021440:8192000:8192000:8192000:8192000+
PSAPSR3701X 4 310 445 12190 68342784 94.20 3962240 7 68342784 0 94.20 3962240 1298432:1191936:979968:163776:163776
PSAPSR3USR 1 24 25 51 51200 6.50 47872 1 10240000+ 10188800+ 0.03+ 10236672+ 10188800+:47872:0:0:0
PSAPTEMP 1 0 0 0 1433600 0.00 1433600 0 10240000+ 8806400+ 0.00+ 10240000+ 8806400+:0:0:0:0
PSAPUNDO 1 0 0 0 7823360 0.00 7823296 406 10240000+ 2416640+ 0.00+ 10239936+ 2416640+:2041792:1814464:1433536:603072
SYSAUX 1 254 284 2059 307200 93.35 20416 16 10240000+ 9932800+ 2.80+ 9953216+ 9932800+:13248:3072:1024:640
SYSTEM 1 505 569 2926 993280 98.91 10816 2 10240000+ 9246720+ 9.59+ 9257536+ 9246720+:10176:640:0:0
Total: 39 75341 90012 227090 187556864 62.29 70734656 692 426742784 239185920 27.38 309920576 60157952:19463744:18936384:17695616:16864768
BR0280I BRCONNECT time stamp: 2010-03-31 12.37.00
BR0301E SQL error -1031 at location BrDbdiffRead-1, SQL statement:
'PREPARE stmt_5 STATEMENT FROM'
'SELECT OBJNAME FROM "SAPSR3".DBDIFF WHERE DBSYS IN ('ORACLE', ' ') AND OBJTYPE = 'TABL' AND DIFFKIND IN ('02', '61', '99') ORDER BY OBJNAME'
ORA-01031: insufficient privileges
BR0806I End of BRCONNECT processing: cecxekdh.chk 2010-03-31 12.37.00
BR0280I BRCONNECT time stamp: 2010-03-31 12.37.00
BR0804I BRCONNECT terminated with errorsHi,
It solved after change permission of directory that sapdba_role.sql kept to oradev:dba after that it can write sapdba_role.log.
Thank you for your guideline.
Now, I can ran 'Check database' via DB13 without that error.
Best regards,
Choosak B. -
ORA-01031: insufficient privileges While trying / as sysdba
I have an Oracle user (jjcdba) through which I login to the database.
From today morning, I am unable to login to the database and I am getting this error.
$=> id
uid=123(jjcdba) gid=3203(jjcdba)
[jjcdba@jjcprd04:/jjc/orasw10/oracle/product/10.2.4]
$=> sqlplus "/as sysdba"
SQL*Plus: Release 10.2.0.4.0 - Production on Tue Oct 5 04:22:31 2010
Copyright (c) 1982, 2007, Oracle. All Rights Reserved.
ERROR:
ORA-01031: insufficient privileges
Enter user-name:Could someone please tell me how to troubleshoot this issue. I need to get into the database urgently!
Edited by: user9104898 on Oct 5, 2010 1:43 AM$=> sqlplus "/as sysdba"
SQL*Plus: Release 9.2.0.5.0 - Production on Tue Oct 5 04:51:22 2010
Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
Connected to:
Oracle9i Enterprise Edition Release 9.2.0.5.0 - 64bit Production
With the Partitioning, OLAP and Oracle Data Mining options
JServer Release 9.2.0.5.0 - Production
SQL> sho parameter db_name
NAME TYPE VALUE
db_name string JJCSHRP2
$=> sqlplus "/as sysdba"
SQL*Plus: Release 10.2.0.3.0 - Production on Tue Oct 5 04:53:17 2010
Copyright (c) 1982, 2006, Oracle. All Rights Reserved.
Connected to:
Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 - 64bit Production
With the Partitioning, OLAP and Data Mining options
SQL> sho parameter db_name
NAME TYPE VALUE
db_name string JJCSHRP5
SQL> exit
$=> sqlplus "/as sysdba"
SQL*Plus: Release 10.2.0.3.0 - Production on Tue Oct 5 04:57:26 2010
Copyright (c) 1982, 2006, Oracle. All Rights Reserved.
Connected to:
Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 - 64bit Production
With the Partitioning, OLAP and Data Mining options
SQL> sho parameter db_name
NAME TYPE VALUE
db_name string JJCSHRP7
$=> sqlplus "/as sysdba"
SQL*Plus: Release 10.2.0.4.0 - Production on Tue Oct 5 04:58:01 2010
Copyright (c) 1982, 2007, Oracle. All Rights Reserved.
Connected to:
Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bit Production
With the Partitioning, Oracle Label Security, OLAP, Data Mining Scoring Engine
and Real Application Testing options
SQL> sho parameter db_name
NAME TYPE VALUE
db_name string JJCSHRP8
SQL>Only when I am connecting to this database, I am facing issue.
$=> sqlplus "/as sysdba"
SQL*Plus: Release 10.2.0.4.0 - Production on Tue Oct 5 06:36:24 2010
Copyright (c) 1982, 2007, Oracle. All Rights Reserved.
ERROR:
ORA-01031: insufficient privileges
But I can connect to this database by giving the password.
Enter user-name: sys/xxxxxxxx as sysdba
Connected to:
Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
SQL> -
ORA-01031: insufficient privileges While Trying to Create a Trigger
Hi
I am trying to create a trigger on one of the table in the database schema :
CREATE OR REPLACE TRIGGER Trigger_Name
BEFORE INSERT ON table_name
FOR EACH ROW
---Trigger Body...
However I am getting the following error : ORA-01031: insufficient privileges
I have tried to check the status of the trigger with the following script :
SELECT object_name
FROM dba_objects
WHERE object_type = 'TRIGGER'
AND status = 'INVALID';
and it is showing its status as "INVALID".
Can anybody please suggest me how to proceed on this?Hi,
If the trigger exists than you have privilieges to create trigger but you need some privilieges needed to compile it.
Check all commands and objects you are referring to inside trigger body. Maybe you are trying select table without proper priviliege...?
Bartek -
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 AMCheck 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 -
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.4JSebastian 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 privileges getting After upg. oracle from 8i to 9i
Hi,
Microsoft Windows [Version 5.2.3790]
(C) Copyright 1985-2003 Microsoft Corp.
C:\Documents and Settings\s47adm>sqlplus "/as sysdba"
SQL*Plus: Release 9.2.0.7.0 - Production on Thu Apr 9 19:20:10 2009
Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
ERROR:
ORA-01031: insufficient privileges
Enter user-name: system
Enter password:
ERROR:
ORA-01034: ORACLE not available
ORA-27101: shared memory realm does not exist
Enter user-name:
*The above happened after successfully upgraded oracle from 8i to 9i. After upgrade assistant successfully completed then its giving above error. Please help ASAP.Rohit,
Thanks for your reply.
Its solved.....I just changed NTS in place of NONE in the below line of sqlnet.ora file.
SQLNET.AUTHENTICATION_SERVICES= (NTS)
With Regards,
Krishna. -
Oracle Database 10g Express Edition (ORA-01031: insufficient privileges)
Hello,
I am new to 10g Express. I am working on Windows XP and I have Oracle App Server and JDev install on my box. I just installed 10g Express. When I try to connect to the database but I get the following error msg:
SQL> connect sys/admin as sysdba;
ERROR: ORA-01031: insufficient privileges
I am also not able to see the homepage either.
Can some please help.
Thanks
etnotAre you saying you can only have one instance of an
Oracle Database install if you are going to use
Oracle XE?Yes.
Oracle Database XE is free for usage with the following limitations:
Supports up to 4GB of user data (in addition to Oracle system data)
Single instance only of Oracle Database XE on any server
May be installed on a multiple CPU server, but only executes on one processor in any server
May be installed on a server with any amount of memory, but will only use up to 1GB RAM of available memory -
ORA-01031: insufficient privileges - after upgrade from 2.1 to 3.0.1
Hi I installed 10g with APEX 2.1 and started working on an app. I had the privs needed to do all DDL.
I updated to 3.0.1 (not 3.1 because my work won't go to 3.1 yet)
I started working on the app not problem with DML but I tried to create a function and found ORA-01031: insufficient privileges
Did I miss running a script after the install? Is there a POST install?Here are the results from PL?SQL Developer:
select user from dual;
1 EDIUSER
select * from user_role_privs;
1 EDIUSER CONNECT NO YES NO
2 EDIUSER DBA NO YES NO
3 EDIUSER RESOURCE NO YES NO
select * from user_sys_privs;
1 EDIUSER UNLIMITED TABLESPACE NO
doesn't the roles give me all I need?
And as I said, in PL/SQL Developer I can do anything.
Here are the results from the APEX SQL Worksheet:
select user from dual;
ANONYMOUS
select * from user_role_privs;
EDIUSER CONNECT NO YES NO
EDIUSER DBA NO YES NO
EDIUSER RESOURCE NO YES NO
select * from user_sys_privs;
EDIUSER UNLIMITED TABLESPACE NO -
Database Error - ORA-01031 : insufficient privileges
hi
i am trying to create a custom folder, in Disco Admin 10.1.2.48.18
but i am getting the following error!
Database Error - ORA-01031 : insufficient privileges
regards
-PreethaVerify that you have select privs on the objects you are using in the custom folder
Maybe you are looking for
-
A recent upgrade to LR5.6 no longer allows me to locate pictures on external drives with Mac OS10.8.5. Does anyone know how to fix this?
-
Keynote 6.0 crashes after 2 sec / Mavericks
Hey Guys, I just installed keynote through the appstore. When i open the application, it quits after about 2 seconds. In Guest mode it is just fine. There are no Powerpoint or Keynotes file in my dropbox. Standard Fonts are restored in Font Book. hop
-
MessageExpiredException error in JDBC - RFC scenario using BPM.
<b>Scenario:</b> JDBC( Asynch)- RFC( Synch)- JDBC (Asyc) We are using XI to read oracle table records to insert the records in R/3 and after the insert in R/3 we return a sap code to update in oracle db. When we try to process 10 or less rows f
-
Essbase Security Filter issue.
Hi, Its regarding the security filter issue. The major problem is whosoever user is provisioned under that security filter, if the user is trying to connect to Application using Excel Addin / Smartview, it crashes the essbase server [Network Error [1
-
Method signature of a two dimensional array of an object
Hi, Does anyone know how to set the method signature of a two dimensional array of an object (e.g. : String[][]). Thank you.