天天看點

rman: can't open target的解決辦法故障現象:原因分析:解決方法:

故障現象:

在執行rmantarget /指令時,系統報錯:

  [email protected]:~>rmantarget /

  rman:can't open target

原因分析:

這常常發生在linux作業系統上,因為linux上也有一個rman指令,與oracle的rman指令同名

解決方法:

方法一:進入到oracle的rman指令所在目錄下來執行rman

[email protected]:~>cd $ORACLE_HOME/bin

[email protected]:~/product/10gr2/bin>./rmantarget /

方法二:修改oracle使用者的環境變量配置檔案,編輯其中的PATH變量值,将$ORACLE_HOME/bin放在最前面 nexportPATH=$ORACLE_HOME/bin:$PATH