ITPub博客

首页 > Linux操作系统 > Linux操作系统 > 此rman非彼rman,rman: can't open target的原因

此rman非彼rman,rman: can't open target的原因

原创 Linux操作系统 作者:feilo4r 时间:2010-07-12 11:43:00 0 删除 编辑
        前段时间装了个虚拟环境做实验,oracle什么的都正常装完,进rman确出了如下问题:
$ rman target /
rman: can't open target

        网上查了一下原因,原因是linux系统里也有一个工具叫做rman(为了简便,我安装了全部的rpm包)。解决起来不复杂,调整好path就行。

        先看一下系统默认的是哪个rman
$ which rman
/usr/X11R6/bin/rman

$ echo $PATH
/bin:/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:/usr/X11R6/bin:/home/oracle/bin:/home/oracle/bin:/u01/app/oracle/product/10.2.0/db/bin:/u01/app/oracle/product/10.2.0/crs/bin

$ export PATH=$ORACLE_HOME/bin:$PATH

        再登陆就行了

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

请登录后发表评论 登录
全部评论

注册时间:2008-09-19

  • 博文量
    33
  • 访问量
    97927