RMAN can not open in Linux
今天發現執行rman的時候出現:
:~> rman target /
rman: can't open target
搜尋一下,發現rollingpig 的文章,馬上就解決了!在此表示感謝
rollingpig 具體解決辦法如下:
在Linux系統中,有時候會發現無法啟動rman
如:
rman target / nocatalog
會報錯
rman: can't open target
這純屬一個誤會 : )
原因是因為 在linux中,有一個其他工具正好也叫 rman .
執行一下:
[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 了……
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/312079/viewspace-245764/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- Can't open file: (errno: 24)
- RMAN restore fails with ORA-01180: can not create datafile 1 (文件 ID 1265151.1)RESTAI
- 在Linux上使用CANLinux
- FileZilla:425 Can't open data connection for transfer of解決辦法
- 【Open-Falcon】Linux下安裝Open-FalconLinux
- MySQL報錯Table 'plugin' is read only [ERROR] Can't open the mysql.plugin table.MySqlPluginError
- Converting Oracle Database from Linux to Windows using RMANOracleDatabaseLinuxWindows
- Linux open file與 fs-maxLinux
- [ERROR] mysqld: Can‘t open shared library ‘/usr/local/mysql/lib/plugin/validate_password.so‘ (errno:ErrorMySqlPlugin
- Oracle使用RMAN從Windows遷移資料到LinuxOracleWindowsLinux
- 【RMAN】RMAN備份至ASMASM
- Oracle 11G RAC複製備庫RMAN-03002 RMAN-05501 RMAN-03015 RMAN-03009 RMAN-10038Oracle
- 【RMAN】RMAN的備份保留策略
- ORACLE rman與RMAN-00054&ORA-09945Oracle
- RMAN(轉)
- 【RMAN】Oracle rman 常用命令參考Oracle
- RMAN恢復之RMAN-06555處理
- Linux安裝openssl出現Can‘t locate IPC/Cmd.pm in @INCLinux
- RMAN-06207和RMAN-06208的處理
- Windows oracle 11g rman備份恢復到linux系統WindowsOracleLinux
- CAN協議協議
- CAN_NM
- NVIDIA Xavier CAN
- 【RMAN】在備庫執行rman備份時報錯RMAN-06820 ORA-17629
- CAN過濾器過濾器
- why you can be in netherland
- XMLHttpRequest open()XMLHTTP
- Linux中open與fopen區別主要體現在哪些方面?Linux
- RMAN增量恢復
- RMAN備份概述
- MySQL:Table_open_cache_hits/Table_open_cache_misses/Table_open_cache_overflowsMySql
- oracle手工建庫後rman無法啟用(RMAN-04015)Oracle
- RMAN備份恢復典型案例——RMAN備份&系統變慢
- 【RMAN】Oracle11g透過rman升級到12cOracle
- Only AI Flow Can Do!AI
- 【DG】在Linux平臺上搭建單例項的dataguard--rman還原方式Linux單例
- JOI Open 2018
- JOI Open 2016
- BSUIR Open FinalsUI