ORACLE 11G 配置DG 報ORA-10458、ORA-01152、ORA-01110
作業系統:
Oracle Linux Server release 5.7
資料庫版本:
Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
PL/SQL Release 11.2.0.3.0 - Production
CORE 11.2.0.3.0 Production
TNS for Linux: Version 11.2.0.3.0 - Production
NLSRTL Version 11.2.0.3.0 - Production
主:yoon 備:yoondg
備庫:
SQL> alter database open read only;
alter database open read only
*
ERROR at line 1:
ORA-10458: standby database requires recovery
ORA-01152: file 1 was not restored from a sufficiently old backup
ORA-01110: data file 1: '/opt/oracle/oradata/yoon/system01.dbf'
檢視備庫:
SQL>select switchover_status from v$database;
SWITCHOVER_STATUS
--------------------
TO PRIMARY
檢視主庫:
SQL>select switchover_status from v$database;
SWITCHOVER_STATUS
--------------------
NOT ALLOWED
檢視主庫引數:
SQL> show parameter log_archive_dest_2;
NAME TYPE
------------------------------------ ---------------------------------
VALUE
------------------------------
log_archive_dest_2 string
service=yoon async valid_for=(
online_logfiles,primary_role)
db_unique_name=yoon
log_archive_dest_20 string
藍色地方設定錯誤:
SQL>alter system set log_archive_dest_2='servce=yoondg async valid_for=(online_logfiles,primary_role) db_unique_name=yoondg';
修改完再次檢視:
SQL>select switchover_status from v$database;
SWITCHOVER_STATUS
--------------------
TO STANDBY
檢視備庫:
SQL>show parameter log_archive_dest_2;
NAME TYPE
------------------------------------ ---------------------------------
VALUE
------------------------------
log_archive_dest_2 string
service=yoondg async valid_for=(
online_logfiles,primary_role)
db_unique_name=yoondg
log_archive_dest_20 string
依舊藍色地方設定錯誤:
SQL>alter system set log_archive_dest_2='service=yoon async valid_for=(online_logfies,primary_role) db_unique_name=yoon';
重啟備庫:
SQL>shutdown immediate;
SQL>startup nomount;
SQL>alter database mount standby database;
SQL>alter database open read only;
OK,問題解決.
配置ORACLE-DG的時候一定要認真、仔細,造成的報錯往往都是由於小錯誤引起的,報錯的時候不要著急,仔細分析alterSID.log和trace檔案.
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/28939273/viewspace-1061445/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- oracle 11g dg broker開啟和配置Oracle
- Oracle RMAN recover報錯:ORA-01547 ORA-01152 ORA-01110Oracle
- ORACLE DG 11G 搭建Oracle
- Oracle Adg 備庫 ORA-10458 ORA-01196 ORA-01110: ORA-10458 故障處理Oracle
- oracle dg報錯Oracle
- ORA-10458 ORA-01196 ORA-01110報錯解決
- Oracle DG管理Broker配置Oracle
- oracle 11g dg搭建筆記Oracle筆記
- oracle DG 11g新特性彙總Oracle
- Oracle 11g單主搭建物理DGOracle
- Oracle 11g dg broker自動failoverOracleAI
- Oracle 11g dg switchover切換操作流程Oracle
- Oracle DG Broker配置的管理週期Oracle
- oracle9204(physical dg)配置_指南Oracle
- Oracle 11g DG新特性--Automatic block repairOracleBloCAI
- 配置Oracle11gR2 Datagurad出現ORA-10458錯誤Oracle
- oracle 11G dataguard配置Oracle
- Oracle DG 管理Broker配置成員的狀態Oracle
- Oracle物理DG自動切換——Dataguard Broker配置Oracle
- [zt] Oracle 11g DataGuard 配置Oracle
- 11G RAC+DG搭建
- Oracle 11g RAC如何把物理DG變成只讀庫Oracle
- Oracle 11g R2 DG 備庫啟動報錯,需要恢復日誌處理措施Oracle
- DG搭建配置方案
- oracle 11g Oracle Database Vault 的配置方法OracleDatabase
- oracle 11g streams 配置詳解Oracle
- ORACLE 11g dataguard配置練習Oracle
- ORACLE 11G 建立 DATAGUARD(雙節點RAC-->單例項DG)Oracle單例
- ORACLE10G DG配置下Physical Standby Database的管理OracleDatabase
- Linux下建立Oracle 10g DG和Broker配置LinuxOracle 10g
- Linux 下建立Oracle 10g DG和Broker配置LinuxOracle 10g
- 【DG】dg中如何配置多個後臺observerServer
- ORACLE 11G生成AWR報告Oracle
- oracle 11g安裝報錯Oracle
- oracle 19c dg搭建duplicate過程中報錯Oracle
- 一步一步搭建Oracle 11g RAC+ DG詳解Oracle
- ORACLE 11g RAC EM手動配置Oracle
- oracle 11g tns和監聽配置Oracle