首页 >

Oracle 11g创建虚拟私有目录RMAN-06004 ORA-00942错误的处理

数据库|mysql教程Oracle 11g创建虚拟私有目录RMAN-06004 ORA-00942错误的处理
RMAN-06004,ORA-00942,Oracle 11
数据库-mysql教程
多媒体发布系统源码,vscode命令行打开代码,ubuntu 检测屏幕,本地tomcat配置域名,爬虫抓取+java,java php js,庐江seo网络推广哪里靠谱lzw
一个网友在Linux下的11.2.0.4 中创建RMAN的虚拟私有目录报错, 从信息可以看到found eligible base catalog owned by RMAN,说明已
论坛社交平台源码,ubuntu18更新,tomcat虚拟目录不能用,python爬虫入门例程,php开发聊天工具,seo实用密码lzw
鼎峰源码,生成vscode项目,ubuntu vlna,tomcat 监听ip,js图片写入sqlite,wordpress垃圾插件,vue框架前端首页代码在哪,java有爬虫技术吗,php摘要,安徽页面seo推广,化妆品营销型网站模板,html5静态网页邮件,error page 模板lzw

一个网友在Linux下的11.2.0.4 中创建RMAN的虚拟私有目录报错:
[Oracle@jb ~]$ rman

Recovery Manager: Release 11.2.0.4.0 – Production on Sun May 10 17:23:25 2015

Copyright (c) 1982, 2011, Oracle and/or its affiliates. All rights reserved.

RMAN> connect catalog vpc1/vpc1@cs

connected to recovery catalog database

RMAN> create virtual catalog;

found eligible base catalog owned by RMAN
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-06004: ORACLE error from recovery catalog database: ORA-00942: table or view does not exist

从上面信息可以看到found eligible base catalog owned by RMAN,说明已经找到了合格的基本恢复目录用户,由于使用的基本恢复目录用户rman已经注册了数据库,于是新建一个基本恢复目录用户cat1,虚拟私有目录用户 virtcat

1.创建基本恢复目录用户cat1,虚拟私有目录用户virtcat
SQL> create user cat1 identified by cat1
2 default tablespace sysaux
3 quota unlimited on sysaux;

User created.

SQL> grant recovery_catalog_owner to cat1;

Grant succeeded.

SQL> create user virtcat identified by virtcat
2 default tablespace sysaux
3 quota unlimited on sysaux;

User created.

SQL> grant recovery_catalog_owner to virtcat;

Grant succeeded.

2.创建基本恢复目录
[oracle@jb ~]$ rman catalog cat1/cat1@cs

Recovery Manager: Release 11.2.0.4.0 – Production on Sun May 10 17:24:50 2015

Copyright (c) 1982, 2011, Oracle and/or its affiliates. All rights reserved.

connected to recovery catalog database

RMAN> create catalog;

recovery catalog created

RMAN> grant register database to virtcat;

Grant succeeded.

3.创建虚拟私有恢复目录
[oracle@jb cs]$ rman catalog virtcat/virtcat@cs

Recovery Manager: Release 11.2.0.4.0 – Production on Sun May 10 17:25:40 2015

Copyright (c) 1982, 2011, Oracle and/or its affiliates. All rights reserved.

connected to recovery catalog database

RMAN> create virtual catalog;

found ineligible base catalog owned by RMAN
found eligible base catalog owned by CAT1
created virtual catalog against base catalog owned by CAT1

4.在虚拟私有目录中注册目标数据库
[oracle@jb cs]$ rman target sys/system@db catalog virtcat/virtcat@cs

Recovery Manager: Release 11.2.0.4.0 – Production on Sun May 10 17:46:51 2015

Copyright (c) 1982, 2011, Oracle and/or its affiliates. All rights reserved.

connected to target database: DB (DBID=1640573015)
connected to recovery catalog database

RMAN> register database;

database registered in recovery catalog
starting full resync of recovery catalog
full resync complete

总结:在创建与使用虚拟私有恢复目录时,基本恢复目录中不能注册目标数据库,否则会出现RMAN-06004, ORA-00942错误信息。

————————————–推荐阅读 ————————————–

RMAN 配置归档日志删除策略

Oracle基础教学之通过RMAN复制数据库

RMAN备份策略制定参考内容

RMAN备份学习笔记

Oracle数据库备份加密 RMAN加密

————————————–分割线 ————————————–

本文永久更新链接地址:


Oracle 11g创建虚拟私有目录RMAN-06004 ORA-00942错误的处理
  • PL/SQL: ORA-00942: table or view does not exist
  • PL/SQL: ORA-00942: table or view does not exist | PL/SQL: ORA-00942: table or view does not exist ...

    Oracle 11g创建虚拟私有目录RMAN-06004 ORA-00942错误的处理
  • Oracle物化视图创建报ORA-00942错误解决
  • Oracle物化视图创建报ORA-00942错误解决 | Oracle物化视图创建报ORA-00942错误解决 ...

    Oracle 11g创建虚拟私有目录RMAN-06004 ORA-00942错误的处理
  • Oracle 11g搭建DataGuard详细步骤(物理standby所有操作总结)
  • Oracle 11g搭建DataGuard详细步骤(物理standby所有操作总结) | Oracle 11g搭建DataGuard详细步骤(物理standby所有操作总结) ...