您好,登錄后才能下訂單哦!
配置完成后備庫不能應(yīng)用日志,數(shù)據(jù)是不同步的狀態(tài),查看數(shù)據(jù)庫主庫的告警日志發(fā)現(xiàn)如下報(bào)錯(cuò):
LGWR: Attempting destination LOG_ARCHIVE_DEST_2 network reconnect (3113)
LGWR: Destination LOG_ARCHIVE_DEST_2 network reconnect abandoned
Errors in file /u01/app/oracle/diag/rdbms/primary/orcl/trace/orcl_lgwr_32231.trc:
ORA-03113: end-of-file on communication channel
Error 3113 for archive log file 3 to 'standby'
LGWR: Error 1041 disconnecting from destination LOG_ARCHIVE_DEST_2 standby host 'standby'
Mon Mar 11 16:16:03 2019
ARC1: Attempting destination LOG_ARCHIVE_DEST_2 network reconnect (3113)
Error 1034 received logging on to the standby
ARC1: Error 1034 attaching to RFS for reconnect
PING[ARC1]: Error 3113 when pinging standby standby.
檢查發(fā)現(xiàn)pfile.ora文件中,archive_dest_2的設(shè)置于tns文件中的自定義備庫不一樣
Dataguard中archive_dest_2是用來指向備庫的,負(fù)責(zé)將歸檔日志傳到備庫
注意dest_2中service= 這里應(yīng)該和tnsnames中定義備庫的是一樣的
更改完成以后關(guān)閉主庫,指定pfile文件啟動(dòng)數(shù)據(jù)庫 ok問題解決
startup pfile='pfile文件路徑'
免責(zé)聲明:本站發(fā)布的內(nèi)容(圖片、視頻和文字)以原創(chuàng)、轉(zhuǎn)載和分享為主,文章觀點(diǎn)不代表本網(wǎng)站立場(chǎng),如果涉及侵權(quán)請(qǐng)聯(lián)系站長(zhǎng)郵箱:is@yisu.com進(jìn)行舉報(bào),并提供相關(guān)證據(jù),一經(jīng)查實(shí),將立刻刪除涉嫌侵權(quán)內(nèi)容。