ITPUB论坛

 找回密码
 注册

QQ登录

只需一步,快速开始

返回列表 发新帖
更多
查看: 1910|回复: 22

RMAN 問題! [复制链接]

注册会员

资深会员

精华贴数
0
技术积分
1693
社区积分
554
注册时间
2005-1-31
论坛徽章:
2
发表于 2006-3-12 15:52:13 |显示全部楼层
我在安裝恢復目錄的時候怎出现这样的问题啊??
OS : Redhat AS3 U3
[oracle1@ericdb /]$ cd $ORACLE_HOME
[oracle1@ericdb 9.2.0.4]$ rman catalog rman/rman
rman: can't open catalog

注册会员

懒猫传说

精华贴数
0
技术积分
6208
社区积分
191
注册时间
2004-9-12
论坛徽章:
15
祖国60周年纪念徽章
日期:2009-10-09 08:28:002009架构师大会纪念徽章
日期:2010-01-18 13:43:21ITPUB十周年纪念徽章
日期:2011-11-01 16:20:28
发表于 2006-3-12 16:38:36 |显示全部楼层
before you open catalog
you must connect target first

使用道具 举报

注册会员

懒猫传说

精华贴数
0
技术积分
6208
社区积分
191
注册时间
2004-9-12
论坛徽章:
15
祖国60周年纪念徽章
日期:2009-10-09 08:28:002009架构师大会纪念徽章
日期:2010-01-18 13:43:21ITPUB十周年纪念徽章
日期:2011-11-01 16:20:28
发表于 2006-3-12 16:39:08 |显示全部楼层
% rman
RMAN> CONNECT TARGET
RMAN> CONNECT CATALOG rman/cat@catdb

使用道具 举报

注册会员

一般会员

精华贴数
0
技术积分
152
社区积分
0
注册时间
2005-10-12
论坛徽章:
0
发表于 2006-3-12 16:41:33 |显示全部楼层
连接到你的CATALOG目标数据库~

使用道具 举报

注册会员

资深会员

精华贴数
0
技术积分
1693
社区积分
554
注册时间
2005-1-31
论坛徽章:
2
发表于 2006-3-12 16:47:49 |显示全部楼层
最初由 caoliwei 发布
[B]before you open catalog
you must connect target first [/B]


I have just create tablespace for rman and grant authority
In os system I have two user for the two database
I have connect target database with sys user
but can't

使用道具 举报

注册会员

高级会员

精华贴数
1
技术积分
2528
社区积分
36
注册时间
2006-2-8
论坛徽章:
10
数据库板块每日发贴之星
日期:2006-02-12 01:02:47授权会员
日期:2006-04-14 13:04:46数据库板块每日发贴之星
日期:2006-03-29 01:01:20数据库板块每日发贴之星
日期:2006-02-26 01:01:35数据库板块每日发贴之星
日期:2006-02-21 01:02:31数据库板块每日发贴之星
日期:2006-02-20 01:02:36数据库板块每日发贴之星
日期:2006-02-17 01:02:30数据库板块每日发贴之星
日期:2006-02-15 01:02:28数据库板块每日发贴之星
日期:2006-02-14 01:02:26会员2006贡献徽章
日期:2006-04-17 13:46:34
发表于 2006-3-12 17:15:43 |显示全部楼层
connect to target and create catalog !

使用道具 举报

注册会员

懒猫传说

精华贴数
0
技术积分
6208
社区积分
191
注册时间
2004-9-12
论坛徽章:
15
祖国60周年纪念徽章
日期:2009-10-09 08:28:002009架构师大会纪念徽章
日期:2010-01-18 13:43:21ITPUB十周年纪念徽章
日期:2011-11-01 16:20:28
发表于 2006-3-12 17:44:04 |显示全部楼层
-bash-2.05b$ rman target sys/test

Recovery Manager: Release 9.2.0.4.0 - Production

Copyright (c) 1995, 2002, Oracle Corporation.  All rights reserved.

connected to target database: TZCENTER (DBID=2319033668)

RMAN>

使用道具 举报

注册会员

懒猫传说

精华贴数
0
技术积分
6208
社区积分
191
注册时间
2004-9-12
论坛徽章:
15
祖国60周年纪念徽章
日期:2009-10-09 08:28:002009架构师大会纪念徽章
日期:2010-01-18 13:43:21ITPUB十周年纪念徽章
日期:2011-11-01 16:20:28
发表于 2006-3-12 17:44:18 |显示全部楼层
提示什么

使用道具 举报

注册会员

资深会员

精华贴数
0
技术积分
1693
社区积分
554
注册时间
2005-1-31
论坛徽章:
2
发表于 2006-3-12 19:50:45 |显示全部楼层
最初由 caoliwei 发布
[B]-bash-2.05b$ rman target sys/test

Recovery Manager: Release 9.2.0.4.0 - Production

Copyright (c) 1995, 2002, Oracle Corporation.  All rights reserved.

connected to target database: TZCENTER (DBID=2319033668)

RMAN> [/B]

[oracle@ericdb oracle]$ rman target sys/eric@eric.aopen.com
rman: can't open target
[oracle@ericdb oracle]$



这个问题应该大家都没碰到过了,我在我的EBS 测试环境中
也不会碰到,如下:
[root@aoztest01 root]# su - oracle
[oracle@aoztest01 visappl]$ rman catalog rman/rman

Argument     Value          Description
-----------------------------------------------------------------------------
target       quoted-string  connect-string for target database
rcvcat       quoted-string  connect-string for recovery catalog
debug        none           if specified, activate debugging mode
cmdfile      quoted-string  name of input command file
msglog       quoted-string  name of output message log file
trace        quoted-string  name of output debugging message log file
append       none           if specified, msglog opened in append mode
nocatalog    none           if specified, then no recovery catalog
-----------------------------------------------------------------------------
Both single and double quotes (' or " are accepted for a quoted-string.
Quotes are not required unless the string contains embedded white-space.

RMAN-00569: ================error message stack follows================
RMAN-00552: syntax error in command line arguments
RMAN-01005: syntax error: found "catalog": expecting one of: "append, cmdfile, clone, debug, msglog, mask, nocatalog, rcvcat, slaxdebug, target, trace"
RMAN-01007: at line 2 column 1 file: command line argumen
这才是正常的。。(我没有创建恢复目录数据库)

使用道具 举报

注册会员

资深会员

精华贴数
0
技术积分
1693
社区积分
554
注册时间
2005-1-31
论坛徽章:
2
发表于 2006-3-12 19:53:52 |显示全部楼层
这应该是跟安装oracle 有关,但是我现在就是想不到如何解决。。metalink 上也找不到 ,以前用rman 的时候都没碰到过 真是奇怪!!!!渴望大师出马

使用道具 举报

相关内容推荐
您需要登录后才可以回帖 登录 | 注册

TOP技术积分榜 社区积分榜 徽章 电子杂志 团队 统计 邮箱 虎吧 老博客 文本模式 帮助
  ITPUB首页 | ITPUB论坛 | 数据库技术 | 企业信息化 | 开发技术 | 微软技术 | 软件工程与项目管理 | IBM技术园地 | 行业纵向讨论 | IT招聘 | IT文档 | IT博客
CopyRight 1999-2011 itpub.net All Right Reserved. 北京皓辰网域网络信息技术有限公司版权所有 联系我们 网站律师 隐私政策 知识产权声明
京ICP证:060528号 北京市公安局海淀分局网监中心备案编号:1101082001 广播电视节目制作经营许可证:编号(京)字第1149号
  
回顶部