RMAN的"rman: can't open target"錯誤
在Linux上,安裝完成之後,在測試RMAN時可能會遇到如下錯誤:
這是由於呼叫的是非Oracle的RMAN的緣故:
在X11R6下存在一個名為rman的命令:
重新登入使環境變數生效,現在Oracle能找到正確的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修正這個問題,我們只需要在Oracle使用者的環境變數下,將$ORACLE_HOME/bin放在PATH變數前就可以了:
rman
[-f]
[-S(ource of man page passed in)] [-F(ormatted man page passed in)]
[-r] [-l ]
[-V(olume)] [-U(RLs as hyperlinks)]
[-b (show subsections)] [-k(eep head/foot)]
[-n(ame of man page)] [-s(ection) ]
[-p(aragraph mode toggle)] [-t(abstops spacing)]
[-N(ormalize spacing, changebars)] [-y (zap hyphens toggle)]
[-K (declare that page has no breaks)]
[-d(iff)(diff of old page source to incorporate)]
[-M(essage)(included verbatim at end of Name section)]
[-R(ebus words for TkMan)] [-C (enable Tcl/Tk formatting)]
[-o (no op)] [-O(no op with arg)]
[-q(uiet--don't report warnings)] [-h(elp)] [-v(ersion)]
[]
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
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/79499/viewspace-409913/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- rman: can't open target
- linux上“rman can't open target”問題解決Linux
- RMAN備份、恢復實驗室 之 備份篇 【rman: can't open target】
- 關於oracle 10G for suse 9 的rman: can't open targetOracle 10g
- RMAN can not open in LinuxLinux
- “rman target /” 和 “rman nocatalog target /” 區別
- "rman target /” 和"rman nocatalog target /”區別實踐
- Mysql報錯Fatal error:Can't open and lock privilege tablesMySqlError
- rman target / debug trace
- Linux下安裝Oracle 錯誤解決 - Error: Can't open display:127.0..0.1:0.0LinuxOracleError
- Oracle之Rman常見錯誤Oracle
- [ERROR] Can't open the mysql.plugin tableErrorMySqlPlugin
- rman duplicate target database RMAN-03002 RMAN-03015 RMAN-06136Database
- 【RMAN】RMAN-20001: target database not found in recoveryDatabase
- 【RMAN】RMAN-05001: auxiliary filename conflicts with the target databaseUXDatabase
- 處理Oracle的RMAN-08137 RMAN-08515錯誤Oracle
- DG rman duplicate 複製庫錯誤
- Standby上執行RMAN報錯RMAN-10006錯誤處理
- You can‘t specify target table ‘Person‘ for update in FROM clause
- can't assign requested address 錯誤解決
- RMAN刪除歸檔日誌出現RMAN-0813錯誤的處理
- 關於收到localhost modprobe: modprobe: Can't locate module ethX的錯誤localhost
- 使用rman執行recover database 的時候出現RMAN-06054的錯誤提示Database
- RMAN-600(8201)錯誤的解決
- RMAN中檢查指令碼語法錯誤的命令指令碼
- mysql中You can’t specify target table for update in FROM clMySql
- RMAN遠端連線目標資料庫遭遇RMAN-06429錯誤資料庫
- RMAN-06014:RMAN-03002:錯誤解決方法
- rman恢復控制檔案的一個小錯誤
- sys密碼修改導致的RMAN-00571錯誤密碼
- MySQL報錯Table 'plugin' is read only [ERROR] Can't open the mysql.plugin table.MySqlPluginError
- rman還原歸檔時報RMAN-20242錯誤分析和處理
- restore database報RMAN-06026和RMAN-06023錯誤RESTDatabase
- RMAN-05541: no archived logs found in target databaseHiveDatabase
- MYSQL報1022錯誤:Can't write;duplicate key in table '.....'MySql
- MySQL錯誤1042-Can't get hostname for your addressMySql
- oracle rman backup命令檢查資料庫錯誤Oracle資料庫
- RMAN備份時出現RMAN-06056: could not access datafile 6 錯誤,解決方法!!