SQL> create tablespace rman
2 datafile '/datadir/rman01.dbf'
3 size 100M
4 autoextend on
5 maxsize 10G
6 extent management local;
Tablespace created.
oracle@rman:/home/oracle> sqlplus
SQL*Plus: Release 11.2.0.1.0 Production on Mon Dec 19 00:28:16 2011
Copyright (c) 1982, 2009, Oracle. All rights reserved.
Enter user-name: / as sysdba
Connected to:
Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
SQL> create user rman
identified by rman
temporary tablespace temp
default tablespace rman
quota unlimited on users
quota unlimited on rman ;
User created.
SQL> GRANT RECOVERY_CATALOG_OWNER TO rman;
Grant succeeded.
oracle@rman:/home/oracle> rman CATALOG rman/rman@RMAN
Recovery Manager: Release 11.2.0.1.0 - Production on Mon Dec 19 00:30:29 2011
Copyright (c) 1982, 2009, Oracle and/or its affiliates. All rights reserved.
connected to recovery catalog database
RMAN> CREATE CATALOG;
recovery catalog created
oracle@rman:/home/oracle> rman target system/oracle123@TARGETDB CATALOG rman/rman@RMAN
Recovery Manager: Release 11.2.0.1.0 - Production on Mon Dec 19 00:44:23 2011
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-01031: insufficient privileges
--------------------------------
Execute the below in target database for above error resolution
SQL> grant sysdba to system;
Grant succeeded.
--------------------------------
oracle@rman:/home/oracle> rman target system/oracle123@TARGETDB CATALOG rman/rman@RMAN
Recovery Manager: Release 11.2.0.1.0 - Production on Mon Dec 19 00:47:07 2011
Copyright (c) 1982, 2009, Oracle and/or its affiliates. All rights reserved.
connected to target database: TARGETDB (DBID=3477861)
connected to recovery catalog database
Recovery Manager: Release 11.2.0.1.0 - Production on Mon Dec 19 00:47:07 2011
Copyright (c) 1982, 2009, Oracle and/or its affiliates. All rights reserved.
connected to target database: TARGETDB (DBID=3477861)
connected to recovery catalog database
RMAN> REGISTER DATABASE;
database registered in recovery catalog
starting full resync of recovery catalog
full resync complete
RMAN>
1 comment:
Best casinos in the world to play blackjack, slots and video
hari-hari-hari-hotel-casino-online-casinos-in-us https://vannienailor4166blog.blogspot.com/ · blackjack herzamanindir (blackjack) · roulette (no Blackjack Video titanium earrings Poker https://febcasino.com/review/merit-casino/ · Video Poker gri-go.com · Video Poker · Video poker
Post a Comment