[Dataguard]ORA-16191: Primary log shipping client not logged on standby問題解決
今天朋友Dataguard備庫無法同步主庫的問題,大概場景如下:
1.備庫startup,日誌同步語句執行都沒問題,但是備庫就是無法同步主庫的內容
2.觀察了下備庫的歸檔同步情況,發現都是0表示未同步主庫資料過來,然後看了下警告日誌檔案的內容,發現如下問題
<msg time="2016-01-20T00:57:57.734+08:00" org_id="oracle" comp_id="rdbms"
client_id='' type='UNKNOWN' level='16'
host_id='testdg' host_addr='127.0.0.1' module=''
pid='26257'>
Check that the primary and standby are using a password file
<msg time="2016-01-20T00:57:57.735+08:00" org_id="oracle" comp_id="rdbms"
client_id='' type='UNKNOWN' level='16'
host_id='testdg' host_addr='127.0.0.1' module=''
pid='26257'>
and remote_login_passwordfile is set to SHARED or EXCLUSIVE,
<msg time="2016-01-20T00:57:57.735+08:00" org_id="oracle" comp_id="rdbms"
client_id='' type='UNKNOWN' level='16'
host_id='testdg' host_addr='127.0.0.1' module=''
pid='26257'>
and that the SYS password is same in the password files.
<msg time="2016-01-20T00:57:57.735+08:00" org_id="oracle" comp_id="rdbms"
client_id='' type='UNKNOWN' level='16'
host_id='testdg' host_addr='127.0.0.1' module=''
pid='26257'>
returning error ORA-16191
<msg time="2016-01-20T00:57:57.735+08:00" org_id="oracle" comp_id="rdbms"
client_id='' type='UNKNOWN' level='16'
host_id='testdg' host_addr='127.0.0.1' module=''
pid='26257'>
------------------------------------------------------------
<msg time="2016-01-20T00:57:57.735+08:00" org_id="oracle" comp_id="rdbms"
client_id='' type='UNKNOWN' level='16'
host_id='testdg' host_addr='127.0.0.1' module=''
pid='26257'>
FAL[client, ARC2]:Error 16191 connecting to orcl for fetching gap sequence
<msg time="2016-01-20T00:57:57.735+08:00" org_id="oracle" comp_id="rdbms"
client_id='' type='UNKNOWN' level='16'
host_id='testdg' host_addr='127.0.0.1' module=''
pid='26257'>
Errors in file /home/oracle/diag/rdbms/dg/dg/trace/dg_arc2_26257.trc:
ORA-16191: Primary log shipping client not logged on standby
<msg time="2016-01-20T00:57:57.735+08:00" org_id="oracle" comp_id="rdbms"
client_id='' type='UNKNOWN' level='16'
host_id='testdg' host_addr='127.0.0.1' module=''
pid='26257'>
Errors in file /home/oracle/diag/rdbms/dg/dg/trace/dg_arc2_26257.trc:
ORA-16191: Primary log shipping client not logged on standby
3.問題解決方式其實很簡單,在主庫重新生成口令檔案傳到備庫中即可。問題的主要思路還是要根據警告日誌的內容做對應的排查。
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/29812844/viewspace-1988863/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- ORA-16191: Primary log shipping client not logged on standbyclient
- Oracle DG ORA-16191: Primary log shipping client not logged on standbyOracleclient
- Logical Standby常見問題解決方式
- 【DATAGUARD 學習】監控primary庫和standby庫
- DataGuard:Logical Standby Switchover
- 配置 Oracle 10g RAC primary + RAC physical standby dataguardOracle 10g
- DataGuard:Logical Standby FailoverAI
- stream不能實時傳送standby redo log問題的解決
- 【問題解決】單機搭建dataguard的問題
- SQL Server實現Standby --日誌傳送(Log Shipping)SQLServer
- dataguard 搭建 oracle_sid不同 2節點 primary+standbyOracle
- dataguard 搭建 oracle_sid相同 2節點 primary+standbyOracle
- 【RAC,DATAGUARD】Creating a physical standby from ASM (RAC ) primary之四ASM
- Standby OS i/o問題導致Primary 庫不能正常歸檔問題
- 配置 Oracle 10g RAC primary + RAC logical standbyOracle 10g
- Standby和Primary DB出現通訊問題後的arch gap 傳輸問題
- oracle10g R2 logical standby switchover to primaryOracle
- ORA-01012: not logged on 解決辦法
- standby database to primary database.Database
- Oracle Dataguard Standby Redo Log的兩個實驗Oracle
- Primary 和standby資料庫同一臺主機上的Ora-01102問題分析解決資料庫
- Dataguard環境修改主庫和standby庫online redo log&standby redo log大小
- 《Usermod:user lee is currently logged in 家目錄不能改變解決方法》
- 解決預設dialog消失問題
- 解決Can not allocate log問題的方法
- [記錄]Standby相關引數及gap問題解決
- Spring系列第十篇 primary可以解決什麼問題?Spring
- logical standby DG同步錯誤問題總結
- DataGuard:Physical Standby Switchover
- Create RAC Standby Database for RAC Primary DatabaseDatabase
- Shell 解決Redis Slow Log去重問題Redis
- ora -03232 問題解決【Blog 搬家】
- [20131115]archivelog產生太快dataguard磁碟滿的問題解決.txtHive
- 快速解決整合華為AGC服務提示miss client id問題GCclient
- 【問題處理】偶遇ORA- 01075: you are currently logged on錯誤
- 解決「問題」,不要解決問題
- Case One -- Recover a datafile in primary site from the backup taken in standby site using catalog d
- tempfile檔案過大問題處理 for logical standby