免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
12下一页
最近访问板块 发新帖
查看: 4903 | 回复: 12
打印 上一主题 下一主题

RMAN问题 FOR 8I:change archivelog all validate命令不行 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2003-12-24 10:24 |只看该作者 |倒序浏览
我的数据库是8i,现在我的archive log损害了。想用change archivelog all validate 命令来做,但是报以下错。同样的命令在9i,oracle8下都可以做。请高手帮忙啊。 \r\nRMAN-03022: compiling command: change \r\nRMAN-03026: error recovery releasing channel resources \r\nRMAN-00571: =========================================================== \r\nRMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS =============== \r\nRMAN-00571: =========================================================== \r\nRMAN-03002: failure during compilation of command \r\nRMAN-03013: command type: change \r\nRMAN-06003: ORACLE error from target database: RMAN-20021: database not set

论坛徽章:
0
2 [报告]
发表于 2003-12-24 12:33 |只看该作者

RMAN问题 FOR 8I:change archivelog all validate命令不行

RMAN-06003: ORACLE error from target database: RMAN-20021: database not set\r\n\r\n前面的输出是怎么样的?有没有connect target?

论坛徽章:
0
3 [报告]
发表于 2003-12-24 15:20 |只看该作者

RMAN问题 FOR 8I:change archivelog all validate命令不行

前面的输出:\r\nRecovery Manager: Release 8.1.6.0.0 - Production\r\n\r\nRMAN-06005: connected to target database: TOAD (DBID=3367825312)\r\nRMAN-06009: using target database controlfile instead of recovery catalog\r\n已经connect catalog了。

论坛徽章:
1
荣誉版主
日期:2011-11-23 16:44:17
4 [报告]
发表于 2003-12-24 20:14 |只看该作者

RMAN问题 FOR 8I:change archivelog all validate命令不行

你没连接到catalog,你是使用的target database controlfile

论坛徽章:
0
5 [报告]
发表于 2003-12-25 08:55 |只看该作者

RMAN问题 FOR 8I:change archivelog all validate命令不行

我用的是NO CATALOG方式啊,是用CONTROLFILE 做target database的啊。

论坛徽章:
0
6 [报告]
发表于 2003-12-25 15:09 |只看该作者

RMAN问题 FOR 8I:change archivelog all validate命令不行

把你的语句和输出完整地贴出来

论坛徽章:
0
7 [报告]
发表于 2003-12-25 17:24 |只看该作者

RMAN问题 FOR 8I:change archivelog all validate命令不行

F:\\Oracle\\Ora81\\BIN>;rman target / nocatalog\r\n\r\nRecovery Manager: Release 8.1.6.0.0 - Production\r\n\r\nRMAN-06005: connected to target database: TOAD (DBID=3367825312)\r\nRMAN-06009: using target database controlfile instead of recovery catalog\r\nRMAN>; change archivelog all unavailable;\r\n\r\nRMAN-03022: compiling command: change\r\nRMAN-03026: error recovery releasing channel resources\r\nRMAN-00571: ===========================================================\r\nRMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============\r\nRMAN-00571: ===========================================================\r\nRMAN-03002: failure during compilation of command\r\nRMAN-03013: command type: change\r\nRMAN-06003: ORACLE error from target database: RMAN-20021: database not set

论坛徽章:
0
8 [报告]
发表于 2003-12-25 18:18 |只看该作者

RMAN问题 FOR 8I:change archivelog all validate命令不行

你没有allocate channel。如果你是想在rman catalog里把实际已经没有的archive log信息删掉,可以\r\nallocate channel for delete type disk;\r\nchange archivelog all validate;

论坛徽章:
1
荣誉版主
日期:2011-11-23 16:44:17
9 [报告]
发表于 2003-12-25 20:05 |只看该作者

RMAN问题 FOR 8I:change archivelog all validate命令不行

好象只有9里面才会自己allocate channel

论坛徽章:
1
荣誉版主
日期:2011-11-23 16:44:17
10 [报告]
发表于 2003-12-26 09:29 |只看该作者

RMAN问题 FOR 8I:change archivelog all validate命令不行

ORA-06512 at stringline string\r\nCause: Backtrace message as the stack is unwound by unhandled exceptions. \r\n\r\nAction: Fix the problem causing the exception or write an exception handler for this condition. Or you may need to contact your application administrator or database administrator.
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP