RMAN的"rman: can't open target"错误
来源:互联网 发布:bilibili知乎 编辑:程序博客网 时间:2024/05/18 06:12
在Linux上,安装完成之后,在测试RMAN时可能会遇到如下错误:
[oracle@smsdbrac1 oracle]$ rman target /
rman: can't open target
这是由于调用的是非Oracle的RMAN的缘故:
[oracle@smsdbrac1 oracle]$ which rman
/usr/X11R6/bin/rman
在X11R6下存在一个名为rman的命令:
[oracle@smsdbrac1 bin]$ ./rman -help
rman
[-f <ASCII|roff|TkMan|Tk|Sections|HTML|XML|MIME|LaTeX|LaTeX2e|RTF|pod>]
[-S(ource of man page passed in)] [-F(ormatted man page passed in)]
[-r <man reference printf string>] [-l <title printf string>]
[-V(olume) <colon-separated list>] [-U(RLs as hyperlinks)]
[-b (show subsections)] [-k(eep head/foot)]
[-n(ame of man page) <string>] [-s(ection) <string>]
[-p(aragraph mode toggle)] [-t(abstops spacing) <number>]
[-N(ormalize spacing, changebars)] [-y (zap hyphens toggle)]
[-K (declare that page has no breaks)]
[-d(iff) <file> (diff of old page source to incorporate)]
[-M(essage) <text> (included verbatim at end of Name section)]
[-R(ebus words for TkMan)] [-C (enable Tcl/Tk formatting)]
[-o (no op)] [-O <arg> (no op with arg)]
[-q(uiet--don't report warnings)] [-h(elp)] [-v(ersion)]
[<filename>]
修正这个问题,我们只需要在Oracle用户的环境变量下,将$ORACLE_HOME/bin放在PATH变量前就可以了:
export PATH=$ORACLE_HOME/bin:${PATH}:/usr/bin:/bin:/usr/bin/X11:/usr/local/bin
重新登录使环境变量生效,现在Oracle能找到正确的rman了:
[oracle@smsdbrac1 oracle]$ su - oracle
Password:
[oracle@smsdbrac1 oracle]$ which rman
~/product/10.2.0/db/bin/rman
转贴:http://www.eygle.com/archives/2008/01/rman_cant_open_target.html
- RMAN的"rman: can't open target"错误
- RMAN的"rman: can't open target"错误
- RMAN的"rman: can't open target"错误
- RMAN的"rman: can't open target"
- 错误:rman: can't open target
- rman target / rman: can't open target
- RMAN报rman: can't open target错误处理
- rman: can't open target的解决办法
- rman: can't open target
- rman: can't open target
- 【Vegas转载】RMAN的"rman: can't open target"错误
- 【Vegas转载】RMAN的"rman: can't open target"错误
- rman 报错:can't open nocatalog
- RMAN简单实验引出的RMAN-06169错误
- RMAN与数据库状态的联系以及RMAN-20021错误
- FileZilla 425 Can't open data connection. 的错误解决
- rman
- RMAN
- zippo真假鉴别
- dede友情链接竖排变为横排
- CORBA: ubuntu下编译omniorb并创建示例程序
- (POJ1953)World Cup Noise
- seo外链的设置方式之一:圈链接
- RMAN的"rman: can't open target"错误
- gtest、nm、调试工具
- 算法题21 最快过桥问题
- 多态
- 餐馆模式
- vim的使用技巧
- 轻重缓急
- map容器简单应用
- topcoder504.5 不会作,什么都不会,好难,我还能干什么只能模拟,只能敲代码谁能告诉我该怎么作