RMAN-07540: Cleanup is required for the VPC user schema
来源:互联网 发布:淘宝客服业绩软件 编辑:程序博客网 时间:2024/06/16 06:17
今天在使用12C进行虚拟恢复目录测试的时候遇到这样的问题
在使用虚拟恢复目录用户连接我们我们的catalog的时候,报了如下的错误
[07:06:38 oracle(db)@kiwi admin]$ rman target sys/oracle@enmo catalog kiwi/kiwi@testdbRecovery Manager: Release 12.1.0.2.0 - Production on Thu Oct 22 07:06:42 2015Copyright (c) 1982, 2014, Oracle and/or its affiliates. All rights reserved.connected to target database: ENMO (DBID=735078679)connected to recovery catalog databaseRMAN-07540: Cleanup is required for the VPC user schema
关于RMAN-07540的报错,我们查看12.1的官方文档
Cause: The VPC user specified in the connect string does have extra privileges granted.
Action: Execute '?/rdbms/admin/dbmsrmanvpc.sql' after connecting to a catalog database as SYS to cleanup VPC users schemas.
说是我们vpc的用户的权限过多,这个时候我们需要回收一部分的权限,我们可以通过下面的脚本来进行回收,按照它的提示来进行操作,不行,出现如下的提示Usage: dbmsrmanvpc.sql <base catalog schema name> [...] dbmsrmanvpc.sql -allThis script performs an upgrade of RMAN base catalog and correspondingVPC users schemas to a new VPD model. RMAN base catalog schema nameshave to be supplied as command line parameters. Up to 10 schema namescan be supplied per script execution. When -all is specified thescript attempts to detect the RMAN base catalog schemas automaticallyand perform the upgrade.
我们还需要在后面添加一个-all的参数
@?/rdbms/admin/dbmsrmanvpc.sql -all
然后我们再连接catalog数据库的时候,问题排除
[07:13:44 oracle(db)@kiwi admin]$ rman target sys/oracle@enmo catalog kiwi/kiwi@testdbRecovery Manager: Release 12.1.0.2.0 - Production on Thu Oct 22 07:13:45 2015Copyright (c) 1982, 2014, Oracle and/or its affiliates. All rights reserved.connected to target database: ENMO (DBID=735078679)connected to recovery catalog database
0 0
- RMAN-07540: Cleanup is required for the VPC user schema
- The attribute required is undefined for the annotation type XmlElementRef
- For the End User, the Interface Is the System
- The number of points is less than required for feature
- The number of points is less than required for feature
- The krb5 extension is required for GSSAPI authentication)
- Composer The openssl extension is required for SSL/TLS protection
- 访问hadoop集群时错误:Access denied for user Administrator. Superuser privilege is required
- The PDO extension is required for this adapter but the extension is not loaded 错误解决方案
- The PDO extension is required for this adapter but the extension is not loaded解决方案:
- The user operation is waiting for "Building workspace" to complete
- "Login failed for user 'sa'. Reason: The account is disabled.
- The user operation is waiting for "Building workspace" to complete
- The user operation is waiting for "Building workspace" to complete
- ADT(eclipse) :the user operation is waiting for
- The user operation is waiting for "building workspace" to complete”
- the user operation is waiting for "building workspace" to complete
- The user operation is waiting for background work to complete
- datagrid报Cannot read property '' of null
- c++ 11 异常处理 北京大学C++程序设计实习公开课
- Linux-CenOS7 Samba的安装与配置
- 5.6 矩形、区域和裁剪
- 第七周项目二建立链队算法库
- RMAN-07540: Cleanup is required for the VPC user schema
- 第七周项目4 - 队列数组
- AE10.0开发时 System.ComponentModel.LicenseException' occurred in system.windows.forms.dll
- 第八周 项目4-字符串加密
- 九度OJ 1091:棋盘游戏 (DP、BFS、DFS、剪枝)
- Android: LinearLayout布局和其嵌套运用举例
- github 远程仓库
- 第七周项目5--排队看病模拟
- PHP开发环境思考