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刪除歸檔日誌出現RMAN-0813錯誤的處理
- Can't open file: (errno: 24)
- rman恢復控制檔案的一個小錯誤
- 【RMAN】在備庫執行rman備份時報錯RMAN-06820 ORA-17629
- 【RMAN】RMAN的備份保留策略
- 【RMAN】Oracle12c之後,rman備份Dataguard備端恢復可能出現邏輯錯誤Oracle
- 【RMAN】RMAN備份至ASMASM
- You can‘t specify target table ‘Person‘ for update in FROM clause
- MYSQL報1022錯誤:Can't write;duplicate key in table '.....'MySql
- Oracle 11G RAC複製備庫RMAN-03002 RMAN-05501 RMAN-03015 RMAN-03009 RMAN-10038Oracle
- RMAN-06207和RMAN-06208的處理
- mysql中You can’t specify target table for update in FROM clMySql
- Can't Connect to MySQL Server on IP Address (10061) 錯誤的解決方案MySqlServer
- ORACLE rman與RMAN-00054&ORA-09945Oracle
- MySQL報錯Table 'plugin' is read only [ERROR] Can't open the mysql.plugin table.MySqlPluginError
- RMAN(轉)
- RMAN restore fails with ORA-01180: can not create datafile 1 (文件 ID 1265151.1)RESTAI
- [mac pip錯誤]Can't connect to HTTPS URL because the SSL module is not availableMacHTTPAI
- 【RMAN】Oracle rman 常用命令參考Oracle
- RMAN恢復之RMAN-06555處理
- 案例:ADG環境遇到redo日誌member路徑有誤以及RMAN-6571錯誤
- RMAN備份出現ORA-01801: date format is too long for internal buffer錯誤ORM
- RMAN中的通道分配
- RMAN的備份原理
- Oracle RMAN還原測試錯誤ORA-19571 ORA-19600 ORA-19601Oracle
- FileZilla:425 Can't open data connection for transfer of解決辦法
- eslint --fix 報錯 can't not find modulesEsLint
- 資料遷移的時候出現RMAN-03002,RMAN-06026
- 【RMAN】在多租戶環境下的RMAN備份及恢復
- RMAN增量恢復
- RMAN備份概述
- Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock錯誤MySqlServer
- oracle手工建庫後rman無法啟用(RMAN-04015)Oracle
- Rman報錯ORA-00234: ORA-00202處理
- RMAN備份恢復典型案例——RMAN備份&系統變慢
- 【RMAN】Oracle11g透過rman升級到12cOracle
- [20190116]rman的老問題.txt
- RMAN中的 debug調式命令
- RMAN 備份相關的概念