Datagurad ORA-01111錯誤解決
在DBRA測試建立資料檔案中遇到問題。
在生產庫建立了一個資料檔案,備庫應用相關日誌時因為許可權問題出錯:
Attempt to start background Managed Standby Recovery process (netdata)
Tue Jun 23 22:20:36 2015
MRP0 started with pid=19, OS id=10735
MRP0: Background Managed Standby Recovery process started (netdata)
started logmerger process
Tue Jun 23 22:20:41 2015
Managed Standby Recovery starting Real Time Apply
Tue Jun 23 22:20:41 2015
Errors in file /u01/app/oracle/diag/rdbms/snetdata/netdata/trace/netdata_dbw0_9257.trc:
ORA-01186: file 7 failed verification tests
ORA-01157: cannot identify/lock data file 7 - see DBWR trace file
ORA-01111: name for data file 7 is unknown - rename to correct file
ORA-01110: data file 7: '/u01/app/oracle/product/11.2.0/db_1/dbs/UNNAMED00007'
File 7 not verified due to error ORA-01157
Errors in file /u01/app/oracle/diag/rdbms/snetdata/netdata/trace/netdata_dbw0_9257.trc:
ORA-01186: file 202 failed verification tests
ORA-01157: cannot identify/lock data file 202 - see DBWR trace file
ORA-01110: data file 202: '+DATA'
File 202 not verified due to error ORA-01157
MRP0: Background Media Recovery terminated with error 1111
Errors in file /u01/app/oracle/diag/rdbms/snetdata/netdata/trace/netdata_pr00_10738.trc:
ORA-01111: name for data file 7 is unknown - rename to correct file
ORA-01110: data file 7: '/u01/app/oracle/product/11.2.0/db_1/dbs/UNNAMED00007'
ORA-01157: cannot identify/lock data file 7 - see DBWR trace file
因為主備路徑不一致
備庫操作:
ALTER SYSTEM SET standby_file_management='MANUAL' SCOPE=BOTH;
alter database create datafile '/u01/app/oracle/product/11.2.0/db_1/dbs/UNNAMED00007' as '/u02/oradata/netdata/netdata01.dbf'
ALTER SYSTEM SET standby_file_management='AUTO' SCOPE=BOTH;
ALTER DATABASE RECOVER MANAGED STANDBY DATABASE USING CURRENT LOGFILE DISCONNECT FROM SESSION
Attempt to start background Managed Standby Recovery process (netdata)
Tue Jun 23 22:26:33 2015
MRP0 started with pid=28, OS id=10853
MRP0: Background Managed Standby Recovery process started (netdata)
started logmerger process
Tue Jun 23 22:26:38 2015
Managed Standby Recovery starting Real Time Apply
Parallel Media Recovery started with 2 slaves
Waiting for all non-current ORLs to be archived...
All non-current ORLs have been archived.
Media Recovery Log /u02/archive/1_54_882661788.dbf
Media Recovery Log /u02/archive/1_55_882661788.dbf
Media Recovery Log /u02/archive/1_56_882661788.dbf
Media Recovery Log /u02/archive/1_57_882661788.dbf
Media Recovery Waiting for thread 1 sequence 58 (in transit)
已經恢復正常
總結:在做DG的時候一定要注意主備的引數。增加資料檔案時一定注意路徑!!!
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/24486203/viewspace-1710076/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- Ocelot錯誤解決
- VIM 常用錯誤解決
- sqldeveloper for windows 錯誤解決SQLDeveloperWindows
- vsftpd 錯誤:530 and 500 錯誤解決方法FTP
- latex 錯誤以及解決方案
- ora-27504錯誤解決
- Datastore error in 'dirbdb'錯誤解決ASTError
- ORA-27054 錯誤解決
- mysql與php錯誤解決MySqlPHP
- mysql錯誤解決總結MySql
- PbootCMS 404 錯誤解決方法boot
- 【故障解決】OGG-00446 錯誤解決
- dbfread報錯ValueError錯誤解決方法Error
- 【故障解決】ORA-06502錯誤解決
- HTTP 錯誤 500.19- Internal Server Error 錯誤解決方法HTTPServerError
- dns錯誤怎麼辦 dns錯誤的解決辦法DNS
- HTTP代理錯誤怎麼解決?HTTP
- undefined reference to錯誤的解決方法Undefined
- SAXParseException的錯誤解決之二Exception
- PHP curl error 60 錯誤解決PHPError
- ORA-04091錯誤解決
- ORA-3136 錯誤解決 .
- [Windows] 解決 COM Surrogate 錯誤提示Windows
- AFNetworkingErrorDomain 錯誤解決方法ErrorAI
- [Flashback]ORA-38760錯誤解決
- EXP-00091錯誤解決
- virtualbox 錯誤解決記錄
- INS-40904 錯誤解決
- Mac下面svn錯誤資訊解決Mac
- PHP錯誤“Thisfilehasexpired”的解決方法PHP
- SAP錯誤提示解決辦法
- ClamAV無法更新錯誤解決
- clamd socket找不到錯誤解決
- ora-00604錯誤解決
- Linux下錯誤解決方案Linux
- 解決java.lang.NoSuchMethodError錯誤JavaError
- steam磁碟寫入錯誤怎麼解決 steam磁碟寫入錯誤解決方法大全
- 解決MySQL server has gone away錯誤的解決方案MySqlServerGo