【转】RMAN can not open in Linux,错误:rman: can't open target

在Linux系统中,有时候会发现无法启动rman

如:

rman target / nocatalog

会报错

rman: can't open target

这纯属一个误会 : )

原因是因为 在linux中,有一个其他工具正好也叫 rman .

[@more@]

运行一下:

[rollingpig@dbperf oracle] which rman

/usr/X11R6/bin/rman

[rollingpig@dbperf oracle] /usr/X11R6/bin/rman target / /usr/X11R6/bin/rman: can't open target

[rollingpig@dbperf oracle] echo $PATH
/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/orabin/product/9.2.0/bin

所以,我们需要把ORACLE_HOME/bin的path放在:/usr/X11R6/bin 之前就可以了
[rollingpig@dbperf oracle] export PATH=$ORACLE_HOME/bin:$PATH

[rollingpig@dbperf oracle] rman target / nocatalog

Recovery Manager: Release 9.2.0.6.0 - Production

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

connected to target database: PERFSTAT (DBID=3977240740)
using target database controlfile instead of recovery catalog

RMAN>

好了,现在可以正常使用rman 了……

------------------------------------------------------------------

原文地址:http://rollingpig.itpub.net/post/81/152600

来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/8633028/viewspace-915363/,如需转载,请注明出处,否则将追究法律责任。

转载于:http://blog.itpub.net/8633028/viewspace-915363/

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值