Got the following error when connect to the target database:
RMAN> connect target sys/****@mydb;
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
ORA-01031: insufficient privileges
Solution:
Reference: http://docs.oracle.com/cd/B19306_01/backup.102/b14191/rcmtroub.htm
RMAN> connect target sys/****@mydb;
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
ORA-01031: insufficient privileges
Solution:
RMAN Denies Logon to Target Database: Scenario
RMAN fails with ORA-01031 (insufficient privileges) or ORA-01017 (invalid username/password) errors when trying to connect to the target database:
% rman Recovery Manager: Release 10.1.0.2.0 - Production Copyright (c) 1995, 2003, Oracle. All rights reserved. RMAN> CONNECT TARGET sys/mypass@inst1 RMAN-00571: =========================================================== RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS =============== RMAN-00571: =========================================================== ORA-01031: insufficient privileges
RMAN Denies Logon to Target Database: Diagnosis
RMAN automatically requests a connection to the target database as
SYSDBA
. In order to connect to the target as SYSDBA
, you must do one of the following:- Be part of the operating system
DBA
group with respect to the target database (that is, have the ability to connect withSYSDBA
privileges to the target database without a password). - Create a password file with the
orapwd
command and the initialization parameterREMOTE_LOGIN_PASSWORDFILE
. - Make sure you are connecting with the correct username and password.
If the target database does not have a password file, then the user you are logged in as must be validated with operating system authentication.
RMAN Denies Logon to Target Database: Solution
Either create a password file for the target database or add yourself to the administrator list in the operating system.
Reference: http://docs.oracle.com/cd/B19306_01/backup.102/b14191/rcmtroub.htm
No comments:
Post a Comment