出现状况:
[oracle@yong ~]$ rman target cata/cata@YONGDB
Recovery Manager: Release 11.2.0.3.0 - Production on Sat Oct 13 16:49:13 2012
Copyright (c) 1982, 2011, 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-01031: insufficient privileges
sqlplus scott/tiger@YONGDB
SQL> select * from v$version;
BANNER
Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
PL/SQL Release 11.2.0.3.0 - Production
CORE 11.2.0.3.0 Production
TNS for Linux: Version 11.2.0.3.0 - Production
NLSRTL Version 11.2.0.3.0 - Production
cata拥有的角色和权限: connect, resource ,recovery_catalog_owner,DBA 角色
=====================================================
select * from session_roles;
01 CONNECT
02 RESOURCE
03 DBA
04 SELECT_CATALOG_ROLE
05 HS_ADMIN_SELECT_ROLE
06 EXECUTE_CATALOG_ROLE
07 HS_ADMIN_EXECUTE_ROLE
08 DELETE_CATALOG_ROLE
09 EXP_FULL_DATABASE
10 IMP_FULL_DATABASE
11 DATAPUMP_EXP_FULL_DATABASE
12 DATAPUMP_IMP_FULL_DATABASE
13 GATHER_SYSTEM_STATISTICS
14 SCHEDULER_ADMIN
15 WM_ADMIN_ROLE
16 JAVA_ADMIN
17 JAVA_DEPLOY
18 XDBADMIN
19 XDB_SET_INVOKER
20 OLAP_XS_ADMIN
21 OLAP_DBA
22 RECOVERY_CATALOG_OWNER
=================================================
select * from session_privs;
86 UNDER ANY TYPE
87 CREATE LIBRARY
88 CREATE ANY LIBRARY
89 ALTER ANY LIBRARY
90 DROP ANY LIBRARY
91 EXECUTE ANY LIBRARY
92 CREATE OPERATOR
93 CREATE ANY OPERATOR
94 ALTER ANY OPERATOR
95 DROP ANY OPERATOR
96 EXECUTE ANY OPERATOR
97 CREATE INDEXTYPE
98 CREATE ANY INDEXTYPE
99 ALTER ANY INDEXTYPE
100 DROP ANY INDEXTYPE
101 UNDER ANY VIEW
102 QUERY REWRITE
103 GLOBAL QUERY REWRITE
104 EXECUTE ANY INDEXTYPE
105 UNDER ANY TABLE
106 CREATE DIMENSION
107 CREATE ANY DIMENSION
108 ALTER ANY DIMENSION
109 DROP ANY DIMENSION
110 MANAGE ANY QUEUE
111 ENQUEUE ANY QUEUE
112 DEQUEUE ANY QUEUE
113 CREATE ANY CONTEXT
114 DROP ANY CONTEXT
115 CREATE ANY OUTLINE
116 ALTER ANY OUTLINE
117 DROP ANY OUTLINE
118 ADMINISTER RESOURCE MANAGER
119 ADMINISTER DATABASE TRIGGER
120 MERGE ANY VIEW
121 ON COMMIT REFRESH
122 RESUMABLE
123 SELECT ANY DICTIONARY