SOLVED

RMAN-07539: Insufficient Privileges To Create Or Upgrade The Catalog Schema.

Asked by OracleDba11 viewsoracle
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
RMAN-07539: Insufficient Privileges To Create Or Upgrade The Catalog Schema.

While creating a catalog for the database, received this error.

RMAN> connect target sys/oracle@1234@PRIM

connected to target database: PRIM (DBID=605974767)

RMAN> connect catalog RMAN_st/rman@catlogdb

connected to recovery catalog database

RMAN> create catalog

RMAN-00571: ===========================================================

RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============

RMAN-00571: ===========================================================

RMAN-07539: insufficient privileges to create or upgrade the catalog schema
#oracle#error

Solutions(1)

Accepted Solution
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
Connect to catalog db and run the script dbmsrmansys.sql and dbmsrmanvpc.sql

$ sqlplus sys/oracle@catalogdb as sysdba

SQL*Plus: Release 12.1.0.2.0 Production on Thu May 12 14:35:52 2023

Copyright (c) 1982, 2014, Oracle. All rights reserved.

Connected to:

Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production

With the Partitioning, OLAP, Data Mining and Real Application Testing options

SQL> select name from v$database;

NAME

---------

CATALOGDB

SQL> @?/rdbms/admin/dbmsrmansys.sql

alter session set "_ORACLE_SCRIPT" = true

*

ERROR at line 1:

ORA-02248: invalid option for ALTER SESSION

PL/SQL procedure successfully completed.

PL/SQL procedure successfully completed.

Grant succeeded.

Grant succeeded.

Grant succeeded.

Grant succeeded.

Grant succeeded.

Grant succeeded.

Grant succeeded.

Grant succeeded.

alter session set "_ORACLE_SCRIPT" = false

*

ERROR at line 1:

ORA-02248: invalid option for ALTER SESSION

SQL>

SQL>

SQL> @?/rdbms/admin/dbmsrmanvpc.sql

Checking the operating user... Passed

Usage: dbmsrmanvpc.sql [...]

dbmsrmanvpc.sql -all

This script performs an upgrade of RMAN base catalog and corresponding

VPC users schemas to a new VPD model. RMAN base catalog schema names

have to be supplied as command line parameters. Up to 10 schema names

can be supplied per script execution. When -all is specified the

script attempts to detect the RMAN base catalog schemas automatically

Now try to create the catalog, it should work.

RMAN> connect target sys/oracle@1234@PRIM

connected to target database: PRIM (DBID=605974767)

RMAN> connect catalog catalog RMAN_st/rman@catlogdb

connected to recovery catalog database

RMAN> create catalog

recovery catalog created

RMAN> register database;

database registered in recovery catalog

starting full resync of recovery catalog

full resync complete

Hope it Helps!
OracleDba

Post Your Solution