Getting ORA-01031 while connect target
Hi,
I'm trying to perform a rman duplictate.
I've created the orapwd file and setted the remote_login_passwordfile parameter as "EXCLUSIVE". I also have configured the connection to the target database on the tnsnames.ora file
I'm getting this error:
[server]> rman
RMAN> CONNECT TARGET system/iwjIGPE@TARGET_DB
RMAN-00571: ======================================
RMAN-00569: ==== ERROR MESSAGE STACK FOLLOWS ===========
RMAN-00571: ======================================
ORA-01031: insufficient privileges
RMAN> exit
Recovery Manager complete.
.... But I can connect remotely though sqlplus:
[server]> sqlplus system/iwjIGPE@TARGET_DB
SQL*Plus: Release 11.2.0.2.0 Production on Thu Sep 13 13:04:32 2012
Copyright (c) 1982, 2010, Oracle. All rights reserved.
Connected to:
Oracle Database 11g Enterprise Edition Release 11.2.0.2.0 - 64bit Production
SQL> exit
thanks for your help!
Hi again!
I'm trying to follow the steps you propose:
[server]> rman target sys/c9vhLZT0@TARGET_DB auxiliary /
Recovery Manager: Release 11.2.0.2.0 - Production on Thu Sep 13 13:29:07 2012
Copyright (c) 1982, 2009, Oracle and/or its affiliates. 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-01017: invalid username/password; logon denied
I'm sure that the password is correct. I've re-created the password file and the error continues.
I'm still able to connect from sqlplus ...
[server]> echo $ORACLE_SID
AUX
[server]> sqlplus
SQL*Plus: Release 11.2.0.2.0 Production on Thu Sep 13 13:31:35 2012
Copyright (c) 1982, 2010, Oracle. All rights reserved.
Enter user-name: sys@TARGET_DB as sysdba
Enter password:
Connected to:
Oracle Database 11g Enterprise Edition Release 11.2.0.2.0 - 64bit Production
SQL >
I've granted the sysdba role to system:
SYS @ TARGET_DB > select * from v$pwfile_users;
USERNAME SYSDB SYSOP SYSAS
SYS TRUE TRUE FALSE
SYSTEM TRUE FALSE FALSE
I'm not able to connect either with sys not with system users
Thanks a lot
Edited by: user11978261 on Sep 13, 2012 4:41 AM
Similar Messages
-
Getting ORA-01031 while connecting to target database
I have created RMAN catalog. While connecting to target database i am getting ORA-01031: insufficient privileges. What could be the reason. I have added entry of both the databases in listner.ora as well as tnsnames.ora, but still facing the same problem. Please help
[oracle@dbapool ~]$ rman catalog=rman/pass@sdn target=sys/pass@sdn1
Recovery Manager: Release 10.2.0.1.0 - Production on Fri Apr 30 23:49:46 2010
Copyright (c) 1982, 2005, 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 privilegesIssue got resolved. The problem was with password file.
-
Throwing error ORA- 01031 while connecting as sys, but not with system
Hi
we are having oracle 10g on one of the server. When I try to connect sqlplus "/as sysdba"..its throwing error
ORA- 01031: Insufficient privelege.
But when I tried login with sqlplus system@dbname its getting connected properly. whats the reason behind this? It was
working fine till yesterday.
Thanks
Shiyas MThe reason for this can partly be seen in your profile,
you have asked 17 questions, and 17 of them have been unresolved.
This isn't very likely,
so likely you are too lazy to label a question as answered.
Your laziness is also indicated by this question, which is a FAQ, and FAQs are most often asked, by people who
- don't read documentation
- don't use online resources
- don't search this forum
prior to asking their FAQ.
Your equation of SYS as SYSDBA and the SYSTEM account is also incorrect, as SYSTEM doesn't have SYSDBA privileges.
The ORA-1031 simply means someone somehow disabled OS authentication.
Now it is up to you to find out why.
Either by using online resources, or by reading documentation, and researching your own database.
Not by asking a FAQ and never marking any answer as correct.
Sybrand Bakker
Senior Oracle DBA -
Getting ORA-01031: insufficient privileges if try to connect in sqlplus
Hi,
I've tried to connect to my db which stands at host (Solaris), but getting
ORA-01031: insufficient privileges.
The client I've used is sqlplus.
SQL> conn sys@REP as sysdba
ERROR:
ORA-01031: insufficient privileges
At the same time I can successfully connect to the same db from the same PC with the same connection string at PL/SQL Developer.
How it can be possible?Guys...
I'm having the same problem.
The platform is a Windows 2003 R2 64bit (SP2) with Oracle 11g.
In the production server from the same client, the connection is usually ... however, to a server where I have the same instances retrieved from an RMAN backup, does not connect!
In the Productoion Server:
C:\>sqlplus sys@bmknfe as sysdba
SQL*Plus: Release 10.2.0.1.0 - Production on Wed Aug 18 17:43:41 2010
Copyright (c) 1982, 2005, Oracle. All rights reserved.
Enter password:
Connected to:
Oracle Database 11g Enterprise Edition Release 11.1.0.7.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
SQL>
In the Recovered Server:
C:\>sqlplus sys@bmknfe_rt as sysdba
SQL*Plus: Release 10.2.0.1.0 - Production on Wed Aug 18 17:42:39 2010
Copyright (c) 1982, 2005, Oracle. All rights reserved.
Enter password:
ERROR:
ORA-01031: insufficient privileges
I've tried recreating the password file, but is not resolving ...
Can someone give me a light? -
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 -
ORA-01031 while executing a procedure with the owner
I'm Trying to execute a procedure shipment_sequence which is under the ps_user user but i keep getting ORA-01031.
Please suggest what should be done to counter this.
Regards,
Ankitcreate or replace Procedure shipment_sequence
l_seq_start_with IN NUMBER,
maxvalue IN NUMBER, event_identifier out SYS_REFCURSOR)
is
begin
begin
execute immediate 'DROP SEQUENCE SHIPMENT_SEQ';
exception
when others then null;
end;
execute immediate
'CREATE SEQUENCE SHIPMENT_SEQ START WITH '
||to_char(l_seq_start_with)
||' MAXVALUE '||to_char(maxvalue)||' MINVALUE 1 CACHE 20 INCREMENT BY 1';
OPEN event_identifier FOR select * from dual;
end;
Oracle version: 11.1.0.7
execution: VAR rc REFCURSOR
EXEC shipment_sequence(961000000,961100000, :rc);
print rc;
Error Message:
Error starting at line 2 in command:
EXEC shipment_sequence(961000000,961100000, :rc);
Error report:
ORA-01031: insufficient privileges
ORA-06512: at "PS_USER.SHIPMENT_SEQUENCE", line 12
ORA-06512: at line 1
01031. 00000 - "insufficient privileges"
*Cause: An attempt was made to change the current username or password
without the appropriate privilege. This error also occurs if
attempting to install a database without the necessary operating
system privileges.
When Trusted Oracle is configure in DBMS MAC, this error may occur
if the user was granted the necessary privilege at a higher label
than the current login.
*Action: Ask the database administrator to perform the operation or grant
the required privileges.
For Trusted Oracle users getting this error although granted the
the appropriate privilege at a higher label, ask the database
administrator to regrant the privilege at the appropriate label.
rc
Let me know if you need any more information.
Regards,
Ankit -
ERROR : Cannot get data set while connecting to BI.
Hi,
I am trying to connect to BI trouggh my application. I am following one of the document which i got from SDN. But now i am getting ERROR : Cannot get data set while connecting to BI. Can any one tell me why i am getting this error.
when i tried to excecute first time it gave the same error for the bellow given Querry. But after that it got excecuted. Then again It gave the same error. But it got excecuted twise like that after that it dint get excecuted once also.
Querry: SELECT
[Measures].MEMBERS ON AXIS(0) ,
NON EMPTY [0VENDOR].MEMBERS ON AXIS(1)
FROM [0PUR_C01/0PUR_C01_DB_Q04];
Regards,
H.V.Swathi
Edited by: H.V Swathi on Jun 1, 2009 1:33 PMHI,
Thanks for ur reply.
NO
i am using this part of code to display the result in IFrame.
IConnectionFactory connectionFactory = null;
IBIConnection connection = null;
IBIDataSet dataset = null;
// get the MDX statement entered by the User
String mdxStatement = wdContext.currentContextElement().getMDXQ();
wdComponentAPI.getMessageManager().reportSuccess("mdxStatement "+mdxStatement.toString());
// Declare a stringbuffer to store the HTML Code
StringBuffer l_strXmlFile = new StringBuffer();
wdComponentAPI.getMessageManager().reportSuccess("l_strXmlFile "+l_strXmlFile.toString());
try {
// Connect to BW System
Context initctx = new InitialContext();
// Perform JNDI lookup to obtain connection factory
wdComponentAPI.getMessageManager().reportSuccess("l_strXmlFile eeeeee ");
connectionFactory =
(IConnectionFactory) initctx.lookup(
"deployedAdapters/SDK_XMLA/shareable/SDK_XMLA");
// Establish connection using default connection properties
wdComponentAPI.getMessageManager().reportSuccess("connectionFactory "+connectionFactory);
connection =
(IBIConnection) connectionFactory.getConnectionEx(null);
wdComponentAPI.getMessageManager().reportSuccess("connection "+connection);
IBIOlap olap = ((IBIConnection) connection).getOlap();
wdComponentAPI.getMessageManager().reportSuccess("olap "+olap);
// Execute the MDX statement and retrieve the data set
// using the execute method of the IBIOlap interface.
dataset = olap.execute(mdxStatement);
wdComponentAPI.getMessageManager().reportSuccess("dataset "+dataset);
} catch (Exception e) {
e.printStackTrace();
wdComponentAPI.getMessageManager().reportException(
e.getLocalizedMessage(),
true);
} finally {
try {
connection.close();
} catch (Exception e1) {
// TODO Auto-generated catch block
e1.printStackTrace();
if (dataset == null) {
wdContext.currentContextElement().setResult_Visibility(
WDVisibility.NONE);
} else {
wdContext.currentContextElement().setResult_Visibility(
WDVisibility.VISIBLE);
// Render the data set.
l_strXmlFile
.append("<html>")
.append("<head></head>")
.append("<body>");
// Display the MDX that has been executed.
l_strXmlFile
.append("<p><b>MDX Statement that was executed:</b><br> ")
.append("<span class=\"code\">")
.append(mdxStatement)
.append("</span> </p>");
try {
BIDataSetTableModel table =
new BIDataSetTableModel(dataset, false);
l_strXmlFile.append("<p>Result set:</p>");
l_strXmlFile.append(
"<table width=700 border=1 cellpadding=0 cellspacing=0>");
int row = table.getRowCount();
int col = table.getColumnCount();
for (int i = 0; i < row; i++) {
l_strXmlFile.append("<tr>");
for (int j = 0; j < col; j++) {
BITableItem item = (BITableItem) table.getValueAt(i, j);
l_strXmlFile.append("<td class=\"headCenter\">"); l_strXmlFile.append(Helpers.escape(item.toString()));
l_strXmlFile.append("</td>");
l_strXmlFile.append("</tr>");
l_strXmlFile.append("</table>");
l_strXmlFile.append("</body></html>"); } catch (BISQLException e2) {
// TODO Auto-generated catch block
e2.printStackTrace();
// read the stringbuffer into bytes
byte[] l_byteData = null;
try {
l_byteData = l_strXmlFile.toString().getBytes("UTF-8");
} catch (UnsupportedEncodingException e) {
wdComponentAPI.getMessageManager().reportException(
e.getLocalizedMessage(),
false);
// Create a web resource and set the value of the
// context variable "IFrameData" to it's URL
IWDCachedWebResource l_File =
WDWebResource.getWebResource(
l_byteData,
WDWebResourceType.HTML);
try {
wdContext.currentContextElement().setIFrameData(
l_File.getURL());
} catch (WDURLException e1) {
wdComponentAPI.getMessageManager().reportException(
e1.getLocalizedMessage(),
false);
Reagards,
H.V.Swathi -
Getting error ORA-12705, while connecting through Sql*Plus?
Hi TOM,
While connecting ORACLE Database through Sql*Plus / via through Application. We getting error called "Error while trying to retrieve text for error ORA-12705".
How to re-solve this one?
Thanks & Regards,
Senthil K Kumar.Maran,
check the registry NLS_LANG in the registry rename it as suggested by burleson and add a new entryCurrently, it was more suggested by Maxim ;-)
Nicolas. -
Getting ORA-01031: Insufficient privileges when connecting as sys as sysdba
Hi There,
I am running Linux AS version 4, oracle 102.0.1, and logginging as oracle user which belongs to dba group. I got error "ORA-01031: Insufficient privileges" when trying to connect as sys user to bring up database. I wondered what is causing the error. Here is an example
oracle-dev>sqlplus /nolog
SQL>conn as sys/oracle@dev as sysdba
ERROR:
ORA-01031: Insufficient privileges
Any suggestions would be greatly appreciated. Thanks again.
Rich,Did you create a password file ?
http://download-uk.oracle.com/docs/cd/B19306_01/server.102/b15658/admin_ora.htm#sthref142
Message was edited by:
Paul M.
BTW, the syntax is
SQL>conn sys/oracle@dev as sysdba -
Getting ORA-00376 while accessing from application
Hi,
Application team is getting below error while accessing the database.
“ERROR: SQLException, while closing
connection, exception is ==ORA-00376: file 5 cannot be read at this time
ORA-01110: data file 5: '/dborafiles/nGTA/oradata01/smartsgs/tblspcsmarts01.dbf'
Later we renamed the datafile from tblspcsmarts01.dbf to tblspcsmarts_01.dbf, and still getting the same error while accessing the application.
And, the datafiles are in online and READ WRITE mode.
File Status:
SQL> select file#,name,status,ENABLED,CHECKPOINT_CHANGE#,to_char(CHECKPOINT_TIME,'dd-mon-yy hh24:mi:ss') from v$datafile;
FILE# NAME STATUS ENABLED CHECKPOINT_CHANGE# TO_CHAR(CHECKPOINT
1 /dborafiles/nGTA/oradata01/smartsgs/system01.dbf SYSTEM READ WRITE 94950500 23-oct-13 15:41:40
2 /dborafiles/nGTA/oradata01/smartsgs/undo02.dbf ONLINE READ WRITE 94950500 23-oct-13 15:41:40
3 /dborafiles/nGTA/oradata01/smartsgs/sysaux01.dbf ONLINE READ WRITE 94950500 23-oct-13 15:41:40
4 /dborafiles/nGTA/oradata01/smartsgs/users01.dbf ONLINE READ WRITE 94950500 23-oct-13 15:41:40
5 /dborafiles/nGTA/oradata01/smartsgs/tblspcsmarts_01.dbf ONLINE READ WRITE 94950500 23-oct-13 15:41:40
6 /dborafiles/nGTA/oradata01/smartsgs/tblspcsmarts02.dbf ONLINE READ WRITE 94950500 23-oct-13 15:41:40
7 /dborafiles/nGTA/oradata01/smartsgs/tblspcsmarts_03.dbf ONLINE READ WRITE 94950500 23-oct-13 15:41:40
SQL> select FILE_ID,TABLESPACE_NAME,FILE_NAME,BYTES/1024/1024,status from dba_data_files;
FILE_ID TABLESPACE_NAME FILE_NAME BYTES/1024/1024 STATUS
1 SYSTEM /dborafiles/nGTA/oradata01/smartsgs/system01.dbf 1024 AVAILABLE
5 TBLSPCSMARTS /dborafiles/nGTA/oradata01/smartsgs/tblspcsmarts_01.dbf 7000 AVAILABLE
3 SYSAUX /dborafiles/nGTA/oradata01/smartsgs/sysaux01.dbf 1024 AVAILABLE
4 USERS /dborafiles/nGTA/oradata01/smartsgs/users01.dbf 2048 AVAILABLE
6 TBLSPCSMARTS /dborafiles/nGTA/oradata01/smartsgs/tblspcsmarts02.dbf 6144 AVAILABLE
7 TBLSPCSMARTS /dborafiles/nGTA/oradata01/smartsgs/tblspcsmarts_03.dbf 2048 AVAILABLE
2 UNDOTBS1 /dborafiles/nGTA/oradata01/smartsgs/undo02.dbf 1024 AVAILABLE
File permissions at OS level.
[oracle@apt3vl05 smartsgs]$ pwd
/dborafiles/nGTA/oradata01/smartsgs
[oracle@apt3vl05 smartsgs]$ ls -lrt
total 29057944
-rw-r----- 1 oracle dba 7340040192 Oct 23 10:37 tblspcsmarts01.dbf_old
-rw-r----- 1 oracle dba 1073750016 Oct 23 12:37 temp01.dbf
-rw-r----- 1 oracle dba 2147491840 Oct 23 15:41 users01.dbf
-rw-r----- 1 oracle dba 2147491840 Oct 23 15:41 tblspcsmarts_03.dbf
-rw-r----- 1 oracle dba 6442459136 Oct 23 15:41 tblspcsmarts02.dbf
-rw-r----- 1 oracle dba 7340040192 Oct 23 15:41 tblspcsmarts_01.dbf
-rw-r----- 1 oracle dba 1073750016 Oct 23 16:05 sysaux01.dbf
-rw-r----- 1 oracle dba 1073750016 Oct 23 16:25 undo02.dbf
-rw-r----- 1 oracle dba 1073750016 Oct 23 16:25 system01.dbf
-rw-r----- 1 oracle dba 6832128 Oct 23 16:25 control02.ctl
-rw-r----- 1 oracle dba 6832128 Oct 23 16:25 control01.ctl
Even i am able to do switch logfile and every thing fine. Below is the excerpt from alert log.
Wed Oct 23 10:29:59 2013
Starting ORACLE instance (normal)
LICENSE_MAX_SESSION = 0
LICENSE_SESSIONS_WARNING = 0
Picked latch-free SCN scheme 3
Using LOG_ARCHIVE_DEST_1 parameter default value as /dboracle/orabase/product/10.2.0.4/dbs/arch
Autotune of undo retention is turned on.
IMODE=BR
ILAT =97
LICENSE_MAX_USERS = 0
SYS auditing is disabled
ksdpec: called for event 13740 prior to event group initialization
Starting up ORACLE RDBMS Version: 10.2.0.4.0.
System parameters with non-default values:
processes = 800
timed_statistics = TRUE
shared_pool_size = 159383552
large_pool_size = 16777216
java_pool_size = 159383552
streams_pool_size = 16777216
control_files = /dborafiles/nGTA/oradata01/smartsgs/control01.ctl, /dborafiles/nGTA/oradata01/smartsgs/control02.ctl, /dboracle/admin/smartsgs/control03.ctl
db_block_size = 8192
db_cache_size = 16777216
compatible = 10.2.0.4
db_file_multiblock_read_count= 16
fast_start_mttr_target = 300
undo_management = AUTO
undo_tablespace = UNDOTBS1
undo_retention = 10800
O7_DICTIONARY_ACCESSIBILITY= TRUE
remote_login_passwordfile= EXCLUSIVE
db_domain =
instance_name = smartsgs
job_queue_processes = 10
background_dump_dest = /dboracle/admin/smartsgs/bdump
user_dump_dest = /dboracle/admin/smartsgs/udump
core_dump_dest = /dboracle/admin/smartsgs/cdump
sort_area_size = 524288
db_name = smartsgs
open_cursors = 800
star_transformation_enabled= FALSE
query_rewrite_enabled = FALSE
pga_aggregate_target = 25165824
aq_tm_processes = 1
PMON started with pid=2, OS id=9173
PSP0 started with pid=3, OS id=9178
MMAN started with pid=4, OS id=9180
DBW0 started with pid=5, OS id=9187
LGWR started with pid=6, OS id=9194
CKPT started with pid=7, OS id=9200
SMON started with pid=8, OS id=9202
RECO started with pid=9, OS id=9204
CJQ0 started with pid=10, OS id=9206
MMON started with pid=11, OS id=9208
MMNL started with pid=12, OS id=9210
Wed Oct 23 10:30:01 2013
ALTER DATABASE MOUNT
Wed Oct 23 10:30:06 2013
Setting recovery target incarnation to 1
Wed Oct 23 10:30:06 2013
Successful mount of redo thread 1, with mount id 765417449
Wed Oct 23 10:30:06 2013
Database mounted in Exclusive Mode
Completed: ALTER DATABASE MOUNT
Wed Oct 23 10:30:06 2013
ALTER DATABASE OPEN
Wed Oct 23 10:30:06 2013
Thread 1 opened at log sequence 855
Current log# 3 seq# 855 mem# 0: /dborafiles/nGTA/oraredo1/smartsgs/redo01c.log
Current log# 3 seq# 855 mem# 1: /dborafiles/nGTA/oraredo2/smartsgs/redo02c.log
Current log# 3 seq# 855 mem# 2: /dborafiles/nGTA/oraredo3/smartsgs/redo03c.log
Successful open of redo thread 1
Wed Oct 23 10:30:06 2013
SMON: enabling cache recovery
Wed Oct 23 10:30:07 2013
Successfully onlined Undo Tablespace 6.
Wed Oct 23 10:30:07 2013
SMON: enabling tx recovery
Wed Oct 23 10:30:07 2013
Database Characterset is WE8ISO8859P15
Opening with internal Resource Manager plan
where NUMA PG = 1, CPUs = 2
replication_dependency_tracking turned off (no async multimaster replication found)
Starting background process QMNC
QMNC started with pid=14, OS id=9246
Wed Oct 23 10:30:10 2013
Completed: ALTER DATABASE OPEN
Wed Oct 23 10:37:38 2013
alter tablespace TBLSPCSMARTS offline
Wed Oct 23 10:37:38 2013
Completed: alter tablespace TBLSPCSMARTS offline
Wed Oct 23 10:43:58 2013
alter tablespace TBLSPCSMARTS rename datafile '/dborafiles/nGTA/oradata01/smartsgs/tblspcsmarts01.dbf' to '/dborafiles/nGTA/oradata01/smartsgs/tblspcsmarts_01.dbf'
Wed Oct 23 10:43:58 2013
Completed: alter tablespace TBLSPCSMARTS rename datafile '/dborafiles/nGTA/oradata01/smartsgs/tblspcsmarts01.dbf' to '/dborafiles/nGTA/oradata01/smartsgs/tblspcsmarts_01.dbf'
Wed Oct 23 10:44:14 2013
alter tablespace TBLSPCSMARTS online
Wed Oct 23 10:44:15 2013
Completed: alter tablespace TBLSPCSMARTS online
Wed Oct 23 15:02:00 2013
Thread 1 advanced to log sequence 856 (LGWR switch)
Current log# 1 seq# 856 mem# 0: /dborafiles/nGTA/oraredo1/smartsgs/redo01a.log
Current log# 1 seq# 856 mem# 1: /dborafiles/nGTA/oraredo2/smartsgs/redo02a.log
Current log# 1 seq# 856 mem# 2: /dborafiles/nGTA/oraredo3/smartsgs/redo03a.log
Wed Oct 23 15:06:11 2013
Thread 1 advanced to log sequence 857 (LGWR switch)
Current log# 2 seq# 857 mem# 0: /dborafiles/nGTA/oraredo1/smartsgs/redo01b.log
Current log# 2 seq# 857 mem# 1: /dborafiles/nGTA/oraredo2/smartsgs/redo02b.log
Current log# 2 seq# 857 mem# 2: /dborafiles/nGTA/oraredo3/smartsgs/redo03b.log
Thread 1 cannot allocate new log, sequence 858
Checkpoint not complete
Current log# 2 seq# 857 mem# 0: /dborafiles/nGTA/oraredo1/smartsgs/redo01b.log
Current log# 2 seq# 857 mem# 1: /dborafiles/nGTA/oraredo2/smartsgs/redo02b.log
Current log# 2 seq# 857 mem# 2: /dborafiles/nGTA/oraredo3/smartsgs/redo03b.log
Wed Oct 23 15:06:17 2013
Thread 1 advanced to log sequence 858 (LGWR switch)
Current log# 3 seq# 858 mem# 0: /dborafiles/nGTA/oraredo1/smartsgs/redo01c.log
Current log# 3 seq# 858 mem# 1: /dborafiles/nGTA/oraredo2/smartsgs/redo02c.log
Current log# 3 seq# 858 mem# 2: /dborafiles/nGTA/oraredo3/smartsgs/redo03c.log
Wed Oct 23 15:06:17 2013
Thread 1 advanced to log sequence 859 (LGWR switch)
Current log# 1 seq# 859 mem# 0: /dborafiles/nGTA/oraredo1/smartsgs/redo01a.log
Current log# 1 seq# 859 mem# 1: /dborafiles/nGTA/oraredo2/smartsgs/redo02a.log
Current log# 1 seq# 859 mem# 2: /dborafiles/nGTA/oraredo3/smartsgs/redo03a.log
Wed Oct 23 15:09:00 2013
Thread 1 advanced to log sequence 860 (LGWR switch)
Current log# 2 seq# 860 mem# 0: /dborafiles/nGTA/oraredo1/smartsgs/redo01b.log
Current log# 2 seq# 860 mem# 1: /dborafiles/nGTA/oraredo2/smartsgs/redo02b.log
Current log# 2 seq# 860 mem# 2: /dborafiles/nGTA/oraredo3/smartsgs/redo03b.log
Wed Oct 23 15:09:02 2013
Thread 1 advanced to log sequence 861 (LGWR switch)
Current log# 3 seq# 861 mem# 0: /dborafiles/nGTA/oraredo1/smartsgs/redo01c.log
Current log# 3 seq# 861 mem# 1: /dborafiles/nGTA/oraredo2/smartsgs/redo02c.log
Current log# 3 seq# 861 mem# 2: /dborafiles/nGTA/oraredo3/smartsgs/redo03c.log
Wed Oct 23 15:37:37 2013
alter database datafile 5 online
Wed Oct 23 15:37:37 2013
Completed: alter database datafile 5 online
Wed Oct 23 15:37:58 2013
alter database datafile 7 online
Wed Oct 23 15:37:58 2013
Completed: alter database datafile 7 online
Wed Oct 23 15:41:09 2013
Thread 1 advanced to log sequence 862 (LGWR switch)
Current log# 1 seq# 862 mem# 0: /dborafiles/nGTA/oraredo1/smartsgs/redo01a.log
Current log# 1 seq# 862 mem# 1: /dborafiles/nGTA/oraredo2/smartsgs/redo02a.log
Current log# 1 seq# 862 mem# 2: /dborafiles/nGTA/oraredo3/smartsgs/redo03a.log
Wed Oct 23 15:41:10 2013
Thread 1 advanced to log sequence 863 (LGWR switch)
Current log# 2 seq# 863 mem# 0: /dborafiles/nGTA/oraredo1/smartsgs/redo01b.log
Current log# 2 seq# 863 mem# 1: /dborafiles/nGTA/oraredo2/smartsgs/redo02b.log
Current log# 2 seq# 863 mem# 2: /dborafiles/nGTA/oraredo3/smartsgs/redo03b.log
Please advice how can we troubleshoot what could be the issue.
Thanks,
DasarathOutput of the requested commands.
SQL> select * from v$datafile_header;
FILE# STATUS ERROR FORMAT REC FUZ CREATION_CHANGE# CREATION_ TABLESPACE_NAME TS# RFILE# RESETLOGS_CHANGE# RESETLOGS CHECKPOINT_CHANGE# CHECKPOIN CHECKPOINT_COUNT BYTES BLOCKS NAME SPACE_HEADER LAST_DEALLOC_SCN
1 ONLINE 0 NO YES 8 23-JUL-09 SYSTEM 0 1 1 23-JUL-09 94978106 24-OCT-13 913 1073741824 131072 /dborafiles/nGTA/oradata01/smartsgs/system01.dbf
2 ONLINE 0 NO YES 94828823 22-OCT-13 UNDOTBS1 6 2 1 23-JUL-09 94978106 24-OCT-13 37 1073741824 131072 /dborafiles/nGTA/oradata01/smartsgs/undo02.dbf 8388610
3 ONLINE 0 NO YES 7545 23-JUL-09 SYSAUX 2 3 1 23-JUL-09 94978106 24-OCT-13 912 1073741824 131072 /dborafiles/nGTA/oradata01/smartsgs/sysaux01.dbf 12582914
4 ONLINE 0 NO YES 170715 23-JUL-09 USERS 4 4 1 23-JUL-09 94978106 24-OCT-13 907 2147483648 262144 /dborafiles/nGTA/oradata01/smartsgs/users01.dbf 16777218
5 ONLINE 0 NO YES 94891412 22-OCT-13 TBLSPCSMARTS 5 5 1 23-JUL-09 94978106 24-OCT-13 30 7340032000 896000 /dborafiles/nGTA/oradata01/smartsgs/tblspcsmarts_0 20971522
1.dbf
6 ONLINE 0 NO YES 94891511 22-OCT-13 TBLSPCSMARTS 5 6 1 23-JUL-09 94978106 24-OCT-13 28 6442450944 786432 /dborafiles/nGTA/oradata01/smartsgs/tblspcsmarts02 25165826
.dbf
7 ONLINE 0 NO YES 94891933 22-OCT-13 TBLSPCSMARTS 5 7 1 23-JUL-09 94978106 24-OCT-13 29 2147483648 262144 /dborafiles/nGTA/oradata01/smartsgs/tblspcsmarts_0 29360130
3.dbf
7 rows selected.
SQL> select * from v$recover_file;
no rows selected
Thanks,
Dasarath -
ORA-01031 WHEN CONNECTING TO AUXILIARY DATABASE
Hi
i am currently trying to to create a standby database using RMAN using the ORACLE RMAN Backup and recovery book.
I get the ORA-01031 when i connect to the auxiliary database.
i do the following:
RMAN> connect target sys/password@primary
connected to target
RMAN > connect auxiliary sys/password@aux1
ORA-01031.............insufficient privileges
obviously the database aux1 hasnt been created yet but i have configured the tns and listener and both work fine, also created a password file and created a pfile from the spfile in the primary database as instructed by the book. I also started the aux1 database in nomount mode as well.
does any one have any ideas where i maybe going wrong?
thanksconn sys/pwd@aux1 as sysdba ,what happens to this
in sqlplus
add an entry to your TNSNAMES.ora
SQLNET.AUTHENTICATION_SERVICES = (NTS)
We dont need this entry this is for OS authenicarion sorry
then try again
Version and OS?
Message was edited by:
Maran Viswarayar
Message was edited by:
Maran Viswarayar -
Weird Error - sometime getting ORA-01031: insufficient privileges
Problem - Java process throwing java.sql.SQLException: ORA-01031: insufficient privileges for simple select statement select * from MYTABLE , table having only three rows
Observation - While investigating. I did same select from sql developer using same credential, I get same ORA-01031: insufficient privileges error in sql developer too BUT ONLY if I create new connection. (Disconnect and connect again), If I fire same query again in same connection it runs fine.
SELECT * FROM MYTABLE;
there is no problem if I run query in small case (notice only select and from in small case), even if it is fresh connection there is no error.
select * from MYTABLE;
I am out of any clue what is going on. Any help?
Java stack track -
Caused by: java.sql.SQLException: ORA-01031: insufficient privileges
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:112)
at oracle.jdbc.driver.T2CConnection.checkError(T2CConnection.java:676)
at oracle.jdbc.driver.T2CConnection.checkError(T2CConnection.java:602)
at oracle.jdbc.driver.T2CPreparedStatement.executeForDescribe(T2CPreparedStatement.java:571)
at oracle.jdbc.driver.OracleStatement.executeMaybeDescribe(OracleStatement.java:1039)
at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1134)
at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3339)
at oracle.jdbc.driver.OraclePreparedStatement.executeQuery(OraclePreparedStatement.java:3384)
at org.apache.commons.dbcp.DelegatingPreparedStatement.executeQuery(DelegatingPreparedStatement.java:93)
at org.springframework.jdbc.core.JdbcTemplate$1.doInPreparedStatement(JdbcTemplate.java:648)
at org.springframework.jdbc.core.JdbcTemplate.execute(JdbcTemplate.java:591)
Oracle SQL Developerer Error
ORA-01031: insufficient privileges
01031. 00000 - "insufficient privileges"
*Cause: An attempt was made to change the current username or password
without the appropriate privilege. This error also occurs if
attempting to install a database without the necessary operating
system privileges.
When Trusted Oracle is configure in DBMS MAC, this error may occur
if the user was granted the necessary privilege at a higher label
than the current login.
*Action: Ask the database administrator to perform the operation or grant
the required privileges.
For Trusted Oracle users getting this error although granted the
the appropriate privilege at a higher label, ask the database
administrator to regrant the privilege at the appropriate label.Guys...
I'm having the same problem.
The platform is a Windows 2003 R2 64bit (SP2) with Oracle 11g.
In the production server from the same client, the connection is usually ... however, to a server where I have the same instances retrieved from an RMAN backup, does not connect!
In the Productoion Server:
C:\>sqlplus sys@bmknfe as sysdba
SQL*Plus: Release 10.2.0.1.0 - Production on Wed Aug 18 17:43:41 2010
Copyright (c) 1982, 2005, Oracle. All rights reserved.
Enter password:
Connected to:
Oracle Database 11g Enterprise Edition Release 11.1.0.7.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
SQL>
In the Recovered Server:
C:\>sqlplus sys@bmknfe_rt as sysdba
SQL*Plus: Release 10.2.0.1.0 - Production on Wed Aug 18 17:42:39 2010
Copyright (c) 1982, 2005, Oracle. All rights reserved.
Enter password:
ERROR:
ORA-01031: insufficient privileges
I've tried recreating the password file, but is not resolving ...
Can someone give me a light? -
Hello everyone
I have just finished upgrading my development database from 10.2.0.1.0 to 10.2.0.3.0. I have also upgraded my workstation client software to 10.2.0.3.0. Everything appears to be working fine except that I can no long access the new database "as sysdba" from my client computer. Each time I try to login using sys/password@mydb as sysdba I get an ORA-01031: Insufficient privileges error.
I have no problem connecting to the database using any other normal user. I can connect using "/ as sysdba" from the server console and I also have no problem accessing my production database -- which is still 10.2.0.1 using the 10.2.0.3 drivers. The server is running SLES9 while my workstation runs openSUSE 10.2.
Any help will be most welcome
Thanks in advance.
Thanassis.Ensure you have your password file inatct (recreate it if necessary).
HTH,
cciontu. -
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,
BhujendraHi 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 -
Why Am I Getting ORA-01031: insufficient privileges To Add Trandata?
I create a table C##TOM.CUSTOMERS in SQL Plus.
I go to the ggsci command line and attempt to add trandata and get the following insufficient privileges response:
GGSCI (TPFAEFFL-LAP) 11> add trandata C##TOM.CUSTOMERS
ERROR: Error (1031, ORA-01031: insufficient privileges) start select in get_total_columns.
I have already granted connect, dba, flashback, create session, alter session, select any dictionary, select any table, select any transaction, and select unlimited tablespace to the user.
What privileges am I missing?
TIA.Did you use the DBMS_GOLDENGATE_AUTH.GRANT_ADMIN_PRIVILEGE procedure to the DBLOGIN user?
This call grants all of the required privileges for ADD SCHEMATRANDATA and ADD TRANDATA - whether it is classic or integrated capture.
Maybe you are looking for
-
Mac Mini Server with two displays
I am about to purchase the new MMS, but I want to clarify two things first. I just got off the phone with Apple Customer Service. I asked them, if it's possible to connect two displays, one via Thunderbolt, the other via mini port at full 2500x1440 r
-
ORA-03137: TTC protocol internal error
Hi We created a new database and trying to connect from this database to Oracle access manager at AS400.We added the new instance on oracel access manager Tnsnames. The connection is failing and the error I see in alert log file is ORA-03137: TTC pro
-
Bluetooth **bleep**
Newly updated to 10.4.1.B.0.109. Not rooted. Even ran a repair with a full reset after the update. I'm having a **bleep** of a time using bluetooth and wifi at the same time. Anyone else experiencing issues? All I'm trying to do is use a BT keyb
-
What is Developers role in Implementation project
Hi All, Can any body tell me the Role of Developer in Implementation project Plz reply back me to [email protected] Regards, Kiran
-
Endeca stores Images or Videos?
Hi experts, I want to store some images and videos with their metadata for searching. Is it possible to store the image and the videos on the Endeca Server and visualize them in the Endeca Studio? Thanks in advance for your answers. Regards, Enrique